
3-30
IM 05P07A01-01EN
WRD Reading D registers and I relays on a word-by-word basis
Function
Reads a sequence of contiguous register information on a word-by-word basis by the
specified number of words, starting at the specified register number.
• The number of words to be read at a time is 1 to 64 (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
5
1
2
2
1
1
Command
element
STX
Address
No.
(ADR)
CPU
No. (01)
Response
waiting
time
WRD
Register No.
, or
space
Number
of words
(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 64)
WWR Writing data into D registers and I relays on a word-by-word basis.
Function
Writes information into a sequence of contiguous registers on a word-by-word basis by
the specified number of words, starting at the specified register number.
• The number of words to be written at a time is 1 to 64 (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
5
1
2
1
4
Command
element
STX
Address
No.
(ADR)
CPU
No. (01)
Response
waiting
time
WWR
Register No.
, or
space
Number
of words
(n)
, or
space
dddd1
Continuation of command
4
• • •
4
2
1
1
dddd2
• • •
ddddn Checksum
ETX
CR
Write information is specified as a 4-digit character string in Hex (0000 to FFFF).
ddddn: Write data of specified number of words
ddddn is a Hex character string (n = 1 to 64)
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...