DirectWriteString Tag Command

Help Contents

Introduction

The DirectWriteString tag command directly writes a string 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.

Value : ANY_STRING

The value to write.

Remarks

The DirectWriteString tag command writes a text string directly to a data source.

To use the DirectWriteString tag 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:

Data SourceDataAddress Format
MQTT Connection An MQTT topic name.

You can execute DirectWriteString tag command from:

Requirements

Fernhill SCADA VersionVersion 3.25
Required User RightDirectWrite

Applies To

The DirectWriteString tag command 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.

DirectWriteWord

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