Reading Configuration Data - Para - HEIDENHAIN CNC PILOT 640 User Manual

Smart.turn and din programming
Table of Contents

Advertisement

4
Reading configuration data – PARA
The PARA function is used to read configuration data. To do this,
use the parameter designations from the configuration parameters.
You also use the designations from the configuration parameters to
read user parameters.
When you read optional parameters, check whether the return
value is valid. Depending on the data type of the parameter (REAL/
STRING) the value 0 or the text _EMPTY is returned when reading
an optional attribute that has not been set.
Access to configuration data
PARA (key,
Key: Key word
entity,
Entity: Name of the configuration group
attribute,
Attribute: Element name
index)
Index: Array number if the attribute is
from an array
Example: PARA function
. . .
N.. #l10=PARA("","CfgDisplayLanguage","ncLanguage")
N.. #l1=PARA("","CfgGlobalTechPara",
"safetyDistWorkpOut")
N.. #l1=PARA("Z1","CfgAxisProperties",
"threadSafetyDist")
N.. #l1=PARA("","CfgCoordSystem","coordSystem")
. . .
#x2=PARA("#x30","CfgCAxisProperties","
relatedWpSpindle",0)
IF #x2<>"_EMPTY"
THEN
ELSE
ENDIF
472
DIN/ISO programming | Programming variables
Reads the number of the currently selected language
Reads the external safety clearance on the machined part
(SAT)
Reads the thread safety clearance for Z1
Reads the machine orientation number
Check whether the optional parameter is set
Evaluation:
The parameter "relatedWpSpindle" was set
The parameter "relatedWpSpindle" was not set
HEIDENHAIN | User's Manual smart.Turn and DIN Programming | 12/2017

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Manualplus 620

Table of Contents