Motion synchronous actions
10.5 Technology cycles
Job planning
10-70 Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
10.5.1 Context variable ($P_TECCYCLE)
Function
The $P_TECCYCLE variable 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
parts program cycle.
Interpreting context variable
The $P_TECCYCLE system variable allows context-specific interpretation of program
sections to be controlled in technology cycles if
IF $P_TECCYCLE==TRUE Program sequence for technology cycle in
synchronized action
otherwise
ELSE Program sequence for parts program cycle
Note
A block with incorrect or unauthorized program syntax as well as unknown value
assignments also result in an alarm message in the parts program cycle.
Example of program sequence with query of $P_TECCYCLE in the technology cycle
PROC CYCLE
N10 DEF REAL "value1" ;is read over in the technology cycle
N15 G01 X100 F1000
N20 IF $P_TECCYCLE==TRUE
N25 "Program sequence for technology cycle (without variable value1)"
N30 ELSE
N35 "Program sequence for parts program cycle (variable value1 is present)"
ENDIF