Machsupport Forum
Mach Discussion => VB and the development of wizards => Topic started by: Vilmill on January 24, 2013, 12:18:14 PM
-
I need som help
the problem is to activate 2 outputs for Mist
if M7 is aktivate i gcode
and S0 >0
if X is moving either +X or -X = activate outputs(11)
if Y is moving either +Y or -Y = activate outputs(10)
How do i do this
(I'm new at this, and am not very good at this VB)
-
If GetOemDro(12) AND GetDro(6) >0 then activateSignal(output10) ' If M7 then Activate output on X movement
If GetOemDro(12) AND GetDro(7) >0 then ActivateSignal(ouput(11) ' If M7 then activate output on Y movement
It is all in the manuals (;-),
(;-) TP