documentation/graphs/fsm_master.dot
author Martin Troxler <ch1010277@ch10pc446>
Fri, 14 Jan 2011 12:23:00 +0100
changeset 2039 629d3cf05180
parent 1919 df2b21f15939
child 2096 5a55bc623d79
child 2097 6392734fb198
permissions -rw-r--r--
Minor changes (consistent variable naming)
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
1919
Florian Pose <fp@igh-essen.com>
parents: 1916
diff changeset
    14
    broadcast -> read_state
Florian Pose <fp@igh-essen.com>
parents: 1916
diff changeset
    15
    broadcast -> write_system_times
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
1916
6327ce8c4274 Updated master state graph.
Florian Pose <fp@igh-essen.com>
parents: 1915
diff changeset
    23
    action_process_register [shape=point,label=""]
6327ce8c4274 Updated master state graph.
Florian Pose <fp@igh-essen.com>
parents: 1915
diff changeset
    24
    action_process_register -> reg_request
6327ce8c4274 Updated master state graph.
Florian Pose <fp@igh-essen.com>
parents: 1915
diff changeset
    25
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    26
    action_idle [shape=point,label=""]
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    27
    action_idle -> action_process_sdo
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    28
    action_idle -> sdo_dictionary
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    29
    action_idle -> action_process_sii
1916
6327ce8c4274 Updated master state graph.
Florian Pose <fp@igh-essen.com>
parents: 1915
diff changeset
    30
    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
    31
    action_idle -> start
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    32
907
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    33
    action_next_slave_state [shape=point,label=""]
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    34
    action_next_slave_state -> read_state
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    35
    action_next_slave_state -> action_idle [weight=10]
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    36
    
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    37
    action_configure [shape=point,label=""]
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    38
    action_configure -> configure_slave [weight=10]
570ae1c64465 Improved master state machine.
Florian Pose <fp@igh-essen.com>
parents: 905
diff changeset
    39
    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
    40
1031
000593b576dd Removed 'end' and 'error' states from master state machine.
Florian Pose <fp@igh-essen.com>
parents: 987
diff changeset
    41
    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
    42
    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
    43
    read_state -> action_next_slave_state
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
    acknowledge -> action_configure [weight=10]
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    46
1420
5eb814732c46 Measure port receive times.
Florian Pose <fp@igh-essen.com>
parents: 1031
diff changeset
    47
    clear_addresses -> dc_measure_delays [weight=10]
5eb814732c46 Measure port receive times.
Florian Pose <fp@igh-essen.com>
parents: 1031
diff changeset
    48
5eb814732c46 Measure port receive times.
Florian Pose <fp@igh-essen.com>
parents: 1031
diff changeset
    49
    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
    50
1919
Florian Pose <fp@igh-essen.com>
parents: 1916
diff changeset
    51
    scan_slave -> write_system_times
Florian Pose <fp@igh-essen.com>
parents: 1916
diff changeset
    52
Florian Pose <fp@igh-essen.com>
parents: 1916
diff changeset
    53
    write_system_times -> start
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    54
1031
000593b576dd Removed 'end' and 'error' states from master state machine.
Florian Pose <fp@igh-essen.com>
parents: 987
diff changeset
    55
    configure_slave -> action_next_slave_state
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    56
872
d4e0380d63b3 Renamed EEPROM to SII.
Florian Pose <fp@igh-essen.com>
parents: 831
diff changeset
    57
    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
    58
    write_sii -> start
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    59
1031
000593b576dd Removed 'end' and 'error' states from master state machine.
Florian Pose <fp@igh-essen.com>
parents: 987
diff changeset
    60
    sdo_dictionary -> start
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    61
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
1916
6327ce8c4274 Updated master state graph.
Florian Pose <fp@igh-essen.com>
parents: 1915
diff changeset
    64
6327ce8c4274 Updated master state graph.
Florian Pose <fp@igh-essen.com>
parents: 1915
diff changeset
    65
    reg_request -> action_process_register
6327ce8c4274 Updated master state graph.
Florian Pose <fp@igh-essen.com>
parents: 1915
diff changeset
    66
    reg_request -> start
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    67
}