QUALITROL AKM345 GEN3 OTIWTI
TM
Instruction Manual
40-08847-00-Rev001
www.qualitrolcorp.com
Page 31 of 34
8.
MODBUS Communications (option)
The AKM345 GEN3 has an option to include RS-485 Modbus communication. This section describes how to
implement and utilize the functions of the MODBUS protocol.
8.1
MODBUS Default Configurations
The default configuration for MODBUS is as follows:
•
Baud Rate
–
115200
•
Slave ID
–
1
•
Parity
–
None
•
Start Bit
–
1
8.2
Event Reporting Over MODBUS
The AKM345 GEN3 has the following features to record and report events over MODBUS:
•
The physical event buffers (device memory addresses) are mapped with MODBUS addresses, described
in section 8.4 below.
•
The device will store a maximum of 100 temperature-out-of-range events.
•
Each event is comprised of 4 MODBUS registers.
•
The event start Address is 30004.
•
The client can read maximum 25 events in a single MODBUS query.
•
The buffer size is limited to 100 event records
–
the device will overwrite the oldest event with the
newest event in case of buffer overflow. Therefore, the events reported may not be in chronological
order.
•
The MODBUS client must not read incomplete events. It is required that all registers of an event be read
in the same query.
8.3
MODBUS Register Map
8.3.1
MODBUS Registers
MODBUS Registers Range:
•
Discrete Input registers start from address 10001.
•
Input Registers start from address 30001.
•
Holding registers start from address 40001.
Function Codes Supported:
•
02
–
Read Input Status
•
03
–
Read Holding Registers
•
04
–
Read Input Registers
•
06
–
Write Single Holding Register
•
16
–
Write Multiple Holding Registers