NT151 application case: Communication between Siemens PLC S7-1200 and Parker ACR9000 (Part 3)

②Configure E IP network configuration

Back to the main operation interface of SYCON.net, you can observe that NT151 also has its own EIP network bus. In the device selection list on the right, find ENIP Generic Adapter representing ACR9000, and drag it to the EIP bus of NT151 to complete the EIP network. Configuration configuration, as shown in the figure below:

It is worth noting that, generally speaking, EIP slave devices will have their own eds files. In the EIP network configuration configuration of SYCON.net, the general operation is to first import the eds file of the slave device into the software, and then find the device from the list and drag it into the EIP bus. ACR9000 does not have its own specific eds file (this point has been confirmed with Parker’s technical support), and the operation steps in the reference manual of the EIP part are also in the RSLogix 5000 software, using Generic Ethernet Module, a general ether The network module is configured. Therefore, the general EIP equipment in SYCON.net is used in this document for configuration.

                                                                           Figure: General Ethernet module applicable to ACR9000 in Rslogix 5000 Source: "ACR Motion Controllers 88-030031-01 A EtherNet/IP Programmer's Guide"

③Configure the E IP network master station ( NT151 )

Right-click the NT151 module and open the EtherNet Scanner configuration interface as follows:

In the "Network Settings" tab in the master station configuration interface, considering that the default IP of ACR9000 is set to 192.168.10.40, we set the master station's IP to the same network segment, and the gateway IP is also configured, as shown below Shown:

The slave station IP can be configured in the "Scanlist" tab. We will configure the slave station as the default IP of ACR9000, as shown in the figure below:

The remaining 3 tabs are used to observe the process data of the entire EIP network and do not need to be configured. Click the OK button in the lower right corner to complete the EIP network master station configuration.

④ Configure E IP network slave ( ACR9000 )

Back to the main interface of SYCON.net software, double-click the slave module to open the slave configuration interface. Click the "Electronic Keying" tab and set the "Keying method" to "No keying", as shown in the figure below:

Electronic Keying is a concept proposed by Allen-Bradley. It is intended to achieve flexible and reliable slave management. It is a special device addressing method. The value must be strictly compared with the slave device settings. It is based on The manufacturer of the CIP protocol implements a protocol in the Idtentity part. Since this concept is not mentioned in the EIP operation manual of ACR9000, “No keying” is selected here.

Next, click the "Assembly" tab. The "Assembly" directly specifies the ID number of each communication instance (Instance) in the EIP slave station, as well as the instance capacity, configuration data of the configuration set (CFG), etc., as shown in the figure below :

ACR9000 Class 1 IO communication is realized by the EIP master station sending corresponding configuration information to the ACR9000 CFG. ACR9000 performs corresponding data exchange according to the configuration information. The ID number of each instance, the configuration information sent and the corresponding data size are as follows The picture shows:

                                                                                 Figure: ACR9000 Class 1 IO example configuration Source: "ACR Motion Controllers EtherNet/IP Programmer's Guide"

Corresponding to SYCON, we set the IN instance ID number to 101, and the data length to 24 (unit: Byte, corresponding to the 6 32-bit Dwords in the figure above, the same below); OUT instance ID number to 102, data The length is set to 40; the CFG instance ID number is set to 3, and the data length depends on the specific content of "Cfg. #1 data segment" below, here it is 56.

It should be noted that the "Input" and "Output" here are relative to the master station of the network, that is, the 24 Bytes Input in the above figure refers to NT151 receiving 24 Bytes input data from ACR9000. Similarly, 40 Bytes Output refers to the 40 Bytes output data sent from NT151 to ACR9000.

Here you also need to pay attention to the format of the data in the CFG instance. It can be observed from the EIP slave DTM configuration manual provided by Hilscher that the data is completely in the big-endian format, that is, the high-order address stores the low-order data, and it is in hexadecimal. Fill in the system format.

                                                                                         Figure: Example of DTM data storage format Source: "EtherNetIP Generic Adapter DTM OI 10 EN"

 

When writing data, fill in from back to front in bytes:

The sample data in the ACR9000 EIP operation manual is converted to the data filled in SYCON.net, namely:

2100 0000 0400 0000 0010 0000 0400 0000 0000 0000 0410 0000 0200 0000

0000 0000 0610 0000 0200 0000 0100 0000 0098 0000 0800 0000 0100 0000

Click the "OK" button to complete the EIP slave configuration.

About Hongke Industrial Communication:

Hongke is a high-tech company with more than 10 years of experience in the field of industrial automation, especially the industrial bus communication industry. Hongke Industrial Communication Division has in - depth cooperation with world-renowned industrial communication experts [ PEAK-System, Hilscher, Kunbus, SYS TEC, Koenig-Pa, Port, Copa-data, TenAsys, SoC-e, RELYUM] and other in-depth cooperation to provide industry-leading Level industrial bus protocol software and hardware solutions, protocol types include [CAN, CANopen, EtherCAT, Profibus, Profinet, EtherNET/IP, TSN], etc., and product types include code, software, chips, boards, modules, etc. Hongke Industrial Communication is customer-oriented and based on technical capabilities, providing domestic enterprises with the most suitable products and the most satisfactory services. Especially in the context of Industry 4.0, Hongke Industrial Communications keeps pace with the times and launches TSN (Time Sensitive Network) solutions, which will act as a highway-like connection in the trend of the Internet of Everything .

Scan WeChat, follow us for more industrial communication dry goods~

Author: Hong Branch Industrial Communication --- Chun Liang Hua

Typesetting: Hongke Industrial Communication---Huang Yi

 

Guess you like

Origin blog.csdn.net/weixin_47677928/article/details/108731634