2 - 30 2 - 30
MELSEC-Q/QnA
2 INSTRUCTION TABLES
Table 2.22 Data Processing Instructions (Continued)
Category
Instruction
Symbols
Symbol Processing Details
Execution
Condition
Number of
Basic Steps
Subset
See for
Description
SEG
SEG SD
7-segment
decode
SEGP
SEGP SD
b3 to b0
(S)
(D)
7SEG
3 7-60
DIS
DIS nSD
DISP
DISP n
S
D
• Separates 16-bit data designated by (S)
into 4-bit units, and stores at the lower 4
bits of n points from (D). (n
4)
47-62
UNI
UNI nSD
UNIP
UNIP nSD
• Links the lower 4 bits of n points from the
device designated by (S) and stores at
the device designated by (D). (n
4)
47-64
NDIS
NDIS S1 S2D
NDISP
NDISP S1 S2D
• Separates the data at the devices below
that designated by (S1) into bits
designated below (S2) and stores in
sequence from the device designated by
(D).
NUNI NUNI S1 S2D
NUNIP
NUNIP S1 S2D
• Links the data at the devices below that
designated by (S1) in the bits designated
below (S2) and stores in sequence from
the device designated by (D).
47-66
WTOB
WTOB nSD
WTOBP
WTOBP nSD
• Breaks n-points of 16-bit data from the
device designated by (S) into 8-bit units,
and stores in sequence at the device
designated by (D).
BTOW
BTOW nSD
Separating
and linking
BTOWP
BTOWP n
S
D
• Links the lower 8 bits of 16-bit data of n-
points from the device designated by (S)
into 16-bit units, and stores in sequence
at the device designated by (D).
47-71
MAX
MAX nSD
MAXP
MAXP nSD
• Searches the data of n-points from the
device designated by (S) in 16-bit units,
and stores the maximum value at the
device designated by (D).
7-75
MIN
MIN nSD
MINP
MINP nSD
• Searches the data of n-points from the
device designated by (S) in 16-bit units,
and stores the minimum value at the
device designated by (D).
4
7-77
DMAX
DMAX nSD
DMAXP
DMAXP nSD
• Searches the data of 2
n-points from
the device designated by (S) in 32-bit
units, and stores the maximum value at
the device designated by (D).
7-75
DMIN
DMIN nSD
Search
DMINP
DMINP nSD
• Searches the data of 2
n-points from
the device designated by (S) in 32-bit
units, and stores the minimum value at
the device designated by (D).
4
7-77
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com