03-23-2006 08:03 AM
03-23-2006 10:11 AM
The Set I/O Port MOMO VI sets the logical state of bits in the general-purpose I/O port selected.
Using the Must On/Must Off protocol allows you to set or reset individual bits without affecting other output bits in the port. This gives you tri-state control over each bit: on, off or unchanged. A True in a bit location of the Must On bitmap turns the bit on, while a True in the corresponding location of the Must Off bitmap turns the bit off. A False in either bitmap has no effect, so leaving both the Must On and Must Off bits at zero is effectively a hold and the state of the bit is unchanged. If you set both the Must On and Must Off bits to True, it is interpreted as a Must On condition and the bit is turned on.
09-08-2006 04:37 PM
I am looking to do the same thing with my 7356 controller.
Looking over the FlexMotion VI's though, it seems that I won't be able to mix lines within a port to have some as input and some as output.
For example - what I was hoping to do was use Port 1 Lines 0, 1, 2, 3 for output to a fluid valve for 4-line BCD control and monitor Port 1 Lines 4 and 5 as output from the valve (which would be input to the board).
Am I restricted to using all the lines in a general digital IO port on the motion card in one direction?
09-11-2006 01:43 AM
09-11-2006 08:23 AM
09-11-2006 08:48 AM - edited 09-11-2006 08:48 AM
Message Edited by Jochen on 09-11-2006 03:49 PM