5 data fields, 1 p field, Data fields – Lenze ETC Motion Control User Manual

Page 180: P field, Cnc programming

Advertising
background image

CNC programming

Data fields
P field

3

3.5
3.5.1

l

180

EDSTCXN EN 2.0

3.5

Data fields

3.5.1

P field

For programming with variables, a data field (the parameter or P field) is
available in the control. This data field contains different data:

ƒ Internal data of the NC computer

This data is created by the processing of a program and/or reflects certain
states of the NC computer. Only read accesses can be made to this data.
The access to most of this data is time synchronized.

ƒ Data for cycles and macros

This area is reserved for use in cycles and macros. In this area, data is
transferred from the NC computer to the cycles. In addition, it is used as
a variable area for the cycle programs. Cycles and macros have a write and
write access to this data, user programs should only have read access to
this area. The access is not time synchronized.

ƒ Data for user programs

This area is provided for free use in user programs. These have write and
read access. The access is not time synchronized. The meaning of the
parameters is program−dependent.

The parameter field has a default size of 2048 entries; these can be enlarged
with the machine constant MK_PFELD_GROESSE user−specifically.

0

1023

Internal data of the NC computer

1024

1499

Data for cycles

1500

2047

User data

2048

MK_PFELD_GROESSE

Enhanced P field

The parameter field can be accessed by

ƒ G functions

ƒ Arithmetic functions (formula processor)

ƒ Messages of the MMI

ƒ Messages of the PLC

Distribution

Advertising