WOLFRAM SYSTEM MODELER

writeExternalReal

A function for writing OPC data of type Real

Wolfram Language

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

Information

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

Syntax

readExternalReal(serverID, index, value)

 

Syntax

writeExternalReal(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: Real

Description: The sampled value