The function blocks FB_SamplingDataAsynchron and FB_SamplingDataRealTime allocate memory for the arrays of data sampled from the drives. To achieve this, activate the option Use dynamic memory allocation in the tab in EcoStruxure Machine Expert. Enter the Maximum size of memory (bytes) you want to reserve for the application.
For further information, refer to the Menu Commands Online Help.
The maximum admissible value for the parameter Maximum size of memory (bytes) depends on the controller you are using, on the size of the present application and on other functionalities using this function. If there is not enough memory available, a diagnostic message is issued.
As long as the function blocks are disabled, memory is released and can be used elsewhere.