8 APPLICATION INSTRUCTION
8.18 Input Matrix Instruction
625
8
• For wiring details, refer to the hardware manual of each CPU module.
• In this program example, n=Three outputs (Y20, Y21 and Y22) 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. For wiring details, refer to the hardware manual of each CPU module.
• The table below shows the related devices.
Precautions
• Eight devices are occupied from the device specified in (s).
• When specifying the output in( d2) , make sure that "n" output numbers specified in (d1) does not overlap the output
specified in (d2).
Device
Name
Description
SM8029
Instruction execution complete
ON: Turns ON after the matrix in the nth (last) column is input.
OFF: Remains OFF while the matrix in the 1st to nth (last) columns is being input.
Command
contact
SM8029 (execution
complete)
[1]
[4]
1st column input is received.
[2]
2nd column input is received.
20ms
[3]
[6]
[5]
COM
S/S
Input (X) [sink]
Output (Y) [sink]
"n" points
are
occupied.
Diode
0.1A(50V)
2nd
column
1st
column
CPU module
0V
24V
(d1)+1
(S)+1
(S)
(d2)+17
(d2)+16
(d2)+15
(d2)+14
(d2)+13
(d2)+12
(d2)+11
(d2)
(d2)+7
(d2)+6
(d2)+5
(d2)+4
(d2)+3
(d2)+2
(d2)+1
(d2)+10
(d1)
(S)+2 (S)+3 (S)+4 (S)+5
(S)+7
(S)+6
(d1)+6 (d1)+7
(d1)+5
(d1)+4
(d1)+3
(d1)+2
(d1)+1
(d1)
M0
MTR
X20
Y20
M30
K3
(n)
(d2)
(d1)
(s)
Number
of
columns
Input
number
Output
number
ON
output
destination
X21
M 51
X22
M 52
X23
M 53
X24
M 54
X25
M 55
X26
M 56
X27
M 57
M 50
M 40
COM
Y20 Y21 Y22 Y23 Y24 Y25 Y26 Y27
S/S X20 X21 X22 X23 X24 X25 X26 X27
X21 X22 X23 X24 X25 X26 X27
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
CPU module
3rd
column
Diode
0.1A(50V)
Diode
0.1A(50V)
M0
Y20
[1]
[4]
Y21
[2]
[5]
[3]
[6]
Y22
20ms
SM8029 (execution
complete)
1st column input is received.
2nd column input is received.
3rd column input is received.
Sink input
Sink output
0V
24V
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......