VFSM: Cmd
VFSM type: Cmd(user vfsm)
CMD_EXAMPLE
This example is to show the use of Clear action of CMD object.
By the way it shows also the use of the XDA object to produce acknowledgement signals.
The Do object is used here to represent an action: of course set once on it stays for ever on.
Prefix: CMD
IOid name: MyCmd
(type: CMD-IN)
-->Virtual Input: Cmd_Repeat
(2)
-->Virtual Input: Cmd_Try
(1)
-->Virtual Output: MyCmd_Clear
(0)
IOid name: Do
(type: DO)
-->Virtual Output: SomeAction
(High)
-->Virtual Output: SomeAction_Clear
(Low)
IOid name: Xda
(type: XDA)
-->Virtual Input: Result_Failure
(2)
-->Virtual Input: Result_Success
(1)
-->Virtual Output: Result_Clear
(0)
State transition table, state '
Init
':
State transition table, state '
Try
':
State transition table, state '
Continue
':
Total number of states: 3
|