Siemens SINUMERIK 840D sl Programming Manual page 133

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

Advertisement

Example: procedure for multi-channel controls
CHANDATA (channel number) for multiple channels is permitted only in the
N_INITIAL_INI file.
N_INITIAL_INI is the installation file with which all data of the control is initialized.
%_N_INITIAL_INI
CHANDATA(1)
;Channel 1 machine axis assignment
$MC_AXCONF_MACHAX_USED[0]=1
$MC_AXCONF_MACHAX_USED[1]=2
$MC_AXCONF_MACHAX_USED[2]=3
CHANDATA(2)
;Machine axis assignment channel 2
$MC_AXCONF_MACHAX_USED[0]=4
$MC_AXCONF_MACHAX_USED[1]=5
CHANDATA(1)
;Axial machine data
;Exact stop window coarse:
$MA_STOP_LIMIT_COARSE[AX1]=0.2 ;Axis 1
$MA_STOP_LIMIT_COARSE[AX2]=0.2 ;Axis 2
;Exact stop window fine:
$MA_STOP_LIMIT_FINE[AX1]=0.01 ;axis 1
$MA_STOP_LIMIT_FINE[AX1]=0.01 ;axis 2
Caution
CHANDATA statement
In the parts program, the CHANDATA statement may only be used for the channel on which
the NC program is running, i.e. the statement can be used to protect NC programs from
being executed accidentally on a different channel.
Program processing is aborted if an error occurs.
Note
INI files in job lists do not contain any CHANDATA statements.
Saving the initialization programs
The files in the working memory can be saved on an external PC and read in again from
there.
• The files are saved with COMPLETE.
• INITIAL is used to create an INI file over all areas: _N_INITIAL_INI.
Job planning
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
File and Program Management
3.2 Working memory
3-7

Advertisement

Table of Contents
loading

Table of Contents