Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Ton on October 12, 2010, 11:29:07 AM

Title: How to control the output signals?
Post by: Ton on October 12, 2010, 11:29:07 AM
Dear the experters,
I use mach3 to be CNC software. I am little puzzled on outputs
signals.
I go to config- tap and click ports and pins. Then I choose output
signals.
I can see 20 output signals on the command.
( output#1,output2#,...output#20)
Here's my question
I need to choose output#1, port 1, pin17 with enabled and then,
I need to choose output#2,port2,pin17 with enabled also.
Is it possible to interchange on output with the external
controller of push botton ?

if I press the external of push button one time, output#1 will be
changed from enabled to be no enabled but output#2 is still to be
enabled.
Or If I press the external of push botton again, output#1 will be
changed to be normally enabled but output#2 is change to be no
enabled. Is it possible ? How to do it ? Pls advise.

Ton
Title: Re: How to control the output signals?
Post by: ASC on October 13, 2010, 11:14:01 AM
Your external push button will actually be defined as an input signal, in the inputs tab of the ports/pins setup.  To get it to control an output, you will need to do some basic VB scripting or brain programming to turn on the outputs when the input condition is met.