Reading and Writing MyData

<< Click to Display Table of Contents >>

 

Reading and Writing MyData

The MyData folder contains the next Block Tags, dedicated to the Boolean outputs that this Driver must inform as a peer Station.

DataField.MyData.Read.ValueOfBooleanOutputs: for reading the values currently being sent

DataField.MyData.Write.ValueOfBooleanOutputs: for writing the values updated while sending vital or non-vital data after confirmation

 

As long as there is no writing of values by the DataField.MyData.Write.ValueOfBooleanOutputs Block Tag and after the confirmation by writing the ConfirmNewValues Tag, this Driver sends vital or non-vital data to the respective peer Station addressed with all values at 0 (zero).

Writing the DataField.MyData.Write.ValueOfBooleanOutputs Block Tag can be performed as an entire Block, by each Block Element separately, or by each Block Element bit separately, that is, with the UseBitFields property set to True.

Thus, the sequence of actions must be the following:

1.Write values to the DataField.MyData.Write.ValueOfBooleanOutputs Block Tag with one or more writing operations.

2.Confirm the values by writing to the ConfirmNewValues Tag.

3.This Driver then considers the committed values to be sent cyclically to the addressed peer Station.

4.If necessary, values can be queried via the DataField.MyData.Read.ValueOfBooleanOutputs Block Tag.

Was this page useful?