WOLFRAM SYSTEM MODELER
TriggeredReadA block for reading data from items on an OPC server at intervals determined by an external Boolean signal (trigger) |
SystemModel["OPCUA.Blocks.SamplerReal.TriggeredRead"]
This block reads data of type Real from the OPC UA 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. Only scalar nodes can be read; i.e. no array or matrix nodes are supported.
At every sampling instant, external function readExternalReal is called from within the block.
Interfaces
nodeIDType |
Value: Type: UANodeIdType Description: The node identifier type |
---|---|
nodeID |
Value: Type: String Description: The node identifier |
nodeNamespace |
Value: Type: Integer Description: The node namespace |
y_start |
Value: Type: Real 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: RealOutput Description: The data read from the item on the OPC server |
OPCUA.Examples Basic example that demonstrates how to write to and read from nodes on an OPC UA server using a signal trigger |
|
OPCUA.Examples Model that samples data from an OPC UA node irregularly |