Digital output services, Long outputsetalloff(void), Long outputsetallon(void) – Rockwell Automation 2098-IPD-xxx Ultra5000 C Programming using the Motion Library User Manual
Page 90: Long outputtoggle(long channel), Digital output services -50, Outputsetalloff • outputsetallon • outputtoggle
Advertising
Publication 2098-PM001E-EN-P — July 2002
2-50
Referencing the Motion Library
Turns all digital outputs OFF.
Returns 0 if successful, or -1 on an error.
Turns all digital outputs ON.
Returns 0 if successful, or -1 on an error.
long OutputToggle(long channel);
Toggles a digital output.
The channel selects the digital output. Valid channels are 1 through 8
as follows:
Returns 0 if successful, or -1 on an error.
Channel
Output
Description
1 – 8
OUT1 – OUT8
Digital outputs 1-8
Advertising