documentation/graphs/fsm_pdo_mapping.dot
author Florian Pose <fp@igh-essen.com>
Thu, 06 Sep 2007 09:28:38 +0000
changeset 708 90bdb315f560
parent 617 3c628bb7f68b
child 803 c9e147567924
permissions -rw-r--r--
Fixed EtherCAT addressing problem on big-endian systems. The slaves
address is now a four-byte-array, that is filled with little-endian
(EtherCAT) values on datagram creation.
617
3c628bb7f68b Improved mapping FSM graph.
Florian Pose <fp@igh-essen.com>
parents: 616
diff changeset
     1
3c628bb7f68b Improved mapping FSM graph.
Florian Pose <fp@igh-essen.com>
parents: 616
diff changeset
     2
/* $Id$ */
3c628bb7f68b Improved mapping FSM graph.
Florian Pose <fp@igh-essen.com>
parents: 616
diff changeset
     3
616
b777e26367c5 Added PDO mapping FSM graph.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     4
digraph pdomapping {
b777e26367c5 Added PDO mapping FSM graph.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     5
    size="7,9"
b777e26367c5 Added PDO mapping FSM graph.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     6
    center=1
b777e26367c5 Added PDO mapping FSM graph.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     7
	ratio=fill
b777e26367c5 Added PDO mapping FSM graph.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     8
617
3c628bb7f68b Improved mapping FSM graph.
Florian Pose <fp@igh-essen.com>
parents: 616
diff changeset
     9
    next [shape=point,label=""]
616
b777e26367c5 Added PDO mapping FSM graph.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    10
617
3c628bb7f68b Improved mapping FSM graph.
Florian Pose <fp@igh-essen.com>
parents: 616
diff changeset
    11
    start -> next [label="first SM"]
3c628bb7f68b Improved mapping FSM graph.
Florian Pose <fp@igh-essen.com>
parents: 616
diff changeset
    12
    next -> end [label="no more SMs"]
3c628bb7f68b Improved mapping FSM graph.
Florian Pose <fp@igh-essen.com>
parents: 616
diff changeset
    13
    next -> zero_count [label="next SM"]
3c628bb7f68b Improved mapping FSM graph.
Florian Pose <fp@igh-essen.com>
parents: 616
diff changeset
    14
    zero_count -> next [label="no PDOs"]
3c628bb7f68b Improved mapping FSM graph.
Florian Pose <fp@igh-essen.com>
parents: 616
diff changeset
    15
    zero_count -> add_pdo [label="map first PDO", weight=5]
3c628bb7f68b Improved mapping FSM graph.
Florian Pose <fp@igh-essen.com>
parents: 616
diff changeset
    16
    add_pdo -> add_pdo [label="map next PDO"]
3c628bb7f68b Improved mapping FSM graph.
Florian Pose <fp@igh-essen.com>
parents: 616
diff changeset
    17
    add_pdo -> set_count [label="no more PDOs", weight=5]
3c628bb7f68b Improved mapping FSM graph.
Florian Pose <fp@igh-essen.com>
parents: 616
diff changeset
    18
    set_count -> next
616
b777e26367c5 Added PDO mapping FSM graph.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    19
}