348
FX3S/FX3G/FX3GC/FX3U/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
13 High-Speed Processing – FNC 50 to FNC 59
13.3 FNC 52 – MTR / Input Matrix
Program example
n=Three outputs (Y020, Y021 and Y022) are set to ON in turn repeatedly.
Every time an output is set to ON, eight inputs in the 1st, 2nd and 3rd columns are received in turn repeatedly, and
stored to M30 to M37, M40 to M47 and M50 to M57 respectively.
In this program example, the FX
3U series main unit (sink input/sink output) is used.
For wiring details, refer to the Hardware Edition of each PLC.
X021
M 51
X022
M 52
X023
M 53
X024
M 54
X025
M 55
X026
M 56
X027
M 57
M 50M 40
COM
Y020Y021Y022Y023Y024Y025Y026Y027
S/S X020X021X022X023X024X025X026X027
X021
X022
X023X024 X025 X026X027
M 41
M 42
M 43
M 44
M 45
M 46
M 47
M 31
M 32
M 33
M 34
M 35
M 36
M 37
M 30
Diode
0.1A(50V)
2nd
column
1st
column
PLC
3rd
column
Diode
0.1A(50V)
Diode
0.1A(50V)
M0
Y020
[1] [4]
Y021
[2] [5]
[3] [6]
Y022
20ms
M8029 (execution
complete)
1st column input is received.
2nd column input is received.
3rd column input is received.
M0
FNC 52
MTR
X020 Y020 M30 K3
S D
1
D
2
n
Number
of
columns
Input
number
Output
number
ON
output
destination
Sink input
Sink output
0V
24V