6 - 132 6 - 132
MELSEC-Q/QnA
6 BASIC INSTRUCTIONS
High Performance
QnA Q4AR
Basic
QCPU
PLC CPU
Process CPU
6.8.10 Matrix input (MTR)
Usable Devices
Internal Devices
(System, User)
MELSECNET/10(H)
Direct J
\
Set
Data
Bit Word
File
Register
Bit Word
Special
Function
Module
U
\G
Index
Register
Zn
Constant Other
S
D1
D2
n
[Instruction Symbol] [Execution Condition]
Command
MTR
n
S
MTR
D1
D2
[Set Data]
Set Data Meaning Data Type
S
• Head input device
D1
• Head output device
D2
• Head number of device that will store matrix input data
Bit
n
• Number of input rows BIN 16 bits
[Functions]
(1) Successively reads the input from 16 points starting from the input number designated by
S
,
multiplied by n-rows, then stores the data fetched in this operation from the device designated
by
D2
onward.
(2) One row (16 points) can be fetched in 1 scan.
(3) Fetching from the first to the nth row is progressively repeated.
(4) The first through the 16th points store the first row of data and the next 16 points store the
second row of data at the devices following the device designated by
D2
.
For this reason, the space of 16xn-points from the device designated by
D2
are occupied by
the MTR instruction.
(5)
D1
is the output needed to select the row which will be fetched, and the system automatically
turns it ON and OFF.
It uses the n-points from the device designated by
D1
.
(6) Only device numbers divisible by 16 can be designated for
S
,
D1
and
D2
.
(7) The value for n2 is not between 2 to 8. (Error No. 4100)
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com