Siemens Sinumerik 840D sl Programming Manual page 225

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

Advertisement

Create initialization program at an external PC
The data area identifier and the data type identifier can be used to determine the areas, which
are to be treated as a unit when the data are saved:
_N_AX5_TEA_INI
_N_CH2_UFR_INI
_N_COMPLETE_TEA_INI
When the control is started up initially, a set of data is automatically loaded to ensure proper
operation of the control.
Procedure for multi-channel controls (CHANDATA)
CHANDATA(<channel number>) for several channels is only permissible in the file
_N_INITIAL_INI. This is the commissioning file with which all data of the control is initialized.
Program code
%_N_INITIAL_INI
CHANDATA(1)
$MC_AXCONF_MACHAX_USED[0]=1
$MC_AXCONF_MACHAX_USED[1]=2
$MC_AXCONF_MACHAX_USED[2]=3
CHANDATA(2)
$MC_AXCONF_MACHAX_USED[0]=4
$MC_AXCONF_MACHAX_USED[1]=5
CHANDATA(1)
$MA_STOP_LIMIT_COARSE[AX1]=0.2
$MA_STOP_LIMIT_COARSE[AX2]=0.2
$MA_STOP_LIMIT_FINE[AX1]=0.01
$MA_STOP_LIMIT_FINE[AX1]=0.01
CHANDATA statement
In the part program, the CHANDATA instruction may only be set for that channel in which the
NC program is executed; i.e. the instruction can be used to protect NC programs so that they
are not executed in the wrong channel.
Program processing is aborted if an error occurs.
Note
INI files in job lists do not contain any CHANDATA instructions.
Job planning
Programming Manual, 02/2011, 6FC5398-2BP40-1BA0
CAUTION
2.2 Working memory (CHANDATA, COMPLETE, INITIAL)
Machine data for axis 5
Frames of channel 2
All machine data
Comments
; Machine axis assignment, channel 1:
; Machine axis assignment, channel 2:
; Axial machine data:
; Exact stop window coarse:
; Axis 1
; Axis 2
; ;Exact stop window fine:
; Axis 1
; Axis 2
File and Program Management
225

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de slSinumerik 828d

Table of Contents