Omron SYSMAC CV Series Operation Manual page 413

Ladder diagrams
Hide thumbs Also See for SYSMAC CV Series:
Table of Contents

Advertisement

Memory Card Instructions
Replace to END(001)
Method
Precautions
Flags
Example
0000
A343
00
13
If the program file is shorter than the original ladder program from FILP(182) to
END(001) and doesn't end in END(001), be sure that the program file doesn't
overwrite only the first part of an instruction in the original ladder program creat-
ing an instruction format error.
Program file
FILP
M0V
M0V
0100
D00300
M0V
#ABCD
D02200
When the Write Method Bit (C bit 07) is OFF, FILP(182) will erase the current
ladder program from the instruction just after FILP(182) to END(001), then insert
the program file. It is not necessary for the program file to end in END(001).
If the program file is shorter than the original ladder program from FILP(182) to
END(001), the ladder program will be shorter after FILP(182) is executed.
Area reduced
If the program file is longer than the original ladder program from FILP(182) to
END(001), the ladder program will be longer after FILP(182) is executed.
Area increased
FILP(182) cannot be used in an interrupt program.
The instruction trace operation and online editing cannot be performed while
FILP(182) is being executed.
Write the execution condition for FILP(182) so that the instruction will not be
executed if the Memory Card Instruction Flag (A34313) is ON (when another
Memory Card instruction is being executed).
Note Refer to page 115 for general precautions on operand data areas.
ER (A50003):
A Memory Card is not mounted.
Content of *DM word is not BCD when set for BCD.
In the following example, the ladder program file "ABCD.LDP" is transferred
from the Memory Card using the "replace to END(001)" method. When
CIO 000000 is ON and A34313 (Memory Card Instruction Flag) is OFF, the
contents of ABCD.LDP is written over all instructions after the instruction line
containing FILP(182).
(182)
FILP
FILP
to
to
#00FF
M0V
D02000
#00FF
D02000
D00300
Improper
M0V
instruction
#ABCD
D02200
to
FILP
Program
Delete
file
END
FILP
Delete
Program
file
END
0500
Section 5-34
Address Instruction
Operands
00000
LD
000000
00001
AND NOT
A34313
00002
FILP(182)
0500
401

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cv2000Cvm1Cv500Cv1000

Table of Contents