Mitsubishi Electric Q172CPU Programming Manual page 209

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

Advertisement

5 POSITIONING DEDICATED SIGNALS
(2) Execute sequence No. (main) storage register (D802+20n)
This register stores the N No. (sequence No.) of the executing main sequence.
This number changes to "0" using the Motion dedicated PLC instruction
(S(P).SVST) at the Motion program start.
The changes of the execute Motion program No., execute sequence No. and
execute block No. are shown below.
Program
O0001 ;
G00 X100. ;
X200. ;
N100
Y100. ;
Z100. ;
X300. ;
N200
G01 X350. F100. ;
Y200. Z200. ;
M10 ;
M02 ;
%
(3) Execute block No. (main) storage register (D803+20n)
This register stores the block No. during operation.
This number changes to "0" using the Motion dedicated instruction (S(P).SVST)
at the Motion program start.
When the sequence No. (N****) described in the Motion program is executed,
this number changes to "0", and it is incremented every time a single block is
executed. (Be careful when executing the IF-THEN-ELSE-END or WHILE-DO-
END instruction. Refer to Sections 7.16.2 and 7.16.3 for details.)
(4) Execute program No. (sub) storage register (D804+20n)
(a) This register stores the O No. of the subprogram started by "M98"
(subprogram call).
(b) When a subprogram is called from a subprogram, this number changes to
the O No. of the subprogram called.
When the subprogram is ended by "M99", this number changes to the O
No. of the call source subprogram.
(c) This number changes to "0" using the Motion dedicated PLC instruction
(S(P).SVST) at the Motion program start.
Execute Motion
Execute sequence
program No.
1
1
1
1
1
1
1
1
1
1
1
5 - 68
................ Monitor device
Execute block No.
No.
0
0
0
1
0
2
100
0
100
1
100
2
200
0
200
1
200
2
200
3
200
3
.................. Monitor device
.................. Monitor device

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q173cpuQ172cpunQ173cpun

Table of Contents