Error Messages; Modbus Error Codes - JUMO LOGOSCREEN nt Interface Description

Paperless recorder with tft display, compactflash card and usb interfaces
Hide thumbs Also See for LOGOSCREEN nt:
Table of Contents

Advertisement

4 Modbus protocol description

4.9 Error messages

4.9.1 Modbus error codes

No response by
the paperless
recorder
Error codes
Response in the
event of an
error
Example
28
In the event of the following errors, the slave will not respond:
• Baud rate and/or data format of Master (PC or notebook) and Slave
(paperless recorder) are not compatible.
• The device address of the paperless recorder does not comply with that
contained in the protocol.
• The checksum (CRC16) is not correct.
• The instruction from the Master is incomplete or over-defined.
• The number of words to be read is zero.
In these cases the data request should be transmitted again once the timeout
time (2s)
has elapsed.
If the data request of the master has been received by the paperless recorder
without transmission errors but could not be processed, the paperless
recorder will respond with an error code.
The following error codes can be occur:
• 01 Invalid error code
• 02 Invalid address or number of words or bits to be read or written is too
large
• 03 Value not within the admissible range
• 08 Value wirte-protected
Slave
Function
address
XX OR 80h
1 byte
1 byte
0x80 is used to set the function code to its OR status, i.e. the MSB (most
significant bit) is set to 1.
Data request:
01
06
1257
Response:
01
86
08
Respons is error code 08 because address 0x1257 is write-protected.
Error code
1 byte
0001
FCA2
43A6
Checksum
CRC16
2 byte

Advertisement

Table of Contents
loading

Table of Contents