Siemens SINUMERIK 840D sl Programming Manual page 391

Nc programming
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

$ + 1. Letter
$R
Whether machine and setting data is treated as preprocessing or main run variables depends on
1)
whether they are written with one or two $ characters. The notation is freely selectable for the specific
application.
When an R-parameter is used in the part program/cycle as a preprocessing variable, the prefix is
2)
omitted, e.g. R10. When it is used in a synchronized action as a main run variable, a $ sign is written as
a prefix, e.g. $R10.
2nd letter
N
C
A
Supplementary conditions
Exceptions in the prefix system
The following system of variables deviate from the prefix system specified above:
● $TC_...: Here, the 2nd letter C does not refer to channel-specific system variables but to
toolholder-specific system variables (TC= tool carrier).
● $P_ ...: Channel-specific system variables
Use of machine and setting data in synchronized actions
When machine and setting data is used in synchronized actions, the prefix can be used to
define whether the machine or setting data will be read/written synchronous to the
preprocessing run or the main run.
If the data remains unchanged during machining, it can be read synchronous to the
preprocessing run. For this purpose, the machine or setting data prefix is written with a $ sign:
ID=1 WHENEVER $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:
ID=1 WHENEVER $AA_IM[z] < $$SA_OSCILL_REVERSE_POS2[Z]–6 DO $AA_OVR[X]=0
Note
Writing machine and setting 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.
See also
Variables (Page 389)
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
Meaning: Data type
R-parameters (arithmetic parameters)
Meaning: Visibility
NC global variable (NC)
Channel-specific variable (Channel)
Axis-specific variable (Axis)
Work preparation
3.1 Flexible NC programming
2)
391

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents