DirectWriteWord Command

Introduction

The DirectWriteWord command directly writes one or more WORDs to a PLC or Device.

Parameters

DataAddress : ANY_STRING

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

Data : ARRAY OF WORD

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

Remarks

The DirectWriteWord command writes one or more words directly to a PLC or Device.

To use the DirectWriteBit command:

The format of the DataAddress parameter depends on the type of PLC being written to. Use this table to lookup the appropriate format for a given PLC type:

PLC TypeDataAddress Format
Allen Bradley Allen Bradley PLC Data Address Format
Mitsubishi Mitsubishi Melsec PLC Data Address Format
Modbus Modbus PLC Data Address Format
Omron 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:

See Also

DirectWriteBit Tag Command | DirectWriteByte Tag Command