K1: Mode group, channel, program operation, reset response
9.9 Program operation mode
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
571
Workpiece count
After the part program end (
M02
/
M30
) has been attained, the activated workpiece counters
($AC_TOTAL_PARTS / $AC_ACTUAL_PARTS / $AC_SPECIAL_PARTS) are incremented by "1" (see Chapter
" Workpiece counter [Page 668] ").
Via the following machine data it can be set that the activated workpiece counter is incremented even in case of
a program restart through the function "jump back to start of program":
MD27880 $MC_PART_COUNTER (activation of workpiece counters)
Programming
The function is called in the main or the part program via the command
GOTOS
.
Example
Note
In order that the setting of bit 8 can become effective, the measurement of the current
program runtime must be active (MD27860 bit 1 = 1).
Bit
Valu
e
Description
In case of a program restart through the function "jump back to start of program", the
workpiece counter:
7
0
$AC_TOTAL_PARTS is not incremented.
1
$AC_TOTAL_PARTS is incremented.
11
0
$AC_ACTUAL_PARTS is not incremented.
1
$AC_ACTUAL_PARTS is incremented.
15
0
$AC_SPECIAL_PARTS is not incremented.
1
$AC_SPECIAL_PARTS is incremented.
Syntax:
GOTOS
Parameters:
none
Application in synchronized actions: not possible
Note
GOTOS
internally initiates a
STOPRE
(pre-processing stop).
Programming
Comment
N10 ...
;
Beginning of the program
...
N90 GOTOS
;
Jump to beginning of the program
...
Содержание SINUMERIK 828D Turning
Страница 34: ...Basic Functions 34 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 146: ...A3 Axis Monitoring Protection Zones 2 6 Data lists Basic Functions 146 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 328: ...F1 Travel to fixed stop 6 5 Data lists Basic Functions 328 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 816: ...K2 Axis Types Coordinate Systems Frames 10 9 Data lists Basic Functions 816 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1198: ...P4 PLC for SINUMERIK 828D 14 6 Function interface Basic Functions 1198 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1752: ...Appendix 20 2 Overview Basic Functions 1752 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1774: ...Glossary Basic Functions 1774 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...