AtPlus 2nd Gen. Modbus Interface - EN

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

Modbus interface

airtelligence plus 2nd generation


Issue February, 6th 2018
Software release V2.1
Document index V2

atPlus 2nd Gen. Modbus Interface_EN.docx page 1


History of changes

Index Date Chapter Description


1 05.02.2018 Creation
2 06.02.2018 Input register Correction: Input Register 50

page 2 atPlus 2nd Gen. Modbus Interface_EN.docx


Content

HISTORY OF CHANGES ................................................................................................................................... 2


CONTENT............................................................................................................................................................. 3
COMMON ............................................................................................................................................................. 4
SETTINGS............................................................................................................................................................. 4
FUNCTION CODES............................................................................................................................................. 5
DATA TYPES......................................................................................................................................................... 5
ADDRESSING ........................................................................................................................................................ 5
INPUT REGISTER............................................................................................................................................... 5

atPlus 2nd Gen. Modbus Interface_EN.docx page 3


Common
Modbus is a serial communications protocol, based upon a master - / slave - architecture. It has become a de
facto standard communications protocol in industry, and is now the most commonly available means of
connecting industrial electronic devices. The main reason for the extensive use of Modbus over other
communications protocols is that it is openly published and royalty-free.

Using Modbus, a master (eg PC) and many devices (eg temperature and humidity measurement) could be
connected. The airtelligence plus control supports Modbus RTU over serial line (EIA-485 (formerly RS-485) in
halfduplex specification.

Each bus device must have a unique address. Address 0 is reserved for broadcasting. Each device is allowed to
send messages over the bus. In general, however, this is initiated by the master and an addressed slave responds.

The description of the various specifications and protocols are available here: http://modbus.org/.

For using Modbus communication in conjunction with airtelligence plus you need a RS485 module (material No.
681007906), that is connected with the main control board via internal bus.

Settings
All settings for using the RS485 module as Modbus interface must be made in parameters P3.1 to P3.3.The
following options are supported:

Parameter Meaning Options


P3.1 Device address (2) 1…247 (Slave)
P3.2 Bitrate (2) 2400
4800
9600
19200
38400
57600
115200
P3.3 Protocol frame (2) 8 Even 1
8 None 1
8 None 2
8 Even 2
8 Odd 1
8 Odd 2

 All parameters could be changed with login-level ‘User’. For detailed description see manual of
airtelligence plus.

page 4 atPlus 2nd Gen. Modbus Interface_EN.docx


Function codes
Only function code 4 (Read Input Register) is supported by airtelligence plus.

Data types
All data are transferred in 16bit registers. According to Modbus specification, the high byte is always transferred
first in a register followed by the low byte (Big Endian). 32bit values are transmitted in 2 consecutive registers.
Since there is no fixed rule for this, it should be pointed out here that the transmission also takes place according
to this rule.

Register (n) Register (n+1)


32bit value Bit 31…24 Bits 23…16 Bits 15…8 Bits 7…0

 To ensure data consistency, 32bit values must always be read out in ascending order. However, reading in
two successive protocols is possible.

Addressing
Normally, the data is subdivided into reference groups in the Modbus protocol:

Group Reference
Coils 0xxxx
Discrete Inputs 1xxxx
Input Register 3xxxx
Holding Register 4xxxx

Specifically, the numbering of the registers is starting with 1, but starting with 0 in the telegram.

 In the following the reference is not indicated.

Input register
 All pressure values are transmitted in Pascal.
100000 Pa = 1 bar
6894.757 Pa = 1 psi

Register
Name Description
Address
1 Identification Identification
16720 (4150 hex) = airtelligence plus
2 Reserve
3 VersionMajorNo Software release major No.
4 VersionMinorNo Software release minor No.
5 VersionSpecialNo if different to 0: Special software release
6 Reserve
7 VersionRevision Software Revision
8 VersionBuildNo Build Nummer
9…11 Reserve
12, 13 P_MaxRange1 Pmax, pressure range 1
14, 15 P_MinRange1 Pmin, pressure range 1
16, 17 P_MaxRange2 Pmax, pressure range 2
18, 19 P_MinRange2 Pmin, pressure range 2
20, 21 PressureRangeSensor Net pressure sensor range
22 NumberOfCompressors Parameter ‘No. of compressors’

atPlus 2nd Gen. Modbus Interface_EN.docx page 5


Register
Name Description
Address
23 … 36 Reserve
37 StatusOfStation Station state:
0: OK
1: Defect-Warning
2: Maintenance due
3: Fault
38 RelayOutputs Bit 0…2: reserved
Bit 3: output MAINTENANCE INDICATION
Bit 4…8: reserved
Bit 9: output CLOCK SWITCH
Bit 10: output FAULT INDICATION (inverted)
Bit 11…15: reserved
39 RuntimeBits Bit 0:
0: no fault indication
1: fault indication
Bit 1:
0: no maintenance indication
1: maintenance indication
Bits 3, 2:
0: pressure range 1 is active
1: pressure range 2 is active
2: pressure range 3 is active (0 Pa)
Bit 4: load request compressor 1
Bit 5: load request compressor 2
Bit 6: load request compressor 3
Bit 7: load request compressor 4
Bit 8: load request compressor 5
Bit 9: load request compressor 6
Bits 10…15: reserved
40 BatteryVoltage battery voltage [mV]
41, 42 Systemtime time [10ms] since power-up
43, 44 NetPressure current net pressure [Pa]
45, 46 CurrentPGradient current pressure gradient [Pa/s]
47 LastLogbookEntry identification code (see manual for details)
48 Reserved
49 CompressorServicingPeriod time until next compressor servicing [h]
50 StateCompressor1 current state compressor 1
0/128: off
1/129: ready
2/130: start-up (1)
3/131: start-up (2)
4/132: load-run
5/133: idle-run
6/134: idle-run (after switch-off)
7/135: fault
8/136: auto-restart
9/137: emergency stop
10/138: FC parameter
11/139: testing digital outputs
12/140: waiting for ready signal of catalyst
13/141: communication broken
14/142: switch on blocked
15/143: inspection idle-run
16/144: service run

 Bit 7 signals a warning message


51 CurrentPriorityCompressor1 current priority compressors 1

page 6 atPlus 2nd Gen. Modbus Interface_EN.docx


Register
Name Description
Address
52 UtilizationCompressor1 current utilization compressor 1 [%]
-1: fixed speed compressor
0…100: utilization
53 TimeToNextServiceCompressor1 time until next compressor servicing (compressor 1) [h]
54, 55 TimeOfOperationCompressor1 operating time compressor 1[s]
56, 57 IdleRunningTimeCompressor1 idling time compressor 1 [s]
58 CurrentFaultIdCompressor1 Current fault id compressor 1 (control specific)
59 CurrentWarningIdCompressor1 Current warning id compressor 1 (control specific)
58 … 63 ReserveCompressor1
64 … 77 Compressor 2 compressor 2 (see 50…63)
78 … 91 Compressor 3 compressor 3 (see 50…63)
92 … 105 Compressor 4 compressor 4 (see 50…63)
106 … 119 Compressor 5 compressor 5 (see 50…63)
120 … 133 Compressor 6 compressor 6 (see 50…63)

atPlus 2nd Gen. Modbus Interface_EN.docx page 7

You might also like