beautypg.com

4 storage space reservation, 1 mk_sps_speichergroesse, 2 mk_sps_datengroesse – Lenze ETC Motion Control User Manual

Page 200: 3 mk_spv_speichergroesse, Storage space reservation, Mk_sps_speichergroesse, Mk_sps_datengroesse, Mk_spv_speichergroesse

background image

Machine constants

Storage space reservation
MK_SPS_SPEICHERGROESSE

4

4.4
4.4.1

l

200

EDSTCXN EN 2.0

4.4

Storage space reservation

The following MCs affect the static memory layout within the control. The
set values only become effective after they have been changed on the
control or transferred from the PC and the control has been restarted.

4.4.1

MK_SPS_SPEICHERGROESSE

This machine constant reserves the program memory for the PLC in the
internal main memory of the control and thus defines the maximum size of
the PLC program to be loaded in kByte at the same time. The control reserves
twice the memory specified in the MC in order to support the "online
change" function of the PLC programming interface. The memory reserved
in this manner is thus permanently assigned to the PLC and is no longer
available for other tasks of the control.

The default value of 128 kByte is sufficient for smaller PLC programs. In the
case of larger programs, this value must be increased accordingly.

4.4.2

MK_SPS_DATENGROESSE

This machine constant defines the size of the data memory for the variables
of the PLC in kByte. This memory is permanently reserved for the PLC and is
no longer available for other tasks in the control.

The default value of 32 kByte should be sufficient for most PLC programs.

4.4.3

MK_SPV_SPEICHERGROESSE

This machine constant defines the size of the internal main memory in RAM
for managing DIN programs (also online programs). The specification is the
number of storage blocks at 1024 byte (1 kByte). Their value can be
increased or decreased. Reasonable values start from 64 K. The maximum
value at 4 MByte memory capacity is 2048 kByte.

)

Note!

The memory space required by the DIN programs in the internal
main memory is approx. 2 ... 4 times as much as the size of the
corresponding ASCII file. This is due to the fact that the programs
are already preinterpreted and stored in an intermediate code in
the main memory for a faster execution during loading.