Control Program Stop Function From The Plc Cpu - Mitsubishi Electric Q172CPU Programming Manual

Melsecq series motion controller sv43
Hide thumbs Also See for Q172CPU:
Table of Contents

Advertisement

8 AUXILIARY AND APPLIED FUNCTIONS

8.13 Control Program Stop Function from The PLC CPU

[Operation Timing]
The No. of control program during execution is specified to end a program from the
PLC CPU. (This function is equivalent to a Motion program (CLEAR) for positioning
control.)
(1) The control program set as the CLEAR request control program No. setting
register (D707) is ended. The values except for "0" is set in D707, the CLEAR
processing is executed.
(2) When an equivalent for CLEAR instruction is executed toward the all control
programs during execution, "65535" is stored in the CLEAR request control
program No. setting register (D707).
(3) When the control program set as the CLEAR request control program No. setting
register (D707) is cleared normally, "1" is stored in the CLEAR request status
storage register (D1445).
(4) When an error will occur by clearing the control program set as the CLEAR
request control program No. setting register (D707), the following error codes are
stored.
(a) A minor error "the program number ended by CLEAR is outside the range of 1
to 1024". (Error code: 619)
(b) A minor error "the program number ended by CLEAR is nor registered. Or,
the axis designation program is cleared" (Error code: 620).
(5) When "0" is stored in the CLEAR request control program No. setting register
(D707), "1" is also stored in the CLEAR request status storage register (D1445).
Operation timing for the CLEAR request status storage register by control program
stop function from the PLC CPU is shown in Fig. 8.23.
Clear request control program
No. setting register (D707)
Clear request status storage
register (D1445)
Fig. 8.23 Operation timing for the CLEAR request status storage register
0
100
0
1
8 - 87
0
2000
*
0
619
* : Error code

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q173cpuQ172cpunQ173cpun

Table of Contents