WOLFRAM SYSTEM MODELER
TriggeredReadA block for reading data from an OPC server at intervals determined by an external Boolean signal (trigger) |
SystemModel["OPCClassic.Blocks.SamplerBoolean.TriggeredRead"]
This block reads data of type Boolean from the OPC server it is connected to. Unlike the read blocks that have a parameter for setting the sample period, the triggered read blocks read 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 readExternalBoolean is called from within the block.
itemName |
Value: Type: String Description: The OPC item that data should be written to or read from |
---|---|
y_start |
Value: false Type: Boolean Description: initial value of output signal |
trigger |
Type: BooleanInput Description: Boolean input that determines when sampling should occur |
|
---|---|---|
serverID |
Type: BlockConnector Description: The unique ID of the server the block is connected to |
|
y |
Type: BooleanOutput Description: The data read from the item on the OPC server |
OPCClassic.Blocks.SamplerBoolean A block for reading data from multiple items on an OPC server at intervals determined by an external Boolean signal (trigger) |