Download MX2/RX/LX Drive Programming USER`S MANUAL

Transcript
Drive Programming
Table of Contents
1- Introduction ....................................................................................................................................... 5
1-1 Handling of this Instruction Manual............................................................................................... 5
1-2 Safety Instruction .......................................................................................................................... 5
1-3 Preparation and System configuration.......................................................................................... 6
2- Specifications .................................................................................................................................... 7
3- Drive Programming Editor................................................................................................................ 8
3.1- Saving and loading programs ...................................................................................................... 9
3.2- Editor............................................................................................................................................ 9
3.3- Toolbar ....................................................................................................................................... 10
3-3-1 Common Commands .......................................................................................................... 10
3-3-2 Commands for the Flowchart Editor.................................................................................... 11
3-3-3 Commands for the Text Editor ............................................................................................ 11
3.4- Shortcut Keys............................................................................................................................. 12
3.5- Designer Area ............................................................................................................................ 12
3.6- Toolbox window ......................................................................................................................... 15
3.7- Block Parameters window.......................................................................................................... 16
3.8- Properties window...................................................................................................................... 17
3.9- Output window ........................................................................................................................... 18
3.10- Creating a program with Flowchart Editor ............................................................................... 18
3.11- Creating a program with Text Editor ........................................................................................ 19
3.12- Run a program ......................................................................................................................... 19
3.13- Comments - Text Editor ........................................................................................................... 19
3.14- #Alias definition - Text Editor ................................................................................................... 20
3.15- #Region definition - Text Editor ............................................................................................... 21
3.16- Conversion from Flowchart to Text .......................................................................................... 21
3.17- Conversion from Text to Flowchart.......................................................................................... 21
3.18- Find & Replace function........................................................................................................... 22
4- Drive Program structure ................................................................................................................. 23
4.1- Tasks.......................................................................................................................................... 23
4.2- Subroutines ................................................................................................................................ 24
5- Drive Programming user variables................................................................................................ 25
5.1- Initial Data .................................................................................................................................. 25
U(00) to U(31) or User parameters............................................................................................... 25
UL(00) to UL(07) or Internal User parameters.............................................................................. 25
5.2- Setting Variables........................................................................................................................ 25
Set-Freq ........................................................................................................................................ 25
ACCEL .......................................................................................................................................... 25
DECEL .......................................................................................................................................... 26
5.3- Inverter Monitor Variables
FM ................................................................................................................................................. 26
Iout ................................................................................................................................................ 26
Dir.................................................................................................................................................. 26
PIB-FB .......................................................................................................................................... 26
F-CNV ........................................................................................................................................... 26
Tmon............................................................................................................................................. 27
Vout............................................................................................................................................... 27
Power ............................................................................................................................................ 27
Run-Time ...................................................................................................................................... 27
On-Time ........................................................................................................................................ 27
UMon(0) to UMon(2) ..................................................................................................................... 27
POS .............................................................................................................................................. 28
ERR-CNT...................................................................................................................................... 28
ERR(1)-ERR(6)............................................................................................................................. 28
DCV .............................................................................................................................................. 28
STATUS........................................................................................................................................ 28
5.4- Terminal Variables ..................................................................................................................... 29
2