WOLFRAM SYSTEM MODELER
WriteA block for writing data to items on an OPC server at intervals determined by parameter samplePeriod |
SystemModel["OPCClassic.Blocks.SamplerInteger.Write"]
This block writes data of type Integer from the OPC server it is connected to. It inherits the properties of the partial model Sampler, which contains parameters such as samplePeriod and itemName that determine how often and to which OPC item the data should be written.
At every sampling instant, external function writeExternalInteger is called from within the block.
samplePeriod |
Value: Type: Time (s) Description: Sample period of component |
---|---|
startTime |
Value: 0 Type: Time (s) Description: First sample time instant |
itemName |
Value: Type: String Description: The OPC item that data should be written to or read from |
useUMax |
Value: false Type: Boolean Description: If true, use upper limit for written signal |
uMax |
Value: 1 Type: Integer Description: Upper limit of written signal |
useUMin |
Value: false Type: Boolean Description: If true, use lower limit for written signal |
uMin |
Value: 0 Type: Integer Description: Lower limit of written signal |
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 |
|
---|---|---|
u |
Type: IntegerInput Description: Input signal to be sampled |
OPCClassic.Examples Basic example that demonstrates how to write to and read from items on an OPC server |
OPCClassic.Blocks.SamplerInteger A block for writing data to multiple items on an OPC server at intervals determined by parameter samplePeriod |