Operating instructions
5. SPEL AOI Reference
46
EPSON RC+ 7.0 Option AOI (Add-On Instructions) Rev.1
SPEL_MemInW
Description
Reads a word of memory IO.
Common Inputs and Outputs
Refer to section 2.4 SPEL AOI Common Inputs and Outputs.
Inputs
PortNum INT port number to be read.
Outputs
Value INT value of the port.
Operation
Refer to section 2.5 SPEL AOI General Operation.
Refer to MemInW Function in the SPEL+ Language Reference manual.
Example
To read port number 0 as word, run the AOI as shown below.