I/O Tag

<< Click to Display Table of Contents >>

 

I/O Tag

Reading and Writing

 

N1

Identifier of a command

N2

0 (zero)

N3

0 (zero)

N4

0 (zero)

 

 

Value property

Parameters of a command. NOTE: Only for writing commands

 

Writing Commands

The value passed to a Tag must have a String data type. It is recommended to use the CStr method in Links and scripts.

When writing a value to a Tag from a writing command, this Driver sends that command to a remote device. In case a command's Append Value option is selected, this Driver concatenates the value written to a Tag at the end of a command. Usage examples:

Application.GetObject("Driver2.Tag3").WriteEx "ON", Now, 192
Application.GetObject("Driver2.Tag3").WriteEx "OFF", Now, 192
Application.GetObject("Driver2.Tag4").WriteEx CStr(Screen1.Item("Setpoint1").Value), Now, 192

Was this page useful?