Flash Write
This example shows how to store the parameter and position data to the flash memory of PSnnX module. The PFWRT instruction is used. This instruction requires a code which defines the memory type to be stored. There are two kinds of data which can be stored. One is the parameter and the other is position data table. One or all of them can be selectively stored to flash memory. More detailed information about that was described in previous section.
The data stored in flash memory are retained until the next power off and on. PSnnX module limits the number of repeated writing at each power on. It is limited to 25 times. This limitation is settled for protecting the flash memory from the sequence program mistake.