
Publication 2098-PM001E-EN-P — July 2002
Referencing the Motion Library 2-51
Digital Output Status
long OutputGetAll(void);
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
Comentarios a estos manuales