documentation/graphs/fsm_pdo_conf.dot
author Knud Baastrup <kba@deif.com>
Tue, 14 Apr 2015 10:12:55 -0400
changeset 2625 e25af8bd3957
parent 2589 2b9c78543663
permissions -rw-r--r--
Eoe mac address now derived from unique mac.
The EoE MAC address is now derived from the NIC part of the first global
unique MAC address of the linked list of available network interfaces or
otherwise the MAC address used by the EtherCAT master. The EoE MAC address
will get the format 02:NIC:NIC:NIC:RP:RP where NIC comes from the unique MAC
address (if available) and RP is the ring position of the EoE slave.

/* $Id$ */

digraph pdo_conf {
    node [fontname="Helvetica"]
    edge [fontname="Helvetica", fontsize="12"]

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

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

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

    read_mapping
    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
    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 [label="Next PDO"]

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

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

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

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

    set_pdo_count
    set_pdo_count -> action_next_sync
}