configured using XIP or PL7 software. Enter 502 in the port field. By default UNITE uses port 502 for session connections. TCP should be selected. Click next. Click next again, then finish.
Now check that the Ports, Boards and IO Device forms in the Project Editor match these settings (or similar for your project):
Board Type: TCPIP
Board Address: 0
Port Name: Port1
Port Number:
Port Baud Rate:
Port Data Bits:
Port Stop Bits:
Port Parity:
Port Special Option: -i84.0.1.14 -p502 -t
Unit Name: PremiumETY
Unit Number: 1 (must be unique number for each IO device)
Unit Address: 1.3.0 (Network.Station.Gate)
Unit Protocol: UNITE
Unit Port Name: Port1
Here is an example of a variable tag pointing to %MW1:
Variable Tag Name: MemoryWord1
Data type: Integer
I/O Device Name: PremiumETY
Address: %MW1
See online help for data types that are supported by the UNITE driver.
The next step is to configure a Network, Station and Gate number for the CitectSCADA PC. To do this add the following lines to the Citect.ini file:
[UNITE]
Network=1
Station=1 (Each device on the Network must have a unique Station number) Gate=0
After these changes are saved to the citect.ini file, shutdown Citect (both Explorer and Runtime) for the changes to take effect.
Pack and compile your project.
Run the project. You should now have successful communications with the Premium. Keywords: UNITE, Unitelway, TSX, Premium, Telemecanique
/*引用结束*/
按照这篇文章,基本上可以顺利与premium通讯,之所以说基本,是因为还有几个问题没有解决。一,上文说可以使用PL7或Unity Pro给PLC设置一个适当的IP地址和XWAY address,但没有说怎样的设置是适当的.
实际上PL7和Unity的设置也不尽相同,我的做法如下PL7在设置的时候在硬件配置图上双击CPU旁的ETY通讯模块在Messaging 的选项卡下可以看到Xay address和IP
configured的选项。同时在右边可以看到connection configuration的选项,我在下面的Xway address和Ip address里分别填上位监控软件的相关地址,protocol选择Unite,Mode
搜索“diyifanwen.net”或“第一范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,第一范文网,提供最新人文社科通过以太网与施耐德Premium的PLC通讯的问题 ccg(4)全文阅读和word下载服务。
相关推荐: