E-76
FX Series PLC User's Manual - Data Communication Edition
Inverter Communication
9 Creating Programs (for FX3U and FX3UC PLCs)
9.3 Common Items in Inverter Communication Instructions
9.3.3 Instruction completion and error flag operation
When two or more inverter communication instructions are programmed, the following flags turn ON or OFF
according to the execution result of each inverter communication instruction.
To acquire the result of each inverter communication instruction, make sure to provide these flags just below
each inverter communication instruction.
1. Operation of M8029 (instruction execution complete flag)
The operation of M8029 (instruction execution complete flag) represents the state in which the IVDR
instruction is completed while M0, M2 are off and M1 is ON.
2. Processing of communication errors
The following two types of processing are executed for communication errors.
The parity error/overrun error/framing error flags (shown in the upper column) turns ON when an error occurs
in any type of communication.
The error flag shown in the lower column turns ON when an error occurs during communication with an
inverter.
When inverter communication error flag turns ON, the step number is stored in the inverter communication
error occurrence step device (D8153 or D8158).
Create the program shown below for each corresponding instruction to check the inverter communication
error code (stored in D8152 or D8157).
Device
number
Description
Device
number
Description
ch1 ch2 ch1 ch2
M8029 Instruction execution complete D8063 D8438 Serial communication error code
M8063 M8438 Serial communication error D8152 D8157 Inverter communication error code
M8152 M8157 Inverter communication error D8153 D8158
Step in which inverter communication error occurred
M8153 M8158
Inverter communication error
lach
D8154 D8159 IBWR error parameter number
M8154 M8159 IVBWR instruction error
Bit device Word device
Descriptionch1 ch2 ch1 ch2 ch1 ch2 ch1 ch2
M8063 M8438 M8152 M8157 M8153 M8159 D8063 D8438
ON OFF OFF 6301 3801 Parity error, overrun error or framing error
ON ON
ON
(only at first time)
6320 3820
Any inverter communication error other than
those above
M0
M1
M2
(OFF)
(ON)
(OFF)
Operation of
instruction execution
complete flag
M8029 : OFF
M8029 : ON
M8029 : OFF
FNC273
IVWR
   
FNC271
IVDR
   
FNC270
IVCK
   
[1] IVWR instruction is not driven
[2] IVDR instruction is driven
[3] IVCK instruction is not driven