documentation/graphs/fsm_master.dot
author Florian Pose <fp@igh-essen.com>
Fri, 25 Apr 2008 12:45:44 +0000
changeset 906 f95e3e33c0cf
parent 905 6d74ebc603ee
child 907 570ae1c64465
permissions -rw-r--r--
Removed slave online flag.
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
872
d4e0380d63b3 Renamed EEPROM to SII.
Florian Pose <fp@igh-essen.com>
parents: 831
diff changeset
     9
    action_process_sii [shape=point,label=""]
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    10
    action_process_sdo [shape=point,label=""]
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    11
    action_configure [shape=point,label=""]
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    12
    action_next_slave_state [shape=point,label=""]
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    13
    action_process_states [shape=point,label=""]
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    14
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    15
    start -> broadcast [weight=10]
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    16
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    17
    //broadcast -> error
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    18
    broadcast -> end
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    19
    broadcast -> clear_addresses
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    20
    broadcast -> read_states [weight=10]
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    21
872
d4e0380d63b3 Renamed EEPROM to SII.
Florian Pose <fp@igh-essen.com>
parents: 831
diff changeset
    22
    action_process_sii -> write_sii
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    23
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    24
    action_process_sdo -> sdo_request
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    25
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    26
    action_configure -> configure_slave
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    27
831
ded9519c8d6e Reading of Pdo mapping via CoE during scan.
Florian Pose <fp@igh-essen.com>
parents: 803
diff changeset
    28
    action_process_states -> action_configure
ded9519c8d6e Reading of Pdo mapping via CoE during scan.
Florian Pose <fp@igh-essen.com>
parents: 803
diff changeset
    29
    action_process_states -> action_process_sdo
905
6d74ebc603ee Renamed state sdodict to sdo_dictionary.
Florian Pose <fp@igh-essen.com>
parents: 900
diff changeset
    30
    action_process_states -> sdo_dictionary
872
d4e0380d63b3 Renamed EEPROM to SII.
Florian Pose <fp@igh-essen.com>
parents: 831
diff changeset
    31
    action_process_states -> action_process_sii
831
ded9519c8d6e Reading of Pdo mapping via CoE during scan.
Florian Pose <fp@igh-essen.com>
parents: 803
diff changeset
    32
    action_process_states -> end
ded9519c8d6e Reading of Pdo mapping via CoE during scan.
Florian Pose <fp@igh-essen.com>
parents: 803
diff changeset
    33
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    34
    action_next_slave_state -> read_states
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    35
    action_next_slave_state -> action_process_states
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    36
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    37
    //read_states -> error
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    38
    read_states -> action_next_slave_state
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    39
    read_states -> acknowledge
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    40
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    41
    //acknowledge -> error
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    42
    acknowledge -> action_next_slave_state
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    43
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    44
    //clear_addresses -> error
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    45
    clear_addresses -> scan_slaves
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    46
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    47
    scan_slaves -> scan_slaves
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    48
    scan_slaves -> end
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    49
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    50
    configure_slave -> action_configure
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    51
    configure_slave -> end
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    52
872
d4e0380d63b3 Renamed EEPROM to SII.
Florian Pose <fp@igh-essen.com>
parents: 831
diff changeset
    53
    //write_sii -> error
d4e0380d63b3 Renamed EEPROM to SII.
Florian Pose <fp@igh-essen.com>
parents: 831
diff changeset
    54
    write_sii -> action_process_sii
d4e0380d63b3 Renamed EEPROM to SII.
Florian Pose <fp@igh-essen.com>
parents: 831
diff changeset
    55
    write_sii -> end
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    56
905
6d74ebc603ee Renamed state sdodict to sdo_dictionary.
Florian Pose <fp@igh-essen.com>
parents: 900
diff changeset
    57
    //sdo_dictionary -> error
6d74ebc603ee Renamed state sdodict to sdo_dictionary.
Florian Pose <fp@igh-essen.com>
parents: 900
diff changeset
    58
    sdo_dictionary -> end
718
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    59
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    60
    //sdo_request -> error
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    61
    sdo_request -> action_process_sdo
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    62
    sdo_request -> end
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    63
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    64
    //error -> start
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    65
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    66
    //end -> start
80df6930e7e6 Added FSM graph for master state machine.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    67
}