Mitsubishi Electric MELSEC-LD77MS2 User Manual page 883

Hide thumbs Also See for MELSEC-LD77MS2:
Table of Contents

Advertisement

[Program example]
X3C
796
X0C
M24
803
Y0
M25
807
T0
814
M36
M37
X3C
0
M24
X0C
7
M25
Y0
11
T0
18
U0\
=
G1901
(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.
The following program initializes the parameters in buffer memory and flash ROM
when X3C turns ON in LD77MS4.
(1) Parameter initialization program
(2) Parameter initialization program (when dedicated instruction is not used)
K0
PLS
SET
ZP.PINIT
"U0"
D37
RST
PLS
SET
MOVP
K1
RST
15- 17
Chapter 15 Dedicated Instructions
M24
<Parameter initialization command pulse>
<Parameter initialization command hold>
M25
K2
T0
<PLC READY output to LD77 standby>
M36
<Parameter initialization execution>
M25
<Parameter initialization command storage OFF>
M24
<Parameter initialization command pulse>
<Parameter initialization command hold>
M25
K2
T0
<PLC READY output to LD77 standby>
U0\
G1901
<Parameter initialization execution>
M25
<Parameter initialization command storage OFF>

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-l seriesMelsec-ld77ms4Melsec-ld77ms16

Table of Contents