Properties

Contains the file name of a file in which states will be stored

The StateFileItem item type has the following properties:

NameDescriptionIDFlags
FileAccess

Decides whether the file specified in the item is in read, write, or read/write mode (Read=0, Write=1, Read/Write=2).

10300Persisted, Enumerated
ForceStopBeforeRead

This property will force the application to go to a "STOPPED" state before loading the state file. If this attribute is false, the application must be put in the "STOPPED" state manually.

10330Persisted
IncludeStateFileFolder

If this property is true, the state file will be put in the "StateFileFolder", otherwise it will be stored in the current directory.

10320Persisted
Quality

Item quality - this tells you whether an item currently has a good or bad quality. It might be bad, for example, because it isn't connected or is set to the wrong type.

3ReadOnly
Rights

Item access rights - this property may be "read", or "read write". This means that the property may only be read from, or also can be written to. For OPC items, this written value will be passed on to the external items this item comes from.

5ReadOnly
Time

The date and time when this item was last updated.

4ReadOnly
TriggerOnChange

If true, the state file will be read/written to when the item changes.

10310Persisted
Type

The item canonical data type - the specific type of this item. Whether it's an integer, string, date, etc.

1ReadOnly
Value

The current value of the item.

2NormalPage

See also

Basic Item Properties

Predefined Item Properties

OPC DA Properties