Digital output status, Long outputgetall(void), Long outputgetstate(long channel) – Rockwell Automation 2098-IPD-xxx Ultra5000 C Programming using the Motion Library User Manual
Page 91: Digital output status -51, Outputgetall • outputgetstate
Advertising
Publication 2098-PM001E-EN-P — July 2002
Referencing the Motion Library
2-51
Returns the state of all digital outputs.
The return value is bitmapped as follows:
long OutputGetState(long channel);
Returns the state of the digital output referenced by the channel
argument.
Valid channel arguments are 1 through 8 as follows:
Valid return values for each digital output are:
• 0 = output OFF
• 1 = output ON
Bit
Input
Description
0 – 7
OUT1 – OUT8
Digital outputs 1-8
8 – 31
—
Reserved
Channel
Input
Description
1 – 8
OUT1 – OUT8
Digital outputs 1-8
Advertising