Negative Response - SMC Networks HRR012-A-10 Series Operation Manual

Communication function
Hide thumbs Also See for HRR012-A-10 Series:
Table of Contents

Advertisement

HRX-OM-W004
Chapter 3 Serial communication
Response message
Field name
Header
Slave Address
Function
Quantity of bytes to read
Information of 0004h (Status flag 1)
Information of 0005h (Alarm flag 1)
Information of 0006h (Alarm flag 2)
Checksum ASCII:LRC RTU:CRC
Trailer

3.12 Negative response

Negative response message (Slave to Master)
1) Negative acknowledgment message frame in ASCII mode.
Start
[:]
2) Negative acknowledgment message frame in RTU.
Start
T1-T2-T3-T4
1
1
Silent interval for 3.5 characters
3.12 Negative response
3-16
011706000000000000
quantity of byte
A negative response is returned when the following request message is
received.
1) When unspecified function code is used.
2) An address out of range is specified.
3) The data field is not normal.
Slave
1)Function
Address
XX
XX
Slave
1)Function
Address
XX
XX
1)
Function
Assign the value consisting of the request function code (hexadecimal
value) plus 80h.
Example 1) ASCII mode
Received function code: "04"(0000 0100)" ASCII code 30h, 34h
Abnormal function code: "84"(1000 0100)" ASCII code 38h, 34h
Example 2) RTU mode
Receive function code: "04" (0000 0100)
Abnormal function code: "84" (1000 0100 )
Example
ASCII mode
character data
(HEX)
-
"0","1"
0x01
"1","7"
0x17
"0","6"
0x06
"0","0","0","0"
0x0000
"0","0","0","0"
0x0000
"0","0","0","0"
0x0000
"E","2"
-
-
CR/LF
Total
2)Error
Code
XX
2)Error
Code
XX
XX
XX
RTU mode
binary data
":"
None
0x01
0x17
0x06
0x00,0x00
0x00,0x00
0x00,0x00
0x21,0x8A
None
23
11
LRC
End
XX
[CR]
CRC
End
XX
T1-T2-T3-T4
1
HRR Series
[LF]

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the HRR012-A-10 Series and is the answer not in the manual?

Questions and answers

Table of Contents