Siemens SINUMERIK 828D Programming Manual page 18

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Flexible NC programming
1.1 Variables
General conditions
Exceptions to the rules of the prefix system
The following system variables deviate from the rules of the prefix system described above:
● $TC_...: Here, the second letter C does not refer to channel-specific system variables but
● $P_ ...: Channel-specific system variables
Use of machine and setting data in synchronized actions
When machine and setting data are used in synchronized actions, the prefix can be used to
define whether the machine or setting data will be read synchronous to the preprocessing
run or the main run.
If the data remains unchanged during machining, it can be read synchronous to the pre-
processing run. For this purpose, the machine or setting data prefix is written with a $ sign:
Program code
ID=1 WHENEVER G710 $AA_IM[z] < $SA_OSCILL_REVERSE_POS2[Z]–6 DO $AA_OVR[X]=0
If the data changes during machining, it must be read/written synchronous to the main run.
For this purpose, the machine or setting data prefix is written with two $ signs:
Program code
ID=1 WHENEVER $AA_IM[z] < $$SA_OSCILL_REVERSE_POS2[Z]–6 DO $AA_OVR[X]=0
Note
Writing machine data
When writing an item of machine or setting data, it is important to ensure that the access
level which is active when the part program/cycle is executed permits write access and that
the data is set to take "IMMEDIATE" effect.
References
A list of the properties of all system variables appears in:
/PGA1/ Parameter Manual, System Variables
See also
General information about variables (Page 15)
18
to toolholder-specific system variables (TC= tool carrier).
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
Job planning

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents