Machsupport Forum
Mach Discussion => VB and the development of wizards => Topic started by: aluplastvz on April 27, 2014, 05:53:27 AM
-
Please how do I compare the current position on the x-axis to display the default if it is in the range of eg +100 - 50 of the preferred activates output 2
-
you can use a brain for it, see pict.
Alex
-
Yes this is the office that I used for some purposes, but I
I'm not good asked whether it is possible to compare the current line of G code to the current position and if eligible +100 -50 activates output 2.A for all that there should be a requirement that the active INPUT 1, so this can only happen when INPUT 1 is active
greeting
-
if I understand it correct, then it should look like this. see pict.
Alex
-
I should be close to the line of code with the x position
for example, x 400
x 500
....;;
depends on when it is activated input 1
G1 X400
G1X 500 COMPARE (g cod) ANAS ANAS
G1 X390 X POSITIO ----- I<100 ---- x400---- --- ---------OUTPUT 2
G1 X690 (g cod) ANAS Swich
..... x position----- I > 50-----X 400--- ANA swich /
..... /
..... INPUT 1 ---------------------------------------------/
-
Are Mach 3 can not read the "current line" and that is recognized in VB Script or brain control
eg x200