Zrzut pamięci sterownika (Memory Dump)

Memory Dump function


This manual describes the configuration and operation of Memory Dump

1. Introduction

 Memory Dump function allows to select the output state to the SD card when creating or calling the bit.




The variables that are saved are listed in the table below.



2. Hardware requirements

       Serial Number PLC FX5 – 16Y**** or later

       Firmware (F/W) PLC FX - 1.050 or later

       Software GX Works 3 -  1.035M or later

       SD card – for data storage


3. Memory Dump configuration in GX Works 3

It is not possible to use the Data Logging and Memory Dump functions simultaneously, so to start Memory Dump, go to [Navigation] → [FX5UCPU] → [CPU Parameter] → [Memory / Device Setting] → [Internal Buffer Capacity Setting] → [Function to Use Internal Buffer] and select Memory Dump Function there.

 


The next step is to create a Memory Dump Setting file. To do this, go to [Debug] → [Memory Dump] → [Setting] and set the file name, method of calling the function and, if necessary, the name of a logical variable, and upload to the controller by pressing the 'Write' button '. It is also possible to read an already existing file from the controller using the 'Read' button.

 

By clicking the Display Status button, we can observe the current state of the Memory Dump function. The Transfer Setup button allows us to configure the way of communication with the controller.

Under the Read Results tab, we can see all the memory dumps saved on the SD card. To save them on your computer, enter the path to the appropriate folder, select the desired files and click Save to PC.

   

The files are saved in the Name_XX.DPD format and there can be a maximum of 100 of them in one folder.

When this limit is reached, subsequent write attempts will overwrite the oldest files.



Recorded data can be viewed by going to [Debug] → [Memory Dump] → [Display Result].

 


4. Special bits and registers regarding Memory Dump

       SM1472 – While the memory dump is in progress, it takes the value TRUE

       SM1473 – When the memory dump is finished, it takes the value TRUE

       SD1472 – When it is set to 0, no error has occurred, otherwise it stores an error code.