Attribute: Initialization Value - Siemens SINUMERIK 840D sl Programming Manual

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

Advertisement

Flexible NC programming
1.1 Variables
Example
Redefinitions of system variable $TC_DPC1 in the data block for machine manufacturers
Program code
%_N_MGUD_DEF
N100 REDEF $TC_DPC1 APWB 2 APWP 3
N200 REDEF $TC_DPC2 PHU 21
N300 REDEF $TC_DPC3 LLI 0 ULI 200
N400 REDEF $TC_DPC4 INIPO (100, 101, 102, 103)
; N100: Write access: OPI = protection level 2, part program = protection level 3
; Note
; When using ACCESS files the redefinition of access rights has to be moved from
; _N_MGUD_DEF to _N_MACCESS_DEF
; N200: Physical unit = [ % ]
; N300: Limit values: Lower limit value = 0, upper limit value = 200
; N400: The array variable is initialized with the four values at POWER ON.
; Reset of the "Access rights" and/or "Initialization time" attribute values
N800 REDEF $TC_DPC1
N900 REDEF $TC_DPC4
M30
Supplementary conditions
Granularity
A redefinition is always applied to the entire variable which is uniquely identified by its name.
Array variables do not, for example, support the assignment of different attributes to
individual array elements.
1.1.6

Attribute: Initialization value

Definition (
) of user variables
DEF
During definition an initialization value can be preassigned for the following user variables:
● Global user variables (GUD)
● Program-global user variables (PUD)
● Local user variables (LUD)
32
; GUD block: Machine manufacturer
Programming Manual, 03/2013, 6FC5398-2BP40-3BA1
Job Planning

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents