WOLFRAM SYSTEM MODELER
MultipleWriteA block for writing data to multiple items on an OPC server at intervals determined by parameter samplePeriod |
SystemModel["OPCClassic.Blocks.SamplerBoolean.MultipleWrite"]
This block writes data from multiple items of type 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 items the data should be written.
At every sampling instant, external function writeExternalReal is called from within the block.
samplePeriod |
Value: Type: Time (s) Description: Sample period of component (readItem.samplePeriod) |
---|---|
startTime |
Value: 0 Type: Time (s) Description: First sample time instant (readItem.startTime) |
itemName |
Value: {""} Type: String[:] Description: The OPC item that data should be written to or read from (readItem.itemName) |
serverID |
Type: BlockConnector Description: The unique ID of the server the block is connected to |
|
---|---|---|
u |
Type: BooleanInput[size(itemName, 1)] Description: Input signal to be sampled |
writeItem |
Type: Write[size(itemName, 1)] Description: A block for writing data to items on an OPC server at intervals determined by parameter samplePeriod |
---|