
推荐-欧姆龙plc与安川变频器通讯.doc
6页Omron PLC与安川变频器通讯Omron PLC配置:PRM21 Profibus 通讯模块1个安川变频器配置:SI-P Profibus 通讯卡1块接线图如下: 在PC机中安装:F:\Omron\Profibus\Sycon\Setup.exeInstallation settings全部键入Yes 安装在程序菜单中键Sycon配置主站:点击下拉菜单Insert…▼Master C200HW-PRM21 (主站地址)点击下拉菜单Inser…▼Slave PROFIBUS-DP INTERFACE CARD SI-P (从站地址)主站地址选中Auto addressing, 从站地址与对应的变频器的站地址设置号要相同推荐精选1、 将光标放在主站下 Master12、 点击下拉菜单OnLine▼Download…3、 通讯口设为COM14、 点击下拉菜单OnLine▼Start debug Mode 开始调试,如果出现绿线,OK;如果出现红线,表示未通讯上5、安川变频器设置如下:b1-01=3 b1-02=3 6、默认设置情况下Profibus输入、输出控制字:控制变频器的字地址 Outputs=IR050~099变频器输出的字地址 Inputs=IR350~3997、 Profibus通讯使能设置n.00=1,n=100+10×PRM21模块站号例如:PRM21模块站号设为0,需要将100.0置1如果变频器不运行,将变频器按二线式出厂初始化后,重新设置上述参数,根据需要,设置加减速时间、电压、最高运行频率、基本频率等,尽可能做自学习。
有关控制字的位地址功能,请查询相关资料频率控制时,控制字与对应的频率的量值如下:IR51=500 (十进值)时频率为 5HzIR51=1000(十进值)时频率为 10Hz…………IR51=5000(十进值)时频率为 50Hz推荐精选8、 更改输入、输出地址的方法:设置数据(DM区)起始地址m=1000+100×PRM模块站号例如,模块站号=0,设置(十六进制):DM1000=1(一个自定义输出地址)DM1002=A400(输出起始地址)DM1003=16(输出字长)DM1007=1(一个输入自定义地址)DM1009=A416(输入起始地址)DM1010=16(输入字长)上面的设置,可以使PLC连接一台变频器,PLC对变频器的输出地址段为IR400~IR415,输入地址段为IR416~IR431当PLC与多台变频器组成Profibus通讯网时,可以更改起始地址和字长起始地址可以设为#0000,对应地址为DM0;设为#B0000,对应地址为HR0(HR区数据有断电保持的功能)附:输出地址定义DM wordValueMeaningmNumber of output data areas 0Default mappingC200HS:PLC addresses IR050 ~ IR081 are mapped to Unit output buffer bytes 000 ~ 063C200HE,C200HG,C200HX: PLC addresses IR050 ~ IR099 are mapped to Unit output buffer bytes 000 ~ 099 1One user-defined data output area 2Two user-defined data output areas otherDefault mapping (see value 0000)m+1Output area 1 : start address in the output buffer 0000 ~ 0510Byte 000 ~ 510 (even) in output buffer of the Unit otherSetting error *1, output area is ignored推荐精选m+2Output area 1 : start address in the CPU 0000 ~ 4095DM0000 ~ DM4095 (C200HE-CPU11) 0000 ~ 5999DM0000 ~ DM5999 (all other CPUs) A000 ~ A235IR000 ~ IR235 A300 ~ A511IR300 ~ IR511 B000 ~ B099HR00 ~ HR99 C000 ~ C063LR00 ~ LR63 otherSetting error *1, output area is ignoredm+3Output area 1 : size 0000 ~ 01000000 ~ 0100 words to be transferred from PLC to Unit output buffer *2 otherSetting error *1, output area is ignoredm+4see m+1Output area 2 : start address in the output bufferm+5see m+2Output area 2 : start address in the CPUm+6see m+3Output area 2 : size 输入地址定义DM wordValueMeaningm+7Number of input data areas 0Default mappingC200HS:Unit input buffer bytes 000 ~ 063 are mapped to PLC addresses IR350 ~ IR381C200HE,C200HG,C200HX: Unit input buffer bytes 000 ~ 099 are mapped to PLC addresses IR350 ~ IR399 1One user-defined data input area 2Two user-defined data input areas otherDefault mapping (see value 0000)m+8Input area 1 : start address in the input buffer 0000 ~ 0510Byte 000 ~ 510 (even) in input buffer of the Unit otherSetting error *1, input area is ignoredm+9Input area 1 : start address in the CPU 0000 ~ 4095DM0000 ~ DM4095 (C200HE-CPU11) 0000 ~ 5999DM0000 ~ DM5999 (all other CPUs) A000 ~ A235IR000 ~ IR235 A300 ~ A511IR300 ~ IR511 B000 ~ B099HR00 ~ HR99 C000 ~ C063LR00 ~ LR63 otherSetting error *1, input area is ignoredm+10Input area 1 : size推荐精选 0000 ~ 0100000 ~ 100 words to be transferred from Unit input buffer to PLC *2 otherSetting error *1, input area is ignoredm+11see m+8Input area 2 : start address in the input bufferm+12see m+9Input area 2 : start address in the CPUm+13see m+10Input area 2 : size (注:可编辑下载,若有不当之处,请指正,谢谢!) 推荐精选。





![河南新冠肺炎文件-豫建科[2020]63号+豫建科〔2019〕282号](http://img.jinchutou.com/static_www/Images/s.gif)






