![APAR AR602.B User Manual Download Page 26](http://html1.mh-extra.com/html/apar/ar602-b/ar602-b_user-manual_2951915026.webp)
26
Table 11.4.4. Reply frame format for the WRITE function
(frame length - 8 bytes):
copy of the query frame for the WRITE function (
Table 11.4.2
)
Table 11.4.5. Special reply
(errors:
function field = 0x84 or 0x83 in the case of the READ function and 0x86 in the
case of the WRITE function):
Error code
(HB-LB in data field)
Error description
0x0001
non-existing register address
0x0002
incorrect register value to be written
0x0003
incorrect function number
Example 11.4.5.
Error frame for a non-existing register address to be read:
0x01 - 0x84 - 0x02 - 0x0001 –0x5130
11.5. MAP OF DEVICE REGISTERS FOR MODBUS-RTU/TCP
Table 11.5. Map of registers for the MODBUS-RTU and MODBUS-TCP protocols
Register
address
HEX (DEC)
Value
(HEX or DEC)
Description of register and access type
(R- read only register, R/W - read and write register)
0x00 (0)
-1999 ÷ 19999
current measurement value (PV) in the U2 code, without a comma (for
thermometric inputs, resolution 0.1°C)
R
0x01 (1)
6520 ÷ 6529
device type identifier
R
0x02 (2)
400 ÷ 999
controller firmware version
R
0x03 ÷ 0x05
0
not used or reserved
R
0x06 (6)
0 ÷ 65535
Status of algorithms and control functions and status of
outputs/alarms:
- status of outputs/alarms 1, 2, 3 (bits 0, 1, 2, bit=1= output enabled),
- STB (LATCH) alarms for outputs 1, 2, 3 (bits 3, 4, 5, bit=1=active),
- quick manual mode for outputs 1, 2, 3 (bits 6, 7, 8, bit=1=active),
- PID tuning status for any of the outputs (bit 12, bit=1=active),
- error
EtP1
/
2
/
3
PID, etc. (bit 13, bit=1=active), description in
chapter
10
, point b,
- change of the setpoint
SEt1
/
SEt3
(bit 14, bit=1=
SEt3
),
chap.10 b
,
- status of the start/stop function for
[F]
/
[SET]
/
BIN
(bit 15,
bit=1=start),
chap.7.1
R
0x07 (7)
0 ÷ 20000
current state of the analog output (0 ÷ 20000 μA or 0 ÷ 10000 mV)
R
0x08 (8)
-100 ÷ 700
temperature of cold ends for thermocouples (resolution 0.1
°C
)
R
0x09 ÷ 0x0B
0 ÷ 100
MV control signal value [%] for outputs 1, 2 and 3
R
0x0C (12)
0 ÷ 65535
device status:
- type of built-in
mA/V
analogue output (bit 0, bit=1=V),
-
BIN
input status (bit 1, bit=1=active input=closed),
chapter 7.1
,
- presence of Ethernet and RS485 modules (bits 4, 5, bit=1=available),
- AR602 type tag.B (bit 6, bit=1=AR602.B),
- LED display type (bit 7, bit=1=small=AR602/642/662.B),
chap.7d,
- USB connection status (bit 8, bit=1=connected),
R
0x0D ÷ 0x1E
0
not used or reserved
R
0x1F (31)
0 ÷ 65535
connection status of the Ethernet interface and the MODBUS-TCP and
MQTT protocols:
- LAN connection status, link-up (bit 0, bit=1=connected),
- connection with the MQTT broker status (bits 1, 2,
bit1=bit2=1=connected),
- TCP port for MODBUS-TCP status (bits 6, 7, 8,
R