Contents
Chapter 1
Outline of EzSQ
1.1
Outline······································································································································· 1-1
1.2
Corresponding Model ··············································································································· 1-1
1.3
Specifications ···························································································································· 1-1
1.4
Preparation and System Configuration ···················································································· 1-2
1.5
General Flow of Operation and Setup ······················································································ 1-3
1.6
Notice ········································································································································ 1-3
Chapter 2
Syntax
2.1
Description Format ··················································································································· 2-1
(1) Program Description Format ····························································································· 2-1
(2) Data Description Format ···································································································· 2-2
(3) Multitasking function ·········································································································· 2-2
2.2
List of Instructions ····················································································································· 2-3
(1) Program control instructions ······························································································ 2-3
(2) Conditional expressions ···································································································· 2-4
(3) Operational instructions ····································································································· 2-4
(4) Input / output control, timer control, and inverter control instructions ······························· 2-5
(5) Variables ···························································································································· 2-6
(6) Numeric values ·················································································································· 2-6
2.3
Program Control Instructions ···································································································· 2-7
entry and end statements ······································································································· 2-7
sub and end sub statements ··································································································· 2-7
goto statement ························································································································ 2-8
on trip goto statement ············································································································· 2-8
ifs-then-else-end if statements ································································································ 2-9
if statement ······························································································································ 2-10
for-next loop statements·········································································································· 2-11
while loop statement ··············································································································· 2-12
until loop statement ················································································································· 2-13
select case syntax statement ·································································································· 2-14
call statement ·························································································································· 2-15
inc statement ··························································································································· 2-15
dec statement ·························································································································· 2-16
Label definition statement ······································································································· 2-16
wait statement ························································································································· 2-17
2.4
Input/Output Control Instructions ······························································································ 2-18
X ( ) or Xw (contact input) ······································································································· 2-18
Y ( ) or Yw (contact output) ····································································································· 2-19
UB ( ) or UBw (internal user contact control) ·········································································· 2-22
2.5
Timer Control Instructions ········································································································ 2-23
timer set (timer-start instruction) ····························································································· 2-24
timer off (timer-stop instruction) ······························································································ 2-25
delay on or delay off (delay operation instruction) ·································································· 2-25
Summary of Contents for NT2021XA
Page 4: ... Safety Instructions ...
Page 8: ... Contents ...
Page 10: ...Chapter 1 Outline of EzSQ ...
Page 14: ...1 4 Chapter 1 Outline of EzSQ ...
Page 16: ...Chapter 2 Syntax ...
Page 68: ...2 52 Chapter 2 Syntax ...
Page 70: ...Chapter 3 Interface with the Inverter ...
Page 80: ...3 10 Chapter 3 Interface with the Inverter ...