Creating state machines [message #1186627] |
Thu, 14 November 2013 20:13 |
Tomas Sandkvist Messages: 149 Registered: October 2013 |
Senior Member |
|
|
I have googled and I have searched this forum, but has not been able to find details in how to declare transitions between state, but lets see if you agree to how I did:
I have a small function, a selector switch read by a PLC through digital I/O. Haven't modeled the details of reading digital signals.
I have a port that sends a signal having a property that tells the state of the switch.
I created SignalEvents for the two state the switch can have, and used those as triggers. But how to get a connection between signalEvents and its sources? Couldn't figure that out.
I then created Opaque behaviors in plain text to send the signal. Couldn't figure out how to use the signal declaration or the enumeration that is used for the parameter?
And finally I couldn't figure out how to connect the state machine with the port?
See attached images
|
|
|
Powered by
FUDForum. Page generated in 0.02664 seconds