Mitsubishi Electronics Mitsubishi Digital Electronics Video Gaming Accessories FX3G ユーザーズマニュアル

ページ / 936
343
FX
3G
/FX
3U
/FX
3UC
 Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
13 High Speed Processing – FNC 50 to FNC 59
13.3 FNC 52 – MTR / Input Matrix
11
FN
C
30
-FN
C
39
R
otati
on and 
Shi
ft
12
FNC4
0-F
NC4
9
D
ata O
per
ati
on
13
FN
C
50-FN
C
59
H
igh S
pe
ed 
P
rocessing
14
FM
C
60-FN
C
69
H
andy 
In
st
ru
ct
ion
15
FNC7
0-F
NC7
9
Ex
ter
nal FX
 I/O
 
D
evice
16
FN
C
80-FN
C
89
Ext
ernal
 FX 
De
vic
e
17
FN
C
100-
FN
C
10
9
Da
ta
 
Transf
er 2
18
FN
C
110-
FN
C
139
Floati
ng Poi
nt
19
FN
C
14
0-F
N
C
149
Da
ta
 
O
per
at
ion 2
20
FN
C
150-
FN
C
159
Posit
ioning 
C
ont
ro
l
13.3
FNC 52 – MTR / Input Matrix
Outline
This instruction reads matrix input as 8-point input 
× "n"-point output (transistor) in the time division method.
1. Instruction format
2. Set data
3. Applicable devices
Explanation of function and operation
1. 16-bit operation (MTR)
An input signal of 8 points 
× "n" columns is controlled in the time division method using 8 inputs 
 and "n"
transistor outputs 
.  Each column is read in turn, and then output to 
.
• For each output, the I/O processing is executed immediately in turn in interrupt at every 20 ms under consideration 
of the input filter response delay of 10 ms.
Operand Type
Description
Data Type
Input device (X) number of matrix signal input
X000, X010, X020 
… final input device number 
(Only "0" is allowed in the least significant digit of device numbers.)
Bit
Head device (Y) number of matrix signal output
Y000, Y010, Y020 
… final output device number 
(Only "0" is allowed in the least significant digit of device numbers.)
Bit
Head bit device (Y, M or S) number of ON output destination
Y000, Y010, Y020 
… final Y number, M000, M010, M020 … final M number or S000,
S010, S020 
… final S number
(Only "0" is allowed in the least significant digit of device numbers.)
Bit
n
Number of columns in matrix input (K2 to K8 or H2 to H8)
16-bit binary
Oper-
and 
Type
Bit Devices
Word Devices
Others
System User
Digit Specification
System User
Special 
Unit
Index
Constant
Real 
Number
Charac-
ter String
Pointer
X
Y
M T C S D….b KnX KnY KnM KnS T C D R U…\G… V Z Modify
K
H
E
"…"
P
3
3
3
3
3
n
3
3
FNC 52
MTR
16-bit Instruction
9 steps MTR
Mnemonic
Operation Condition
Continuous
Operation
Mnemonic
Operation Condition
32-bit Instruction
S
D
1
D
2
S
D
1
D
2
S
D
1
D
2
Command
input
(normally ON)
FNC 52
MTR
n
S
D
1
D
2
Number
of
columns
Input
number
Output
number
ON
output
destination