WOLFRAM SYSTEM MODELER

TriggeredSampler

A partial model for sampler blocks, where an external Boolean signal determines when to sample

Wolfram Language

In[1]:=
SystemModel["OPCUA.Interfaces.TriggeredSampler"]
Out[1]:=

Information

A partial model that is used in the sampler blocks for reading and writing data to an OPC UA server.

TriggeredSampler provides the basis for establishing a link to the OPC node by determining parameters  nodeID, nodeNamespace, and nodeIDType. These are used later as input arguments for the different blocks.

TriggeredSampler, unlike Sampler, has a Boolean input signal (trigger) that determines when sampling should occur. This is useful for irregular sampling of data, for example.

Parameters (3)

nodeIDType

Value:

Type: UANodeIdType

Description: The node identifier type

nodeID

Value:

Type: String

Description: The node identifier

nodeNamespace

Value:

Type: Integer

Description: The node namespace

Connectors (2)

trigger

Type: BooleanInput

Description: Boolean input that determines when sampling should occur

serverID

Type: BlockConnector

Description: The unique ID of the server the block is connected to

Extended by (6)

TriggeredWrite

OPCUA.Blocks.SamplerReal

A block for writing data to an item on an OPC server at intervals determined by an external Boolean signal (trigger)

TriggeredRead

OPCUA.Blocks.SamplerReal

A block for reading data from items on an OPC server at intervals determined by an external Boolean signal (trigger)

TriggeredWrite

OPCUA.Blocks.SamplerInteger

A block for writing data to items on an OPC server at intervals determined by an external Boolean signal (trigger)

TriggeredRead

OPCUA.Blocks.SamplerInteger

A block for reading data from an OPC server at intervals determined by an external Boolean signal (trigger)

TriggeredWrite

OPCUA.Blocks.SamplerBoolean

A block for writing data to items on an OPC server at intervals determined by an external Boolean signal (trigger)

TriggeredRead

OPCUA.Blocks.SamplerBoolean

A block for reading data from an OPC server at intervals determined by an external Boolean signal (trigger)