Download FXCPU Structured Programming Manual

Transcript
FXCPU Structured Programming Manual
[Device & Common]
5 Errors
5.2 FX1S/FX1N/FX1NC/FX2N/FX2NC PLCs
1
PLC
operation
at error
occurrence
Contents of error
Device Outline
Error
code
Action
Operation error [M8067(D8067)]
0000
There is no jump destination for CJ or CALL
instruction.
A label is provided after the END instruction.
An independent label is provided between the
FOR instruction and the NEXT instruction or
between routine programs.
6702
The nesting level of CALL instruction is 6 or more.
6703
The nesting level of interrupt is 3 or more.
6704
The nesting level of FOR-NEXT instructions is 6 or
more.
6705
An unavailable device is used as an operand in an
instruction.
6706
The device number or data value of an operand in an
instruction is outside the allowable range.
6707
A file register is accessed without its parameter
setting.
6708
Improper sampling time (TS ≤ 0)
Improper input filter constant (α < 0 or 100 ≤ α)
6733
Improper proportional gain (KP < 0)
6734
Improper integral time (TI < 0)
6735
Improper derivative gain (KD < 0 or 201 ≤ KD)
6736
Improper derivative time (TD < 0)
Sampling time (TS) ≤ Scan time
<The PLC stops PID operation.>
This data error occurs in the control parameter set value or during
PID instruction.
Check the contents of parameters.
<The PLC continues operation while regarding the operation data as
the maximum value.>
A data error has occurred in the control parameter set value or PID
operation.
Check the contents of parameters.
261
7
Other Functions
6730
6
Types and
Setting of
Parameters
Other error (absence of the IRET instruction,
absence of the SRET instruction, improper
relationship between FOR and NEXT, etc.)
This error occurs while the PLC is executing an operation.
Review the program, or check the contents of operands used in
instructions.
Even if the syntax or circuit design is correct, an operation error may
occur for the following reason, for example.
Example:
"T200Z" itself is not an error. However, if Z is "100", "T200Z" means
"T300" which causes a device number error.
5
Errors
FROM/TO instruction error
6732
3
4
This error occurs while the PLC is executing an operation.
• Review the program, or check the contents of operands used in
instructions.
• Confirm that the specified buffer memory exists in the counterpart
equipment.
• Confirm that extension cables are connected correctly.
Continues
operation
6740
This error occurs while the PLC is executing an operation.
Review the program, or check the contents of operands used in
instructions.
Even if the syntax or circuit design is correct, an operation error may
occur for the following reasons, for example.
Example:
"T200Z" itself is not an error. However, if Z is "100", "T200Z" means
"T300" which causes a device number error.
Special Device
•
•
Specified the
Device &
Constant
6701
Devices in
Detail
•
6709
2
No error