(Wuxi Beichen Automation Technology Co., Ltd. Wang Haibo Lei Hao 2008-03-12)
Abstract: This article describes how to use Hiluxcom's network communication module RIF 1769-DPM to achieve AB CompactLogix series PLC and Siemens DP slave ET200M communication.
Keywords: Fieldbus PROFIBUS-DP CompactLogix ET200M Hilscher RIF 1769-DPM
Abstract:This paper introduces how to use the network communication module RIF 1769-DPM to realize the communication between Allen-Bradley CompactLogix Series programmed logical controler and SIEMENS PROFIBUS slave ET200M.
Key words: FieldBus, PROFIBUS-DP, CompactLogix, ET200M, Hilscher RIF 1769-DPM
I. Introduction to the Hirsch RIF Network Communication Module
The Hilscher RIF network communication module expands the functions of the Rockwell Automation Allen-Bradley PLC series, enabling it to have a PROFIBUS interface, supporting I/O control and message mode, that is, integrating the DPV0 and DPV1 functions. The RIF module hardware is similar to Rockwell's other modules and supports the backplane bus. It can be directly spliced ​​to the back of other modules when used. The module is divided into master and slave and can be easily connected to the PROFIBUS network.
The RIF series network communication module is divided according to the applicable system:
1, RIF 1769-DPM, for CompactLogix/MicroLogix series PLC, master station;
2. RIF 1769-DPS for CompactLogix/MicroLogix series PLCs, slaves;
3, RIF 1788-DPM, for FlexLogix/DriverLogix series PLC, master station.
4. RIF 1788-DPS for FlexLogix/DriverLogix series PLCs, slaves.
Second, the application of RIF 1769-DPM to achieve communication between AB CompactLogix series PLC and Siemens Profibus slave ET200M
In this case, we use the Rockwell CompactLogix 1769-L35E PLC as the master controller; IM153-1 (order no. 6ES7 153-1AA03-0XB0) from the most widely used DP slave ET200M series is used as the RIF1769- DPM connected slaves to achieve communication.
System configuration as shown below:
As shown in the figure above, in the PROFIBUS communication network, RIF1769-DPM is used as the DP master and the address is 1. The IM153-1 is used as the DP slave and the address is 2, and a 16DI (SM321) and 16D0 (SM322) module is extended at the same time. Convenient to observe the data exchange; PC run Hirschson SYCON.net software to complete the RIF 1769-DPM communication configuration.
The purpose of the case is to realize the control and data reading and writing to the PROFIBUS slave (ET200M) and the attached module through the RIF 1769-DPM communication interface module in the CompactLogix 1769-L35E PLC.
Complete the basic hardware and software configuration required for this case:
5. One Hite RIF 1769-DPM communication interface module;
6, Rockwell Allen-Bradley CompactLogix1769-L35E CPU, power module, 1769-ECR terminal;
7. One Siemens IM153-1 interface module, one Siemens SM321 module, one Siemens SM322 module;
8. One computer with integrated Ethernet card and RS232 serial port;
9, Profibus cable and two network plugs;
10, Ethernet communication lines;
11, a RS232 communication line (CAB-SRV-MD8) for RIF 1769-DPM configuration;
12. One RS232 communication line (2/3 exchange, 5 connection 5) for initial setup of the CompactLogix L35E;
13, Rockwell software: RSLogix 5000, V13.00 or more;
14, Hilscher software: SYCON.net, V1.023 or more
The basic steps to achieve a case:
1. Complete wiring of the configuration diagram and power on the device.
2. Install SYCON.net and RSLogix 5000 software on the computer;
3, run SYCON.net software, configure network parameters, download to RIF 1769-DPM;
4, Run RSLogix 5000 software, configure the system and set the relevant parameters, download to CompactLogix L35E;
5. In RSLogix 5000 software, write an application to read and write data;
Third, the parameter configuration in SYCON.net software
SYCON.net configuration steps:
1. Open the SYCON.net software, create a new PROFIBUS network, insert the DP master RIF 1769-DPM, and set the site address to 1;
2. Import slave devices (Hilscher master and slave devices are only available in the initial device list. If you need to configure slave devices of other manufacturers, you need the device's GSD file),
The specific operations are as follows: First, copy the GSD file from the station device to the folder C:\Program Files\Hilscher GmbH\SYCONnet\PBGenericSlaveDTM\GSD, then open the Sycon.net configuration software and select the menu Network\Device Catalog. In the Device Catalog interface, click the Reload button to update the device list;
3. Insert the DP slave ET 200M (IM153-1) into the DP network with the station address set to 2;
4. Double-click the IM153 slave and configure the slave module in the pop-up dialog box.
According to the system needs, under the ET200M, configure 16-point DI, and 16-point DO modules (order number: 6ES7 321 1BH01-0AA0 and 6ES7 322 1BH02-0AA0);
The following figure shows the parameter configuration screen of the ET200M slave station:
Please note: Slot1-3 is an empty slot module configuration. From Slot4, it is the actual module behind IM153-1.
5. Double-click RIF 1769-DPM with the mouse, and configure the communication interface module parameters in the pop-up dialog box.
In the Bus Parameters tab, select “Profile†and select “PROFIBUS DPâ€. You can set the Station Address as required. The network address will not be duplicated. Other warning parameters can be adjusted automatically by clicking “Adjustâ€. ;As shown below:
In the Master Setup tab, you can adjust the "Watchdog time" according to the number of slaves you have to increase the speed of the system; in the Address Table tab, you can see the station address and data area of ​​the DP slaves ; In the Firmware Download tab, no operation;
As shown below:
6. Save the parameter configuration, select RIF 1769-DPM, select Download on the Online menu, and download the parameter configuration to RIF 1769-DPM.
7. DP masters and slaves can perform status diagnosis online.
IV. Configuration of RIF Module in RSLogix 5000 Software
Configure the RIF module to the AB control system, right-click CompactBus Local and select New Module. In the Other list, select 1769 MODULE, and then configure the parameter based on the DP slave information: Name. Set to "DPM"; "Description", can be set to "1769-DPM"; "Comm Format", set to "Data-INT"; "Slot", set according to the actual slot number of the module;
In the "Connection Parameters" parameter, "Assembly Instance" remains the default; the setting of "Size" is consistent with the data length in the "Address Table" tab of the RIF module in the sycon.net configuration; in this case RIF 1769-DPM, Slave station with "16 I points, 16 O points", so "Input" is set to "45", "Output" is set to "9"; "Input" is the first 44 bytes, "Output" The first 8 bytes are reserved for the device for state information storage.
RIF module parameter configuration as shown below:
When the correct configuration data of SYCON.net is downloaded to the RIF 1769-DPM and the correct configuration data of RSLogix 5000 is downloaded to the CompactLogix 1769-L35E, the 1769-L35E performs Profibus-DP communication with the ET200M via the RIF 1769-DPM. The BF (Bus Fault) light on the IM153-1 module should be automatically extinguished, the RUN light on the RIF 1769-DPM is always on, and the COM light is blinking.
V. Concluding remarks
The Hilscher RIF network communication interface module, based on the PROFIBUS fieldbus, extends the network communication capabilities of the Rockwell Automation Allen-Bradley PLCs, making them suitable for more complex and diverse industrial automation control systems.
In this case, the DP slave station selects the widely used Siemens ET200 slave device, which can perform similar applications for any other slave device that supports PROFIBUS communication; in addition, the RIF slave interface can also control the AB. The system acts as a DP slave and accesses the PROFIBUS bus network to exchange data between multiple systems.
This will provide broader space for users and system integrators to choose devices for the development of control systems.
references:
[1] RIF1769-DPM User's Manual (Hilscher Automation Systems GmbH, Germany)
[2] 1769-L35E CompactLogix System User Manual (Rockwell Automation Systems, Inc., USA)
[3] Instructions for Use of Hilscher RIF Communication Module (Wuxi Beichen Automation Technology Co., Ltd.)
Author:
Wang Haibo Male (1982--) Engineer Wuxi Beichen Automation Technology Co., Ltd. (Hey News China East China Distributor)
Lei Hao Male (1983--) Engineer Wuxi Beichen Automation Technology Co., Ltd. (Hey News China East China Distributor)