Hi everyone,

In the case of the S7 driver, I will indicate the updates that I am about
to finish, awaiting your kind comments.

1. Reading the partial diagnostic list (SZL).
 With this function it is possible to read the diagnostic files of the PLC.
It gives us the ability to determine the quality of the acquired values
based on the diagnostics of the CPU or the associated periphery.

builder.addItem ("MySZL", "SZL_ID = 16 # 0011; INDEX = 16 # 0000");

As shown in the construction of the previous item, the diagnosis ID and an
index associated with the partial list can be indicated.

2. Cyclical data reading (CYC).

It will allow two types of data reads from the PLC in subscription mode.
The S7ANY type, which corresponds to any addressable address with an ANY
pointer inside the PLC, and the DBREAD reading for very efficient reading
of data from DB in S7-400 PLC.

The reading process is synchronous from the PLC, this means that the values
are sent by a PUSH process from the PLC.

For this purpose, there are three time bases with a multiplier to adjust
the sampling times, such as:

B01SEC: 0.1 Second (100 mseconds).
B1SEC: 1 Second.
B10SEC: 10 Seconds.

To this field you must add a multiplication factor that will allow you to
adjust the scan times.

            subscription.addEventField ("myCYC1", "CYC (B01SEC: 1):% MB2.0:
BYTE [10],% MB200.0: BYTE [10]");
            subscription.addEventField ("myCYC2", "CYC (B1SEC: 2):% MB30.0:
BYTE [30]");

In the previous lines a plot of acquisition of two different areas is
shown. The first at 0.1 seconds and the second at 2 seconds.

In the case of DBREADs, this only applies to high-end S7-400 equipment

            subscription.addEventField ("myCYC3", "CYC (B01SEC: 1):%
DB200.DBB12 [20]");

In this case it only applies to DB as shown in the configuration line.

3. ALARM8 reception

Here a complement will be made for the reception of this type of alarms.
The S7 driver already supports ALARMS which only allows the sending of a
data field.

If available, I will try to make a GUI demo to present the characteristics
of the driver. Kind regards,

Best regards,

-- 
*CEOS Automatización, C.A.*
*GALPON SERVICIO INDUSTRIALES Y NAVALES FA, C.A.,*
*PISO 1, OFICINA 2, AV. RAUL LEONI, SECTOR GUAMACHITO,*

*FRENTE A LA ASOCIACION DE GANADEROS,BARCELONA,EDO. ANZOATEGUI*
*Ing. César García*

*Cel: +58 414-760.98.95*

*Hotline Técnica SIEMENS: 0800 1005080*

*Email: support.aan.automat...@siemens.com
<support.aan.automat...@siemens.com>*

Reply via email to