WOLFRAM SYSTEM MODELER

writeExternalBoolean

A function for writing OPC data of type Boolean

Wolfram Language

In[1]:=
SystemModel["OPCClassic.ExternalFunctions.writeExternalBoolean"]
Out[1]:=

Information

This function is used in blocks Write and TriggeredWrite. For each sampling point, it writes value (of type Boolean) to the OPC server and item identified with serverID and index, respectively.

Syntax

readExternalBoolean(serverID, index, value)

 

Syntax

writeExternalBoolean(serverID, index, value)

Inputs (3)

serverID

Type: Integer

Description: The unique ID of the server

index

Type: Integer

Description: The index of the written item

value

Type: Boolean

Description: The sampled value