documentation/graphs/fsm_master.dot
author Florian Pose <fp@igh-essen.com>
Tue, 22 Jul 2008 14:23:41 +0000
changeset 1127 bd7aef6c310c
parent 1031 000593b576dd
child 1420 5eb814732c46
permissions -rw-r--r--
Improved abbreviation.
803
c9e147567924 Updated properties and keywords for dot files.
Florian Pose <fp@igh-essen.com>
parents: 718
diff changeset
     1
c9e147567924 Updated properties and keywords for dot files.
Florian Pose <fp@igh-essen.com>
parents: 718
diff changeset
     2
/* $Id$ */
c9e147567924 Updated properties and keywords for dot files.
Florian Pose <fp@igh-essen.com>
parents: 718
diff changeset
     3
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     4
digraph master {
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     5
    size="7,9"
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     6
    center=1
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     7
	ratio=fill
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     8
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
     9
    start [fontname="Helvetica"]
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    10
    start -> broadcast [weight=10]
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    11
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    12
    broadcast [fontname="Helvetica"]
1031
000593b576dd Removed 'end' and 'error' states from master state machine.
Florian Pose <fp@igh-essen.com>
parents: 987
diff changeset
    13
    broadcast -> start
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    14
    broadcast -> clear_addresses
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    15
    broadcast -> read_state [weight=10]
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    16
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    17
    action_process_sii [shape=point,label=""]
872
d4e0380d63b3 Renamed EEPROM to SII.
Florian Pose <fp@igh-essen.com>
parents: 831
diff changeset
    18
    action_process_sii -> write_sii
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    19
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    20
    action_process_sdo [shape=point,label=""]
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    21
    action_process_sdo -> sdo_request
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    22
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    23
    action_idle [shape=point,label=""]
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    24
    action_idle -> action_process_sdo
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    25
    action_idle -> sdo_dictionary
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    26
    action_idle -> action_process_sii
1031
000593b576dd Removed 'end' and 'error' states from master state machine.
Florian Pose <fp@igh-essen.com>
parents: 987
diff changeset
    27
    action_idle -> start
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    28
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    29
    action_next_slave_state [shape=point,label=""]
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    30
    action_next_slave_state -> read_state
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    31
    action_next_slave_state -> action_idle [weight=10]
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    32
    
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    33
    action_configure [shape=point,label=""]
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    34
    action_configure -> configure_slave [weight=10]
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    35
    action_configure -> action_next_slave_state
831
ded9519c8d6e Reading of Pdo mapping via CoE during scan.
Florian Pose <fp@igh-essen.com>
parents: 803
diff changeset
    36
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    37
    read_state [fontname="Helvetica"]
1031
000593b576dd Removed 'end' and 'error' states from master state machine.
Florian Pose <fp@igh-essen.com>
parents: 987
diff changeset
    38
    read_state -> acknowledge [weight=10]
000593b576dd Removed 'end' and 'error' states from master state machine.
Florian Pose <fp@igh-essen.com>
parents: 987
diff changeset
    39
    read_state -> action_configure
987
3c9090138140 Display error flag in 'ethercat ls'; cleaned up usage of error flag;
Florian Pose <fp@igh-essen.com>
parents: 907
diff changeset
    40
    read_state -> action_next_slave_state
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    41
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    42
    acknowledge [fontname="Helvetica"]
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    43
    acknowledge -> action_configure [weight=10]
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    44
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    45
    clear_addresses [fontname="Helvetica"]
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    46
    clear_addresses -> scan_slave [weight=10]
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    47
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    48
    scan_slave [fontname="Helvetica"]
1031
000593b576dd Removed 'end' and 'error' states from master state machine.
Florian Pose <fp@igh-essen.com>
parents: 987
diff changeset
    49
    scan_slave -> start
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    50
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    51
    configure_slave [fontname="Helvetica"]
1031
000593b576dd Removed 'end' and 'error' states from master state machine.
Florian Pose <fp@igh-essen.com>
parents: 987
diff changeset
    52
    configure_slave -> action_next_slave_state
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    53
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    54
    write_sii [fontname="Helvetica"]
872
d4e0380d63b3 Renamed EEPROM to SII.
Florian Pose <fp@igh-essen.com>
parents: 831
diff changeset
    55
    write_sii -> action_process_sii
1031
000593b576dd Removed 'end' and 'error' states from master state machine.
Florian Pose <fp@igh-essen.com>
parents: 987
diff changeset
    56
    write_sii -> start
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    57
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    58
    sdo_dictionary [fontname="Helvetica"]
1031
000593b576dd Removed 'end' and 'error' states from master state machine.
Florian Pose <fp@igh-essen.com>
parents: 987
diff changeset
    59
    sdo_dictionary -> start
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    60
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    61
    sdo_request [fontname="Helvetica"]
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    62
    sdo_request -> action_process_sdo
1031
000593b576dd Removed 'end' and 'error' states from master state machine.
Florian Pose <fp@igh-essen.com>
parents: 987
diff changeset
    63
    sdo_request -> start
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    64
}