Hello Guest it is November 15, 2019, 06:46:04 PM

Author Topic: VB to start\stop  (Read 1893 times)

0 Members and 1 Guest are viewing this topic.

VB to start\stop
« on: May 12, 2013, 07:50:27 AM »
Does anyone can help how to write vb script
for this example:
M2000 (that's my car 'z'i preparation start it works
G91 X400
M2001
X300
M2001
X200
M2001
X300
M2001 (You need to stop the program, to include (output1)
It touches the limit switch (input1) then off (output1) then when you touch the microswitch (input2) again pkrene program while ignoring (input1) until the next cycle.)
X690
M2001
M2002 (the script I returned the machine to the starting position and ready for a new cycle)
This is a machine for automatic cutting of the rear dimension of krojnoj list which can be interesting and I reworked the screen for one axis with potreblim commands

any help is welcome
Greeting