Machine Data Access Via Part Program - Siemens SINUMERIK 840D Simodrive 611 digital Startup Manual

Table of Contents

Advertisement

14 Miscellaneous

14.2 Machine data access via part program

14.2
Machine data access via part program
Data identifiers
Data areas
Examples
14-282
With the HMI, the designation of the machine data is displayed. The internal
data designation requires further identifiers. If the machine data is modified by
programming or read in via the serial port, then these identifiers must be
specified.
$MM_
Display machine data (operating panel data)
$MN_/$SN_
General machine data/setting data
$MC_/$SC_
Channel-specific machine data/setting data
$MA_/$SA_
Axis-specific machine data/setting data
$MD_
Drive machine data
Where:
$
M
S
M, N, C, A, D
Axis data is addressed via the axis name. The internal axis designation (AX1,
AX2 ... AX5) or the designation specified via MD 10000: AXCONF_NAME_TAB
may be used as the axis name.
e.g.:
$MA_JOG_VELO[Y1]=2000
The JOG speed of axis Y1 is 2000 mm/min.
If the contents of the machine data is a STRING (e.g. X1) or a hexadecimal
value (e.g. H41), then the content must be given between " ' " (e.g. 'X1' or
'H41').
e.g.:
$MN_DRIVE_INVERTER_CODE[0]='H14'
FDD module 9/18 A at drive slot 1 of the drive bus.
To address the various contents of a machine data, identifying data must be
specified in square brackets.
e.g.:
$MA_FIX_POINT_POS[0,X1]=500.000
The 1st fixed point position of
(0=1st, 1=2nd, 2=3rd etc.)
$MN_AUXFU_GROUP_SPEC[2]='H41'
Time at which the auxiliary functions of the 3rd auxiliary function group are
output.
$MN_AXCONF_MACHAX_NAME_TAB[0]='X1'
Name of the 1st machine axis is X1.
$MA_REF_SET_POS[0,X1]=100.00000
The 1st reference point value of axis X1 is 100 mm.
Assignment of channel-specific machine data:
CHANDATA(1)
$MC_CHAN_NAME='CHAN1'
$MC_AXCONF_GEOAX_NAME_TAB[1]='Y'
...
R10 = 33,75
SINUMERIK 840D/810D Start-Up Guide (IADC) – 03/2006 Edition
System variable
Machine data
Setting data
Partial area (second letter)
axis X1 is 500
Assignment for channel 1
Channel name for channel 1
Name of the 2nd geometry
axis on channel 1 is Y
R10 of channel 1
© Siemens AG 2006 All Rights Reserved
03/2006

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 810d simodrive 611 digital

Table of Contents