Modbus Instruction manual 305/08
05/08
Modbus Instruction manual 3
TABLE OF CONTENTS
1 General Safety Instructions and Information on Use.................................................... 5
1.1 General Information ................................................................................................ 5
1.2 Purpose of the Frequency Inverters........................................................................ 5
1.3 Transport and Storage............................................................................................. 6
1.4 Handling and Installation........................................................................................ 6
1.5 Electrical Connection ............................................................................................... 6
1.6 Information on Use.................................................................................................. 7
1.7 Maintenance and Service......................................................................................... 7
2 Introduction ................................................................................................................... 8
3 Installation/Disassembly of the communication module.............................................. 9
3.1 Installation .............................................................................................................. 9
3.2 Disassembly........................................................................................................... 10
4 Plug Assignment/Bus Termination/Cable ................................................................... 11
4.1 RS232 module CM-232 .......................................................................................... 11
4.2 RS485 module........................................................................................................ 12
4.2.1 RS485 module CM-485 DB9 .................................................................................... 12
4.2.2 RS485 module CM-485 T........................................................................................ 12
4.2.3 Bus termination ..................................................................................................... 13
5 Startup ......................................................................................................................... 14
5.1 General Information on configuration .................................................................. 14
5.2 RS232 Module CM-232 .......................................................................................... 16
5.2.1 Setting the Modbus Baud Rate and Parity ................................................................ 16
5.2.2 Setting the Modbus Address ................................................................................... 16
5.3 RS485 Module CM-485 .......................................................................................... 17
5.3.1 Setting the Modbus Baud Rate and Parity ................................................................ 17
5.3.2 Setting the Modbus Node Address........................................................................... 17
6 Modbus over Serial Line Protocol................................................................................. 18
6.1 Master/Slaves Protocol Principle .......................................................................... 18
6.2 Addressing Rules ................................................................................................... 19
6.3 Message Description.............................................................................................. 19
6.4 Supported Function Codes..................................................................................... 20
6.4.1 Function Code 3, Read 16-bit Parameter.................................................................. 20
6.4.2 Function Code 6, Write 16-bit Parameter ................................................................. 22
6.4.3 Function Code 100, Read 32-bit Parameter .............................................................. 23
6.4.4 Function Code 101, Write 32-bit Parameter.............................................................. 24
6.4.5 Function Code 8, Diagnostics .................................................................................. 25
6.5 Exception Responses ............................................................................................. 27
6.6 Exception Codes .................................................................................................... 27
6.7 The two serial Transmission Modes....................................................................... 29
6.7.1 RTU Transmission.................................................................................................. 29
6.7.1.1 Character Format ............................................................................................ 29
6.7.1.2 Frame Description ........................................................................................... 29