DMP-300F 型中小型水电站机组自动化屏(OMRON PLC 以太网通信及 PLC 间串口通信) 编程使用说明书
长沙华能自控集团有限公司版权所有 2005/11 第 i 页
目 录
OMRON PLC以太网通信......................................................................................................................1
一、OMRON CJ1M系列PLC以太网通信模块选择及介绍 ........................................................................1
(一)OMRON CJ1M系列PLC的以太网模块选择.................................................................................1
1
、CJ1M系列PLC CPU集成以太网
..................................................................................................1
2、CJ1 系列PLC单独的以太网模块(CJ1W-ETN21)
...................................................................1
3、以太网模块选择的原则
............................................................................................................2
(二)OMRON CJ1M系列PLC的以太网模块介绍..........................................................................2
1、CJ1M系列PLC CPU集成以太网
..................................................................................................2
2、CJ1M系列单独以太网模块
........................................................................................................3
3、以太网面板介绍及指示器意义
................................................................................................3
4、以太网模块设置拨码开关
........................................................................................................4
二、OMRON CJ1M系列PLC以太网在CX-PROGRAMMER 软件中设置 ........................................................5
1、双击IO表和特殊单元设置(IO TABLE AND UNIT SETUP)..............................................................5
2、在PLC IO表(PLC IO TABLE)展开主机架(〔0000〕MAIN RACK): ............................................5
3、双击CJ1W-ETN21(ETN21 MODE)(ETHERNET UNIT)对以太网模块进行具体设置:.........................6
4、将PLC以太网模块的设置传送到PLC ............................................................................................7
三、在程序中设置以太网通信 ..............................................................................................................8
1、以太网通信在梯形图程序中设置 ................................................................................................8
2、设置注意事项................................................................................................................................9
四、以太网通信程序说明 ....................................................................................................................10
1、变量定义......................................................................................................................................10
2
、
以太网通信控制字计算程序代码 ..............................................................................................10
2、程序设计的原理..........................................................................................................................11
五、以太网通信指令说明 ....................................................................................................................12
1、网络发送指令(SEND) ..............................................................................................................12
2、网络接收指令(RECV) ..............................................................................................................13
OMRON PLC 间串口通信..................................................................................................................16
一、OMRON CJ1M系列PLC串口通信模块(CJ1W-SCU41-V1)介绍 ....................................................16
1、CJ1W-SCU41 模块面板、模块特性 .............................................................................................16
2、CJ1W-SCU41 指示器 .....................................................................................................................16
3、端口管脚定义..............................................................................................................................17
4、开关设置......................................................................................................................................17
6、CJ1W-SCU41 模块设定区具体含义 .............................................................................................19
7、CJ1W-SCU41 模块状态地址(使用协议宏)具体含义 .............................................................20
二、OMRON CJ1 系列PLC串口通信端口转换器(NT-AL001、CJ1W-CIF11)介绍 ...........................20
1、NT-AL001 模块介绍.....................................................................................................................21
NT-AL001 外观及面板性能
...................................................................................................21
NT-AL001 端口管脚定义
.......................................................................................................21
DIP(拨码)开关设置(6 个拨码开关)
...........................................................................22
NT-AL001 转换器接线
..........................................................................................................23
2、
CJ1W-CIF11 模块介绍 .................................................................................................................23
NT-AL001 外观及面板及模块性能
.......................................................................................23
CJ1W-CIF11 通信转换器端口管脚定义
...............................................................................24
DIP(拨码)开关设置(6 个拨码开关)
...........................................................................24
CJ1W-CIF11 转换器接线
.......................................................................................................24