Hello Guest it is April 24, 2024, 05:13:43 PM

Author Topic: How to write VB to control output signals?  (Read 2267 times)

0 Members and 1 Guest are viewing this topic.

Offline Ton

*
  •  4 4
    • View Profile
How to write VB to control output signals?
« on: October 17, 2010, 10:07:25 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 write VB to control output signals ? Pls advise.

Ton