documentation/graphs/fsm_master.dot
author Florian Pose <fp@igh-essen.com>
Fri, 25 Apr 2008 12:16:56 +0000
changeset 903 d13004440b6d
parent 900 f8b5c6d21705
child 905 6d74ebc603ee
permissions -rw-r--r--
Improved a few debugging outputs.

/* $Id$ */

digraph master {
    size="7,9"
    center=1
	ratio=fill

    action_process_sii [shape=point,label=""]
    action_process_sdo [shape=point,label=""]
    action_configure [shape=point,label=""]
    action_next_slave_state [shape=point,label=""]
    action_process_states [shape=point,label=""]

    start -> broadcast [weight=10]

    //broadcast -> error
    broadcast -> end
    broadcast -> clear_addresses
    broadcast -> read_states [weight=10]

    action_process_sii -> write_sii

    action_process_sdo -> sdo_request

    action_configure -> configure_slave

    action_process_states -> action_configure
    action_process_states -> action_process_sdo
    action_process_states -> sdodict
    action_process_states -> action_process_sii
    action_process_states -> end

    action_next_slave_state -> read_states
    action_next_slave_state -> action_process_states

    //read_states -> error
    read_states -> action_next_slave_state
    read_states -> acknowledge

    //acknowledge -> error
    acknowledge -> action_next_slave_state

    //clear_addresses -> error
    clear_addresses -> scan_slaves

    scan_slaves -> scan_slaves
    scan_slaves -> end

    configure_slave -> action_configure
    configure_slave -> end

    //write_sii -> error
    write_sii -> action_process_sii
    write_sii -> end

    //sdodict -> error
    sdodict -> end

    //sdo_request -> error
    sdo_request -> action_process_sdo
    sdo_request -> end

    //error -> start

    //end -> start
}