DirectWriteByte Command

Introduction

The DirectWriteByte command directly writes an array of bytes to a data source. A data source can be:

Parameters

DataAddress : ANY_STRING

The address of the data within the data source. The format of this parameter depends on the type of data source. See the remarks section to determine which format to use.

Data : ARRAY OF BYTE

One or more words to write to the PLC or Device.

Remarks

The DirectWriteByte command writes an array of bytes directly to a data source.

To use the DirectWriteByte command both of these conditions must be met:

The format of the DataAddress parameter depends on the type of data source. Use this table to choose the appropriate format for each data source:

PLC TypeDataAddress Format
Idec Micro PLC Idec Micro PLC Data Address Format
Siemens S7 PLC Siemens S7 PLC Address Format

You can execute DirectWriteByte tag command from:

Requirements

Fernhill SCADA VersionVersion 2.3
Required User RightDirectWrite

Applies To

The DirectWriteByte can be used with these tag types:

Further Information

DirectWriteBit

For information about writing a boolean value to a data source.

DirectWriteString

For information about writing a text string to a data source.

DirectWriteWord

For information about writing an array of words to a data source.