This command reads the value of a word (16 bits) from the specified I/O space address.
The <address> must be a Long expression. The function returns a Long value.
The <address> must be in the range 0x0 to 0xFFFF.
Task or Terminal
- Not supported in EtherCAT system
- Read only
X=inpw (256) ‘Read a word and assign its value to variable X
?inpw(256) ‘Read a word