quick set up guide for the ethernet ip gateway  · web viewhardware setup: the ethernet ip...

7
Quick Setup Guide for the Ethernet IP Gateway Hardware Setup: The Ethernet IP Controller e should be connected to the network via the RJ45 connection. This is explained in detail in the Controller e Ethernet manual. For direct connection from the PC to the Controller e requires the use of a cross over cable with crossed data wires. For connections via a Hub, Router, and Switch, a straight Ethernet cable should be used. Example Configuration This procedure will configure the system with memory allocations for 1 Master with up to 31 A slaves and 31 B slaves. The communication card used inside the PLC configuration in our example is the 1756-ENBT/A 10/100 Mbps Ethernet Bridge, Twisted-pair media from Allen Bradley. The Controller e comes defaulted with an IP Address of 192.168.10.17. Instructions on how to add/change these and other parameters can be found in the User Manual. Set Gateway Configuration 1. From the Controller e display, go to Menu / Fieldbus Setup. You will be at a screen to view/change the IP Address. Press the ESC button once to enter the Subnet Mask screen. Press the ESC again to enter the Mac ID screen. Press the NEXT button to begin entering the Module byte lengths.

Upload: others

Post on 15-Feb-2020

8 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Quick Set Up Guide for the Ethernet IP Gateway  · Web viewHardware Setup: The Ethernet IP Controllere should be connected to the network via the RJ45 connection. This is explained

Quick Setup Guide for the Ethernet IP Gateway

Hardware Setup:

The Ethernet IP Controllere should be connected to the network via the RJ45 connection. This is explained in detail in the Controllere Ethernet manual. For direct connection from the PC to the Controllere requires the use of a cross over

cable with crossed data wires. For connections via a Hub, Router, and Switch, a straight Ethernet cable should be

used.

Example Configuration

This procedure will configure the system with memory allocations for 1 Master with up to 31 A slaves and 31 B slaves. The communication card used inside the PLC configuration in our example is the 1756-ENBT/A 10/100 Mbps Ethernet Bridge, Twisted-pair media from Allen Bradley. The Controllere comes defaulted with an IP Address of 192.168.10.17. Instructions on how to add/change these and other parameters can be found in the User Manual.

Set Gateway Configuration

1. From the Controllere display, go to Menu / Fieldbus Setup. You will be at a screen to view/change the IP Address. Press the ESC button once to enter the Subnet Mask screen. Press the ESC again to enter the Mac ID screen. Press the NEXT button to begin entering the Module byte lengths.

2. Enter the following byte valuesModule 1 Digital Inputs Master 1A 16 byteModule 2 Digital Outputs Master 1A 16 byteModule 3 Digital Inputs Master 2A 16 byteModule 4 Digital Outputs Master 2A 16 byteModule 5 Digital Inputs Master 1B 16 byteModule 6 Digital Outputs Master 1B 16 byteModule 7 Digital Inputs Master 2B 16 byteModule 8 Digital Outputs Master 2B 16 byteModule 18 FieldBus Diag. Data 2 (Both masters 26 words)

3. Modules 9 – 17, 19 need to be set to 0.

Page 2: Quick Set Up Guide for the Ethernet IP Gateway  · Web viewHardware Setup: The Ethernet IP Controllere should be connected to the network via the RJ45 connection. This is explained

4. These settings are permanently stored by exiting the menu function Fieldbus Setup. The changed settings will take effect a few seconds after leaving the menu function Fieldbus Setup.

Set Configuration in RS Logix5000

1. Open RS Logix5000, enter either a new or existing project and set the program to offline mode.

2. Add a new module for the AS-i Ethernet IP controllere to the configuration in the PLC. Do this by right clicking the Ethernet/IP device 1756-ENBT/A in the I/O configuration, and select from the appearing context menu “New Module...”.

3. In the new window select “Generic Ethernet module” and press “OK”.

Page 3: Quick Set Up Guide for the Ethernet IP Gateway  · Web viewHardware Setup: The Ethernet IP Controllere should be connected to the network via the RJ45 connection. This is explained

4. In the next window enter the following values. Custom values for Name and Description will not disturb the configuration.

5. After all adjustments are done click on the button “Finish >>” to create the module.

6. Connect the PC to the Controllogix, turn the key switch to PROG and download the new configuration.

7. Turn the Controllogix key to RUN, and you will find the new module “ASI Gateway” inside the Controller Tags.

Page 4: Quick Set Up Guide for the Ethernet IP Gateway  · Web viewHardware Setup: The Ethernet IP Controllere should be connected to the network via the RJ45 connection. This is explained

8. The following shows the default mapping of the slave bits into the above I/O table.Master 1 A-Slaves

Bit Location

Word # 15| 14| 13| 12 11| 10| 9| 8 7| 6| 5| 4 3| 2| 1| 0Word 0 Status Flag Slave 1/ 1A Slave 2/ 2A Slave 3/ 3AWord 1 Slave 4/ 4A Slave 5/ 5A Slave 6/ 6A Slave 7/ 7AWord 2 Slave 8/ 8A Slave 9/ 9A Slave 10/ 10A Slave 11/ 11AWord 3 Slave 12/ 12A Slave 13/ 13A Slave 14/ 14A Slave 15/ 15AWord 4 Slave 16/ 16A Slave 17/ 17A Slave 18/ 18A Slave 19/ 19AWord 5 Slave 20/ 20A Slave 21/ 21A Slave 22/ 22A Slave 23/ 23AWord 6 Slave 24/ 24A Slave 25/ 25A Slave 26/ 26A Slave 27/ 27AWord 7 Slave 28/ 28A Slave 29/ 29A Slave 30/ 30A Slave 31/ 31A

       

Master 2 A-SlavesBit Location

Word # 15| 14| 13| 12 11| 10| 9| 8 7| 6| 5| 4 3| 2| 1| 0Word 8 Status Flag Slave 1/ 1A Slave 2/ 2A Slave 3/ 3AWord 9 Slave 4/ 4A Slave 5/ 5A Slave 6/ 6A Slave 7/ 7AWord 10 Slave 8/ 8A Slave 9/ 9A Slave 10/ 10A Slave 11/ 11AWord 11 Slave 12/ 12A Slave 13/ 13A Slave 14/ 14A Slave 15/ 15AWord 12 Slave 16/ 16A Slave 17/ 17A Slave 18/ 18A Slave 19/ 19AWord 13 Slave 20/ 20A Slave 21/ 21A Slave 22/ 22A Slave 23/ 23AWord 14 Slave 24/ 24A Slave 25/ 25A Slave 26/ 26A Slave 27/ 27AWord 15 Slave 28/ 28A Slave 29/ 29A Slave 30/ 30A Slave 31/ 31A

Master 1 B-Slaves

Bit Location

Word # 15| 14| 13| 12 11| 10| 9| 8 7| 6| 5| 4 3| 2| 1| 0Word 16 N/A Slave 1B Slave 2B Slave 3BWord 17 Slave 4B Slave 5B Slave 6B Slave 7BWord 18 Slave 8B Slave 9B Slave 10B Slave 11BWord 19 Slave 12B Slave 13B Slave 14B Slave 15BWord 20 Slave 16B Slave 17B Slave 18B Slave 19BWord 21 Slave 20B Slave 21B Slave 22B Slave 23BWord 22 Slave 24B Slave 25B Slave 26B Slave 27BWord 23 Slave 28B Slave 29B Slave 30B Slave 31B

Master 2 B-Slaves

Bit Location

Word # 15| 14| 13| 12 11| 10| 9| 8 7| 6| 5| 4 3| 2| 1| 0Word 24 N/A Slave 1B Slave 2B Slave 3BWord 25 Slave 4B Slave 5B Slave 6B Slave 7BWord 26 Slave 8B Slave 9B Slave 10B Slave 11BWord 27 Slave 12B Slave 13B Slave 14B Slave 15BWord 28 Slave 16B Slave 17B Slave 18B Slave 19BWord 29 Slave 20B Slave 21B Slave 22B Slave 23BWord 30 Slave 24B Slave 25B Slave 26B Slave 27BWord 31 Slave 28B Slave 29B Slave 30B Slave 31B

Master 1 DiagnosticsBit Location

Page 5: Quick Set Up Guide for the Ethernet IP Gateway  · Web viewHardware Setup: The Ethernet IP Controllere should be connected to the network via the RJ45 connection. This is explained

Word # 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Word 32                  C OK  

P OK A F

SL 0 CA  

Word 33 15A 14A 13A 12A 11A 10A 9A 8A 7A 6A 5A 4A 3A 2A 1A 0Word 34 31A 30A 29A 28A 27A 26A 25A 24A 23A 22A 21A 20A 19A 18A 17A 16AWord 35 15B 14B 13B 12B 11B 10B 9B 8B 7B 6B 5B 4B 3B 2B 1B *Word 36 31B 30B 29B 28B 27B 26B 25B 24B 23B 22B 21B 20B 19B 18B 17B 16BWord 37 15A 14A 13A 12A 11A 10A 9A 8A 7A 6A 5A 4A 3A 2A 1A 0Word 38 31A 30A 29A 28A 27A 26A 25A 24A 23A 22A 21A 20A 19A 18A 17A 16AWord 39 15B 14B 13B 12B 11B 10B 9B 8B 7B 6B 5B 4B 3B 2B 1B *Word 40 31B 30B 29B 28B 27B 26B 25B 24B 23B 22B 21B 20B 19B 18B 17B 16BWord 41 15A 14A 13A 12A 11A 10A 9A 8A 7A 6A 5A 4A 3A 2A 1A 0Word 42 31A 30A 29A 28A 27A 26A 25A 24A 23A 22A 21A 20A 19A 18A 17A 16AWord 43 15B 14B 13B 12B 11B 10B 9B 8B 7B 6B 5B 4B 3B 2B 1B *Word 44 31B 30B 29B 28B 27B 26B 25B 24B 23B 22B 21B 20B 19B 18B 17B 16B

Master 2 DiagnosticsBit Location

Word # 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Word 45                  C OK  

P OK A F

SL 0 CA  

Word 46 15A 14A 13A 12A 11A 10A 9A 8A 7A 6A 5A 4A 3A 2A 1A 0Word 47 31A 30A 29A 28A 27A 26A 25A 24A 23A 22A 21A 20A 19A 18A 17A 16AWord 48 15B 14B 13B 12B 11B 10B 9B 8B 7B 6B 5B 4B 3B 2B 1B *Word 49 31B 30B 29B 28B 27B 26B 25B 24B 23B 22B 21B 20B 19B 18B 17B 16BWord 50 15A 14A 13A 12A 11A 10A 9A 8A 7A 6A 5A 4A 3A 2A 1A 0Word 51 31A 30A 29A 28A 27A 26A 25A 24A 23A 22A 21A 20A 19A 18A 17A 16AWord 52 15B 14B 13B 12B 11B 10B 9B 8B 7B 6B 5B 4B 3B 2B 1B *Word 53 31B 30B 29B 28B 27B 26B 25B 24B 23B 22B 21B 20B 19B 18B 17B 16BWord 54 15A 14A 13A 12A 11A 10A 9A 8A 7A 6A 5A 4A 3A 2A 1A 0Word 55 31A 30A 29A 28A 27A 26A 25A 24A 23A 22A 21A 20A 19A 18A 17A 16AWord 56 15B 14B 13B 12B 11B 10B 9B 8B 7B 6B 5B 4B 3B 2B 1B *Word 57 31B 30B 29B 28B 27B 26B 25B 24B 23B 22B 21B 20B 19B 18B 17B 16B

List of detected slaves CA = Configuration is activeList of configuration

faultsSL 0 = Slave with address 0 detected

List of peripheral faults A F = AS-I voltage is too lowP OK = Peripheral fualt detectedC OK = Configuration error detected

9. This completes the set up.