documentation/graphs/fsm_slave_conf.dot
author Florian Pose <fp@igh-essen.com>
Tue, 09 Aug 2011 22:10:45 +0200
changeset 2098 0ce254664c81
parent 1491 40529f2f60bd
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.
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 {
1202
91d190223daa Next changes for the documentation.
Florian Pose <fp@igh-essen.com>
parents: 1180
diff changeset
     5
    size="3,5"
1428
a737e8885437 Moved fonts to graph begin.
Florian Pose <fp@igh-essen.com>
parents: 1412
diff changeset
     6
    node [fontname="Helvetica"]
a737e8885437 Moved fonts to graph begin.
Florian Pose <fp@igh-essen.com>
parents: 1412
diff changeset
     7
    edge [fontname="Helvetica", fontsize="12"]
887
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
     8
1428
a737e8885437 Moved fonts to graph begin.
Florian Pose <fp@igh-essen.com>
parents: 1412
diff changeset
     9
    start
1318
76b4014391bd merge -r1583:1593 branches/stable-1.4: Fixed detaching oops.
Florian Pose <fp@igh-essen.com>
parents: 1202
diff changeset
    10
    start -> enter_init [weight=10]
76b4014391bd merge -r1583:1593 branches/stable-1.4: Fixed detaching oops.
Florian Pose <fp@igh-essen.com>
parents: 1202
diff changeset
    11
76b4014391bd merge -r1583:1593 branches/stable-1.4: Fixed detaching oops.
Florian Pose <fp@igh-essen.com>
parents: 1202
diff changeset
    12
    enter_init [shape=point, label=""]
76b4014391bd merge -r1583:1593 branches/stable-1.4: Fixed detaching oops.
Florian Pose <fp@igh-essen.com>
parents: 1202
diff changeset
    13
    enter_init -> init [weight=10]
887
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    14
1405
2b5b6ccc00a0 Updated graph of slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
    15
    reconfigure [shape=point, label=""]
1428
a737e8885437 Moved fonts to graph begin.
Florian Pose <fp@igh-essen.com>
parents: 1412
diff changeset
    16
    reconfigure -> enter_init [label="Config\ndetached"]
1405
2b5b6ccc00a0 Updated graph of slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
    17
1428
a737e8885437 Moved fonts to graph begin.
Florian Pose <fp@igh-essen.com>
parents: 1412
diff changeset
    18
    init [style="bold"]
a737e8885437 Moved fonts to graph begin.
Florian Pose <fp@igh-essen.com>
parents: 1412
diff changeset
    19
    init -> enter_clear_sync [label="No FMMUs"]
887
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    20
    init -> clear_fmmus [weight=10]
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    21
1428
a737e8885437 Moved fonts to graph begin.
Florian Pose <fp@igh-essen.com>
parents: 1412
diff changeset
    22
    clear_fmmus
1405
2b5b6ccc00a0 Updated graph of slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
    23
    clear_fmmus -> enter_clear_sync [weight=10]
2b5b6ccc00a0 Updated graph of slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
    24
2b5b6ccc00a0 Updated graph of slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
    25
    enter_clear_sync [shape=point, label=""]
1428
a737e8885437 Moved fonts to graph begin.
Florian Pose <fp@igh-essen.com>
parents: 1412
diff changeset
    26
    enter_clear_sync -> enter_dc_clear_assign [label="No SMs"]
1405
2b5b6ccc00a0 Updated graph of slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
    27
    enter_clear_sync -> clear_sync [weight=10]
2b5b6ccc00a0 Updated graph of slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
    28
1428
a737e8885437 Moved fonts to graph begin.
Florian Pose <fp@igh-essen.com>
parents: 1412
diff changeset
    29
    clear_sync
1409
eb1e2540cb02 Updated graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents: 1406
diff changeset
    30
    clear_sync -> enter_dc_clear_assign [weight=10]
1406
8686c5b3d14b Clear DC assignment after going to INIT.
Florian Pose <fp@igh-essen.com>
parents: 1405
diff changeset
    31
1409
eb1e2540cb02 Updated graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents: 1406
diff changeset
    32
    enter_dc_clear_assign [shape=point, label=""]
1428
a737e8885437 Moved fonts to graph begin.
Florian Pose <fp@igh-essen.com>
parents: 1412
diff changeset
    33
    enter_dc_clear_assign -> enter_mbox_sync [label="No DC\nsupport"]
1409
eb1e2540cb02 Updated graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents: 1406
diff changeset
    34
    enter_dc_clear_assign -> dc_clear_assign [weight=10]
1406
8686c5b3d14b Clear DC assignment after going to INIT.
Florian Pose <fp@igh-essen.com>
parents: 1405
diff changeset
    35
1428
a737e8885437 Moved fonts to graph begin.
Florian Pose <fp@igh-essen.com>
parents: 1412
diff changeset
    36
    dc_clear_assign
1409
eb1e2540cb02 Updated graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents: 1406
diff changeset
    37
    dc_clear_assign -> dc_read_offset [weight=10]
eb1e2540cb02 Updated graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents: 1406
diff changeset
    38
1428
a737e8885437 Moved fonts to graph begin.
Florian Pose <fp@igh-essen.com>
parents: 1412
diff changeset
    39
    dc_read_offset
1409
eb1e2540cb02 Updated graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents: 1406
diff changeset
    40
    dc_read_offset -> dc_write_offset [weight=10]
eb1e2540cb02 Updated graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents: 1406
diff changeset
    41
1428
a737e8885437 Moved fonts to graph begin.
Florian Pose <fp@igh-essen.com>
parents: 1412
diff changeset
    42
    dc_write_offset
1409
eb1e2540cb02 Updated graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents: 1406
diff changeset
    43
    dc_write_offset -> enter_mbox_sync [weight=10]
614
1e74a0212418 Added DOT graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    44
1180
846907b8cc4b Configure Pdos before configuring the Pdo sync managers,
Florian Pose <fp@igh-essen.com>
parents: 1174
diff changeset
    45
    enter_mbox_sync [shape=point, label=""]
1428
a737e8885437 Moved fonts to graph begin.
Florian Pose <fp@igh-essen.com>
parents: 1412
diff changeset
    46
    enter_mbox_sync -> end [label="INIT\nrequested"]
a737e8885437 Moved fonts to graph begin.
Florian Pose <fp@igh-essen.com>
parents: 1412
diff changeset
    47
    enter_mbox_sync -> enter_boot_preop [label="No mailboxes"]
887
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    48
    enter_mbox_sync -> mbox_sync [weight=10]
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    49
1428
a737e8885437 Moved fonts to graph begin.
Florian Pose <fp@igh-essen.com>
parents: 1412
diff changeset
    50
    mbox_sync
1405
2b5b6ccc00a0 Updated graph of slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
    51
    mbox_sync -> enter_boot_preop [weight=10]
887
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    52
1405
2b5b6ccc00a0 Updated graph of slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
    53
    enter_boot_preop [shape=point, label=""]
2b5b6ccc00a0 Updated graph of slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
    54
    enter_boot_preop -> boot_preop [weight=10]
2b5b6ccc00a0 Updated graph of slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
    55
1428
a737e8885437 Moved fonts to graph begin.
Florian Pose <fp@igh-essen.com>
parents: 1412
diff changeset
    56
    boot_preop [style="bold"]
a737e8885437 Moved fonts to graph begin.
Florian Pose <fp@igh-essen.com>
parents: 1412
diff changeset
    57
    boot_preop -> end [label="PREOP\nor BOOT\nrequested"]
1405
2b5b6ccc00a0 Updated graph of slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
    58
    boot_preop -> enter_sdo_conf [weight=10]
887
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    59
1180
846907b8cc4b Configure Pdos before configuring the Pdo sync managers,
Florian Pose <fp@igh-essen.com>
parents: 1174
diff changeset
    60
    enter_sdo_conf [shape=point, label=""]
1491
40529f2f60bd Configure PDO sync managers even if no configuration has been applied.
Florian Pose <fp@igh-essen.com>
parents: 1428
diff changeset
    61
    enter_sdo_conf -> enter_pdo_sync [label="No config\nattached"]
1428
a737e8885437 Moved fonts to graph begin.
Florian Pose <fp@igh-essen.com>
parents: 1412
diff changeset
    62
    enter_sdo_conf -> enter_pdo_conf [label="No SDOs\nconfigured"]
887
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    63
    enter_sdo_conf -> sdo_conf [weight=10]
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    64
1428
a737e8885437 Moved fonts to graph begin.
Florian Pose <fp@igh-essen.com>
parents: 1412
diff changeset
    65
    sdo_conf
1405
2b5b6ccc00a0 Updated graph of slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
    66
    sdo_conf -> reconfigure
1180
846907b8cc4b Configure Pdos before configuring the Pdo sync managers,
Florian Pose <fp@igh-essen.com>
parents: 1174
diff changeset
    67
    sdo_conf -> enter_pdo_conf [weight=10]
887
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    68
1180
846907b8cc4b Configure Pdos before configuring the Pdo sync managers,
Florian Pose <fp@igh-essen.com>
parents: 1174
diff changeset
    69
    enter_pdo_conf [shape=point, label=""]
846907b8cc4b Configure Pdos before configuring the Pdo sync managers,
Florian Pose <fp@igh-essen.com>
parents: 1174
diff changeset
    70
    enter_pdo_conf -> pdo_conf [weight=10]
846907b8cc4b Configure Pdos before configuring the Pdo sync managers,
Florian Pose <fp@igh-essen.com>
parents: 1174
diff changeset
    71
1428
a737e8885437 Moved fonts to graph begin.
Florian Pose <fp@igh-essen.com>
parents: 1412
diff changeset
    72
    pdo_conf
1405
2b5b6ccc00a0 Updated graph of slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
    73
    pdo_conf -> reconfigure
1180
846907b8cc4b Configure Pdos before configuring the Pdo sync managers,
Florian Pose <fp@igh-essen.com>
parents: 1174
diff changeset
    74
    pdo_conf -> enter_pdo_sync [weight=10]
846907b8cc4b Configure Pdos before configuring the Pdo sync managers,
Florian Pose <fp@igh-essen.com>
parents: 1174
diff changeset
    75
846907b8cc4b Configure Pdos before configuring the Pdo sync managers,
Florian Pose <fp@igh-essen.com>
parents: 1174
diff changeset
    76
    enter_pdo_sync [shape=point, label=""]
1428
a737e8885437 Moved fonts to graph begin.
Florian Pose <fp@igh-essen.com>
parents: 1412
diff changeset
    77
    enter_pdo_sync -> enter_fmmu [label="No PDO SMs"]
888
f0db19108bba Moved Pdo sync manager configuration before Pdo assignment in slave
Florian Pose <fp@igh-essen.com>
parents: 887
diff changeset
    78
    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
    79
1428
a737e8885437 Moved fonts to graph begin.
Florian Pose <fp@igh-essen.com>
parents: 1412
diff changeset
    80
    pdo_sync
1180
846907b8cc4b Configure Pdos before configuring the Pdo sync managers,
Florian Pose <fp@igh-essen.com>
parents: 1174
diff changeset
    81
    pdo_sync -> enter_fmmu [weight=10]
887
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    82
614
1e74a0212418 Added DOT graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    83
    enter_fmmu [shape=point,label=""]
1491
40529f2f60bd Configure PDO sync managers even if no configuration has been applied.
Florian Pose <fp@igh-essen.com>
parents: 1428
diff changeset
    84
    enter_fmmu -> enter_safeop [label="No config\nattached"]
1428
a737e8885437 Moved fonts to graph begin.
Florian Pose <fp@igh-essen.com>
parents: 1412
diff changeset
    85
    enter_fmmu -> enter_dc_cycle [label="No FMMUs\nconfigured"]
887
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    86
    enter_fmmu -> fmmu [weight=10]
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
    87
1428
a737e8885437 Moved fonts to graph begin.
Florian Pose <fp@igh-essen.com>
parents: 1412
diff changeset
    88
    fmmu
1409
eb1e2540cb02 Updated graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents: 1406
diff changeset
    89
    fmmu -> enter_dc_cycle [weight=10]
1405
2b5b6ccc00a0 Updated graph of slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
    90
1409
eb1e2540cb02 Updated graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents: 1406
diff changeset
    91
    enter_dc_cycle [shape=point,label=""]
eb1e2540cb02 Updated graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents: 1406
diff changeset
    92
    enter_dc_cycle -> reconfigure
eb1e2540cb02 Updated graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents: 1406
diff changeset
    93
    enter_dc_cycle -> dc_cycle [weight=10]
1428
a737e8885437 Moved fonts to graph begin.
Florian Pose <fp@igh-essen.com>
parents: 1412
diff changeset
    94
    enter_dc_cycle -> enter_safeop [label="DC not\nconfigured"]
1405
2b5b6ccc00a0 Updated graph of slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
    95
1428
a737e8885437 Moved fonts to graph begin.
Florian Pose <fp@igh-essen.com>
parents: 1412
diff changeset
    96
    dc_cycle
1412
8f7bbbd3b7ac DC shift time working.
Florian Pose <fp@igh-essen.com>
parents: 1409
diff changeset
    97
    dc_cycle -> reconfigure
1405
2b5b6ccc00a0 Updated graph of slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
    98
    dc_cycle -> dc_start [weight=10]
2b5b6ccc00a0 Updated graph of slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
    99
1428
a737e8885437 Moved fonts to graph begin.
Florian Pose <fp@igh-essen.com>
parents: 1412
diff changeset
   100
    dc_start
1409
eb1e2540cb02 Updated graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents: 1406
diff changeset
   101
    dc_start -> reconfigure
1405
2b5b6ccc00a0 Updated graph of slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
   102
    dc_start -> dc_assign [weight=10]
2b5b6ccc00a0 Updated graph of slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
   103
1428
a737e8885437 Moved fonts to graph begin.
Florian Pose <fp@igh-essen.com>
parents: 1412
diff changeset
   104
    dc_assign
1405
2b5b6ccc00a0 Updated graph of slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents: 1327
diff changeset
   105
    dc_assign -> enter_safeop [weight=10]
887
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
   106
813
bfc3f1ab52de Fixed typo SAVEOP -> SAFEOP.
Florian Pose <fp@igh-essen.com>
parents: 803
diff changeset
   107
    enter_safeop [shape=point,label=""]
887
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
   108
    enter_safeop -> safeop [weight=10]
614
1e74a0212418 Added DOT graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   109
1428
a737e8885437 Moved fonts to graph begin.
Florian Pose <fp@igh-essen.com>
parents: 1412
diff changeset
   110
    safeop [style="bold"]
a737e8885437 Moved fonts to graph begin.
Florian Pose <fp@igh-essen.com>
parents: 1412
diff changeset
   111
    safeop -> end [label="SAFEOP\nrequested"]
813
bfc3f1ab52de Fixed typo SAVEOP -> SAFEOP.
Florian Pose <fp@igh-essen.com>
parents: 803
diff changeset
   112
    safeop -> op [weight=10]
887
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
   113
1428
a737e8885437 Moved fonts to graph begin.
Florian Pose <fp@igh-essen.com>
parents: 1412
diff changeset
   114
    op [style="bold"]
1406
8686c5b3d14b Clear DC assignment after going to INIT.
Florian Pose <fp@igh-essen.com>
parents: 1405
diff changeset
   115
    op -> end
887
f9a576cb3bb8 Cleaned up graph and added fontname.
Florian Pose <fp@igh-essen.com>
parents: 879
diff changeset
   116
1428
a737e8885437 Moved fonts to graph begin.
Florian Pose <fp@igh-essen.com>
parents: 1412
diff changeset
   117
    end
614
1e74a0212418 Added DOT graph for slave configuration FSM.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
   118
}