HITACHI INVERTER EASY-SEQUENCE PROGRAMMING SOFTWARE INSTRUCTION MANUAL Read through this Instruction Manual, and keep it handy for future reference. NT2021XA...
Page 2
Thank you for purchasing the Hitachi Inverter. This Instruction Manual explains how to use the easy-sequence programming software (EzSQ) for the Hitachi SJ700/L700/SJ700B/WJ200 Series Inverter. Be sure to read this Instruction Manual carefully before using EzSQ, and keep it on hand for future reference.
Page 3
Safety Instructions Safety Instructions Be sure to read this Instruction Manual, Inverter Instruction Manual, and appended documents thoroughly before using EzSQ and the inverter. In these Instruction Manuals, safety instructions are classified into two levels: WARNING and CAUTION. : Indicates that incorrect handling may cause hazardous situations, which may result in WARNING serious personal injury or death.
Chapter 1 Outline of EzSQ This chapter explains the general procedures for creating and executing a user program. Outline ····································································· 1-1 Corresponding Model ·············································· 1-1 Specifications ··························································· 1-1 Preparation and System Configuration···················· 1-2 General Flow of Operation and Setup ····················· 1-3 Notice ·······································································...
Chapter 1 Outline of EzSQ Outline Easy sequence function (EzSQ) can built a simple sequence function by making the program with programming software ProDriveNext. In the program, it is possible to change the I/O function and the parameter setting value. Corresponding Model - SJ700 series - WJ200 series...
Chapter 1 Outline of EzSQ Preparation and System Configuration To create user programs with the easy sequence function of the inverter, you must prepare the following devices and software: (1) SJ700 or WJ200 or L700 or SJ700B inverter (2) Personal computer (PC) (Windows system) (3) Optional programming software ProDriveNext (4) Optional PC-inverter connection cable SJ700...
Chapter 1 Outline of EzSQ General Flow of Operation and Setup A general flow of operations from programming to program execution with the easy sequence function is as follows: Description Remarks Create a user program with the ProDriveNext. Compile and format that can be run on inverter. - Please refer to the manual of When a user program is compiled, the codes are checked for ProDriveNext for use.
Page 15
Chapter 2 Syntax This chapter explains the syntax and definitions used for programming. Description Format ·················································· 2-1 List of Instructions ···················································· 2-3 Program Control Instructions ··································· 2-7 Input/Output Control Instructions ····························· 2-18 Timer Control Instructions········································ 2-23 Inverter Control Instructions ···································· 2-27 Other Reserved Variables ·······································...
Chapter 2 Syntax Description Format (1) Program Description Format Each line of a program consists of the “Label,” “Mnemonic,” “Parm 1 to 6,” and “Comment” fields. The “Mnemonic” field is used to describe an instruction word. Some instruction words do not require parameters. (Example) LBL1 delay on...
Chapter 2 Syntax (2) Data Description Format Each variable is described on a line that consists of the “Variable,” “Define,” “Answer,” and “Comment” fields. (Example) U (00) 5000*2+10 10010 initial value Comment Calculation result Definition expression Variable name [1] Variable : Use the “Variable”...
Chapter 2 Syntax List of Instructions This section lists the instructions that can be used in a program. (1) Program control instructions Instruction format Instruction Description name Mnemonic code Parameter 1 Parameter 2 Parameter 3 Parameter 4 Parameter 5 Indicates the beginning of the main entry entry program.
Chapter 2 Syntax (2) Conditional expressions The table below lists the conditional expressions that can be used for the <condition> parameters in program control instructions. Instruction Instruction format Description name Mnemonic code Parameter 1 Parameter 2 Parameter 3 Parameter 4 Parameter 5 <variable 2 / <variable 3/...
Chapter 2 Syntax (5) Variables Type of variable Variable name Range of numeric values Bit and contact variables FW, X (00), etc. 0, 1 (0: OFF, 1: ON) User-defined variable U (00) to U (31) 0 to 65535 Internal user variable UL (00) to UL (07) -2147483648 to 2147483647 Frequency setting variable...
Chapter 2 Syntax Program Control Instructions This section explains the details of program control instructions. entry and end statements Instructions to start and end the main program - Format Format Description This instruction indicates the beginning of the main program. entry (This instruction must be described at the top of the main program.) This instruction indicates the end of the main program.
Chapter 2 Syntax goto statement Instruction to branch processing unconditionally - Format Format Description This instruction branches processing unconditionally to the step labeled goto <label name> with <label name>. - Explanation Use this instruction to branch processing unconditionally to the step labeled with <label name>...
Chapter 2 Syntax ifs-then-else-end if statements Structured if instruction - Format Format Description <condition> When <condition> is met, this instruction executes <instruction set 1> [then] described between “then” and “else.” <instruction set 1> When <condition> is not met, this instruction executes <instruction set 2>...
Chapter 2 Syntax if statement Instruction to branch processing unconditionally - Format Format Description When <condition> is met, processing branches to the step labeled with <condition> then <label name> <label name>. When <condition> is not met, processing proceeds to the next step (line). - Explanation Use this instruction to branch processing conditionally.
Chapter 2 Syntax - Processing cycle Refer to the statement execution sequence indicated by parenthesized numbers in the comment fields of the sample programs below. (1) : The “for” line is executed only once. (2) and (3) : <instruction set> is executed.
Chapter 2 Syntax until loop statement Instruction to conditionally execute a post-conditioned loop - Format Format Description until <condition> This instruction executes <instruction set> until <condition> is met. <instruction set> Note that <condition> is checked after the execution of <instruction loop set>.
Chapter 2 Syntax select case syntax statement Instruction to branch under multiple conditions - Format Format Description select <conditional variable> This instruction executes <instruction set 1> <instruction set n-1> case <conditional value 1> described in a case statement when <conditional variable> matches <instruction set 1>...
Chapter 2 Syntax call statement Instruction to unconditionally branch to a subroutine - Format Format Description This instruction branches processing unconditionally to the subroutine call <subroutine name> specified by <subroutine name>. - Explanation This instruction branches processing unconditionally to the subroutine specified by <subroutine name>.
Chapter 2 Syntax dec statement Instruction to decrement a variable - Format Format Description <variable> This instruction decrements <variable> by 1. - Explanation This instruction subtracts 1 from the value of <variable>. - Sample program (Code area [Code Window]) Label Mnemonic parameter1 parameter2...
Chapter 2 Syntax wait statement Instruction to make processing wait - Format Format Description wait iii.ii This instruction makes processing wait for “iii.ii” seconds. wait <variable> This instruction makes processing wait for “<variable> ×10 “ ms. wait <condition> This instruction makes processing wait until <condition> is met. - Explanation Format 1 : This instruction makes processing wait for “iii.ii”...
Chapter 2 Syntax Input/Output Control Instructions This section describes the details of input/output control instructions. X ( ) or Xw (contact input) Instruction to access contact inputs - Format Format Description <variable> = X (ii) This instruction assigns the ii'th bit of contact input data to <variable>. (SJ700 : ii = 00 to 07) (WJ200 : ii = 00 to 09) <variable>= Xw...
Chapter 2 Syntax Sample 2 : Program to acquire input terminal status as word data and output only the status of terminals X (02) to X (05) as word data to output terminals Y (00) to Y (03) Label Mnemonic parameter1 parameter2 parameter3...
Page 36
Chapter 2 Syntax - Sample program Sample 1 : Program to turn terminals Y (00) to Y (05) on sequentially while the output frequency is increased in 10-Hz steps. (The inverter operation is the same as that programmed in sample 2.) (Code area [Code Window]) Label Mnemonic...
Page 37
Chapter 2 Syntax Sample 2 : Program to output codes sequentially to terminal Yw while the output frequency is increased in 10-Hz steps. (The inverter operation is the same as that programmed in sample 1.) (Code area [Code Window]) Label Mnemonic parameter1 parameter2...
Chapter 2 Syntax UB ( ) or UBw (internal user contact Instruction to access internal user contacts control) Variable name Range of values Default Unit Data size Attribute UB (00) to Internal user contact 0: OFF Unsigned Readable UB (07) (bit access) 1: ON 1-word data...
Chapter 2 Syntax Timer Control Instructions The easy sequence function of the inverter has a timer function that can be used in the following two modes: (1) Free-running timer mode (2) Timer contact output mode (timer-start, timer-stop, and delay operations) The timer function uses eight timer counter circuits that are configured as shown in the figure below.
Chapter 2 Syntax timer set (timer-start instruction) Instruction to set and start the timer counter - Format Format Description This instruction sets <variable> <constant> in the k'th timer set TD (k) <variable> <constant> timer and starts the timer counter. - Explanation (1) The timer set instruction sets <variable>...
Chapter 2 Syntax timer off (timer-stop instruction) Instruction to stop the timer - Format Format Description timer off TD (k) This instruction clears the k'th timer and operates it as a free-running timer. - Explanation This instruction clears the k'th timer counter (up counter) “TC (k)” to zero, and starts the timer counter in free-running timer mode.
Page 42
Chapter 2 Syntax - Sample program : Program to make the inverter alternately repeat forward rotation of the motor at 60 Hz and reverse rotation of the motor at 10 Hz Label Mnemonic parameter1 parameter2 parameter3 parameter4 parameter5 : The output frequency for reverse rotation U(00)= 1000 is 10 Hz.
Chapter 2 Syntax Inverter Control Instructions Inverter operation command Instruction to turn the input terminal function on or off - Format Format Description <input terminal function>= <variable> This instruction turns <input terminal function> of the inverter <constant> on or off according to the value of <variable>...
Chapter 2 Syntax Inverter operation monitoring instruction Instruction to monitor the output terminal function - Format Format Description This instruction fetches the on / off status of <output terminal <variable 1> <output terminal function> function> of the inverter and stores it in <variable 1>.
Chapter 2 Syntax User Monitor Operator display variable Variable name Range of values Default Unit Data size Attribute Umon (00) to Signed Readable Umon (02) User monitor 0 to 2 – 2 2-word data and writable - Format Format Description Umon (ii) = <variable>...
Chapter 2 Syntax 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 and reset the inverter when it is in trip situation. 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).
Chapter 2 Syntax - Sample program : Program to change the overload restriction level according to output frequency (Code area [Code Window]) Label Mnemonic parameter1 parameter2 parameter3 parameter4 parameter5 U(00)= 2000 : Set 200% in variable "U (00)." U(01)= 1500 : Set 150% in variable "U (01)."...
Chapter 2 Syntax eepwrt Instruction to issue a demand to write the parameter to EEPROM - Format Format Description This instruction stores a data of only one parameter changed by chg param command that is issued eepwrt immediately after the execution of eeprwrt command to EEPROM.
Chapter 2 Syntax rtcset on, rtcset off Instruction to start / stop the update of clock data - Format Format Description The clock data is substituted for six bytes that make <variable> a head. Moreover, the clock data is rtcset on <variable>...
Chapter 2 Syntax Other Reserved Variables Variable name Range of values Default Unit Data size Attribute Data U (00) to stored in Unsigned Readable U (31) User-defined variable 0 to 65535 P100 to 1-word data and writable P131 - Explanation User-designed variables are the general-purpose functions that can be used as unsigned 1-word variables regardless of format.
Chapter 2 Syntax Variable name Range of values Default Unit Data size Attribute SET-Freq Unsigned Readable Output frequency setting 0 to 40000 0.01 Hz 1-word data and writable - Explanation This variable can be used to read and write the frequency specified by the output frequency setting (F001) in the inverter. (See Note 1 and 2.) The setting of this variable corresponds to inverter parameter “F001”.
Chapter 2 Syntax Variable name Range of values Default Unit Data size Attribute ACCEL 0.01 Unsigned Readable Acceleration time setting 1 to 360000 Note 1 second 2-word data and writable - Explanation This variable can be used to read and write the motor acceleration time in the inverter. The acceleration time setting using this variable is enabled only when the setting of accel/decel time input selection (P031) is “03”...
Chapter 2 Syntax Variable name Range of values Default Unit Data size Attribute DECEL 0.01 Unsigned Readable Deceleration time setting 1 to 360000 Note 1 second 2-word data and writable - Explanation This variable can be used to read and write the motor deceleration time in the inverter. The deceleration time setting using this variable is enabled only when the setting of accel/decel time input selection (P031) is “03”...
Chapter 2 Syntax XA (0) to XA (2) Variable name Range of values Default Unit Data size Attribute General-purpose analog XA (0) 0 to 10000 input (O terminal) General-purpose analog Unsigned XA (1) 0 to 10000 0.01 % Readable input (OI terminal) 1-word data General-purpose analog XA (2)
Chapter 2 Syntax YA (0) to YA (2) Variable name Range of values Default Unit Data size Attribute General-purpose analog output YA (0) (SJ700 : FM terminal) (WJ200 : EO terminal) Unsigned Readable 0 to 10000 0.01 % General-purpose analog 1-word data and writable YA (1)
Page 56
Chapter 2 Syntax Variable name Range of values Default Unit Data size Attribute TC (0) to Unsigned Readable TC (7) Timer counters 0 to 2 10 ms 2-word data and writable - Explanation These variables can be used to monitor the counts of the timer counters. The timer counters “TC (0)” to “TC (7)” usually operate as 31-bit free-running timer counters that start simultaneously with user program startup and are incremented in a 10-ms cycle.
Chapter 2 Syntax TD (0) to TD (7), TDw Variable name Range of values Default Unit Data size Attribute TD (0) to Timer contact output 0: Off Unsigned Readable TD (7) (bit access) 1: On 1-word data Timer contact output Unsigned 0 to 255 Readable...
Chapter 2 Syntax Inverter Montor Variables Variable name Range of values Default Unit Data size Attribute Unsigned Output frequency monitoring 0 to 40000 0.01 Hz Readable 1-word data - Explanation This variable can be used to monitor the inverter output frequency. The data monitored with this variable corresponds to the data monitored by the output frequency monitoring function (d001).
Chapter 2 Syntax Variable name Range of values Default Unit Data size Attribute Iout Unsigned Output current monitoring 0 to 9999 0.01 % Readable 1-word data - Explanation This variable can be used to monitor the inverter output current. The data monitored with this variable corresponds to the data monitored by the output current monitoring function (d002).
Chapter 2 Syntax Variable name Range of values Default Unit Data size Attribute 0: Stop Rotation direction Unsigned 1: Forward rotation Readable monitoring 1-word data 2: Reverse rotation - Explanation This variable can be used to monitor the direction of motor operation by the inverter. The data monitored with this variable corresponds to the data monitored by the rotation direction monitoring function (d003).
Chapter 2 Syntax Variable name Range of values Default Unit Data size Attribute PID-FB Process variable (PV), PID Unsigned 0 to 9990000 0.01 % Readable feedback monitoring 2-word data - Explanation This variable can be used to monitor PID feedback data in the inverter. The data monitored with this variable corresponds to the data monitored by the process variable (PV), PID feedback monitoring function (d004).
Chapter 2 Syntax Variable name Range of values Default Unit Data size Attribute Tmon Unsigned Torque monitoring -200 to 200 Readable 1-word data - Explanation This variable can be used to monitor output torque of the motor operated by the inverter. The data monitored with this variable corresponds to the data monitored by the torque monitoring function (d012).
Chapter 2 Syntax Variable name Range of values Default Unit Data size Attribute Vout Unsigned Output voltage monitoring 0 to 6000 0.1 V Readable 1-word data - Explanation This variable can be used to monitor the inverter output voltage. The data monitored with this variable corresponds to the data monitored by the output voltage monitoring function (d013).
Chapter 2 Syntax Variable name Range of values Default Unit Data size Attribute PlsCnt Unsigned Pulse count monitoring 0 to 32767 Readable 2-word data - Explanation This variable can be used to reference the pulse count when the pulse counter function is selected. The data referenced with this variable corresponds to the data monitored by the pulse counter monitoring function (d028).
Chapter 2 Syntax Variable name Range of values Default Unit Data size Attribute STATUS Unsigned Inverter status monitoring Readable 1-word data - Explanation This variable can be used to reference inverter status information. The information to be referenced is defined as follows: STATUS bit0 : Run bit1 : Trip...
Chapter 2 Syntax Variable name Range of values Default Unit Data size Attribute RUN-Time Cumulative operation Unsigned 0 to 999999 Hour Readable RUN time monitoring 2-word data - Explanation This variable can be used to monitor the accumulated running time of the inverter. The data monitored with this variable corresponds to the data monitored by the cumulative operation RUN time monitoring function (d016).
Chapter 2 Syntax Variable name Range of values Default Unit Data size Attribute ERR CNT Number Unsigned Trip counter 0 to 65535 Readable of times 1-word data - Explanation This variable can be used to monitor the number of times the inverter has tripped. The data monitored with this variable corresponds to the data monitored by the trip counter function (d080).
Chapter 3 Interface with the Inverter This chapter explains the inverter settings to use the easy sequence function. Inverter Settings······················································· 3-1 Switching of Operation ············································ 3-3 Switching of Input / Output Terminals ······················ 3-3 Switching of Command Input Device······················· 3-8 Others ······································································...
Chapter 3 Interface with the Inverter Inverter Settings The following table lists the inverter settings related to the easy sequence function. (1)SJ700/L700/SJ700B Series Item Variable notation Related function Variable/ Category Terminal name in program code terminal use condition Operation Selection of easy sequence function A017 switching The PRG terminal is enabled when...
Chapter 3 Interface with the Inverter (2)WJ200 Series ries Item Category Terminal name Operation A017 Selection of easy sequence function switching The PRG terminal is enabled when terminal A017 = 01 A017 = 01. Program run signal The user program always runs when A017 = 02 A017 = 02.
Chapter 3 Interface with the Inverter Switching of Operation (1) Easy sequence function selection (A017) To enable the easy sequence function, specify “01” (enabling) or “02” (always on) for the easy sequence function selection (A017). (“02” cannot be selected by the SJ700/L700/SJ700B series.) In the SJ700/L700/SJ700B Series, when the easy sequence function is enabled, the FW terminal is switched to the PRG terminal, which is used to run the sequence program downloaded to the inverter.
Chapter 3 Interface with the Inverter (2) WJ200 Series Intelligent terminal Function code Program variable Remarks function X (00), Xw 56 : MI1 57 : MI2 X (01), Xw Each terminal can operate for X (02), Xw 58 : MI3 Terminal [1] to [7] functions easy sequence input and X (03), Xw...
Chapter 3 Interface with the Inverter (4) General-purpose analog input terminal (O terminal) You can use the O terminal as a general-purpose analog input terminal. By referencing the data stored in variable “XA (0)”, the data (ranging from 0 to 10000) input via the O terminal can be fetched. Switching the O terminal to a general-purpose analog input terminal does not require any special setting.
Chapter 3 Interface with the Inverter (7) General-purpose analog output terminal (FM terminal in SJ700/L700/SJ700B / EO terminal in WJ200) You can use the FM terminal as a general-purpose analog output terminal for the easy sequence function. For this purpose, specify “12”...
Chapter 3 Interface with the Inverter (9) General-purpose analog output terminal (AMI terminal) This terminal function is available for only SJ700/L700/SJ700B series. WJ200 series does not correspond. You can use the AMI terminal as a general-purpose analog output terminal for the easy sequence function. For this purpose, specify “14”...
Chapter 3 Interface with the Inverter Switching of Command Input Device (1) Frequency source setting (A001 / A201) Selection of the device used to input frequency commands follows the frequency source setting (A001 / A201), regardless of whether the easy sequence function is enabled. EzSQ provides variable “SET-Freq”...
Chapter 3 Interface with the Inverter Others (1) User-defined variables “U (00)” to “U (31)” (P100 to P131) The easy sequence function provides 32 user-defined variables “U (00)” to “U (31)”, which correspond to inverter parameters “P100” to “P131”. You can use the “Data Window” of EzSQ to set data in these variables, and store them as inverter parameters “P100” to “P131”...
Page 80
Chapter 3 Interface with the Inverter 3-10...
Chapter 4 Errors and Troubleshooting This chapter explains the errors that may occur when using the easy sequence function and the methods of handling the errors. Errors Specific to the Easy Sequence Function ······ 4-1 Troubleshooting ······················································· 4-2...
Chapter 4 Errors and Troubleshooting Errors Specific to the Easy Sequence Function The table below lists the errors that are specific to the easy sequence function. For other errors in the inverter, refer to the SJ700 Series Inverter Instruction Manual. Error (causing Factor code Description...
Chapter 4 Errors and Troubleshooting Troubleshooting The table below shows how to handle the errors specific to the easy sequence function. For details on other errors in the inverter, refer to the inverter instruction manual. Factor Error (causing Possible cause Checking method Corrective action code...