Hello Guest it is May 05, 2025, 03:58:17 PM

Author Topic: Do mist M7 While IsMoving  (Read 4162 times)

0 Members and 1 Guest are viewing this topic.

Do mist M7 While IsMoving
« 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)

Offline BR549

*
  •  6,965 6,965
Re: Do mist M7 While IsMoving
« Reply #1 on: January 24, 2013, 02:16:07 PM »
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