documentation/graphs/fsm_master.dot
author Florian Pose <fp@igh-essen.com>
Fri, 30 Apr 2010 21:34:18 +0200
changeset 1918 c58633eed20b
parent 1916 6327ce8c4274
child 1919 df2b21f15939
permissions -rw-r--r--
Fixed AL state display in command-line tool.
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
1804
742607c464c4 Removed tabulators.
Florian Pose <fp@igh-essen.com>
parents: 1420
diff changeset
     7
    ratio=fill
1915
54e4b49b163c Graph font declaration in header.
Florian Pose <fp@igh-essen.com>
parents: 1804
diff changeset
     8
    node [fontname="Helvetica"]
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     9
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
1031
000593b576dd Removed 'end' and 'error' states from master state machine.
Florian Pose <fp@igh-essen.com>
parents: 987
diff changeset
    12
    broadcast -> start
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    13
    broadcast -> clear_addresses
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    14
    broadcast -> read_state [weight=10]
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    15
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    16
    action_process_sii [shape=point,label=""]
872
d4e0380d63b3 Renamed EEPROM to SII.
Florian Pose <fp@igh-essen.com>
parents: 831
diff changeset
    17
    action_process_sii -> write_sii
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    18
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    19
    action_process_sdo [shape=point,label=""]
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    20
    action_process_sdo -> sdo_request
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    21
1916
6327ce8c4274 Updated master state graph.
Florian Pose <fp@igh-essen.com>
parents: 1915
diff changeset
    22
    action_process_register [shape=point,label=""]
6327ce8c4274 Updated master state graph.
Florian Pose <fp@igh-essen.com>
parents: 1915
diff changeset
    23
    action_process_register -> reg_request
6327ce8c4274 Updated master state graph.
Florian Pose <fp@igh-essen.com>
parents: 1915
diff changeset
    24
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    25
    action_idle [shape=point,label=""]
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    26
    action_idle -> action_process_sdo
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    27
    action_idle -> sdo_dictionary
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    28
    action_idle -> action_process_sii
1916
6327ce8c4274 Updated master state graph.
Florian Pose <fp@igh-essen.com>
parents: 1915
diff changeset
    29
    action_idle -> action_process_register
1031
000593b576dd Removed 'end' and 'error' states from master state machine.
Florian Pose <fp@igh-essen.com>
parents: 987
diff changeset
    30
    action_idle -> start
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    31
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    32
    action_next_slave_state [shape=point,label=""]
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    33
    action_next_slave_state -> read_state
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    34
    action_next_slave_state -> action_idle [weight=10]
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    35
    
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    36
    action_configure [shape=point,label=""]
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    37
    action_configure -> configure_slave [weight=10]
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    38
    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
    39
1031
000593b576dd Removed 'end' and 'error' states from master state machine.
Florian Pose <fp@igh-essen.com>
parents: 987
diff changeset
    40
    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
    41
    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
    42
    read_state -> action_next_slave_state
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    43
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    44
    acknowledge -> action_configure [weight=10]
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    45
1420
5eb814732c46 Measure port receive times.
Florian Pose <fp@igh-essen.com>
parents: 1031
diff changeset
    46
    clear_addresses -> dc_measure_delays [weight=10]
5eb814732c46 Measure port receive times.
Florian Pose <fp@igh-essen.com>
parents: 1031
diff changeset
    47
5eb814732c46 Measure port receive times.
Florian Pose <fp@igh-essen.com>
parents: 1031
diff changeset
    48
    dc_measure_delays -> scan_slave [weight=10]
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    49
1031
000593b576dd Removed 'end' and 'error' states from master state machine.
Florian Pose <fp@igh-essen.com>
parents: 987
diff changeset
    50
    scan_slave -> start
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    51
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
872
d4e0380d63b3 Renamed EEPROM to SII.
Florian Pose <fp@igh-essen.com>
parents: 831
diff changeset
    54
    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
    55
    write_sii -> start
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    56
1031
000593b576dd Removed 'end' and 'error' states from master state machine.
Florian Pose <fp@igh-essen.com>
parents: 987
diff changeset
    57
    sdo_dictionary -> start
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    58
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    59
    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
    60
    sdo_request -> start
1916
6327ce8c4274 Updated master state graph.
Florian Pose <fp@igh-essen.com>
parents: 1915
diff changeset
    61
6327ce8c4274 Updated master state graph.
Florian Pose <fp@igh-essen.com>
parents: 1915
diff changeset
    62
    reg_request -> action_process_register
6327ce8c4274 Updated master state graph.
Florian Pose <fp@igh-essen.com>
parents: 1915
diff changeset
    63
    reg_request -> start
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    64
}