SPEL_Sw
Description
Reads the status of an input bit.
Common Inputs and Outputs
Reference: Function Blocks Common Inputs and Outputs
Inputs
- BitNum
- UINT desired input bit.
Outputs
- Status
- BOOL the value of the input bit.
Operation
Reference: Function Blocks General Operation
For more details, refer to the following manual:
"SPEL+ Language Reference manual - Sw Function"
Example
To read the value of input bit number 514, run the Function Block as shown below.