
Deutschmann Automation GmbH & Co. KG
4UNIGATE
®Feldbus-Gateway UNIGATE®CL - EtherCAT®V. 2.6 29.6.20
9.5 Further settings at the Gateway . . . . . . . . . . . . . . . . . . . . . . 19
9.6 The use of the Protocol Developer . . . . . . . . . . . . . . . . . . . . 20
9.7 Accuracies of the baud rates . . . . . . . . . . . . . . . . . . . . . . . 20
9.8 Script processing times . . . . . . . . . . . . . . . . . . . . . . . . . . 21
10 Implemented protocols in UNIGATE®CL with Universal Script . . . . 22
10.1 Protokoll: Transparent . . . . . . . . . . . . . . . . . . . . . . . . . . 22
10.1.1 Data structure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
10.2 Protocol: Universal 232 . . . . . . . . . . . . . . . . . . . . . . . . . . 22
10.2.1 Data structure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
10.2.2 Fieldbus parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
10.2.3 RS232 parameter table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
10.2.3.1 Start character (232 Start character) . . . . . . . . . . . . . . . . . . . . . . . . . 23
10.2.3.2 Length 232 (232 Length) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
10.2.3.3 Timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
10.2.3.4 End character (232 End character) . . . . . . . . . . . . . . . . . . . . . . . . . . 23
10.2.4 Communication sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
10.3 Protocol „Universal Modbus RTU Slave“ . . . . . . . . . . . . . . . . . 24
10.3.1 Data structure on the fieldbus side e.g.: PROFIBUS . . . . . . . . . . . . . . .24
10.3.1.1 Example: FC1 + FC2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
10.3.1.2 Example: FC3 (Read Holding Register) + FC4 (Read Input Register) . . . . . . . . 25
10.3.1.3 Example: Write Single Coil FC5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
10.3.1.4 Example: Write Single Register FC6 . . . . . . . . . . . . . . . . . . . . . . . . . 27
10.3.1.5 Example: Force multiple coils FC 15 . . . . . . . . . . . . . . . . . . . . . . . . . 28
10.3.1.6 Example: Preset multiple register FC16 . . . . . . . . . . . . . . . . . . . . . . . . 29
10.4 Protocol „Universal Modbus RTU Master“ . . . . . . . . . . . . . . . . 29
10.4.1 Data structure Fieldbus side (e.g. PROFIBUS): . . . . . . . . . . . . . . . . .29
10.4.2 Data structure Application side: . . . . . . . . . . . . . . . . . . . . . . . . . 29
10.4.3 Configuration: via Wingate since wcf Datei Version 396 . . . . . . . . . . . . .31
10.4.3.1 Example: Read coil status FC1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
10.4.3.2 Example: Read input status FC2 . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
10.4.3.3 Example: Read multiple register FC3 . . . . . . . . . . . . . . . . . . . . . . . . . 34
10.4.3.4 Example: Read input registers FC4 . . . . . . . . . . . . . . . . . . . . . . . . . . 35
10.4.3.5 Example: Force single coil FC5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
10.4.3.6 Example: Preset single register FC6 . . . . . . . . . . . . . . . . . . . . . . . . . 36
10.4.3.7 Example: Force multiple coils FC15 . . . . . . . . . . . . . . . . . . . . . . . . . . 36
10.4.3.8 Example: Preset multiple register FC16 . . . . . . . . . . . . . . . . . . . . . . . . 37
10.5 Protocol „Universal Modbus ASCII Master/Slave“ . . . . . . . . . . . . 38
10.6 Protocol SSI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
10.7 The trigger byte . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
10.8 The length byte . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
11 Hardware ports, switches and LEDs . . . . . . . . . . . . . . . . . . 39
11.1 Device labeling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
11.2 Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
11.2.1 Connector to the external device (RS-interface) . . . . . . . . . . . . . . . . . 39
11.2.2 Connector supply voltage and DEBUG-interface. . . . . . . . . . . . . . . . .40
11.2.3 EtherCAT®-connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
11.2.4 Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40