626
8 APPLICATION INSTRUCTION
8.18 Input Matrix Instruction
• The MTR instruction can only be used once in a program.
• One diode of 0.1 A/50 V is required for each switch.
• Use the transistor output format.
• If write during RUN is executed while the MTR instruction is being executed, the control right is released by the END
processing. The MTR instruction executed first in the next scan will acquire the control right next.
• For the MTR instruction, set the command input to normally Open.
• Inputs available in MTR instruction , use inputs X20 and later under normal conditions.
• When using the inputs X0 to X17,the receiving speed is higher. Because the output transistor recovery time is long and the
input sensitivity is high, however, erroneous input pulses may be counted. Change the input response time of unit
parameter setting to “5 ms” to input at intervals of 10 ms. To prevent erroneous input pulses, connect pull-up resistors (3.3
k
Ω
/0.5 W) to transistor outputs used in MTR instruction. For pull-up resistors, use the power supply shown in the table
below. The figure below shows an example of the FX5U-64MT/ES (sink input/sink output).
• Because 64 input points (8 rows × 8 columns) are received in a cycle of 80 or 160 ms, the ON/OFF duration of each input
signal should be greater than or equal to the value shown below:
Operation error
Power supply used for pull-up resistors transistor output
AC power type CPU module.
Service power supply
Error code
(SD0/SD8067)
Description
3405H
The value specified by (n) is outside the following range.
2 to 8
2820H
The device range specified by (s) exceeds the corresponding device range.
The device range specified by (d1) exceeds the corresponding device range.
The device range specified by (d2) exceeds the corresponding device range.
1811H
The number of times the MTR instruction is simultaneously driven exceeds 1.
3582H
The MTR instruction is used in the interrupt program.
M
(normally Open)
MTR
X20
Y40
M0
K8
COM4 Y20
Y21
Y22
Y23
Y24
Y25
Y26
Y27
0V
X0
X1
X2
X3
X4
X5
X6
X7
Matrix
circuit
3.3k /0.5W
FX5U-64MT/ES
Transistor output
Pull-up resistor
Refer to the
previous page.
24V
S/S
80 ms 80 ms
When inputs X0 to
X17 are used
160 ms
160 ms
When inputs X20 or
later are used
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: ......