General Flow Of Operation And Setup; Creation Of User Program; Syntax Check - Hitachi SJ700-2 Series Instruction Manual

Easy-sequence programming software ezsq
Hide thumbs Also See for SJ700-2 Series:
Table of Contents

Advertisement

2.3 General Flow of Operation and Setup

A general flow of operations from programming to program execution with the easy sequence function is
as follows:
(1) Create and compile a user program with the Program Editor (EzSQ).
(2) Download the compiled user program to the inverter, and save it in EEPROM.
(3) Configure the parameters required for the easy sequence function in the inverter.
(4) Enable the easy sequence function (set "01" in parameter "A017").
(5) Turn on the FW terminal (PRG signal) to execute the user program.
After having downloaded the user program to the inverter, you can disconnect the inverter from the
personal computer and execute the easy-sequence program (i.e., user program) on the inverter alone.
If the downloaded user program is saved in internal EEPROM of the inverter, you can execute the user
program even after resetting the inverter power. If the downloaded user program is not saved in EEPROM,
the user program will be deleted when the inverter power is fully shut off. You are recommended not to
save a created user program when downloading it to the inverter for debugging purposes. You should
save the user program when downloading it again after debugging.

2.4 Creation of User Program

To input a user program, use the EzSQ Program Editor on the Windows system (personal computer).
The Program Editor has three functional windows: the "Code Window" (for code input), "Data Window"
(for data input), and "Monitor Window" (for monitoring).
Use the "Code Window" to input program source codes to create a user program.
Use the "Code Window" to configure the initial values for program execution.
Use the "Monitor Window" to monitor the status of program execution and inverter operation, and debug a
created user program.
After checking the program syntax and counting the program steps, download the user program to the
inverter.
For details on the above operations, see Chapter 4, "How To Use EzSQ."
(1) Code input (in the "Code Window")
A main routine must begin with an "entry" instruction and end with an "end" instruction. A user
program can contain only one main routine.
A subroutine must begin with a "sub" instruction and end with an "End sub" instruction. A user
program can include multiple subroutines.
(2) Data input (in the "Data Window")
Define the initial values of the variables used in the user program you created. A variable must be
defined on a line with a variable name, definition expression, and calculation result. The definition
expression can be another variable.

2.5 Syntax Check

When a user program is compiled, the codes input in the "Code Window" are checked for validity. If a
syntax error is detected, EzSQ stops compilation and displays an error message.
EzSQ checks whether the input codes conform to the parameter input restrictions and the limited number
of steps. At the end of compilation, EzSQ generates the intermediate program codes.
The following input restrictions apply to code input in the "Code Window":
(1) Label (Label)
All alphanumeric characters can be input.
(2) Mnemonic code (Mnemonic)
Only instructions and writable variables can be input.
(3) Parameter string (Parm 1 to 6)
Parameter data can be set according to an instruction input as a mnemonic string. If a blank or
"<Instruction>" is input as a mnemonic string, parameter data cannot be input.
(4) Comment string (Comment)
All alphanumeric characters can be input.
Chapter 2 Creation and Execution of a User Program
2 - 3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sj700 series

Table of Contents