![Azbil F4Q Скачать руководство пользователя страница 24](http://html1.mh-extra.com/html/azbil/f4q/f4q_user-manual_3042611024.webp)
4-8
Chapter 4. CPL Communication
z
Termination code
Role
: This tells how the instruction message was processed by the device.
Different codes are used according to the result of processing. A
response message always includes a termination code.
4 - 4 Termination Code (p. 4-16)
(for termination code types)
1. Normal response
It contains the termination code and the specified number of data records delimited
by commas.
• Data is delimited by commas (“,” = 2CH).
• The range and number of digits of each piece of data depends on the data read.
• Data is expressed without a decimal point.
Ex.: "20.0" is converted to "200."
The figure below shows an example of a normal response. (two pieces of data are
read normally).
Termination code (00 = normal)
Read data
02H 30H 31H 30H 30H 58H 30H 30H 2CH 31H 32H 33H 2CH 38H 37H 30H 03H 46H 35H 0DH 0AH
STX 0
1
0
0
X
0
0
,
1
2
3
,
8
7
0 ETX F
5
CR LF
Data link layer
Application layer
Data link layer
2. Error response
If there is an error in the instruction message so that data cannot be read out
normally, an error response is returned.
The figure below shows an example of an error response. ("**" stands for the error
code.)
Termination code (** = an error code)
02H 30H 31H 30H 30H 58H *H *H 03H ??H ??H 0DH 0AH
STX 0
1
0
0
X
*
* ETX ?
?
CR LF
Data link layer
Application layer
Data link layer
Handling Precautions
•
The data address, read count, value to write, and data to read must conform to
the following rules.
•
Use capital letters in character codes for all numbers and characters.
•
All numbers are in base 10.
•
Unnecessary leading zeros and spaces are not allowed.
Содержание F4Q
Страница 10: ......
Страница 14: ......
Страница 46: ......
Страница 66: ...7 2 Chapter 7 Device Operation by Communication Commands...
Страница 68: ......
Страница 70: ......
Страница 71: ...Revision History CP SP 1458E Printed Edn New Page No Description June 2021 1...
Страница 72: ......
Страница 73: ......