7 REPLACEMENT OF PROGRAM
7 - 22
7.2.3 Instructions that may need a replacement at instruction conversion from
AnSCPU to QCPU
Some instructions are not automatically converted upon the replacement of the AnS series CPU with Q
series CPU.
The following table shows the instructions that are not automatically converted. Reviewing the program
is recommended.
Item
No.
Instruction type
AnSCPU
instruction
Corrective action
(1)
Sequence
instruction
Bit device output reverse CHK
(Counter Measure)
Review the program and change manually.
(Supplement)
Change candidate instruction: [FF] instruction
(2)
Basic
instruction
Program switching instruction CHG
(Counter Measure)
Review the program with referring to Section 7.7.10.
Microcomputer program call
instruction
SUB
(Counter Measure)
Change manually to the same instructions of the Q series.
SUBP
(3)
Application
instruction
ASCII characters convert
instruction
ASC
(Counter Measure)
Review the program and change manually.
(Supplement)
Change candidate instruction: [$MOV] instruction
MELSECNET (II), /B
Local, Remote I/O station
access instruction
LRDP
(Counter Measure)
Reprogram for the network modules to use with a QCPU.
LWTP
RFRP
RTOP
Display instructions (except
dedicated instruction)
LED
(Counter Measure)
Setting an external display is recommended since the QCPU does
not have the LED display function.
LEDA
LEDB
LEDC
Special format failure checks
instruction
CHK
(Counter Measure)
Replace the instruction by using an alternative program.
Status latch instruction
SLT
(Counter Measure)
There is no alternative action.
SLTR
Sampling trace instruction
STRA (Counter Measure)
Review the program and change manually.
(Supplement)
Change candidate instructions:
[STRA] ï‚® [TRACE] instruction
[STRAR] ï‚® [TRACER] instruction
STRAR
Carry flag instruction
STC (Counter Measure)
Review the program and change manually.
(Supplement)
Change candidate instructions:
[STC] ï‚® [SET SM700] instruction
[CLC] ï‚® [RST SM700] instruction
CLC
Print ASCII code instruction PR (Counter Measures)
Replace the instruction by using an alternative program.
*1
Print comment instruction PRC