Byte Register Block Tag

Help Contents

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.

Data Properties

The Byte Register Block Tag supports the data 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
0The initial state before the driver starts.
1The read command on the target device reported an error. The DeviceErrorCode property stores the error code reported from the device.
2There was an unexpected data length in the reply to a read operation.
3A configuration error prevents normal operation.
4A read command on the target device timed out.
5The PLC device hosting this register block is offline.
6The PLC device hosting this register block is out of service.
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.