松下电工 FP 系列可编程控制器松下电工(中国)有限公司制御 ECComputer Link计算机链接MEWTOCOL—COM特点1. 用于程序处理和交互式操作。2. 数据传输采纳 ASCII 码的形式.3. 首先由计算机发送指令.4. 由 PLC 对指令自动进行相应响应。基本描述指令格式指令信息:%AD(H)AD(L)# 指令代码文本代码1BCC(H)BCC(L)CR应答信息 (正常时):%AD(H)AD(L)$ 响应代码文本代码1BCC(H)BCC(L)CR应答信息 (发生错误时):%AD(H)AD(L)! 错误代码(H)错误代码(L)BCC(H)BCC(L)CR指令一览表指令功能描述RCSRead single point of contact information读取单个触点的状态信息WCSWrite single point of contact information写入单个触点的状态信息RCPRead plural point of contact information读取多个触点的状态信息WCPWrite plural point of contact information写入多个触点的状态信息RCCRead word unit of contact information读取字单位的触点的状态信息WCCWrite word unit of contact information写入字单位的触点的状态信息SCPreset word unit in contact area预置字单位的触点校验数据范围http://www.naisplc.com plc@int.mew.co.jpRDRead data area读取数据寄存器值WDWrite data area写入数据寄存器值SDPreset of data area预置数据寄存器值RSRead timer and counter set value area读取定时器/计数器目标值WSWrite timer and counter set value area写入定时器/计数器目标值RKRead timer and counter elapsed value area读取定时器/计数器经过值WKWrite timer and counter elapsed value area写入定时器/计数器经过值MCRegistration and reset of monitor contact登录及复位监控触点MDRegistration and reset of monitor data登录及复位监控数据MGMonitor execution执行监控RRRead system register读取系统寄存器WRWrite system register写入系统寄存器RTRead Programmable Controller (PC) status读取 PLC 当前状态RPRead program读取程序WPWrite program写入程序RMRemote control (RUN/PROGRAM mode switching)遥控(运行/编程模式切换)ABTransmission abort command传输终止指令触点和数据代码1. 触点代码触点代码说明X外部输入Y外部输出R内部继电器T定时器C计数器L链接继电器2.数据代码数据代码说明D数据寄存...