台达PLC通讯协议.docx

上传人:夺命阿水 文档编号:393956 上传时间:2023-05-18 格式:DOCX 页数:17 大小:12.65KB
返回 下载 相关 举报
台达PLC通讯协议.docx_第1页
第1页 / 共17页
台达PLC通讯协议.docx_第2页
第2页 / 共17页
台达PLC通讯协议.docx_第3页
第3页 / 共17页
台达PLC通讯协议.docx_第4页
第4页 / 共17页
台达PLC通讯协议.docx_第5页
第5页 / 共17页
点击查看更多>>
资源描述

《台达PLC通讯协议.docx》由会员分享,可在线阅读,更多相关《台达PLC通讯协议.docx(17页珍藏版)》请在课桌文档上搜索。

1、台达PLC通讯协议VI。12通讯接口 RS-232C RS-4852 .通讯协议ASGl模式,9600(传输速率),偶同位,1个起始位,1个停止位9600, 7,e, 13 .通讯资料格式STX起始字符S ,(3AH)ADRl通讯地址:ADR 0 8-bit地址包含了 2个ASCll码CMDl命令码:CMDO 8-bit命令包含了 2个ASQl码DATA(O)资料内容:DATA (1) n个8-bit资料包含了 2n个ASCll码n PLC ”:01 05 05 00 FF 00 F6 CR LF”PLCfPC”: Ol 05 05 00 FF 00 F6 CR LFz,附录一 10Field

2、 Name Example (Hex)Heading 3ASlave Address 01Function 05Coil Address Hi 05Coil Address Lo 00Force Data Hi FFForce Data Lo 00Error Check ( LRC ) F6Field Name Example (Hex)Heading 3ASlave Address 01Function 06Register Address Hi 06Register Address Lo 00Preset Data Hi 12Preset Data Lo 34Error Check ( L

3、RC) AD例:设定缓存器TO to 00 03PClPLC : 01 06 06 00 12 34 AD CR LFPLC-PC ”:01 06 06 00 12 34 AD CR LFField Name Example (Hex)Heading 3ASlave Address OlFunction 06附录-11Register TO Address Hi 06Register TO Address Lo OOPreset Data Hi 12Preset Data Lo 34Error Check ( LRC ) ADSwitch ( c)Case 0:T0Q -l 06 06 OO

4、12 34 AD CR LFCase 1:COQ-: Ol 06 OE 00 12 34 AF CR LFCase 2: C232Q-: Ol 06 OE E8 12 34 56 78 EF CR LFCase 3: DlOQ -l 06 10 OA 12 34 99 CR LFCase 4:DlOOOQ: Ol 06 13 E8 12 34 BA CR LF附录一 12Field Name Example (Hex)Function OFCoil Address Hi 05Coil Address Lo OOQuantity of Coils Hi 00Quantity of Coils L

5、o OAByte Count 02Force Data Hi CDForce Data Lo OlError Check(LRC) 11Quantity of Coils (max) = 255例:设定线圈 Y007YooO = IloolI01, Y011.Y010 = 01oPCPLCw: Ol OF 05 00 00 OA 02 CD Ol 11 CR LF”PLCfPC”: Ol OF 05 00 00 OA El CR LFw附录一 13Field Name Example (Hex)Heading 3ASlave Address 01Function OFRegister TO A

6、ddress Hi 05Register TO Address Lo 00Preset Data Hi 00Preset Data Lo OAError Check ( LRC ) ElField Name Example (Hex)Heading 3ASlave Address OlFunction 10Starting Address Hi 06Starting Address Lo 00Number of Register Hi 00Number of Register Lo 02Byte Count 04Data Hi 00Data Lo OAData Hi 01Data Lo 02E

7、rror Check (LRC) C6附录一 14Number of Register (max)=16 (for 16 bit register)=8 (for 8 bit register)例:设定缓存器TO为00 0A, Tl为0102oPCPLCw: 0110 06 00 02 00 04 00 OA 01 02 D6 CR LFPaPC :oi io 06 oo oo 02 E7 cr lf”Field Name Example (Hex)Heading 3ASlave Address 01Starting Address Hi 06Starting Address Lo 00Num

8、ber of Registers Hi 00Number of Registers Lo 02Error Check ( LRC ) E7Returns a description of controller present at the slave address, the current status of the slave Runindicator, and other information specific to the slave device(Field Name Example (Hex)Heading 3ASlave Address 01Function 11Error C

9、heck (LRC) EE附录一 15Field Name Example (Hex)Heading 3ASlave Address 01Function 11Byte Count 04SIaveIDOlRun Indicator Status00 = OFFFF = ONFFDataO (D1001 HI) 40Data 1 (D1001 LOW) 10Error Check (LRC) 9A附录一 16台达DVP系列PLC装置地址(DEVICE ADDRESS)Device Range Effective Range AddressS 000255 000127 OoOOOOFFS 246

10、511 0100-01FFS512767 020002FFS 7681023 030003FFX 000-377(8 进制)OOO177 (8 进制)040004FFY000377(8 进制)000177 (8 进制)050005FFT OoO255 OOo127 0600-06FFM OOO255 0000-1279 0800-08FFM 256511 0900-09FFM 512767 OAOO-OAFFM 7681023 OBOo OBFFM 10241279 OCoOOCFFC 000255 000127232255OEooOEFFD OOO255 Ooo599 IOOOIOFFD 256511 IOOo1143 11OO-11FFD 512767 120012FFD 10241279 140014FF

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 在线阅读 > 生活休闲


备案号:宁ICP备20000045号-1

经营许可证:宁B2-20210002

宁公网安备 64010402000986号