SOE Collecting Tags

<< Click to Display Table of Contents >>

 

SOE Collecting Tags

The SOE collecting of events is performed by using the Tags described next, by using an ISOTCP communication with the PLC.

 

Block Tag for Control Register (Read-Only)

B1: 0 (zero)

B2: 391 (Data type = 3 × 100 + Data area = 91)

B3: DB block number. If memory contains a single or unspecified DB block, fill it in with value 1 (one)

B4: Not used

 

The Block Tag to query Control Registers must contain four Elements to return the following values:

Element 1: Table status

Element 2: Recording pointer

Element 3: Acquisition status

Element 4: Maximum limit of items on the circular buffer

 

For a description of each one of these Control Registers, please check topic Preparing for SOE Collecting.

 

Tag Block for Data Collecting (Read-Only)

B1: 0 (zero)

B2: Data type × 100 + Data area = 90

B3: DB block number. If memory contains a single or unspecified DB block, fill it in with value 1 (one)

B4: Not used

 

The Block Tag for Data Collecting must contain a number of Elements corresponding to the number of values of n-event type that compose a single event. If this event is composed of a single value, resize the Block Tag for Data Collecting with a single Element. If this event is composed by two values, the Block Tag must be resized to two Elements, and so on. Use Block Tag's B2 parameter to indicate a data type associated to event values.

 

NOTES

All values that compose an event must have the same data type, as well as every PLC's DB table must be filled in with the same event type.

Data Areas 90 and 91 exist only for use at the logical user application level. At the protocol level, both Tags work in PLC's Data Area 9 (DA_V) automatically.

Was this page useful?