第一范文网 - 专业文章范例文档资料分享平台

通过以太网与施耐德Premium的PLC通讯的问题 ccg(4)

来源:用户分享 时间:2021-06-02 本文由缱绻成歌 分享 下载这篇文档 手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

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下载服务。

通过以太网与施耐德Premium的PLC通讯的问题 ccg(4).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/wenku/1209280.html(转载请注明文章来源)
热门推荐
Copyright © 2018-2022 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top