7 REPLACEMENT OF PROGRAM
7 - 14
GX Developer enables instruction conversion using "Change PLC type".
The following explains how to process both applicable instructions and not applicable instructions for the
conversion.
7.2.1 List of instructions conversion from AnSCPU to QCPU (Sequence/Basic/
Application instructions)
ï‚¡: Automatic conversion ï‚´: Manual change required
7.2 Instruction Conversion
Description
AnSCPU QnUCPU
Reference
Instruction name Instruction name Conversion
BIN 16-bit addition, subtraction
++ ï‚¡
+P +P ï‚¡
-- ï‚¡
-P -P ï‚¡
BIN 16-bit multiplication, division
** ï‚¡
*P *P ï‚¡
// ï‚¡
/P /P ï‚¡
Ladder block series connection ANB ANB ï‚¡
Series connection AND AND ï‚¡
16-bit data comparison
AND< AND< ï‚¡
AND<= AND<= ï‚¡
AND<> AND<> ï‚¡
AND= AND= ï‚¡
AND> AND> ï‚¡
AND>= AND>= ï‚¡
32-bit data comparison
ANDD< ANDD< ï‚¡
ANDD<= ANDD<= ï‚¡
ANDD<> ANDD<> ï‚¡
ANDD= ANDD= ï‚¡
ANDD> ANDD> ï‚¡
ANDD>= ANDD>= ï‚¡
Series connection ANI ANI ï‚¡
Conversion from hexadecimal BIN to ASCII ASC OUT SM1255 ï‚´ Section 7.2.3 (3)
BCD 4-digit addition, subtraction
B+ B+ ï‚¡
B+P B+P ï‚¡
B- B- ï‚¡
B-P B-P ï‚¡
BCD 4-digit multiplication, division
B* B* ï‚¡
B*P B*P ï‚¡
B/ B/ ï‚¡
B/P B/P ï‚¡
Conversion from BIN data to 4-digit BCD
BCD BCD ï‚¡
BCDP BCDP ï‚¡
Conversion from 4-digit BCD to BIN data
BIN BIN ï‚¡
BINP BINP ï‚¡
Block 16-bit data transfer
BMOV BMOV ï‚¡
BMOVP BMOVP ï‚¡
Bit reset for word devices
BRST BRST ï‚¡
BRSTP BRSTP ï‚¡
Bit set for word devices
BSET BSET ï‚¡
BSETP BSETP ï‚¡
1-bit shift to left of n-bit data
BSFL BSFL ï‚¡
BSFLP BSFLP ï‚¡