WOLFRAM SYSTEM MODELER
WriteA block for writing data to items on an OPC server at intervals determined by parameter samplePeriod |
SystemModel["OPCClassic.Blocks.SamplerBoolean.Write"]
This block writes data of type Boolean 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 writeExternalBoolean is called from within the block.
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: BooleanInput 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.SamplerBoolean A block for writing data to multiple items on an OPC server at intervals determined by parameter samplePeriod |