WOLFRAM SYSTEM MODELER

readExternalBoolean

A function for reading OPC data of type Boolean

Wolfram Language

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

Information

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

Syntax

readExternalBoolean(serverID, index)

 

Syntax

value = readExternalBoolean(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: Boolean

Description: The sampled value