Download FXCPU Structured Programming Manual

Transcript
FXCPU Structured Programming Manual
[Device & Common]
Error
code
5 Errors
5.1 FX3S/FX3G/FX3GC/FX3U/FX3UC PLCs
PLC
operation
at error
occurrence
Contents of error
Action
Circuit error [M8066(D8066)]
0000
No error
The LD or LDI instruction is used continuously 9
times or more.
6610
6613
The number of ANB or ORB instructions is more than
the number of LD or LDI instructions.
The number of ANB or ORB instructions is less than
the number of LD or LDI instructions.
MPS is used continuously 12 times or more.
6614
6615
MPS is not provided.
MPP is not provided.
6616
A coil is not used between MPS-MRD and MPP, or
the relationship between them is improper.
6617
The following instructions should be connected to bus
line: STL, RET, MCR, P, I, DI, EI, FOR, NEXT,
SRET, IRET, FEND and END
6618
The following instructions which can be used only in
the main program are used in any other place (such
as interrupt and subroutine): STL, MC and MCR
6619
The following instructions cannot be used between
FOR and NEXT: STL, RET, MC, MCR, I and IRET
6611
6612
6620
Stops
operation
The nesting level between FOR and NEXT is too
much.
6622
The number of FOR instructions and the number of
NEXT instructions do not agree.
The NEXT instruction is not provided.
6623
The MC instruction is not provided.
6624
The MCR instruction is not provided
The STL instruction is used continuously 9 times or
more.
6621
6625
6626
6627
6628
6629
The following instructions cannot be used between
STL and RET: MC, MCR, I, SRET and IRET
The STL instruction is not provided.
The following instructions cannot be used in the main
program: I, SRET and IRET
P or I is not provided.
6630
The SRET or IRET instruction is not provided.
The STL-RET or MC-MCR instructions are provided
in a subroutine.
6631
The SRET instruction is provided in an invalid
position.
6632
The FEND instruction is provided in an invalid
position.
248
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.