Hello Guest it is March 28, 2024, 04:55:29 PM

Author Topic: activate the output to the desired position of the dro  (Read 3735 times)

0 Members and 1 Guest are viewing this topic.

activate the output to the desired position of the dro
« 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
Re: activate the output to the desired position of the dro
« Reply #1 on: April 27, 2014, 07:48:07 PM »
you can use a brain for it, see pict.

Alex
Re: activate the output to the desired position of the dro
« Reply #2 on: April 28, 2014, 03:22:46 AM »
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
Re: activate the output to the desired position of the dro
« Reply #3 on: April 28, 2014, 07:26:01 AM »
if I understand it correct, then it should look like this. see pict.

Alex
Re: activate the output to the desired position of the dro
« Reply #4 on: April 28, 2014, 12:02:12 PM »
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 ---------------------------------------------/                      
Re: activate the output to the desired position of the dro
« Reply #5 on: May 04, 2014, 06:54:32 PM »
Are Mach 3 can not read the "current line" and that is recognized in VB Script or brain control
eg  x200