Chapter 2 Creation and Execution of a User Program
2 - 1
2.1 Language Specifications
The table below lists the programming-related specifications of the easy sequence function.
Item Specification
Programming language
Basic-like language
Input device
Windows (DOS/V) personal computer (OS: Windows 98SE, Windows 2000, or Windows XP)
Max. program size
1024 steps
(The internal storage capacity of the inverter is 1024 steps or 6 kilobytes.)
Programming support
function (programming
software)
- Editing (on Windows)
- Display (on Windows)
- Program syntax check (on Windows)
- Downloading, uploading, and full clearance of program
Language specification
Execution format
Execution by interpreter in an execution cycle of 2 ms per instruction
(possible subroutine call with nesting in up to 8 layers)
Contact signal
24 V open-collector input (using intelligent input terminals)
Program run signal input
Always assigned to the FW terminal
General-purpose input
terminals
Up to 8 terminals (X (00) to X (07))
XA (0): 0 to 10 V (O terminal)
XA (1): 4 to 20 mA (OI terminal)
External input
General-purpose analog input
XA (2): 0 to 10 V (O2 terminal)
General-purpose output terminal
Up to 6 terminals (Y (00) to Y (05))
YA (0): Assignable to the FM terminal
YA (1): Assignable to the AM terminal
Input/output
-relat
ed functions
External output
General-purpose analog output
YA (2): Assignable to the AMI terminal
Instructions
(1) Program control instructions
- Loop (for)
- Unconditional branching (goto)
- Conditional branching (if then, ifs then, select case, until, and while)
- Time control (wait)
- Subroutine (call, sub)
- Others (entry, end, cont, inc, and dec)
(2) Arithmetic instructions
- Arithmetic operation (+, -, *, /)
- Remainder (mod)
- Substitution (=)
- Absolute value (abs)
- Logic operation (or, and, xor, and not)
(3) Input/output control
- General-purpose input/output (bit input, word input, bit output, and word output)
- Reading of inverter input terminal
(4) Timer control
- Delay operation
- Timer control
(5) Parameter control
- Rewriting of parameters by reselecting code on the operator's display
User-defined variable
U (00) to U (31) (32 variables)
Internal user variable
UL (00) to UL (07) (8 variables)
Set frequency
SET-Freq
Acceleration time
ACCEL
Deceleration time
DECEL
Monitoring variable
FM, Iout, Dir, PID-FB, F-CNV, Tmon, Vout, Power,
RUN-Time, ON-Time, PlsCnt, POS, STATUS,DCV,
ERR CNT, ERR (1), ERR (2), ERR (3), ERR (4),
ERR (5), and ERR (6)
General-purpose input contact
X (00) to X (07) (8 contacts)
General-purpose output contact
Y (00) to Y (05) (6 contacts)
(including a relay contact output)
Internal user contact
UB (00) to UB (07) (8 contacts)
Internal timer contact
TD (0) to TD (7) (8 contacts)
Reserved words
Number of variables
Inverter input/output
Specification by code on the remote operator's display
Summary of Contents for SJ700 Series Software
Page 8: ...Contents vii ...
Page 10: ......
Page 16: ...Chapter 1 Introduction 1 6 ...
Page 18: ......
Page 24: ...Chapter 2 Creation and Execution of a User Program 2 6 ...
Page 26: ......
Page 30: ...Chapter 3 Syntax 3 4 ...
Page 32: ......
Page 54: ......
Page 102: ......
Page 110: ...Chapter 6 Interface with the Inverter 6 8 ...
Page 112: ......
Page 115: ...Chapter 8 Appendix 8 1 Inverter Parameters and Available Settings 8 1 ...
Page 116: ......