■When programming an inverter communication instruction in a state of an STL instruction
Do not turn state OFF until communication with the inverter is finished. Program in accordance with the following sequence.
• Add SM8029 (instruction execution complete flag) ON condition to the state relay transfer condition, and provide interlock
such that the state relay ON/OFF status does not change during communication with an inverter. If the state changes
during communication, communication may not be performed normally.
• When resetting many state relays at once using the ZRST instruction, etc., make sure that the SM8920, SM8930, SM8940
or SM8950 (Inverter communicating) condition is OFF.
Reset input
X001
Communication port busy
M0
SM8920
■Using an inverter communication instruction in a program flow
An inverter communication instruction cannot be used in the following program flows.
Program flow that cannot use the inverter communication instruction
Between CJ and P instructions
Between FOR and NEXT instructions
Between P and RET instructions
Between I and IRET instructions
■Precautions when using the password function for inverter
Note the following if using the password function for the inverter. Inverters that support password function are FREQROL-
A800, F700PJ, F700P, A700, E700, E700EX and D700.
• When a communication error occurs
When a communication error occurs in an inverter communication instruction, the PLC automatically retries
communication up to 3 times.
Hence, when a password disable error occurs in the inverter in which "display of the number of times of password disable
*2
error"
is enabled using Pr.297, please note that the number of times of password disable error displayed in accordance
with the setting of Pr.297 may not be the same as the actual number of times of password input error as described below.
Do not execute automatic retry (re-driving of an inverter communication instruction) using a sequence program when
writing data to Pr.297.
Cases in which a password disable error occurs in an inverter communication instruction, and the actual number of
times of disable error in such cases.
(1)
If an incorrect password is written in Pr.297 due to a typing mistake, number of times of password disable error
will be 3 from one execution of inverter instruction.
(2)
If the password cannot be written in Pr.297 correctly due to noise, etc., the maximum number of times of
password disable error is 3.
• When registering the password
When registering the password in the inverter using an inverter communication instruction, write the password to Pr.297,
read Pr.297, and then confirm that registration of the password is completed normally.
is not completed normally due to noise, etc., the PLC automatically retries writing, and the registered password may be
reset by the retry.
*1 The FX PLC executes the first communication, and then retries communication twice (3 times in total).
*2 When "display of the number of times of password disable error" is enabled using Pr.297 and when a password disable error occurs 5
times, the "reading/writing restriction" cannot be disabled even if the right password is input. For recovery from this status, it is necessary
to all-clear all parameters.
*3 If the value read from Pr.297 is between 0 to 4, registration of the password is completed normally.
4 INVERTER COMMUNICATION
102
4.8 Programming
SET
M0
ZRST
S0
S4095
RST
M0
*1
State relays S0 to S4095
are reset all at once.
Remarks
Conditional jump
Repeat
Subroutine
Interrupt routine
*3
If writing of the password to Pr.297