¥ 888.00
¥ 888.00
¥ 888.00
¥ 888.00
¥ 888.00
易卖工控网(www.ymgk.com)提供”AO845 3BSE023676R1多工能控制器”,产品详情:品牌/厂家:、型号:AO845 3BSE023676R1、成色:全新、货期:现货 1天内发货、保修:180天,更多产品详情就上易卖工控网。
S7-200系列PLC的编程通讯接口内部固化了PPI通讯协议,如果上位机软件能利用PPI协议读写PLC,就可以省去PLC的通讯程序编写。为了方便嵌入式工控主板与PLC连接,我们分析了PPI通讯协议格式,把操作PLC的常用指令封装成了简单的API接口函数,利用这些函数可以实现设置PLC工作模式、读取PLC型号信息、读写PLC存储器等功能。
The PPI communication protocol is solidified in the programming communication interface of S7-200 series PLC. If the upper computer software can read and write PLC using PPI Protocol, the communication program of PLC can be omitted. In order to facilitate the connection between embedded industrial control motherboard and PLC, we analyze the format of PPI communication protocol, and encapsulate the common instructions for operating PLC into simple API interface functions. These functions can be used to set PLC working mode, read PLC model information, read and write PLC memory and other functions.