
4-6
Chapter 4. CPL Communication
Application layer
The application layer contains instruction codes, start data address, data, number
of data records, and information on the success of the instruction message
(termination code). In the application layer, the structure of the instruction message
is different from that of the response message.
There are two types of instruction message: read and write. The response message
corresponds to one of these types of instruction message. The termination code
indicates how the instruction message was processed.
The application layer of the instruction message is composed of the following 4
items:
Item
Description
(1) Command
"RS" (consecutive address data read command in decimal format)
"WS" (consecutive address data write command in decimal format)
"RD" (fixed length consecutive address data read command in
hexadecimal format)
"WD" (fixed length consecutive address data write command in
hexadecimal format)
(2) Data delimiter
RS/WS: "," (comma)
RD/WD: None
(3) Data address
RS/WS: "W" is added to a decimal number, as in "1001W.”
RD/WD: A four-digit hexadecimal number such as "03E9"
(4)-1 Read count
RS: A decimal number such as "1"
RD: A four-digit hexadecimal number such as "0001"
(4)-2 Value to write WS: Value of character expression such as "123"
WD: A four-digit hexadecimal number such as "007B"
Summary of Contents for F4Q
Page 10: ......
Page 14: ......
Page 46: ......
Page 66: ...7 2 Chapter 7 Device Operation by Communication Commands...
Page 68: ......
Page 70: ......
Page 71: ...Revision History CP SP 1458E Printed Edn New Page No Description June 2021 1...
Page 72: ......
Page 73: ......