documentation/graphs/fsm_slave_conf.dot
author Florian Pose <fp@igh-essen.com>
Thu, 26 Jun 2008 13:16:15 +0000
changeset 1055 2be8918682fa
parent 889 661b61ca86ed
child 1174 235f34ca50e2
permissions -rw-r--r--
Store sync manager configurations in ec_slave_config_t instead of Pdo
lists for each direction; changed realtime interface to allow sync
manager configuration.
803
c9e147567924 Updated properties and keywords for dot files.
Florian Pose <fp@igh-essen.com>
parents: 799
diff changeset
     1
c9e147567924 Updated properties and keywords for dot files.
Florian Pose <fp@igh-essen.com>
parents: 799
diff changeset
     2
/* $Id$ */
c9e147567924 Updated properties and keywords for dot files.
Florian Pose <fp@igh-essen.com>
parents: 799
diff changeset
     3
614
1e74a0212418 Added DOT graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     4
digraph slaveconf {
1e74a0212418 Added DOT graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     5
    size="7,9"
1e74a0212418 Added DOT graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     6
    center=1
887
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
     7
    ratio=fill
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
     8
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
     9
    start [fontname="Helvetica"]
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    10
    start -> init [weight=10]
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    11
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    12
    init [fontname="Helvetica"]
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    13
    //init -> init
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    14
    //init -> error
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    15
    init -> enter_mbox_sync [fontname="Helvetica",label ="No FMMUs"]
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    16
    init -> clear_fmmus [weight=10]
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    17
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    18
    clear_fmmus [fontname="Helvetica"]
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    19
    //clear_fmmus -> clear_fmmus
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    20
    //clear_fmmus -> error
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    21
    clear_fmmus -> enter_mbox_sync [weight=10]
614
1e74a0212418 Added DOT graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    22
622
63bcbb274b2f Changed order of slave conf FSM in graph.
Florian Pose <fp@igh-essen.com>
parents: 621
diff changeset
    23
    enter_mbox_sync [shape=point,label=""]
887
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    24
    enter_mbox_sync -> end [fontname="Helvetica",label="INIT\nrequested"]
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    25
    enter_mbox_sync -> preop [fontname="Helvetica",label="No mailboxes"]
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    26
    enter_mbox_sync -> mbox_sync [weight=10]
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    27
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    28
    mbox_sync [fontname="Helvetica"]
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    29
    //mbox_sync -> mbox_sync
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    30
    //mbox_sync -> error
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    31
    mbox_sync -> preop [weight=10]
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    32
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    33
    preop [fontname="Helvetica"]
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    34
    //preop -> preop
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    35
    //preop -> error
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    36
    preop -> end [fontname="Helvetica",label="PREOP\nrequested"]
888
f0db19108bba Moved Pdo sync manager configuration before Pdo assignment in slave
Florian Pose <fp@igh-essen.com>
parents: 887
diff changeset
    37
    preop -> enter_safeop [fontname="Helvetica",label="No slave\nconfig attached"]
887
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    38
    preop -> enter_sdo_conf [weight=10]
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    39
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    40
    enter_sdo_conf [shape=point,label=""]
888
f0db19108bba Moved Pdo sync manager configuration before Pdo assignment in slave
Florian Pose <fp@igh-essen.com>
parents: 887
diff changeset
    41
    enter_sdo_conf -> enter_pdo_sync [fontname="Helvetica",label="No Sdo\nconfigurations"]
887
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    42
    enter_sdo_conf -> sdo_conf [weight=10]
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    43
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    44
    sdo_conf [fontname="Helvetica"]
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    45
    //sdo_conf -> sdo_conf
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    46
    //sdo_conf -> error
888
f0db19108bba Moved Pdo sync manager configuration before Pdo assignment in slave
Florian Pose <fp@igh-essen.com>
parents: 887
diff changeset
    47
    sdo_conf -> enter_pdo_sync [weight=10]
887
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    48
888
f0db19108bba Moved Pdo sync manager configuration before Pdo assignment in slave
Florian Pose <fp@igh-essen.com>
parents: 887
diff changeset
    49
    enter_pdo_sync [shape=point,label=""]
f0db19108bba Moved Pdo sync manager configuration before Pdo assignment in slave
Florian Pose <fp@igh-essen.com>
parents: 887
diff changeset
    50
    enter_pdo_sync -> enter_safeop [fontname="Helvetica",label="No Pdos"]
f0db19108bba Moved Pdo sync manager configuration before Pdo assignment in slave
Florian Pose <fp@igh-essen.com>
parents: 887
diff changeset
    51
    enter_pdo_sync -> pdo_sync [weight=10]
f0db19108bba Moved Pdo sync manager configuration before Pdo assignment in slave
Florian Pose <fp@igh-essen.com>
parents: 887
diff changeset
    52
f0db19108bba Moved Pdo sync manager configuration before Pdo assignment in slave
Florian Pose <fp@igh-essen.com>
parents: 887
diff changeset
    53
    pdo_sync [fontname="Helvetica"]
f0db19108bba Moved Pdo sync manager configuration before Pdo assignment in slave
Florian Pose <fp@igh-essen.com>
parents: 887
diff changeset
    54
    //pdo_sync -> pdo_sync
f0db19108bba Moved Pdo sync manager configuration before Pdo assignment in slave
Florian Pose <fp@igh-essen.com>
parents: 887
diff changeset
    55
    //pdo_sync -> error
889
661b61ca86ed Moved configuration of Pdo mapping before Pdo assignment.
Florian Pose <fp@igh-essen.com>
parents: 888
diff changeset
    56
    pdo_sync -> pdo_mapping [weight=10]
661b61ca86ed Moved configuration of Pdo mapping before Pdo assignment.
Florian Pose <fp@igh-essen.com>
parents: 888
diff changeset
    57
661b61ca86ed Moved configuration of Pdo mapping before Pdo assignment.
Florian Pose <fp@igh-essen.com>
parents: 888
diff changeset
    58
    pdo_mapping [fontname="Helvetica"]
661b61ca86ed Moved configuration of Pdo mapping before Pdo assignment.
Florian Pose <fp@igh-essen.com>
parents: 888
diff changeset
    59
    //pdo_mapping -> pdo_mapping
661b61ca86ed Moved configuration of Pdo mapping before Pdo assignment.
Florian Pose <fp@igh-essen.com>
parents: 888
diff changeset
    60
    //pdo_mapping -> error
661b61ca86ed Moved configuration of Pdo mapping before Pdo assignment.
Florian Pose <fp@igh-essen.com>
parents: 888
diff changeset
    61
    pdo_mapping -> pdo_assign [weight=10]
887
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    62
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    63
    pdo_assign [fontname="Helvetica"]
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    64
    //pdo_assign -> pdo_assign
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    65
    //pdo_assign -> error
889
661b61ca86ed Moved configuration of Pdo mapping before Pdo assignment.
Florian Pose <fp@igh-essen.com>
parents: 888
diff changeset
    66
    pdo_assign -> enter_fmmu [weight=10]
887
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    67
614
1e74a0212418 Added DOT graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    68
    enter_fmmu [shape=point,label=""]
887
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    69
    enter_fmmu -> enter_safeop [fontname="Helvetica",label="No FMMUs\nto configure"]
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    70
    enter_fmmu -> fmmu [weight=10]
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    71
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    72
    fmmu [fontname="Helvetica"]
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    73
    //fmmu -> fmmu
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    74
    //fmmu -> error
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    75
    fmmu -> enter_safeop [weight=10]
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    76
813
bfc3f1ab52de Fixed typo SAVEOP -> SAFEOP.
Florian Pose <fp@igh-essen.com>
parents: 803
diff changeset
    77
    enter_safeop [shape=point,label=""]
887
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    78
    enter_safeop -> safeop [weight=10]
614
1e74a0212418 Added DOT graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    79
887
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    80
    safeop [fontname="Helvetica"]
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    81
    //safeop -> safeop
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    82
    //safeop -> error
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    83
    safeop -> end [fontname="Helvetica",label="SAFEOP\nrequested"]
813
bfc3f1ab52de Fixed typo SAVEOP -> SAFEOP.
Florian Pose <fp@igh-essen.com>
parents: 803
diff changeset
    84
    safeop -> op [weight=10]
887
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    85
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    86
    op [fontname="Helvetica"]
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    87
    //op -> op
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    88
    //op -> error
621
4bd4df131ea8 Improved slave configuration FSM graph.
Florian Pose <fp@igh-essen.com>
parents: 616
diff changeset
    89
    op -> end [weight=10]
887
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    90
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    91
    end [fontname="Helvetica"]
614
1e74a0212418 Added DOT graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    92
}