Hi Ian,
at first, thanks for your help!
i want to turn the signal (output1) on at the start.
Can you explain a bit more? i.e. the start of what? - when you first start Mach3? - when you start a gcode program?, when you press an on-screen button?
For the beginning, only if the macro starts. I don't know anything about on-screen buttons yet. But if i can start a macro with an on-screen button, this can be a choice in the future when the main part works.
On the machine, there is a switch, wich is declared as the X-Reference in Mach3.
Not sure I understand this - This LED is activated when the X axis is homed and you havn't mentioned anything about homing.
Sorry, thats really confusing. The X-Reference isn't used as an real reference point. I only need it, because i don't have any other sensor to use. And the Motor at the X-axis don't need any reference, because it is moving continiously in one way (to turn the workparts on its own axis).
Can you describe what all this is for? That way I can see the way to do what you want
There is a chain with extended bolts on both sides. The chain moves in an curcuit. The motor on Output1 is to powering the chain and only have to move in one way. On the top bolts are workparts. The bolts on the bottom side of the chain are to activate/deactivate the inductive proximity switch.
The chain has to stop if the switch detects one of the bottom bolts. Then other axis work and painting the workparts. This will be an extra routine.
When this routine has finished, the motor on Output1 should start again. And stop again if the switch detects the next bolt. And again and again.
Was this description better? I hope so,
best regards, jan