3
1. General .......................................................................................................................................................... 5
1.1 References .............................................................................................................................................. 5
2. Commissioning the interface ........................................................................................................................ 6
2.1 Mounting hints ......................................................................................................................................... 6
2.2 Electrical connections ............................................................................................................................ 6
2.2.1 RS 485 version (two-wire ).........................................................................................................6
2.2.2 RS 422 version (four-wire - RS 485) .......................................................................................... 6
2.2.3 Cable installation ...................................................................................................................... 8
2.2.4 Screening ................................................................................................................................... 8
2.2.5 Terminating resistors .................................................................................................................8
2.2.6 Installation notes ..................................................................................................................... 10
2.3 Bus settings ........................................................................................................................................... 10
2.3.1 Bus address .............................................................................................................................10
2.3.2 Transmission parameters ........................................................................................................ 11
2.4 Master operation (MASt) ........................................................................................................................ 12
2.5 System layout ........................................................................................................................................ 13
2.5.1 Minimum configuration of a MODBUS installation .................................................................. 13
2.5.2 Maximum configuration of a MODBUS installation ................................................................. 13
2.5.3 Wiring inside buildings............................................................................................................. 14
3. Bus Protocol ................................................................................................................................................ 15
3.1 Composition of a transmission byte ...................................................................................................... 15
3.2 General message frame ........................................................................................................................ 15
3.2.1 CRC ......................................................................................................................................... 16
3.2.2 End of frame detection ........................................................................................................... 16
3.3 Transmission principles ......................................................................................................................... 16
3.4 Response delay (dELY) ......................................................................................................................... 16
3.5 Modem operation (C.dEL) .................................................................................................................... 16
3.6 Function codes ...................................................................................................................................... 17
3.6.1 Reading several values ........................................................................................................... 17
3.6.2 Writing a single value ..............................................................................................................18
3.7 Writing several values .......................................................................................................................... 19
3.8 Error record ...........................................................................................................................................20
3.8.1 Error codes ............................................................................................................................. 20
3.9 Diagnosis ............................................................................................................................................... 21
3.9.1 Return transmission of the received message (0x00) ............................................................. 22
3.9.2 Restart of communication (terminates the Listen Only mode) (0x01) .................................... 22
3.9.3 Return transmission of the diagnosis register (0x02) ............................................................. 22
3.9.4 Change to the Listen Only mode (0x04) ................................................................................. 22
3.9.5 Delete the counter and reset the diagnosis register (0x0A) .................................................... 22
3.9.6 Return transmission of the message counter (0x0B) .............................................................. 22
3.9.7 Return transmission of the counter for faulty message transmissions .................................. 23
3.9.8 Return transmission of the counter for messages with error code ........................................ 23
3.9.9 Return transmission of the message counter for this slave .................................................... 23
3.9.10 Return transmission of the counter for unanswered messages .............................................. 23
Table of Contents