EasyManua.ls Logo

Xinje XD Series - Sequence BLOCK; Concept of the BLOCK

Xinje XD Series
456 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
355
Example 2: set value in Flash register
flash_set_int16 ( void* dst, int16 data );
The advantage offlash_set_int16compared to flash_copy:
If using flash_copyto set value in flashregister. It is very inconvenient to use.
int temp_val = 1000;
flash_copy(&FD[1000], &temp_val, sizeof(temp_val));
If using flash_set:flash_set_int32(&FD[1000], 1000);
See line 13~18 in the below example:
Note:
(1) flash_ move function requires the support of the PLC firmware version of the lower
computer (firmware version: v3.7.2 firmware date: 20210528).
(2) The flash register can be written about 1000000 times, and each write is the erasure of the
whole flash register, which is time-consuming. Frequent writing will cause permanent
damage to the flash register. Therefore, it is not recommended that users write frequently.
Carefully use the power on normally on and oscillation coil (e.g. SM0, SM11) as the driving
conditions.
tudonghoatoancau.com

Table of Contents

Other manuals for Xinje XD Series