DirectWriteWord Command

Introduction

The DirectWriteWord command directly writes one or more WORDs 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 WORD

One or more words to write to the data source.

Remarks

The DirectWriteWord command writes an array of words directly to a data source.

To use the DirectWriteWord 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
Allen Bradley PLC Allen Bradley PLC Data Address Format
Mitsubishi Melsec PLC Mitsubishi Melsec PLC Data Address Format
Modbus Device Modbus PLC Data Address Format
Omron PLC Omron PLC Data Address Format

You can execute DirectWriteWord tag command from:

Requirements

Fernhill SCADA VersionVersion 2.3
Required User RightDirectWrite

Applies To

The DirectWriteWord can be used with these tag types:

Further Information

DirectWriteBit

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

DirectWriteByte

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

DirectWriteString

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