Deprecated: Function eregi() is deprecated in /home/h101150-2/siemens71.ru/docs/new/cat.php on line 184
The data to be acquired from the SIMATIC S7-300/400 is selected by configuring the ION SIMATIC S7 PN function block in the SIMATIC S7.
The function block is initialized in the startup OB of the PLC (OB100, OB101, OB102). For this purpose, the COM_RST parameter is set to TRUE. During initialization, the number of active channels is determined, the cycle time imported, and further calculations made for operation. The channels are filled with data in the program of the S7.
The FB is then executed passively in the program. Data exchange with the analysis software on the industrial PC only starts after being called in a time interrupt OB (e.g. OB35) by SIPLUS CMS4000 X-Tools. The data is visualized, analyzed and archived there.
The signals are collected in two buffers for the transmission and then sent to X-Tools with relative time tags. Each buffer can accommodate 712 bytes. With 178 active channels, one buffer serves as a send buffer, and the current values are written in the other. The buffers are read and sent alternately. If not all of the channels are activated, several cycles can be buffered:
With 89 channels, one buffer can save two cycles, and a send job is therefore only initiated after two cycles. The communication load is thus reduced.
From the point of view of X-Tools, the ION SIMATIC S7-400 T001 appears as an Ethernet device which communicates by means of UDP/IP.