组态软件与西门子S7系列PLC及三菱PLC间的无线通信测试需要用到以下设备:
l 西门子PLC型号:S7-200Smart × 2台
l 三菱PLC型号:FX5U × 2台
l 上位机:力控V7.1 × 1台
l 无线通讯终端(网口版)——DTD418MB × 3块
l 无线通讯终端(网口版)——DTD419MB × 2块
l 主从关系:1主4从
l 通讯接口:RJ45接口
l 供电:12-24VDC
本方案中,用户无需更改网络参数和原有程序,也不必了解协议细节,通过无线通讯终端,即可直接替换力控与PLC之间有线以太网通讯,且稳定方便的实现PLC无线以太网通讯。
无线网络图如下:
![](https://p0.ssl.img.360kuai.com/t01c06f7b49b6554a7f.png?size=1024x736)
接线方式:
1. 上位机与DTD418MB接线
用一根通讯线,一端接入DTD418M的RJ45接口,另一端接入上位机的RJ45接口。
![](https://p0.ssl.img.360kuai.com/t01341b28693e138f9b.png?size=1025x554)
2. PLC与DTD418MB接线
用一根通讯线,一端接入DTD418M的RJ45接口,另一端接入S7-200SMART的RJ45接口。
![](https://p0.ssl.img.360kuai.com/t0171c167e68028d1c5.png?size=1025x554)
3. 三菱FX5U与DTD419MB接线
用一根通讯线,一端接入DTD419MB的RJ45接口,另一端接入FX5u的RJ45接口。
![](https://p0.ssl.img.360kuai.com/t01fc86d77577c99da9.png?size=1025x554)
力控组态参数设置及测试界面:
1.打开相关文件夹
把该例程拷贝到力控软件工程目录下。
如下图目录所示路径,搜索项目,启动开发
![](https://p0.ssl.img.360kuai.com/t017b52f8f39acbefb8.png?size=1194x59)
2.组态测试界面
![](https://p0.ssl.img.360kuai.com/t0158d4da48ccc4f3a3.png?size=1521x785)
3. 西门子PLC IO设备组态
选择 S7-200 TCP协议。设备配置按如下步骤进行。
![](https://p0.ssl.img.360kuai.com/t01732d870c9b454109.png?size=1304x603)
![](https://p0.ssl.img.360kuai.com/t018abcf91c15325910.png?size=514x484)
![](https://p0.ssl.img.360kuai.com/t01629fcaf3cf856541.png?size=532x465)
![](https://p0.ssl.img.360kuai.com/t01a7eff0cd4e501dba.png?size=447x341)
4. 数据库组态
分别为两台200SMART进行变量组态
![](https://p0.ssl.img.360kuai.com/t0149c8894179a6422a.png?size=1178x716)
5. 三菱PLC IO设备组态
选择“A、ANA系列以太网”,设备配置按如下步骤进行。
![](https://p0.ssl.img.360kuai.com/t01bc260f560ddc81c3.png?size=1605x670)
![](https://p0.ssl.img.360kuai.com/t01813992171dea7542.png?size=499x351)
![](https://p0.ssl.img.360kuai.com/t01c47d9decc6b40ca4.png?size=499x351)
![](https://p0.ssl.img.360kuai.com/t0160e15941dcfa385b.png?size=452x341)
6. 数据库组态
分别为两台FX5U进行变量组态
![](https://p0.ssl.img.360kuai.com/t014fb8dbd38e397996.png?size=1087x712)
西门子PLC参数设置:
1. IP地址的更改
![](https://p0.ssl.img.360kuai.com/t018881b65014917c1b.png?size=700x469)
2. CPU模式选择:RUN
![](https://p0.ssl.img.360kuai.com/t016541a5c14fc717af.png?size=689x638)
3. 200SMART的程序
![](https://p0.ssl.img.360kuai.com/t019f59893470bd29d5.png?size=1079x482)
三菱PLC参数设置:
1. 新建工程,并如下图所示
![](https://p0.ssl.img.360kuai.com/t01be13288abcb34298.png?size=1721x739)
2. 选择SLMP连接设备左键拖动到下面
设置协议 端口号。要和触摸屏一致。
![](https://p0.ssl.img.360kuai.com/t01b4da29373c3261f6.png?size=1007x594)
3. 简单程序的编写
用M点驱动相应的Y点输出
![](https://p0.ssl.img.360kuai.com/t01fa97a373711cbdc1.png?size=1439x369)
4. 下载程序到CPU
2台PLC的IP分别设置192.168.2.14和192.168.2.15。将程序下载到PLC
![](https://p0.ssl.img.360kuai.com/t016fcb9d3f020671ea.png?size=1010x726)
测试方法:
1、由200SMART的I0.0和I0.1的输入开关可以确认通信是否正常。
2、用鼠标点击M点按钮,左键打开,右键关闭,看对应的Q点是否输出。
3、由FX5U的X0和X1的输入开关可以确认通信是否正常。
4、用鼠标点击M点按钮,左键打开,右键关闭,看对应的Y点是否输出
![](https://p0.ssl.img.360kuai.com/t016d055b7eb7dbd66d.png?size=1521x785)
","gnid":"9eada9b5060f7f2f2","img_data":[{"flag":2,"img":[{"desc":"","height":736,"title":"","url":"https://p0.ssl.img.360kuai.com/t01c06f7b49b6554a7f.jpg","width":1024},{"desc":"","height":554,"title":"","url":"https://p0.ssl.img.360kuai.com/t01341b28693e138f9b.jpg","width":1025},{"desc":"","height":554,"title":"","url":"https://p0.ssl.img.360kuai.com/t0171c167e68028d1c5.jpg","width":1025},{"desc":"","height":554,"title":"","url":"https://p0.ssl.img.360kuai.com/t01fc86d77577c99da9.jpg","width":1025},{"desc":"","height":"59","title":"","url":"https://p0.ssl.img.360kuai.com/t017b52f8f39acbefb8.png","width":"1194"},{"desc":"","height":"785","title":"","url":"https://p0.ssl.img.360kuai.com/t0158d4da48ccc4f3a3.png","width":"1521"},{"desc":"","height":"603","title":"","url":"https://p0.ssl.img.360kuai.com/t01732d870c9b454109.png","width":"1304"},{"desc":"","height":"484","title":"","url":"https://p0.ssl.img.360kuai.com/t018abcf91c15325910.png","width":"514"},{"desc":"","height":"465","title":"","url":"https://p0.ssl.img.360kuai.com/t01629fcaf3cf856541.png","width":"532"},{"desc":"","height":"341","title":"","url":"https://p0.ssl.img.360kuai.com/t01a7eff0cd4e501dba.png","width":"447"},{"desc":"","height":"716","title":"","url":"https://p0.ssl.img.360kuai.com/t0149c8894179a6422a.png","width":"1178"},{"desc":"","height":"670","title":"","url":"https://p0.ssl.img.360kuai.com/t01bc260f560ddc81c3.png","width":"1605"},{"desc":"","height":"351","title":"","url":"https://p0.ssl.img.360kuai.com/t01813992171dea7542.png","width":"499"},{"desc":"","height":"351","title":"","url":"https://p0.ssl.img.360kuai.com/t01c47d9decc6b40ca4.png","width":"499"},{"desc":"","height":"341","title":"","url":"https://p0.ssl.img.360kuai.com/t0160e15941dcfa385b.png","width":"452"},{"desc":"","height":"712","title":"","url":"https://p0.ssl.img.360kuai.com/t014fb8dbd38e397996.png","width":"1087"},{"desc":"","height":"469","title":"","url":"https://p0.ssl.img.360kuai.com/t018881b65014917c1b.png","width":"700"},{"desc":"","height":"638","title":"","url":"https://p0.ssl.img.360kuai.com/t016541a5c14fc717af.png","width":"689"},{"desc":"","height":"482","title":"","url":"https://p0.ssl.img.360kuai.com/t019f59893470bd29d5.png","width":"1079"},{"desc":"","height":"739","title":"","url":"https://p0.ssl.img.360kuai.com/t01be13288abcb34298.png","width":"1721"},{"desc":"","height":"594","title":"","url":"https://p0.ssl.img.360kuai.com/t01b4da29373c3261f6.png","width":"1007"},{"desc":"","height":"369","title":"","url":"https://p0.ssl.img.360kuai.com/t01fa97a373711cbdc1.png","width":"1439"},{"desc":"","height":"726","title":"","url":"https://p0.ssl.img.360kuai.com/t016fcb9d3f020671ea.png","width":"1010"},{"desc":"","height":"785","title":"","url":"https://p0.ssl.img.360kuai.com/t016d055b7eb7dbd66d.png","width":"1521"}]}],"original":0,"pat":"art_src_0,fts0,sts0","powerby":"pika","pub_time":1710312940000,"pure":"","rawurl":"http://zm.news.so.com/7de50d1e566e098c7941cadb30bc8d75","redirect":0,"rptid":"19c810a718eb489e","rss_ext":[],"s":"t","src":"达泰电子","tag":[{"clk":"ktechnology_1:西门子","k":"西门子","u":""},{"clk":"ktechnology_1:s7","k":"s7","u":""}],"title":"组态软件与西门子S7系列PLC及三菱PLC间的无线通信测试
曾吉狮1437求三菱FX2N PLC接线图 -
卫齐昂19132927630 ______ 去插上就用的啊 输出C0 AI0是一组 以此类推 你一看就懂了 很简单的
曾吉狮1437三菱PLC的输入端接法 -
卫齐昂19132927630 ______ 第一种是采用三菱PLC内部电源驱动输入光耦,第二种是采用外部电源COM作为公共端.
曾吉狮1437三菱可编程逻辑控制器PLC Q00CPU的通讯接口是RS232啊?而且还是圆口的? -
卫齐昂19132927630 ______ Q系列圆形的那个通信口确实是RS232的.Q00CPU是三菱Q系列的PLC. FX系列的圆形的那个通信口是RS422的. 两个口看起来很相似,其实针脚是不一样的.用错了通信线是插不进去的. SC-09编程电缆在Q系列上用不了,插不进去.
曾吉狮1437三菱PLC上面的这个接口叫什么,用什么数据线连接? -
卫齐昂19132927630 ______ 这个是三菱PLC安装功能扩展模板的接口.要连接数据线,需要
曾吉狮1437三菱FX1N系列PLC外部接线方法说明书 -
卫齐昂19132927630 ______ 三菱FX1N系列PLC外部接线方法说明书: FX1N-60MR-001 继电器型、36点输入/24点输出、交流电 FX1N-40MR-001 继电器型、24点输入/16点输出、交流电 FX1N-24MR-001 继电器型、14点输入/10点输出、交流电 FX1N-14MR-001 继电器型...
曾吉狮1437fx2型的plc输出接口电路分别是哪三种形式. -
卫齐昂19132927630 ______ 三菱PLC为例,三种输出电路形式的区别:1、继电器输出电路: 该种输出电路形式外接电源既可以是直流,也可以是交流.PLC继电器输出电路形式允许负载一般是AC250V/50V以下,负载电流可达2A,容量可达80~100VA(电压*电流),因...
曾吉狮1437三菱plc FX2 - 128MR的连接端口在那 -
卫齐昂19132927630 ______ 买三菱专用的通信线,一端是圆孔,在三菱PLC的左下角. 另一端是PC,如果是笔记本,要更改COM口. 连接上通信线后,确定PC的com口和波特率,就可以通信了
曾吉狮1437plc接线图怎么看 -
卫齐昂19132927630 ______ 这是个什么四通道的模块吧.接线就接12,13两个模块端子,模块的12端子接设备的常开点,13端子接公共端.
曾吉狮1437请问三菱FX2N系列PLC都有些什么接线端?功能各是什么? -
卫齐昂19132927630 ______ 以FX2N-16MR为例: 接线端包括: 输入端:X0~X7输入继电器线圈低电平输入.(DC24V-和X一接通就有信号输入) COM.内部电源低电平输出(DC24V-). DC24+:内部直流电源DC24V正极. L:PLC电源火线AC220V N:PLC电源零线AC220V 地线. 输出端:上层Y0~Y7 输出继电器常开触点A.(无源) 下层Y0~Y7 输出继电器常开触点B.(无源)(大部分是公用一个COM)
曾吉狮1437三菱PLC的输出端Y应该怎么接线? -
卫齐昂19132927630 ______ 将开关电源的DC24V+端接PLC输出端公共端,一般是COM,也有几个输出公用的,看清楚再接(如有的机型是Y0~Y4共一个COM1),公用COM的要注意其他公用端头Y所接负载的电压,必须匹配. 将Y0和中间继电器的线圈正极连接(HH52P的是14脚); 将中间继电器线圈负极(HH52P是13脚)直接接开关电源负极DC24V-即可. 输出接口是继电器形式的,就是Y和COM点形成常开触点.