Mitsubishi Electronics FX3U Coffeemaker User Manual


 
FX
3G
/FX
3U
/FX
3UC
PLC User's Manual - Positioning Control Edition
Built-in Positioning Functions
4 Before Programming
4.7 Items To Be Observed in Programming
B - 75
A
Common Items
B
Built-in
Positioning
Functions
Apx.
Example
Connection
4.7.5 Operation Error Flag
When there is an error in the applied instruction configuration, target device or target device number range
and an error occurs while operation is executed, the following flag turns ON and the error information is
stored.
1. Operation error
When an operation error has occurred, M8067 is set, D8067 stores the operation error code number in
which the error has occurred.
In the FX
3U/FX3UC PLC, D8315 and D8314 (32 bits) store the error occurrence step number.
When the error occurrence step is up to the 32767th step, the error occurrence step can be checked in
D8069 (16 bits).
In the FX
3G PLC, D8069 stores the error occurrence step number.
If an operation error occurs at another step, the error code and error step number of the instruction will be
sequentially updated. (If the error status is canceled, the error flag will be turned off.)
If the PLC is stopped and restarted without canceling the error status, the error status will be automatically
canceled, but immediately after that, the error flag will be turned on again.
2. Operation error latch
When an operation error occurs, M8068 is turned on.
In the FX
3U/FX3UC PLC, D8313 and D8312 (32 bits) store the error occurrence step number.
When the error occurrence step is up to the 32767th step, the error occurrence step can be checked in
D8068 (16 bits).
In the FX
3G PLC, D8068 stores the error occurrence step number.
If a new error is caused by another instruction, the error data will not be updated, and the operation will be
continued until the "forced reset" command is input or the power is turned off.
4.7.6 Write during RUN
Do not change a program if a positioning instruction (FNC150, FNC151, FNC156 to FNC159) is being
executed (pulses are being output) in the RUN mode. Operations will be performed as shown in the following
table if a program is changed during instruction execution in RUN mode.
*1. Only available for FX
3U and FX3UC PLCs.
*2. Only available for FX3U/FX3UC PLC Ver. 2.20 or later and FX3G PLC.
If an FX3UC PLC is used and its version is below Ver.2.20, operation will be performed without
acceleration/deceleration.
Error flag Error code storage device
Error detected step number storage device
FX3U/FX3UC PLC FX3G PLC
M8067 D8067 D8315,D8314,D8069 D8069
Error flag Error code storage device
Error detected step number storage device
FX3U/FX3UC PLC FX3G PLC
M8068 - D8313,D8312,D8068 D8068
Instruction
If program is changed in circuit block
including currently-activated instruction
DSZR(FNC150)
Decelerates and stops pulse output.
DVIT(FNC151)
*1
TBL(FNC152) Program cannot be changed in the RUN mode.
ZRN(FNC156) Decelerates and stops pulse output.
PLSV
(FNC157)
During operation with acceleration/deceleration
*2
Decelerates and stops pulse output.
During operation without acceleration/deceleration Immediately stops pulse output.
DRVI(FNC158)
DRVA(FNC159)
Decelerates and stops pulse output.