Data Sheet

Ether I/O 24R Users Manual V1.1
Elexol Pty Ltd Version 1.1 Page 25 http://www.elexol.com
ELEXOL
ELECTRONIC SOL UT IONS
Command Set (continued)
Read Port C Direction Register
Command
Sent
ASCII
Code
Bytes Data Function
Sends the Direction Register value back to the host
!c 2 -
Command
Reply
ASCII
Code
Bytes Data
!C 3 Register-Value
Operation: The Direction Register is read and it’s value sent back to the host.
Example:
Winsock1.SendData “!c”
Read Port A Pull Up Register
Command
Sent
ASCII
Code
Bytes Data Function
Sends the Pull Up Register value back to the host
@a 2 -
Command
Reply
ASCII
Code
Bytes Data
@A 3 Register-Value
Operation: The Pull Up Register is read and it’s value sent back to the host.
Example:
Winsock1.SendData “@a”
Read Port B Pull Up Register
Command
Sent
ASCII
Code
Bytes Data Function
Sends the Pull Up Register value back to the host
@b 2 -
Command
Reply
ASCII
Code
Bytes Data
@B 3 Register-Value
Operation: The Pull Up Register is read and it’s value sent back to the host.
Example:
Winsock1.SendData “@b”
Read Port C Pull Up Register
Command
Sent
ASCII
Code
Bytes Data Function
Sends the Pull Up Register value back to the host
@c 2 -
Command
Reply
ASCII
Code
Bytes Data
@C 3 Register-Value
Operation: The Pull Up Register is read and it’s value sent back to the host.
Example:
Winsock1.SendData “@c”