資源描述:
《臺(tái)達(dá)plc通訊格式示例》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在行業(yè)資料-天天文庫(kù)。
1、臺(tái)達(dá)DVP系列PLC通訊設(shè)定示例(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數(shù)據(jù)位7,偶校驗(yàn),停止位1,150bpsH27,N,10則數(shù)據(jù)格式為H8+6=H86。300bpsH37,O,12600bpsH48,E,171200bpsH58,N,112400bpsH68,O,134800bpsH78,E,2E9600bpsH88,N,2919200bpsH98,O,2B38400bpsHA57600bpsHB115200
7、bpsHC三站示例,如需更多站,請(qǐng)依據(jù)前三站格式繼續(xù)添加。站號(hào)1讀取五筆數(shù)據(jù),轉(zhuǎn)存到D0--D5站號(hào)2、3寫(xiě)入一筆數(shù)據(jù),從寄存器D501--D502寫(xiě)入。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