Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 1425

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Processing details
• These instructions batch-read (in units of the specified number of words starting from the specified step) the status (active
or inactive) of steps in the specified block.
• When a block is not specified, the status (active or inactive) of the following block is read.
• Sequence program: Block 0
• SFC program (within the action): Block where the instruction is executed (current block)
• The read data are stored in the device specified by (d).
b15
(s)
1
0
1
1
0
1
(s)+1
1
0
0
1
0
0
(s)+(n)-2
1
0
1
0
0
1
(s)+(n)-1
0
0
0
1
0
1
b15
(d)
1
0
1
1
0
1
(d)+1
1
0
0
1
0
0
(d)+(n)-2
1
0
1
0
0
1
(d)+(n)-1
0
0
0
1
0
1
• When there is a missing step No., 0 is stored in the corresponding bit.
Ex.
When the step No.5 and No.8 are missing in the specified block (The status of each step is stored in other bits.)
b15
∙∙∙
(s)
S15
S14
S13
S12 S11 S10 S9
• If no block is specified and the read target range exceeds the maximum step No. in the block, undefined values are stored.
Ex.
When the last step No. in the block is 26 and the status of the steps (two words from step No.0) is read to D0 and D1 (The
status of each step is stored in other bits.)
BMOV
K4S0
b15
D0
D1
?
?
?
?
?
• If the read target range exceeds the number of steps in the specified block, or if the non-existent step is specified as a start
step, undefined values are stored.
Ex.
When the last step No. in the block is 26 and the status of the steps (two words from step No.0) is read to D0 and D1 (The
status of each step is stored in other bits.)
BMOV
BL0\K4S0
b15
D0
D1
?
?
?
?
?
• If the instruction is executed while no SFC program exists, or if the block No. that does not exist or does not include the
read target data is specified, 0 is read and stored in all bits.
∙∙∙
0
0
0
1
1
1
0
0
0
1
0
1
1
0
0
0
·
0
1
0
1
0
0
0
0
0
0
1
1
1
1
1
1
(1)
∙∙∙
0
0
0
1
1
1
0
0
0
1
0
1
1
0
0
0
·
0
1
0
1
0
0
0
0
0
0
1
1
1
1
1
1
b8
∙∙∙
b5
∙∙∙
0
0
S7 S6
S4
S3
S2
S1 S0
D0
K2
∙∙∙
D0
K2
∙∙∙
b0
1
0
1
1
(n)
0
1
0
1
b0
1
0
1
1
(n)
0
1
0
1
b0
b0
S0∙∙∙S15
S16∙∙∙S31
b0
S0∙∙∙S15
S16∙∙∙S31
13 SFC PROGRAM INSTRUCTIONS
13.1 SFC Control Instructions
13
1423

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents