Subset Processing - Mitsubishi MELSEC QCPU Programming Manual

Programmable logic controller
Table of Contents

Advertisement

3 CONFIGURATION OF INSTRUCTIONS

3.5 Subset Processing

Subset processing is used to place limits on bit devices used by basic instructions and application
instructions in order to increase processing speed.
However, the instruction symbol does not change.
To shorten scans, run instructions under the conditions indicated below.
(1) Conditions which each device must meet for subset processing
(a) When using word data
Bit device
Word device
Constants
(b) When using double word data
Bit device
Word device
Constants
(2) Instructions for which subset processing can be used
Types of Instructions
Comparison instructions
Basic arithmetic operations
(addition, subtraction,
multiplication, and division)
Data conversion instructions
Data transfer instruction
Program branch instruction
Logic operations
Rotation instruction
Shift instructions
Data processing instructions
Structured program instructions
REMARK
1)
: It is only QCPU that can use three devices to conduct subset processing of the logic
operation instructions WAND, DAND, WOR, DOR, WXOR, DXOR, WXNR, or DXNR.
3 - 15
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Device
• Designates a bit device number in a factor of 16
• Only K4 can be designated for digit designation
• Does not conduct index modification
• Internal device (File register ZR is not included)
• No limitations
Device
• Designates a bit device number in a factor of 32
• Only K8 can be designated for digit designation
• Does not conduct index modification
• Internal device (File register ZR is not included)
• No limitations
• =, < >, <, <=, >, >=, D=, D< >, D<, D<=, D>, D>=
• +, -,
• B+, B-, B , B/
• BCD, BIN, DBCD, DBIN
• MOV, DMOV, CML, DCML, XCH, DXCH
• FMOV, BMOV, EMOV (with QCPU only)
• CJ, SCJ, JMP
• WAND, DAND, WOR, DOR, WXOR, DXOR, WXNR, DXNR
• RCL, DRCL, RCR, DRCR, ROL, DROL, ROR, DROR
• SFL, DSFL, SFR, DSFR
• SUM, SEG
• FOR, CALL
WAND
D
S
Subset processing possible
with Q/QnACPU
Condition
Condition
Instruction Symbols
, /, INC, DEC, D+, D-, D , D/, DINC, DDEC
WAND
S1
S2
Subset processing possible only
with QCPU
MELSEC-Q/QnA
D
3 - 15

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qnacpuMelsec q modeMelsec q series

Table of Contents