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