Context Variable ($P_Teccycle) - Siemens SINUMERIK 840D sl Programming Manual

Job planning
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Motion synchronous actions
10.5 Technology cycles
10.5.1

Context variable ($P_TECCYCLE)

Function
The $P_TECCYCLE variables can be used to divide programs into synchronized action
programs and preprocessing programs. It is then possible to process blocks or program
sequences that are written correctly (in terms of syntax) or alternatively process them as the
part program cycle.
Interpreting context variable
The $P_TECCYCLE system variable allows context-specific interpretation of program
sections to be controlled in technology cycles:
IF $P_TECCYCLE==TRUE
...
ELSE
...
ENDIF
Note
A block with incorrect or unauthorized program syntax as well as unknown value
assignments also result in an alarm message in the part program cycle.
Example
Program sequence with interrogation of $P_TECCYCLE in the technology cycle:
Program code
PROC CYCLE
N10 DEF REAL VALUE1
N15 G01 X100 F1000
N20 IF $P_TECCYCLE==TRUE
...
N30 ELSE
...
N40 ENDIF
718
; Program sequence for technology cycle in synchronized
action
; Program sequence for part program cycle
Comments
; Is read over in the technology cycle.
; Program sequence for technology cycle (without variable VALUE1)
; Program sequence for part program cycle (variable VALUE1 is
available)
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
Job Planning

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents