Maple Systems OIT Family (ASCII) User Manual
Page 10

Resend Last Transmission Command
ESC
Q terminator
Description: Causes the OIT to resend the last transmission the OIT sent to the ASCII
host. This command can be used to validate the data sent to the ASCII host from a
prior response
Response: errorcode lasttransmission lineterminator
last transmission = The last transmission the OIT sent to the ASCII host.
Read OIT Memory Command
ESC
R memarea memaddr length terminator
mem area = C or D (register bank)
mem addr = 0000 to 1023 (The address is in decimal, base 10, format and must be
four digits. For example, send 0010, not 10.)
length =
1 means read one bit
2 means read one byte
3 means read two bytes
4 means read four bytes
Description: Reads from the OIT’s internal data or coil registers.
Response: errorcode data lineterminator
data =
if length = 1 for a C register, the OIT returns the bit value of the C
register as a 1 or 0
if length = 1 for a D register, the OIT returns the bit value of the least
significant bit in the D register as a 1 or 0
if length = 2 for a C register, the OIT returns the value of eight
consecutive C registers using two ASCII bytes to represent the
hexadecimal number (range of 00 to FF) with the specified address as
the least significant bit
if length = 2 for a D register, the OIT returns the value of the eight least
significant bits in the D register using two ASCII bytes to represent the
hexadecimal number (range of 00 to FF)
if length = 3 for a C register, the OIT returns the value of sixteen
consecutive C registers using four ASCII bytes to represent the
hexadecimal number (range of 0000 to FFFF) with the specified address
as the least significant bit
if length = 3 for a D register, the OIT returns the word (16 bit) value
of the D register using four ASCII bytes to represent the hexadecimal
number (range of 0000 to FFFF)
if length = 4 for a C register, the OIT returns the value of thirty-two
consecutive C registers using eight ASCII bytes to represent the
hexadecimal number (range of 00000000 to FFFFFFFF) with the
specified address as the least significant bit
if length = 4 for a D register, the OIT returns the long word (32 bit)
value of two consecutive D register using eight ASCII bytes to
represent the hexadecimal number (range of 00000000 to FFFFFFFF)
with the specified address as the least significant word
OPERATION
9
1010-0088, REV02