D301271 1013 - FGEN - multi protocol
iii
7.3.6 Ethernet Link Object (0×F6)............................................................................................................................................................. 7-26
7.4 VSC-Vendor Specific Classes........................................................................................................................ 7-28
7.4.1 Class instance of the VSC.................................................................................................................................................................. 7-28
7.4.2 Gateway Class (VSC 100)................................................................................................................................................................... 7-29
7.4.3 Process Data Class (VSC102)............................................................................................................................................................ 7-31
7.4.4 Digital Versatile Module Class (VSC117) ..................................................................................................................................... 7-34
7.4.5 Miscellaneous Parameters Class (VSC 126) ................................................................................................................................ 7-35
7.5 Diagnostic messages via process data........................................................................................................ 7-36
7.5.1 Summarized Diagnostics.................................................................................................................................................................. 7-36
7.5.2 Scheduled Diagnostics (manufacturer specific diagnosis) .................................................................................................. 7-36
8 Application example: FGEN for EtherNet/IP™ with Allen Bradley PLC and RS Logix 5000
8.1 General .............................................................................................................................................................8-2
8.1.1 Used hard-/ software.............................................................................................................................................................................8-2
8.2 Network configuration....................................................................................................................................8-3
8.2.1 Configuration of the network in "RS Logix 5000" .......................................................................................................................8-3
8.2.2 Downloading the I/O configuration................................................................................................................................................8-8
8.3 I/O data mapping.......................................................................................................................................... 8-10
8.4 Process data access ...................................................................................................................................... 8-11
8.4.1 Setting outputs .................................................................................................................................................................................... 8-11
8.4.2 Example program................................................................................................................................................................................ 8-11
8.5 Activating QuickConnect ............................................................................................................................ 8-13
9 Implementation of Modbus TCP
9.1 Common Modbus description ........................................................................................................................9-2
9.1.1 Protocol description..............................................................................................................................................................................9-3
9.1.2 Data model ...............................................................................................................................................................................................9-4
9.2 Implemented Modbus functions....................................................................................................................9-6
9.3 Modbus registers.............................................................................................................................................9-7
9.3.1 Data width of the I/O-modules in the modbus-register area.............................................................................................. 9-10
9.3.2 Register mapping of the FGEN-stations...................................................................................................................................... 9-11
9.3.3 Register 100Ch: "Station status"..................................................................................................................................................... 9-16
9.3.4 Register 1130h: „Modbus-Connection-Mode“.......................................................................................................................... 9-17
9.3.5 Register 1131h: „Modbus-Connection-Timeout“ .................................................................................................................... 9-17
9.3.6 Register 0×113C und 0×113D: „Restore Modbus-Connection-Parameters” ................................................................. 9-17
9.3.7 Register 0×113E und 0×113F: „Save Modbus-Connection-Parameters“ ........................................................................ 9-18
9.4 Bit areas: mapping of input-discrete- and coil-areas ................................................................................ 9-19
9.5 Error behavior of outputs (watchdog)........................................................................................................ 9-20
9.6 Parameters and diagnostic messages of the I/O channels ....................................................................... 9-21
10 Application example FGEN for Modbus TCP with CODESYS Win V3
10.1 Used hard-/ software.................................................................................................................................... 10-2
10.1.1 Hardware ................................................................................................................................................................................................ 10-2
10.1.2 Software.................................................................................................................................................................................................. 10-2