Allen-Bradley-CompactLogix

In order to enable PLC – PLC communication using the Consume and Produce tags, an EtherNet/IP™ controller must be installed at Allen-Bradley (AB). It is not possible to use a Beckhoff controller with AB, therefore an Allen-Bradley controller must be created in the configuration tool.

1. Click Ethernet; you can create a new module with the right mouse button. Select New Module…
Allen-Bradley-CompactLogix 1:
2. Then select a controller, for example 1756-EN2T.
Allen-Bradley-CompactLogix 2:
3. Now enter the IP address of the Beckhoff controller or the IP address of the Beckhoff EtherNet/IP™ Scanner. In addition, the controller requires a name.
Allen-Bradley-CompactLogix 3:
4. Select Disable Keying under Module Definition. In addition, select the value “None” for both Rack Connection and Time Sync Connection.
Allen-Bradley-CompactLogix 4:
5. Now you have to create a PLC. Select 1756-L61, for example, and click Create:Allen-Bradley-CompactLogix 5:
6. Enter a name for the controller, e.g., CPU_2; this name is still needed later when you create the ConsumedTags.
7. Insert a new DINT variable under Controller Tags. Create it as type Consumed.
Allen-Bradley-CompactLogix 6:
8. Click Connection. Select the controller from which you want to receive the data. This requires the name that was assigned during configuration (in this example CPU_2). Furthermore, the tag name that was also assigned to the TwinCAT controller (here: TwinCAT_IN_0) and the RPI time. The RPI time should always be greater than or equal to the SyncTask of the EtherNet/IP™ scanner in TwinCAT.
Allen-Bradley-CompactLogix 7:
9. Now insert another DINT variable and configure it as Produced. It is only important to use the same name as in TwinCAT for the Consumed Connection (here TwinCAT_Out_0).
Allen-Bradley-CompactLogix 8: