38
4 Conversion of the Projects
4.2 Precautions when Converting the Projects
When inline ST is used with the ladder program, instructions and devices can be replaced like ST programs. However,
readout of the program may fail depending on the following conditions.
• If a syntax error exists
• If the program exceeds 2048 characters
If there is an instruction that is not supported by the MELSEC iQ-F Series in the program created using GX Works2, the
instruction will be changed to the instruction using SM4095/SD4095.
Instruction Replacement List of Structured Ladder to FBD/LD
■Replaced instructions
The following instructions will be replaced to GX Works3 compatible instructions when converting the project.
FX3 Series → MELSEC iQ-F Remarks
OUT_T → OUT_T, OUTH, OUTHS
• When the timer is 1 ms, it will be
replaced to the OUTHS instruction.
• When the timer is 10 ms, it will be
replaced to the OUTH instruction.
• When the timer is 100 ms, it will be
replaced to the OUT_T instruction.
When a label is used instead of a
timer device, the instructions will not
be replaced.
*1
SQRP → SQRTP
DSQR → DSQRT
DSQRP → DSQRTP
FLT → INT2FLT
FLTP → INT2FLTP
DFLT → DINT2FLT
DFLTP → DINT2FLTP
SER → SERMM
SERP → SERMMP
DSER → DSERMM
DSERP → DSERMMP
RAMP → RAMPF
SORT → SORTTBL
HEX → HEXA
HEXP → HEXAP
INT → FLT2INT
INTP → FLT2INTP
DINT → FLT2DINT
DINTP → FLT2DINTP
SORT2 → SORTTBL2
DSORT2 → DSORTTBL2
HOUR → HOURM
DHOUR → DHOURM
BK+ → BKPLUS
BK+P → BKPLUSP
DBK+
→ DBK
PLUS
DBK+P → DBKPLUSP
BK- → BKMINUS
BK-P → BKMINUSP
DBK- → DBKMINUS
DBK-P → DBKMINUSP
BKCMP= → BKCMP_EQ
BKCMP=P → BKCMP_EQP
DBKCMP= → DBKCMP_EQ
DBKCMP=P → DBKCMP_EQP