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