SPEL_OutW
Description
Sets an output word to a given value.
Common Inputs and Outputs
Reference: Function Blocks Common Inputs and Outputs
Inputs
- PortNum
- INT desired output port number.
- outData
- INT desired output port value.
Operation
Reference: Function Blocks General Operation
For more details, refer to the following manual:
"SPEL+ Language Reference manual – OutW Statement"
Example
To set port number 0 with value of 99, run the Function Block as shown below.