WOLFRAM SYSTEM MODELER

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

Extended by (6)

TriggeredWrite

OPCClassic.Blocks.SamplerReal

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

TriggeredRead

OPCClassic.Blocks.SamplerReal

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

TriggeredWrite

OPCClassic.Blocks.SamplerInteger

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

TriggeredRead

OPCClassic.Blocks.SamplerInteger

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

TriggeredWrite

OPCClassic.Blocks.SamplerBoolean

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

TriggeredRead

OPCClassic.Blocks.SamplerBoolean

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