Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
6-167
MTR
1
2
3
4
4
6
7
8
6.8 Other Convenient Instructions
6.8.10 Matrix input (MTR)
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and
an error code is stored into SD0.
The device other than the input (X) was specified at . (Error code: 4101)
The device other than the output (Y) was specified at . (Error code: 4101)
Program Example
(1) The following program fetches, when X0 is turned ON, the 16 points 3 matrix starting from
X10, and stores the matrix into the area starting from M0.
[Ladder Mode] [List Mode]
[Operation]
Caution
(1) Note that the MTR instruction directly operates on actual input and output.
The output that had been turned ON by the MTR instruction does not turn OFF when the
MTR command turns OFF.
Turn OFF the specified output in the sequence program.
(2) The MTR instruction execution interval must be longer than the total of response time of
input and output modules.
If the set interval is shorter than the value indicated above, an input cannot be read correctly.
If the scan time in a sequence program is short, select the constant scan and set the scan
time longer than the total of response time.
S
D1
Step
Instruction
Device
M32
X012
M33
X011
M34
M35
X013
M36
X014
M37
X015
M38
X016
M39
X017
M40
X018
M41
X019
M42
X01A
M43
X01B
M44
X01C
M45
X01D
M46
X01E
M47
X01F
M16
X012
M17
X011
M18
M19
X013
M20
X014
M21
X015
M22
X016
M23
X017
M24
X018
M25
X019
M26
X01A
M27
X01B
M28
X01C
M29
X01D
M30
X01E
M31
X01F
M0
X012
M1
X011
M2
M3
X013
M4
X014
M5
X015
M6
X016
M7
X017
M8
X018
M9
X019
M10
X01A
M11
X01B
M12
X01C
M13
X01D
M14
X01E
M15
X01FX010
3rd row
2nd row
1st row
Y22Y21Y20
X010
X010
D1
D1