WOLFRAM SYSTEMMODELER

TriggeredSampler

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

Wolfram Language

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

Information

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

TriggeredSampler provides the basis for establishing a link to the OPC item determined by parameter itemName. This is done by calling the external function addItem. Once the link is established, it becomes possible for the blocks to either read data from or write data to the item on the server they are connected to.

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 (1)

itemName

Value:

Type: String

Description: The OPC item that data should be written to or read from

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