4 - 105 4 - 105
4 SFC PROGRAM CONFIGURATION
MELSEC-Q
[Functions]
(1) This function reads comments of the transition condition
1
associated with steps activated in
the SFC block specified at n1 with the number of comments specified at n2, and stores those
to the device number of after specified at
D1
.
: Indicates active steps.
: Indicates the total number of transition condition following to active steps
(Maximum of 256).
: Indicates the number of transition condition that have read comments.
: Indicates step No.
: Indicates transition condition No.
0000H
0000
H
2
4
2
3
2
2
D0
D1
D2
D3
D4
D20
D19
D21
D22
D23
D24
D40
D41
D39
D1
oY110
aX100
oY111
aX101
oY112
aX102
oY113
aX104
oY114
aX103
oY115
SP.SFCTCOMR K1 D0 K2 K2 M0
[SFC program (block1)]
.
.
.
Process ready complete
Read a comment
Positioning for material A
Positioning complete for material A
Processing for material A
Processing complete for all materials
Positioning for material B
Positioning complete for material B
Processing for material B
Read
a comment
2
Device specified at
1st comment
information
2nd comment
information
Positioning for material A
Processing for material B
Empty
Empty
.
.
.
3
4
5
2
5
4
4
3
5
0
0
1
1
2
2
3
4
1: Transition condition associated with active steps is shown below.
• Serial transition is a transition condition for right under a step.
• Selection branching is a transition condition for all branches.
Comment of transition condition is read from left to right in the SFC diagram.
• Parallel coupling is a transition condition for after parallel coupling.
Comments are read only when steps with parallel-coupled are all activated
Step No. described at the most right edge is stored for transit condition to be read.
Serial transition Selection branching Parallel coupling
: Indicates a transition condition associated with steps.