4 - 104 4 - 104
4 SFC PROGRAM CONFIGURATION
MELSEC-Q
6: Comments to be read are stored as follows.
1st
comment
information
D1
+0
+((N-1) 20+2)
D1
+1
D1
+2
D1
+3
D1
+4
D1
+19
D1
+20
D1
+21
D1
+((N-1) 20+3)
D1
+((N-1) 20+4)
D1
+((N-1) 20+19)
D1
+((N-1) 20+20)
D1
+((N-1) 20+21)
D1
b15 b0to
b15 b0b8 b7
b15 b0b8 b7
End of comment
Step No.
Comment
.
.
.
Step No.
.
.
.
Empty
Comment
Empty
End of comment
Nth
comment
information
Order of comment to be stored
Order of comment to be stored
to to
to to
2nd character ASCII code
4th character ASCII code
32nd character ASCII code
1st character ASCII code
3rd character ASCII code
31st character ASCII code
2nd character ASCII code
4th character ASCII code
32nd character ASCII code
1st character ASCII code
3rd character ASCII code
31st character ASCII code
Total number of transition conditions
Number of transition conditions
that have read comments (N)
Transition condition No.
Transition condition No.
Area name Data to be stored
Total number of transition
conditions
• 0000
H is stored at S(P).SFCTCOMR instruction, and the total number
of transition conditions associated with the steps activated when
reading comments completed are stored. (Maximum of up to 256
detected)
Number of transition
conditions that have read
comments (N)
• 0000H is stored at S(P).SFCTCOMR instruction, and the total number
of transition condition associated with the active steps that have
actually when reading comments completed are stored.
Step No. • Transition condition step No. that has read comment is stored.
Transition condition No. • Transition condition No. that has read comment is stored.
Comment
• Comments that have been read are stored.
• Comment area is fixed by a maximum of 32 characters.
• In case the word length to be set for 1 comment
7
at the comment
range setting is set by 32 or less, 0000
H is stored to the area after the
number of characters for 1 comment.
End of comment • 0000H is stored
Empty • Not used area (0000H is stored)
7: The number of characters for 1 comment at the comment range setting is set with GX
Developer.
For further details, refer to the manual of GX Developer.
With S(P) .SFCTCOMR instruction, the points calculated by the following formula are occupied
from the device No. specified at
D1
.
(Points to be used for storing a comment) = 2 + 20
(number of comment to read (n2))
For
D1
, make sure to set device No. that can store the above points successively.