2 - 23 2 - 23
MELSEC-Q/QnA
2 INSTRUCTION TABLES
2.4.5 Program branch instruction
Table 2.14 Program Branch Instruction
Category
Instruction
Symbols
Symbol Processing Details
Execution
Condition
Number of
Basic Steps
Subset
See for
Description
CJ
CJ Pn
• Jumps to Pn when input conditions are
met
2 6-96
SCJ SCJ Pn
• Jumps to Pn from the scan after the
meeting of input condition
2 6-96
JMP
JMP Pn
• Jumps unconditionally to Pn
2
6-96
Jump
GOEND
GOEND
• Jumps to END instruction when input
condition is met
16-99
2.4.6 Program execution control instructions
Table 2.15 Program Execution Control Instructions
Category
Instruction
Symbols
Symbol Processing Details
Execution
Condition
Number of
Basic Steps
Subset
See for
Description
Disable
interrupts
DI
DI
• Prohibits the running of an interrupt
program
1 6-100
Enable
interrupts
EI
EI
• Resets interrupt program execution
prohibition
1 6-100
Interrupt
disable
/enable
setting
IMASK
IMASK
S
• Prohibits or permits interrupts for each
interrupt program
2 6-100
Return IRET
IRET
• Returns to sequence program following
an interrupt program
1 6-109
2.4.7 I/O refresh instructions
Table 2.16 I/O Refresh Instructions
Category
Instruction
Symbols
Symbol Processing Details
Execution
Condition
Number of
Basic Steps
Subset
See for
Description
RFS
RFS nD
I/O
Refresh
RFSP
RFSP nD
• Refreshes the relevant I/O area during
scan
3 6-111
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com