
3-31
IM 05P07A01-01EN
Description of RS-485 Communication (for UT
Advanced with RS-485 Communication)
3
WRR Reading D registers and I relays on a word-by-word basis in random order
Function
Reads the status of the individual registers, on a word-by-word basis, specified in a
random order by the specified number of words.
• The number of bits to be read at a time is 1 to 32 (decimal).
• For details on the response format at an error, see “3.2.3 Configuration of Response.”
• The command/response shown below includes the checksum function. When performing
communication without the checksum, do not include the 2-byte checksum element in the
command.
Command/Response (during normal operation)
Number of
bytes
1
2
2
1
3
2
5
1
5
1
Command
element
STX
Address
No.
(ADR)
CPU
No. (01)
Response
waiting
time
WRR
Number
of words
(n)
Register
No. 1
, or
space
Register
No. 2
, or
space
Continuation of command
• • •
5
2
1
1
• • •
Register
number n
Checksum
ETX
CR
Number of
bytes
1
2
2
2
4
4
• • •
4
2
1
1
Response
element
STX
Address
No.
(ADR)
CPU
No. (01)
OK
dddd1
dddd2
• • •
ddddn Checksum
ETX
CR
Responses are returned as a 4-digit character string in Hex (0000 to FFFF).
ddddn: Read data of specified number of words
ddddn is a Hex character string. (n = 1 to 32)
WRW Writing data into D registers and I relays on a word-by-word basis in random order
Function
Writes register information specified for each register into the registers specified in a
random order by the specified number of words.
• The number of words to be written at a time is 1 to 32 (decimal).
• For details on the response format at an error, see “3.2.3 Configuration of Response.”
• The command/response shown below includes the checksum function. When performing
communication without the checksum, do not include the 2-byte checksum element in the
command.
Command/Response (during normal operation)
Number of
bytes
1
2
2
1
3
2
5
1
4
1
Command
element
STX
Address
No.
(ADR)
CPU
No. (01)
Response
waiting
time
WRW
Number
of words
(n)
Register
No. 1
, or
space
dddd1
, or
space
Continuation of command
5
1
4
• • •
5
1
4
2
1
1
Register
number 2
Comma
or space
dddd2
• • •
Register
No. n
, or
space
ddddn Checksum
ETX
CR
Write information is specified as a 4-digit character string in Hex (0000 to FFFF).
ddddn: Repeating of register No. and writing information for number of specified words.
ddddn is a Hex character string. (n = 1 to 32)
Number of
bytes
1
2
2
2
2
1
1
Response
element
STX
Address
No.
(ADR)
CPU
No. (01)
OK
Checksum
ETX
CR
3.2 PC Link Communication
Summary of Contents for UTAdvanced Series
Page 17: ...Blank Page...
Page 77: ...Blank Page...
Page 285: ...Blank Page...
Page 325: ...Blank Page...
Page 467: ...Blank Page...
Page 557: ...Blank Page...
Page 825: ...Blank Page...
Page 861: ...Blank Page...
Page 863: ...Blank Page...
Page 865: ...Blank Page...