Download Print this page

Input Matrix Instruction - Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

8.18

Input Matrix Instruction

Input matrix
MTR
Reads matrix input as 8-point input × "n"-point output (transistor) in the time division method.
Ladder diagram
(s)
FBD/LD
EN
ENO
s
d1
n
d2
Setting data
■Descriptions, ranges, and data types
Operand
Description
(s)
Input device (X) number of matrix signal input
X0, X10, X20 ... final input device number (Only "0" is allowed in
the least significant digit of device numbers.)
(d1)
Head device (Y) number of matrix signal output
Y0, Y10, Y20 ... final output device number (Only "0" is allowed
in the least significant digit of device numbers.))
(d2)
Head bit device (Y, M or S) number of ON output destination
Y0, Y10, Y20 ... final Y number, M0, M10, M20 ... final M number
or S0,S10, S20 ... final S number (Only "0" is allowed in the least
significant digit of device numbers.)
(n)
Number of columns in matrix input
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L, SM,
F, B, SB, S
*1
(s)
*2
(d1)
*3
(d2)
(n)
*1 Only X can be used.
*2 Only Y can be used.
*3 X cannot be used.
Processing details
• An input signal of 8 points x "n" columns is controlled in the time division method using 8 inputs specified in (s) and
transistor outputs specified in (d1). Each column is read in turn, and then output to devices specified in (d2).
• For each output, the I/O processing is executed immediately in turn in interrupt at every 10 ms or 20 ms.
8 APPLICATION INSTRUCTION
624
8.18 Input Matrix Instruction
(d1)
(d2)
(n)
Word
T, ST, C, D, W,
SD, SW, R
Structured text
ENO:=MTR(EN, s, n, d1, d2);
Range
2 to 8
Double word Indirect
U\G
Z
LC
Data type
Bit
Bit
Bit
16-bit unsigned binary
Bit
Bit
Constant
specification
LZ
K, H
Data type (label)
ANYBIT_ARRAY
(Number of elements: 8)
ANY_BOOL
ANY_BOOL
ANY16_U
BOOL
BOOL
Others
E
$

Hide quick links:

Advertisement

loading