
4Manual – MOVI-PLC® advanced DHR41B for EtherNet/IP, Modbus/TCP and PROFINET IO
7 Configuration and Startup (Modbus/TCP) ......................................................... 55
7.1 Unit description file for Modbus/TCP............................................................ 55
7.2 Configuration of the master (Modbus scanner)............................................ 55
7.3 Settings in MOVI-PLC®advanced DHR41B ................................................ 58
7.3.1 Process data configuration ............................................................... 58
7.3.2 Status of the fieldbus interface ......................................................... 58
7.4 Configuration examples in PL7 PRO ........................................................... 59
7.4.1 MOVI-PLC®advanced DHR41B with 16 PD data exchange ............ 59
7.5 Examples for data exchange via Modbus/TCP............................................ 61
7.5.1 Writing and reading process data ..................................................... 62
7.5.2 Parameter access ............................................................................. 64
8 The Modbus Protocol (Modbus/TCP) ................................................................. 66
8.1 Introduction .................................................................................................. 66
8.1.1 Mapping and addressing .................................................................. 66
8.1.2 Services (function codes) .................................................................. 67
8.1.3 Access .............................................................................................. 67
8.2 Protocol structure......................................................................................... 68
8.2.1 Header .............................................................................................. 68
8.2.2 Service FC3 Read holding registers ................................................ 69
8.2.3 Service FC16 Write multiple registers .............................................. 70
8.2.4 Service FC23 Read/write multiple registers ..................................... 71
8.2.5 Service FC43 Read device identification ......................................... 72
8.3 Connection management............................................................................. 73
8.3.1 Sending process output data (requesting a controlling connection) . 73
8.3.2 Dropping connections ....................................................................... 74
8.3.3 Timeout monitoring ........................................................................... 74
8.4 Parameter access via Modbus/TCP............................................................. 75
8.4.1 Procedure with FC16 and FC3 ......................................................... 75
8.4.2 Procedure with FC23 ........................................................................ 75
8.4.3 Protocol structure .............................................................................. 76
8.4.4 MOVILINK®parameter channel ........................................................ 77
8.5 Fault codes (exception codes) ..................................................................... 78
9 Fault Diagnostics for Operation on EtherNet/IP and Modbus/TCP ................. 79
9.1 Diagnostic sequence.................................................................................... 79
10 PROFINET IO Configuration................................................................................ 81
10.1 Configuring the PROFINET IO controller..................................................... 81
10.1.1 Installing the GSD file ...................................................................... 81
10.1.2 Assigning a PROFINET device name .............................................. 82
10.2 Configuring the PROFINET connection for MOVI-PLC®
advanced DHR41B ...................................................................................... 84
10.2.1 Creating a new project ..................................................................... 84
10.2.2 Configuring a station ........................................................................ 86
10.3 PROFINET configuration with topology detection........................................ 88
10.3.1 Introduction ...................................................................................... 88
10.3.2 Configuring the PROFINET topology ............................................... 89
10.3.3 Changing the port properties ........................................................... 91
10.3.4 Topology diagnostics ....................................................................... 93
10.3.5 Port statistics .................................................................................... 94
10.4 PROFINET diagnostics alarms .................................................................... 96
10.4.1 Switching on the diagnostic alarms .................................................. 96
10.4.2 Determining the cause of a fault ...................................................... 97