Location:
Search - vb prodave p
Search list
Description: PRODAVE 和VB/VC例子实现VB/VC与s7-200的PPI通信-PRODAVE
Platform: |
Size: 237568 |
Author: 潘业源 |
Hits:
Description: 1.Prodave 是用于pc 与s7 系列plc 之间的数据链接通信的工具箱。其实质就是用户通过调用“w95_s7.dll”等库函数来解决 PLC 与PC之间的数据交换和数据处理问题。 所需硬件为:CPU22x,PC/PPI编程电缆,带COM口的PC。这可能是最简单的配置,很容易实现试验的目的。这里不需要安装Prodave软件,只要把“w95_s7.dll”文件拷贝到您程序相应的目录中去即可。
2.通讯设置:打开“控制面板”中“设置PG/PC接口”选项,在“应用程序访问点”列表框内选择“S7ONLINE (STEP7) PC/PPI Cable”,在其属性内的“超时”可以设置大点,这里设置为100ms,“波特率”设置为9.6kbps(因为我的pc/ppi电缆为国产的,不支持多主站),“地址”为0。-1. Prodave for pc and s7 series plc data link communications between the toolbox. Its essence is a user called "w95_s7.dll" and other library functions to resolve between the PLC and the PC data exchange and data processing problems. Hardware requirements: CPU22x, PC/PPI programming cable, with a COM port of the PC. This is probably the most simple configuration, it is easy to achieve the purpose of the experiment. Here Prodave need to install the software, so long as "w95_s7.dll" copy files to your program can go to the appropriate directory.
2. Communication Settings: Open "Control Panel" in "Set PG/PC interface" option, in the "Application access point" list box select "S7ONLINE (STEP7) PC/PPI Cable", in its properties within the "timeout" You can set big point here is set to 100ms, "baud rate" is set to 9.6kbps (because of my pc/ppi cable made in China does not support multi-master station), "address" to 0.
Platform: |
Size: 83968 |
Author: 陆杰锋 |
Hits: