Hello Guest it is May 11, 2021, 04:37:59 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - TPS

2041
VB and the development of wizards / Re: macro for homing
« on: February 16, 2015, 07:13:59 AM »
Hi riporeno

how can I disable
the signal of the axis limits with the macro language.?

not sure why you want to do this, because if limit's and
reference switch are configured for the the same pin,
it's doing reference first.
regarding to your macro, why dont you do a refernce with
high speed (on normal switch), the do a other one with
1/10 of the origin speed ?


also you can change the feed value set maximum motor tuning in?
(with macro language)

just use G1 F*********instead of G0.

Thomas



2042
VB and the development of wizards / Re: macro for homing
« on: February 12, 2015, 06:34:43 AM »
Hi riporeno,

here my proposal:
Code: [Select]
Sub Main ()
  
'Dichiaro le due velocità di spostamento    
   FeedHoming = 20      'Search speed switches Home
  
'Imposed on the parameter of the speed of Homing for X, Y, Z
   SetParam ("ZRefPer", FeedHoming)
   SetParam ("YRefPer", FeedHoming)
   SetParam ("XRefPer", FeedHoming)

'Call the subprogram for the Home Z

'Z I lift fast for a distance definitely superior to its stroke
  
      Code "G0 Z999999"  'TPS G0 does allways full speed no feedrate needed
      While IsMoving() 'wait for input during move
          If IsActive(INPUT1) Then
            'Without approaching fast, wait half a second and I start homing
            DoOEMButton(1003)
            Sleep 500
            DoButton(24)
           While GetOemLed(809) = true 'TPS wait for Z-Ref finished had a lot trouble using IsMoving()
           Sleep(200)
         Wend
      Wend

'ripeto per gli assi Y e X

      Code "G0 Y-999999" 'TPS G0 does allways full speed no feedrate needed
      While IsMoving() 'wait for input during move
          If IsActive(INPUT2) Then
            DoOEMButton(1003)
            Sleep 500
            DoButton(23)
           While GetOemLed(808) = true 'TPS wait for Z-Ref finished had a lot trouble using IsMoving()
           Sleep(200)
         Wend
      Wend

      Code "G0 X-999999" 'TPS G0 does allways full speed no feedrate needed
      While IsMoving() 'wait for input during move
          If IsActive(INPUT3) Then
            DoOEMButton(1003)
            Sleep 500
            DoButton(22)
           While GetOemLed(807) = true 'TPS wait for Z-Ref finished had a lot trouble using IsMoving()
           Sleep(200)
         Wend
        
      Wend

      Code "(Homing eseguito)"
  
End Sub

without GOTO's and some remarks.

Regards Thomas

PS: code is not tested

here http://www.machsupport.com/forum/index.php/topic,27912.0.html
you can read about my homing problems.

2043
Mach Screens / Re: tooltiptext
« on: February 09, 2015, 03:04:07 AM »
hi andmar2005,

a tooltiptext is only showing up, if you are with the mouse
over the element.

Thomas

2044
VB and the development of wizards / Re: macro for homing
« on: February 09, 2015, 03:02:16 AM »
Hi,
ok than let's try an other road:

   Message ("ref. Z-axis")
   DoOemButton(1024) 'Ref Z
   Sleep(500)
   While GetOemLed(809) = true 'wait normal reference to be finished
       Sleep(200)
   Wend
                Message ("ref. Z-axis to index mark")
                'here you can do your reference onto the index signal

Regards Thomas

2045
VB and the development of wizards / Re: macro for homing
« on: February 07, 2015, 03:15:35 AM »
hello,

have a look for oembutton(150).

Thomas

2046
Hello,

i think the line

code "M1002"

is the problem a macrocall in a macro gave allways problems to me.

oder vielleicht können wir auch auf deutsch weiter machen, da einige Kommentare auf Deutsch sind.

Gruß/Regards Tom

2047
CS-Lab / Re: CSMIO/IP-M observations
« on: January 29, 2015, 06:26:37 AM »
Juha,

Quote
Where can I get CSMIO/IP Motion Montroller Configuration tool?

there is no tool, you have to go to main menu bar cofiguration -> configure plugin.
hope it is named so in the english version, because i have a German version.

Quote
But I'm still curious to know why STEP/DIR output minus signals (e.g. pins 14 and 15) do not fuction as expected.

CSMIO/IP controller has differential outputs and your driver has optocoupler inputs.
my english is too bad to explain the difference (hope one of the english guys will explain).

here:
http://en.wikipedia.org/wiki/Differential_signaling

is something to explain differential sgnaling

Thomas

2048
CS-Lab / Re: CSMIO/IP-M observations
« on: January 28, 2015, 09:37:07 AM »
Hi,
Quote
How is it, are these IOs protected e.g. against short circuit or not?
yes only step/dir not.

Quote
Are the signals fixed or can these be configured in Mach like it is the case with LPT-port?
in Mach3 port/pin -> motor outputs only the enable axis is important rest is done in the
configuration of the cs-lab plugin.

for the wiring, you first have to figure out, witch inputs your motor controllers have,
the choose the right wiring diagram.

Quote
just cannot get the meaning of "and in the CSMIO/IP-M we have to use the GND on 2nd PIN or ANALOG I/O 8 connector"
Where the GND can be found from, is it analog IO terminal pin #2 or pin#8 or what?

CSMIO/IP_S GND at step/dir connector pin 13
CSMIO/IP_M GND at analog connector pin 2 or pin 8

Regards Thomas

also not a native English speaking person

2049
CS-Lab / Re: Connection Failed. CSMIO/IP not found.
« on: January 26, 2015, 07:13:22 AM »
Hi,

have you been able to do the firmwareupdate with this PC ?

sorry i have only experience with mach 3 and cslab, not on mach4.

Thomas

2050
CS-Lab / Re: Connection Failed. CSMIO/IP not found.
« on: January 26, 2015, 04:32:03 AM »
Hi,

are you able to ping the CSMIO ?

Thomas