The Word Register Block Tag represents a contiguous array of words read from a PLC or other data source.
The Word Register Block Tag supports the configuration properties of the Core Tag. No additional configuration properties are defined by the Word Register Block Tag.
The Word Register Block Tag supports the data properties of the Core Tag plus these properties:
Property | Type | Description |
---|---|---|
State | USINT | The state of the Word Register Block Tag |
StateDescription | WSTRING | The text description of the State |
DeviceErrorCode | UINT | Error code reported by the target device. Zero shows no error. |
UpdateTimer | TimerStatus | The status of the timer. |
The State property can have these values:
State | Description |
---|---|
0 | The initial state before the driver starts. |
1 | The read command on the target device reported an error. The DeviceErrorCode property stores the error code reported from the device. |
2 | There was an unexpected data length in the reply to a read operation. |
3 | A configuration error prevents normal operation. |
4 | A read command on the target device timed out. |
5 | The PLC device hosting this register block is offline. |
6 | The PLC device hosting this register block is out of service. |
15 | The register block is online |
The Byte Register Block Tag builds on the features of these tag types:
The Word Register Block Tag is used as a building block for these tag types:
To learn about properties common to all tags.
For the meaning of terms used in Fernhill SCADA.