900
7 APPLICATION INSTRUCTIONS
7.18 Matrix Input Instruction
7.18 Matrix Input Instruction
Matrix input
MTR
This instruction sequentially reads the input of 16 pointsn columns connected to the specified input number and after.
■Execution condition
■Descriptions, ranges, and data types
*1 Only labels assigned to device (X) can be used.
*2 Only labels assigned to device (Y) can be used.
*3 When specifying setting data by using a label, define an array to secure enough operation area and specify an element of the array
label.
■Applicable devices
*1 Only X can be used.
*2 Only Y can be used.
Ladder ST
ENO:=MTR(EN,s,n,d1,d2);
FBD/LD
Instruction Execution condition
MTR
Operand Description Range Data type Data type (label)
(s) Start device of input Bit ANY_BOOL
*1*3
(d1) Start device of output Bit ANY_BOOL
*2*3
(d2) Start device for storing the matrix input data Bit ANY_BOOL
*3
(n) Number of input columns 2 to 8 16-bit unsigned binary ANY16
EN Execution condition Bit BOOL
ENO Execution result Bit BOOL
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB,
FX, FY
J\ T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
U\G, J\,
U3E\(H)G
Z LT, LST,
LC
LZ K, H E $
(s)
*1
(d1)
*2
(d2)
(n)
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)