SPEL_Out
Description
Sets an output byte to a given value.
Common Inputs and Outputs
Reference: Function Blocks Common Inputs and Outputs
Inputs
- PortNum
- UINT desired output port number.
- outData
- BYTE desired output port value.
Operation
Reference: Function Blocks General Operation
For more details, refer to the following manual:
"SPEL+ Language Reference manual - Out Statement"
Example
To set port number 1 with value of 99, run the Function Block as shown below.
← SPEL_Oport SPEL_OutW →