S7-200SMART CPU都有以太网接口,如何与PLC-ANALYZER相连,实现变量监视呢?步骤如下:
- 必须安装有STEP7接口组件,将 “Set PG/PC interface”中的S7ONLINE(STEP7)指定为与PLC相连的网卡:
- 在PLC-ANALYZER中选择S7 Industrial Ethernet TCP/IP driver;
- 在驱动中输入CPU的以太网地址,设置 “Slotnumber of CPU”为1;
-
如果选择V区,则需要映射到DB1,例如,记录VB3,则需要输入DB1.DBB3。也可以记录M区、I、Q区域。
以上是在WIN7 64位中的实现,其他系统应该类似。
注意:S7-200和SMART系列CPU只有一个编程器连接的资源(S7协议),因此,不能和编程软件同时在线。
还好:国内的专业录波软件PLC-Recorder已经上线了(hiddenmap.cn下载),可以对多种PLC进行数据连续采集(小、集成驱动、同时对多种PLC采集,可以部分替代PLC-ANALYZER,IBA等软件,免费功能很强大),适应XP到WIN10,不需要依赖西门子的任何软件和设置,只需要输入IP地址,即可直接访问V区变量,大家可以尝试一下。可以用于PLC协助调试、高级故障诊断、重要数据长期存档等。