Read And Write Nc Machine And Nc Setting Data - Siemens SINUMERIK 840D sl Programming Manual

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

Advertisement

10.3.8

Read and write NC machine and NC setting data

Function
It is also possible to read and write NC machine / setting data of synchronized actions. When
reading and writing machine data array elements, an index can be left out during
programming. If this happens in the parts program, all of the array's elements are described
with the value when reading the first array element and when writing.
In synchronized actions, only the first element is read or written in such cases.
Definition
MD, SD with
$: Read the value at the interpretation time of the synchronized actions
$$: Read the value in the main run
Read MD and SD values at the preprocessing time
They are addressed from within the synchronized action using the $ characters and
evaluated by the preprocessing time.
ID=2 WHENEVER $AA_IM[z]<$SA_OSCILL_REVERSE_POS2[Z]-6 DO $AA_OVR[X]=0
;Here, reversal range 2, assumed to remain static during operation, is addressed for
oscillation.
Read MD and SD values at the main run time
They are addressed from within the synchronized action using the $ characters and
evaluated by the main run time.
ID=1 WHENEVER $AA_IM[z]<$$SA_OSCILL_REVERSE_POS2[Z]-6 DO $AA_OVR[X]=0
;It is assumed here that the reverse position can be modified by a command during
the machining
Write MD and SD at the main run time
The currently set access authorization level must allow write access. The active states are
listed for all MD and SD in References: /LIS/, Lists (Book 1).
The MD and SD to be written must be addressed preceded by $$.
Example
ID=1 WHEN $AA_IW[X]>10 DO $$SN_SW_CAM_PLUS_POS_TAB_1[0]=20
; Alteration of switching positions of software cams. Note: The switching positions
must be changed two to three interpolation cycles before they reach their position.
Job planning
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
Motion synchronous actions
10.3 Main run variables for synchronized actions
$$SN_SW_CAM_MINUS_POS_TAB_1[0]=30
10-17

Advertisement

Table of Contents
loading

Table of Contents