SPEL_Oport

Description

Returns the state of the specified output bit.

Common Inputs and Outputs

Reference: Function Blocks Common Inputs and Outputs

Inputs

BitNum
INT specified bit number

Outputs

Status
INT 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

To get status of motors, run the Function Block as shown below.