Siemens SINUMERIK 840D sl Programming Manual page 215

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

Advertisement

Procedure for multi-channel controls (CHANDATA)
CHANDATA(<channel number>)
_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
NOTICE
CHANDATA statement
In the part program, the
NC program is executed. This means the statement 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
Job Planning
Programming Manual, 03/2013, 6FC5398-2BP40-3BA1
2.2 Working memory (CHANDATA, COMPLETE, INITIAL)
for several channels is only permissible in the file
Comment
; 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
statement may only be set for that channel in which the
CHANDATA
statements.
CHANDATA
File and Program Management
215

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents