Byte Register Block Tag

Introduction

The Byte Register Block Tag represents a contiguous array of bytes read from a PLC or other data source.

Configuration Properties

The Byte Register Block Tag supports the configuration properties of the Core Tag. No additional configuration properties are defined by the Byte Register Block Tag.

Dynamic Properties

The Byte Register Block Tag supports the dynamic properties of the Core Tag plus these properties:

Property Type Description
State USINT The state of the Byte 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:

StateDescription
0Initial state before the driver starts
1The read or write command on the target device reported an error. The DeviceErrorCode property stores the error code reported from the device
2Unexpected data length in the reply to the read operation
3A configuration error prevents normal operation
4The read or write command on the target device timed out
5The device hosting this register block is offline
15The register block is online

Relationships to Other Tag Types

The Byte Register Block Tag builds on the features of these tag types:

The Byte Register Block Tag is used as a building block for these tag types:

Further Information

Core Tag

To learn about properties common to all tags.

Glossary

For the meaning of terms used in Fernhill SCADA.