documentation/graphs/fsm_pdo_conf.dot
author Florian Pose <fp@igh-essen.com>
Tue, 09 Aug 2011 22:10:45 +0200
changeset 2098 0ce254664c81
parent 1327 4d179b06dd3c
child 2513 e60c68f33e4f
permissions -rw-r--r--
Improved DC sync at startup: Abort iterating though slaves and first correct
system time offsets, then begin configuring at slave 0.

/* $Id$ */

digraph pdo_conf {

    start [fontname="Helvetica"]
    start -> action_next_sync [fontname="Helvetica",label="First SM",weight=10]
    start -> end [fontname="Helvetica",label="No config"]

    action_next_sync [shape=point,label=""]
    action_next_sync -> action_check_assignment [fontname="Helvetica",label="No PDOs"]
    action_next_sync -> action_pdo_mapping [fontname="Helvetica",label="First PDO",weight=10]
    action_next_sync -> end [fontname="Helvetica",label="No more SMs"]

    action_pdo_mapping [shape=point,label=""]
    action_pdo_mapping -> read_mapping [fontname="Helvetica",label="Unknown"]
    action_pdo_mapping -> action_check_mapping [weight=10]

    read_mapping [fontname="Helvetica"]
    read_mapping -> action_check_mapping

    action_check_mapping [shape=point,label=""]
    action_check_mapping -> action_next_pdo_mapping
    action_check_mapping -> mapping [weight=10]

    mapping [fontname="Helvetica"]
    mapping -> action_next_pdo_mapping [weight=10]

    action_next_pdo_mapping [shape=point,label=""]
    action_next_pdo_mapping -> action_check_assignment [weight=10]
    action_next_pdo_mapping -> action_pdo_mapping
    [fontname="Helvetica",label="Next PDO"]

    action_check_assignment [shape=point,label=""]
    action_check_assignment -> action_next_sync [fontname="Helvetica",label="Assign ok"]
    action_check_assignment -> zero_pdo_count [weight=10]

    zero_pdo_count [fontname="Helvetica"]
    zero_pdo_count -> action_next_sync [fontname="Helvetica",label="No PDOs"]
    zero_pdo_count -> action_assign_pdo [fontname="Helvetica",label="First PDO", weight=10]

    action_assign_pdo [shape=point,label=""]
    action_assign_pdo -> assign_pdo [weight=10]

    assign_pdo [fontname="Helvetica"]
    assign_pdo -> set_pdo_count [fontname="Helvetica",label="No more PDOs", weight=10]
    assign_pdo -> action_assign_pdo [fontname="Helvetica",label="Next PDO"]

    set_pdo_count [fontname="Helvetica"]
    set_pdo_count -> action_next_sync
}