documentation/graphs/fsm_master.dot
author Florian Pose <fp@igh-essen.com>
Thu, 29 May 2008 15:11:26 +0000
changeset 922 fede1d8f5b71
parent 907 570ae1c64465
child 987 3c9090138140
permissions -rw-r--r--
Added the new ethercat comman-line tool with lsec functionality.

/* $Id$ */

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

    start [fontname="Helvetica"]
    start -> broadcast [weight=10]

    broadcast [fontname="Helvetica"]
    broadcast -> end
    broadcast -> clear_addresses
    broadcast -> read_state [weight=10]

    action_process_sii [shape=point,label=""]
    action_process_sii -> write_sii

    action_process_sdo [shape=point,label=""]
    action_process_sdo -> sdo_request

    action_idle [shape=point,label=""]
    action_idle -> action_process_sdo
    action_idle -> sdo_dictionary
    action_idle -> action_process_sii
    action_idle -> end

    action_next_slave_state [shape=point,label=""]
    action_next_slave_state -> read_state
    action_next_slave_state -> action_idle [weight=10]
    
    action_configure [shape=point,label=""]
    action_configure -> configure_slave [weight=10]
    action_configure -> action_next_slave_state

    action_acknowledge [shape=point,label=""]
    action_acknowledge -> acknowledge [weight=10]
    action_acknowledge -> action_configure
    action_acknowledge -> action_next_slave_state

    read_state [fontname="Helvetica"]
    read_state -> action_acknowledge [weight=10]

    acknowledge [fontname="Helvetica"]
    acknowledge -> action_configure [weight=10]

    clear_addresses [fontname="Helvetica"]
    clear_addresses -> scan_slave [weight=10]

    scan_slave [fontname="Helvetica"]
    scan_slave -> end

    configure_slave [fontname="Helvetica"]
    configure_slave -> action_next_slave_state [weight=10]

    write_sii [fontname="Helvetica"]
    write_sii -> action_process_sii
    write_sii -> end

    sdo_dictionary [fontname="Helvetica"]
    sdo_dictionary -> end

    sdo_request [fontname="Helvetica"]
    sdo_request -> action_process_sdo
    sdo_request -> end

    end [fontname="Helvetica"]
}