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.
Description: True, if sample time instant
Description: Rising edge signals first sample instant
Description: The unique ID of the server the block is connected to