Replace With Qcpu Interrupt Module - Mitsubishi Electric Artisan MELSEC-Q Series Manual

General-purpose programmable controllers, large/small
Table of Contents

Advertisement

7.6 Replace pulse catch module

7.6.2 Replace with QCPU interrupt module

It is necessary to change the existing program to an interrupt program.
● Replacement example
Example of existing configuration
A1S
A1SH
A1S
61PN
CPU
P60
The address depends on the module position
(16 points occupied).
(1) Sample program after replacement
Interrupt point after replacement of pulse catch module
(2) Pulse catch processing procedure
Processing procedure of existing pulse catch module (refresh system)
Pulse catch
external input
signal
Scan execution
O
program
Pulse catch
input signal: Xn
Processing procedure of newly mounted interrupt module
Interrupt module
external input
Scan execution
O
program
(Program to be processed when pulse catch input is turned on)
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
I/O
I/O
I/O
module
module
module
Interrupt enable
The program to be processed when the pulse catch input is
Program to be processed when
pulse catch input is turned on
turned on is executed by turning on the interrupt condition.
ON data is captured by I/O refresh.
END
O
END
O
END
END processing
END processing
END processing
Program to be processed when pulse
catch input signal is turned on
END
O
END
O
END
Interruption Restart
END processing
END processing
END processing
Interrupt program operation
Example of new configuration
Replace
Create an interrupt program with "I0 to I15"
regardless of the module position address
O
O
156
Q61P Q02U
Q160
I/O
I/O
I/O
CPU
module
module
module
(16 points occupied).

Advertisement

Table of Contents
loading

Table of Contents