资源描述:
《台达plc通讯格式示例》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、台达DVP系列PLC通讯设定示例(ES/EX/SS_V6.0SA/SX_V1.2SC_V1.0SV_V1.0EH2_V1.0EH3/SV2_V1.0)SA/SX/SC(COM1RS-232COM2RS-485)EH2/EH3/SV2M1120M1136(COM1RS-232COM2RS-232/RS-485/RS-422)MODBUSASCII/RTUM1138M1139115200bpsCOM1COM2EH2M1143D1036(COM3RS-232/RS-485)MODBUSASCII38400bpsD1109D1120EH3/S
2、V2(COM3F232RS-232/RS-422)MODBUSASCII/RTU115200bpsCOM1(Slave)ASCII/RTU115200bps(Databits,Paritybits,Stopbits)EH3/SV2ASCII/RTU115200bps(Databits,Paritybits,Stopbits)COM2ASCII/RTU115200bps(Databits,Paritybits,Stopbits)COM3EH2(DVP-F232S/DVP-F485S)(Slave)ASCII(Databits,Parit
3、ybits,Stopbits)7,E,138400bpsCOM2COM3(Slave)EH3/SV2(DVP-F232/DVP-F422)ASCII/RTU115200bps(Databits,Paritybits,Stopbits)COM11.D1036COM1(RS-232)(Slave)(b8~b15)2.EH3/SV2D1036COM1(RS-232)(Master)(Slave)(b8~b15)3.M11384.ASCII/RTUM1139COM21.D1120COM2(RS-485)(Master)(Slave)2.EH2
4、D1120COM2(RS-485),(DVP-F232/DVP-F422:COM2(RS-485))(Master)(Slave)3.M11204.ASCII/RTUM1143COM31.D1109COM3(DVP-F232S/DVP-F485S)(Slave)(b0~b3b8~b15)2.EH3/SV2D1109COM3()(Master)(Slave)(b8~b15)3.M113601b0b0=07b0=18b2,b1=00Noneb2,b1b2,b1=01Oddb2,b1=11Evenb3stopbitsb3=01bitb3=1
5、2bitb7~b4=0001(H1)110bpsb7~b4=0010(H2)150bpsb7~b4=0011(H3)300bpsb7~b4=0100(H4)600bpsb7~b4=0101(H5)1,200bpsb7~b4=0110(H6)2,400bpsb7~b4b7~b4=0111(H7)4,800bpsb7~b4=1000(H8)9,600bpsb7~b4=1001(H9)19,200bpsb7~b4=1010(HA)38,400bpsb7~b4=1011(HB)57,600bpsb7~b4=1100(HC)115,200bps
6、b8b8=0b8=1D1124b9b9=0b9=1D1125b10b10=0b10=1D1126b15~b11䙊䇟⌒⢩⦷ԓ䙊䇟Ṭᔿԓ⸱⸱例:通讯格式为9600bps,110bpsH17,E,16数据位7,偶校验,停止位1,150bpsH27,N,10则数据格式为H8+6=H86。300bpsH37,O,12600bpsH48,E,171200bpsH58,N,112400bpsH68,O,134800bpsH78,E,2E9600bpsH88,N,2919200bpsH98,O,2B38400bpsHA57600bpsHB115200
7、bpsHC三站示例,如需更多站,请依据前三站格式继续添加。站号1读取五笔数据,转存到D0--D5站号2、3写入一笔数据,从寄存器D501--D502写入。0M1000MOVH86D1120䘀䖜ⴁ㿶ᑨRS-485䙊䇟ᔰ᧕⛩˄aॿ䇞᧕⛩˅RSTM1143ASCII/RTU⁑ᔿ䘹ᤙ(䝽ਸMODRD/MODWR/SETM11618ս༴⨶⁑ᔿ˄Onᰦ8ս⁑ᔿ˅MOVK100D1129䙊䇟䙮ᰦᔲᑨˈᰦ䰤ᇊѹ(ms)15M1127CNTC0K3䙊䇟ᤷԔᮠᦞՐ䘱᧕᭦ᆼ∅ˈнवਜ਼RSᤷԔRSTM1127䙊䇟ᤷԔᮠᦞՐ䘱᧕᭦ᆼ∅ˈнवਜ਼RSᤷԔ25M11
8、29CNTC0K3᧕᭦䙮ᰦRSTM1129᧕᭦䙮ᰦ35M1140CNTC0K3MODRD/MODWR/MODRWᮠᦞ᧕᭦䭉䈟RSTM1140MODRD/MODWR/MODRWᮠᦞ᧕᭦䭉䈟45M1141CNTC0K3MOD