SPEL_In

Description

Reads a byte of input.

Common Inputs and Outputs Reference: Function Blocks Common Inputs and Outputs

Inputs

PortNum
UINT desired input byte port number.

Outputs

Value
BYTE value of the desired input port.

Operation

Reference: Function Blocks General Operation

For more details, refer to the following manual:

"SPEL+ Language Reference manual - In Function"

Example

To read input port number 66, set [PortNum] to “66”.