Chapter 5 Instruction Words
5 - 27
stop statement Instruction to stop motor operation by the inverter
- Format
Format Description
stop This instruction makes the inverter decelerate and stop the motor.
- Explanation
This instruction makes the inverter decelerate and stop the motor.
When the FW terminal is on (FW = 1) or the RV terminal is on (RV = 1), this instruction turns off the FW
terminal (FW = 0) or RV terminal (RV = 0).
- Sample program: Program to make the inverter operate the motor for forward or reverse rotation at a
constant speed for 10 seconds
:
if X(00) <> 1 then LBL1
FW= 1 : When X (00) is on, operate the motor for forward
rotation.
goto LBL2
LBL1 RV= 1 : When X (00) is on, operate the motor for reverse
rotation.
LBL2 wait FA1 = 1 : Wait until the motor rotates at a constant speed.
wait 10.00 : Operate the motor at 5 Hz for 10 seconds.
stop : Decelerate and stop the motor. (FW = 0 or RV = 0)
:
chg param statement Instruction to change a parameter setting
- Format
Format Description
chg param <display code>
<variable> or <constant>
This instruction changes the setting of the inverter parameter
specified by <display code> to <variable> or <constant>.
- Explanation
<display code> specifies the parameter number of the inverter parameter of which the setting is to be
changed. The range of parameter settings depends on the standard inverter specifications. For the
inverter parameters and ranges of their settings, refer to the SJ700 Series Inverter Instruction Manual.
Specify an integer as the desired new setting of the parameter in <variable> or <constant>. To specify a
numerical value other than 0 to 127, preset the value in a variable and specify the variable as
<variable>. The changed parameter setting is reflected in the inverter in a 40-ms cycle, which conforms
to the standard inverter specifications. If, however, you directly access the inverter's EEPROM, the
change is reflected in the inverter in the same cycle as that of instruction execution.
Note: You cannot specify any of parameters "U001" to "U012" in <display code>.
- Sample program: Program to change the overload restriction level according to output frequency
(Code area [Code Window])
:
U(00)= 2000 : Set 200% in variable "U (00)."
U(01)= 1500 : Set 150% in variable "U (01)."
U(02)= 1000 : Set 100% in variable "U (02)."
U(03)= 1000 : Set 10 Hz in variable "U (03)."
chg param b022 U(00) : Change the setting of "b022" to 200.0%
FW= 1
wait FM >= U(03) : Wait until the output frequency reaches 10 Hz.
chg param b022 U(01) : Change the setting of "b022" to 150.0%.
wait FA1 = 1 : Wait until acceleration ends.
chg param b022 U(02) : Change the setting of "b022" to 100.0%.
:
(Parameter)
b031 = 10 (can be updated during operation)