Mitsubishi Electronics QCPU Welding System User Manual


  Open as PDF
of 1204
 
6-166
MTR
6.8.10 Matrix input (MTR)
MTR
Function
(1) It reads the input from 16 points n-rows starting from the input number designated by ,
then stores fetched input data from the device designated by onward.
(2) One row (16 points) can be fetched in 1 scan.
(3) Fetching from the first to the n th row is 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 .
For this reason, the space of 16 n points from the device designated by are occupied
by the MTR instruction.
(5) 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 .
(6) Only device numbers divisible by 16 can be designated for , and .
(7) For n, a value in the range from 2 to 8 can be assigned.
(8) No processing is performed in the following cases.
The device number designated by , , or is not divisible by 16.
The device designated by is outside the actual input range.
The device designated by is outside the actual output range.
The space 16 n points following the device designated by exceeds the relevant
device range.
The value for n is not between 2 and 8.
: Head input device (bits)
: Head output device (bits)
: Head number of the devices where matrix input data will be stored (bits)
n : Number of input rows (BIN 16 bit)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
K, H
Other
Bit Word Bit Word
(Only X)
–– ––
(Only Y)
–– ––
–– ––
n ––
Process
High
performance
Universal
Basic
Redundant
Command
MTR
n
SMTR
D1
D2
S
D1
D2
S
D1
D2
S
D2
D2
D2
D1
D1
S
D1 D2
S
D1 D2
S
D1
D2