- 博客(3)
- 资源 (7)
- 收藏
- 关注
自由口模式下PLC与计算机的通信实例.doc
本例说明如何以自由协议实现计算机与S7-200的通信,计算机作为主站,可以实现对PLC从站各寄存器的读/写操作。
----计算机通过COM口发送指令到PLC的PORT0(或PORT1)口,PLC通过RCV接收指令,然后对指令进行译码,译码后调用相应的读/写子程序实现指令要求的操作,并返回指令执行的状态信息。
2008-11-12
分割CString字符串
用特定字符串分割目标字符串并存入字符串队列中。
如将“123,345,456,32,21,afdafd,dfe”用“,”进行分割,得到:
123
345
456
32
21
afdafd
dfe
2008-11-12
zebra 语言ZPL II (英文版)
This guide is the unabridged, alphabetical reference of programming commands supported in
the firmware.
Firmware You can get the printer’s firmware version by printing out a configuration label.
For instructions to do so, see your printer’s user guide.
2008-11-03
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人