FXCPU Structured Programming Manual
[Device & Common]
PLC
Error
operation
code
at error
occurrence
Syntax error [M8065(D8065)]
0000
-
No error
Incorrect combination among instruction, device
6501
symbol and device number
"OUT T" or "OUT C" is not provided before the set
6502
value.
•
The set value is not provided after "OUT T" or
6503
"OUT C".
Stops
•
Insufficient number of operands in an instruction
operation
•
A same label number is used more than once.
6504
•
A same interrupt input or high speed counter input
is used more than once.
6505
The device number is beyond the allowable range.
6509
Other error
Circuit error [M8066(D8066)]
0000
-
No error
The LD or LDI instruction is used continuously 9
6601
times or more.
•
The LD or LDI instruction is not provided.
A coil is not provided.
The relationship between LD/LDI and ANB/ORB
is improper.
6602
•
The STL, RET, MCR, EI, DI, SRET, IRET, FOR,
NEXT, FEND or END instruction, P (pointer) or I
(interrupt) is not connected to the bus line.
•
The MPP instruction is not provided.
The MPS instruction is used continuously 12 times or
6603
more.
The relationship among MPS, MRD and MPP
6604
instructions is improper.
•
The STL instruction is used continuously 9 times
or more.
•
The MC, MCR, I (interrupt) or SRET instruction is
6605
provided inside the STL instruction.
•
The RET instruction is provided outside STL
instruction.
Stops
The RET instruction is not provided.
operation
•
P (pointer) or I (interrupt) are not provided.
•
SRET or IRET instruction is not provided.
•
I (interrupt), SRET or IRET instruction is provided
6606
in the main program.
•
The STL, RET, MC or MCR instruction is provided
in a subroutine or interrupt routine.
•
The relationship between the FOR instruction and
the NEXT instruction is improper.
The nesting level between the FOR instruction
6607
and the NEXT instruction is 6 or more.
•
The STL, RET, MC, MCR, IRET, SRET, FEND or
END instruction is provided between the FOR
instruction and the NEXT instruction.
•
The relationship between the MC instruction and
the MCR instruction is improper.
•
MCR NO is not provided.
6608
•
The SRET or IRET instruction or I (interrupt) is
provided between the MC instruction and the
MCR instruction.
6609
Other error
Contents of error
5.3 FX0S/FX0/FX0N/FXU/FX2C PLCs
Action
Each instruction is checked during programming.
If a syntax error occurs, correct the improper instruction in the
program mode.
This error occurs when a combination of instructions is incorrect in
the entire circuit block or when the relationship between a pair of
instructions is incorrect.
Correct the instructions in the program mode so that their mutual
relationship becomes correct.
5 Errors
1
2
3
4
5
6
7
267