SPEL_Oport
Description
Returns the state of the specified output bit.
Common Inputs and Outputs
Reference: Function Blocks Common Inputs and Outputs
Inputs
- BitNum
- UINT specified bit number
Outputs
- Status
- BOOL status of specified bit
Operation
Reference: Function Blocks General Operation
For more details, refer to the following manual:
"SPEL+ Language Reference manual - Oport Statement"
Example
Gets the output bit number 5 set to High.