WOLFRAM SYSTEM MODELER

readExternalInteger

A function for reading OPC data of type Integer

Wolfram Language

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

Information

This function is used in blocks Read and TriggeredRead. It reads data of type Integer from the OPC server identified with serverID.

Syntax

readExternalInteger(serverID, index)

 

Syntax

value = readExternalInteger(serverID, index)

Inputs (2)

serverID

Type: Integer

Description: The unique ID of the server

index

Type: Integer

Description: The index of the read item

Outputs (1)

value

Type: Integer

Description: The sampled value