Program code
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)
N800 REDEF $TC_DPC1
N900 REDEF $TC_DPC4
M30
regard‐
ing
N100:
Write access: OPI = protection level 2, part program = protection level 3
regard‐
ing
N200:
Physical unit [ % ]
regard‐
ing
N300:
Lower limit value = 0, upper limit value = 200
regard‐
ing
N400:
The array variable is initialized with the four values at POWER ON.
regard‐
ing
N800 /
N900
Reset of the "Access rights" and/or "Initialization time" attribute values
Note
Use of ACCESS files
If ACCESS files are used, the redefinition of access rights has to be relocated from
_N_MGUD_DEF to _N_MACCESS_DEF.
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.
Work preparation
3.1 Flexible NC programming
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0 405