SPEL_MemInW

Description

Reads a word of memory IO.

Common Inputs and Outputs

Reference: Function Blocks Common Inputs and Outputs

Inputs

PortNum
INT port number to be read.

Outputs

Value
INT value of the port.

Operation

Reference: Function Blocks General Operation

For more details, refer to the following manual:

"SPEL+ Language Reference manual - MemInW Function"

Example

To read port number 0 as word, run the Function Block as shown below.