WOLFRAM SYSTEM MODELER

writeExternalInteger

A function for writing OPC data of type Integer

Wolfram Language

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

Information

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

Syntax

readExternalInteger(serverID, index, value)

 

Syntax

writeExternalInteger(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: Integer

Description: The sampled value