WOLFRAM SYSTEM MODELER

StartStatusSimulation

Block that starts a status simulation on the ExampleServer

Diagram

Wolfram Language

In[1]:=
SystemModel["OPCUA.Examples.Utilities.StartStatusSimulation"]
Out[1]:=

Information

Block that initiates a simulation on the example server where certain nodes will change values and status over time. The parameter stopTime controls when the simulation is stopped and must be before the end of the simulation of the model to leave the example server in a reusable state.

Parameters (2)

startTime

Value: 0.2

Type: Time (s)

stopTime

Value: 6

Type: Time (s)

Connectors (2)

list_a

Type: List_a

Description: Connector for propagating node registrations to a NodeList

writeClock

Type: ClockOutput

Description: 'output Clock' as connector

Components (6)

writeStart

Type: Write

Description: Adds writing of a Boolean scalar node to a WriteNodeList

eventClock

Type: EventClock

Description: Generate a clock signal when the Boolean input changes from false to true

booleanTable

Type: BooleanTable

Description: Generate a Boolean output signal based on a vector of time instants

writeDuration

Type: Write

Description: Adds writing of an Integer scalar node to a WriteNodeList

duration

Type: IntegerConstant

Description: Generate constant signal of type Integer

changing

Type: ChangingEdge

Description: Output y is true, if the input u has either a rising or a falling edge and otherwise it is false (y=change(u))

Used in Examples (1)

Fallback

OPCUA.Examples

Demonstrates how to switch to a fallback value after a period of Uncertain or Bad status severity