Machine Data Access Via Part Program - Siemens SINUMERIK FM-NC Installation And Startup Manual

Hide thumbs Also See for SINUMERIK FM-NC:
Table of Contents
14 Miscellaneous

14.2 Machine data access via part program

Application
PLC basic
program
NC variable
selector
14.2
Machine data access via part program
Data identifiers
Data areas
Examples
14-302
Use the data records as a configuration example. You can alter the data records
to match your application using the DOS editor.
See Section 6.6.
You require the NC variable selector in order to read and write the NCK vari-
ables.
References:
/FB/, P3, Basic PLC Program
/LIS/ Lists, "Variables" section
The machine data identifiers are displayed on the MMC. The internal designa-
tion of the data requires further identifiers which must be specified when a ma-
chine data is altered via programming measures or imported via the serial inter-
face.
$MM_
Operator 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
Identifier meanings: $
M
S
M, N, C, A, D
Axis data are addressed via the axis name. The internal axis designation (AX1,
AX2 ... AX5) or the designation specified via MD 10000:
AX_CONF_NAME_TAB can be used as the axis name,
E.g.:
$MA_JOG_VELO[Y1]=2000
The JOG speed of axis Y1 is 2000 mm/min.
If a machine data contains a STRING (e.g. X1) or a hexadecimal value
(e.g. H41), then the string or hex value must be inserted in inverted commas
(e.g. 'X1' or 'H41').
E.g.:
$MN_DRIVE_INVERTER_CODE[0]='H14'
FDD module 9/18 A to drive slot 1 on 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 the
(0=1st, 1=2nd, 2=3rd, etc).
$MN_AUXFU_GROUP_SPEC[2]='H41'
Output time for auxiliary functions in 3rd auxiliary function group.
$MN_AXCONF_MACHAX_NAME_TAB[0]='X1'
The 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.
SINUMERIK 840D Installation and Start-Up Guide (IAD) – 04.00 Edition
System variable
Machine data
Setting data
Subarea (second letter)
axis X1 is 500
 Siemens AG 2000 All Rights Reserved
03.96
Table of Contents
loading

Table of Contents