松下mewtocol通讯协议.pdf
19页Aromat Corporation 629 Central Avenue New Providence, NJ 07974 Tel : (908) 464-3550 Fax : (908) 464-5719 Member of Matsushita Group May 31, 2003 page 1 NAiSNAiS FP PLC OPEN PROTOCOL MEWTOCOL The programming port of all the FP PLC’s support OPEN MEWTOCOL-COM. This is very useful when you want to monitor PLC values/bits or to set PLC values or bits via your COMPUTER. You can use any language such as Basic, C, Pascal, Assembler or even if other suppliers of PLCs can send ASCII strings, they can talk to our PLCs to exchange data. * DDE is also available to monitor or set data on MS Excel, Intouch, Intellution or any software applicable to DDE. MEWTOCOL format Master/Slave communication(Half duplex communication)*4 ASCII strings (One frame is up to 118 characters.)*5 19200 bps (or 9600 bps *1 *3 ) 8 bit data length (or 7 bit *2 *3 ) 1 stop bit fixed *3 Odd parity fixed *3 Cr (Carriage Return) fixed *3 *1 Dip switch configurable, located next to programming port for FP1, FPM, FP3, FP10SH. For FP0 it is software configurable. The default for FP0 is 9600bps. *2 Configurable in PLC system register through the programming software (NPST-GR/FPsoft) using the programming port *3 Configurable in PLC system register through the programming software (NPST-GR/FPsoft) using the secondary port. *4 If you want the PLC to send some alarm signals or any other signals while the PLC is a slave use the FP3 CCU module when it’s one to one communications or FP3 MEWNET-W. When it’s one to N communication, it is duplex communications and has MEWTOCOL-DAT which will allow the PLC to send some command to a master station (computer typically). *5 If you need to send or receive more than 118 characters in one frame, use the delimiter so that you can ask the PLC to keep sending the continuous data. The other way is that you can keep sending 118 character frame repeatedly as one frame. MEWTOCOL Capabilities Here is a list of what this protocol can do. Read one bit ON/OFF info. (Input, Output, Timer, Counter, Internal relay) Read 8 mixed bits ON/OFF info. (Input, Output, Timer, Counter, Internal relay) Read 16 block bits ON/OFF info. (Input, Output, Internal relay) Read multiple word unit data value (Data, Timer/Counter preset/elapsed value) Read PLC status (mode, error, version number etc.) Set one bit ON/OFF (Output, Internal relay) Set 8 mixed bits ON/OFF (Output, Internal relay) Set multiple word unit data value (Data, Timer/Counter preset/elapsed value) Aromat Corporation 629 Central Avenue New Providence, NJ 07974 Tel : (908) 464-3550 Fax : (908) 464-5719 Member of Matsushita Group May 31, 2003 page 2 NAiSNAiS Applicable ports and Modules FP1 -------- Programming port (RS422) Secondary port (RS232C), configurable by PLC through software FPM ------- Programming port (RS232C) Secondary port (RS232C), configurable by PLC through software FP3 -------- Programming port (RS422) FP10SH -- Programming port (RS232C) Secondary port (RS232C), configurable by PLC through software FP3/FP10SH modules --Computer Communication Unit(AFP3462) (RS232C) Computer Communication Net Unit ( AFP3463) (RS485) Remote Slave Unit (AFP3741, AFP3743) (RS422 port) MEWNET-H (AFP3700) (RS232C, and through the network) MEWNET-W (AFP3720) (Through the network) MEWNET-P (AFP3710) (Through the network) Modbus Unit (AFP3492, AFP3413) (RS232C, RS485) Recommended format RS232C 19200 bps (or 9600 bps *1*3 ) 8 bit data length (or 7 bit *2*3 ) 1 stop bit fixed *3 Odd parity fixed *3 Cr (Carriage Return) fixed *3 *1 Dip switch selectable, located next to programming port. *2 Configurable in PLC system register through the programming software(NPST-GR) using the programming port. *3 Configurable in PLC system register through the programming software(NPST-GR) using the secondary port. Aromat Corporation 629 Central Avenue New Providence, NJ 07974 Tel : (908) 464-3550 Fax : (908) 464-5719 Member of Matsushita Group May 31, 2003 page 3 NAiSNAiS MEWTOCOL Procedure Computer sends a COMMAND to PLC as an ASCII string. Then the PLC automatically returns the RESPONSE based on the COMMAND. PLC mode (RUN/PROG )does not effect the response. Input information shall be returned as all “0” in PROG mode. Computer(PC) COMMAND1 COMMAND2 . PLC REPSONSE1 RESPONSE2 Maximum length of strings Maximum length of strings is 118 characters excluding “check code”+“terminater”. COMMAND format RESPONSE format RESPONSE format on Error % This is a fixed character. All the previous uncompleted text strings are ignored when PLC receives “%” which means the beginning of the next command. The completion is recognized by PLC when PLC receives the terminator. Station Number Two digit decimal number. Default is “01”. Configurable from 01 to 32 in PLC system register by NPST-GR software. On the network a unique station number must be set on each station. #, $, ! Indicates what the string is: COMMAND(#), RESPONSE($) or ERROR RESPONSE(!。

卡西欧5800p使用说明书资料.ppt
锂金属电池界面稳定化-全面剖析.docx
SG3525斩控式单相交流调压电路设计要点.doc
话剧《枕头人》剧本.docx
重视家风建设全面从严治党治家应成为领导干部必修课PPT模板.pptx
黄渤海区拖网渔具综合调查分析.docx
2024年一级造价工程师考试《建设工程技术与计量(交通运输工程)-公路篇》真题及答案.docx
【课件】Unit+3+Reading+and+Thinking公开课课件人教版(2019)必修第一册.pptx
嵌入式软件开发流程566841551.doc
生命密码PPT课件.ppt
爱与责任-师德之魂.ppt
制冷空调装置自动控制技术讲义.ppt


