15- 17
Chapter 15 Dedicated Instructions
(3) After the power ON and PLC CPU reset operation, writing to the flash ROM using
a sequence program is limited to up to 25 times. (Not limited to up to 25 times
when writing to the flash ROM is carried out by GX Works2.)
If the 26th or more writing is requested after the power ON/PLC CPU reset
operation, the error "Flash ROM write number error" (error code: 805) will occur,
and the writing will be disabled. If a flash ROM write error occurs by one writing to
the flash ROM, check and correct the flash ROM writing program. Then reset the
error or turn ON the power and reset the PLC CPU again.
[Program example]
The following program initializes the parameters in buffer memory and flash ROM
when X3C turns ON in QD77MS4.
(1) Parameter initialization program
807
M25
X3C
796
<Parameter initialization command pulse>
<Parameter initialization command hold>
<PLC READY output to QD77 standby>
<Parameter initialization execution>
803
PLS M24
X0C
RST M25
SET M25
M24
<Parameter initialization command storage OFF>
Y0
"U0" D37 M36ZP.PINIT
M36 M37
814
T0
T0
K2
(2) Parameter initialization program (when dedicated instruction is not used)
=K0
U0\
G1901
11
M25
X3C
0
<Parameter initialization command pulse>
<Parameter initialization command hold>
<PLC READY output to QD77 standby>
<Parameter initialization execution>
7
PLS
X0C
RST M25
MOVP K1
SET
M24
M25
M24
<Parameter initialization command storage OFF>
U0\
G1901
Y0
T0
18
T0
K2