WOLFRAM SYSTEM MODELER
MultipleTriggeredWriteA block for writing data to multiple items on an OPC server at intervals determined by an external Boolean signal (trigger) |
SystemModel["OPCClassic.Blocks.SamplerInteger.MultipleTriggeredWrite"]
This block writes data from multiple items of type of type of type Integer to the OPC server it is connected to. Unlike the write blocks that have a parameter for setting the sample period, the triggered write blocks write data when Boolean input signal trigger has a rising edge. The block inherits the properties of the partial model TriggeredSampler.
At every sampling instant, external function writeExternalReal is called from within the block.
itemName |
Value: {""} Type: String[:] Description: The OPC item that data should be written to or read from (readItem.itemName) |
---|---|
useUMax |
Value: false Type: Boolean Description: If true, use upper limit for written signal (writeItem.useUMax) |
uMax |
Value: 1 Type: Integer Description: Upper limit of written signal (writeItem.uMax) |
useUMin |
Value: false Type: Boolean Description: If true, use lower limit for written signal (writeItem.useUMin) |
uMin |
Value: 0 Type: Integer Description: Lower limit of written signal (writeItem.uMin) |
serverID |
Type: BlockConnector Description: The unique ID of the server the block is connected to |
|
---|---|---|
u |
Type: IntegerInput[size(itemName, 1)] Description: Input signal to be sampled |
|
trigger |
Type: BooleanInput[size(itemName, 1)] Description: Boolean input that determines when sampling should occur |
writeItem |
Type: TriggeredWrite[size(itemName, 1)] Description: A block for writing data to items on an OPC server at intervals determined by an external Boolean signal (trigger) |
---|