3 system variables of the etcxm, 4 using machine constants in the etcxc, 5 using machine constants in the etcxm – Lenze ETC Motion Control User Manual
Page 359: 6 parameter field of the etcxc, System variables of the etcxm, Using machine constants in the etcxc, Using machine constants in the etcxm, Parameter field of the etcxc, Plc programming

PLC programming
Interface to the ETC
System variables of the ETCxM
8.7
8.7.3
l
359
EDSTCXN EN 2.0
8.7.3
System variables of the ETCxM
Currently the data blocks of the PLC are freely available as data memory for
the ETCxM.
8.7.4
Using machine constants in the ETCxC
In the ETCxC the machine constants MK_DW224_255 [MC_DW224_255]
are freely available to store machine−specific values.
For the ETCxC these are shown in the data block 2 after data word 224, so
that the content can be read by the PLC. The system variable
"DB2_nc2sps_maschinenkonstante_aw"
["DB2_nc2plc_machineconstant_aw"] points to the values of these
machine constants.
The
machine
constants
MK_TECHNOLOGY_DATA_1
to
MK_TECHNOLOGY_DATA_4 are available for technology−dependent data.
The contents of these machine constants are stored in the parameter field.
Index
Machine constant
760 ... 769
MK_TECHNOLOGY_DATA_1
770 ... 779
MK_TECHNOLOGY_DATA_2
780 ... 789
MK_TECHNOLOGY_DATA_3
790 ... 799
MK_TECHNOLOGY_DATA_4
These parameter field entries can be read via the functions
READ_PARAM_INT, READ_PARAM_DINT etc.
8.7.5
Using machine constants in the ETCxM
The
machine
constants
MK_TECHNOLOGY_DATA_1
to
MK_TECHNOLOGY_DATA_4 are available for technology−dependent data.
These machine constants contain 10 entries each. The value range of each
entry corresponds to a 64 bit floating point value (IEC61131 data type LREAL).
The individual entries can be read via the function "GetUserParam()" from
the PLC.
8.7.6
Parameter field of the ETCxC
The ETCxC provides a so−called parameter field (P field) which contains
different system parameters which might be of interest to the PLC.
In "SysEtc.LIB" functions are available for the read and write access to
parameter entries (see "READ_PARAM_INT" or "WRITE_PARAM_INT" etc.).
The individual entries in the parameter field are described in the chapter
"ETC programming NC operating system".