WOLFRAM SYSTEM MODELER
SamplerA partial model for sampler blocks, where the sampling period is determined by a model parameter |
SystemModel["OPCClassic.Interfaces.Sampler"]
A partial model that is used in the sampler blocks for reading and writing data to an OPC server.
Sampler 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.
Sampler also calls external function validateRevisedRefreshRate in order to validate that data is not read or written faster than the server is updated.
How often to sample data and at what time sampling should start are determined by parameters samplePeriod and startTime.
sampleTrigger |
Type: Boolean Description: True, if sample time instant |
---|---|
firstTrigger |
Type: Boolean Description: Rising edge signals first sample instant |
serverID |
Type: BlockConnector Description: The unique ID of the server the block is connected to |
---|
OPCClassic.Blocks.SamplerReal A block for writing data to an item on an OPC server at intervals determined by parameter samplePeriod |
|
OPCClassic.Blocks.SamplerReal A block for reading data from items on an OPC server at intervals determined by parameter samplePeriod |
|
OPCClassic.Blocks.SamplerInteger A block for writing data to items on an OPC server at intervals determined by parameter samplePeriod |
|
OPCClassic.Blocks.SamplerInteger A block for reading data from an OPC server at intervals determined by parameter samplePeriod |
|
OPCClassic.Blocks.SamplerBoolean A block for writing data to items on an OPC server at intervals determined by parameter samplePeriod |
|
OPCClassic.Blocks.SamplerBoolean A block for reading data from an item on an OPC server at intervals determined by parameter samplePeriod |