User guide
3
VTB USER GUIDE
1 INTRODUCTION
VTB is an integrated development environment for OBJECT oriented programming on PROMAX platforms. This
environment contains inside all tools needed to development of application in simple and intuitive way. The VTB
philosophy is based on latest technologies R.A.D. (RAPID APPLICATION DEVELOPMENT) which allow a fast
development of application writing a reduced amount of source code. A large library of OBJECTS and TECNHOLOGIC
FUNCTIONS allow to create applications for all sector area of industrial automation. VTB integrates a high level
language like enhanced BASIC MOTION. It's also possible to manage in clear and simple way FIELD BUS such as:
CAN OPEN
ETHERCAT
MODBUS
Powerful functions of AXIS MOVING allow to manage any type of machine using LINEAR, CIRCULAR, FAST LINEAR
INTERPOLATION or ELECTRIC GEAR, CAM PROFILES, etc.
VTB is predisposed for MULTI-LANGUAGE APPLICATIONS simply selecting the USING LANGUAGE.
2 NOTES ON PROGRAMMING LANGUAGE
VTB programming language is defined as BASIC MOTION.
Its syntax is very similar as enhanced BASIC with some terminologies derived from C language. Management of the
functions is very similar as VISUAL BASIC also for DATA STRUCTURES.
Some INSTRUCTIONS are VTB PROPRIETARY but following the same philosophy.
VTB is a language CASE INSENSITIVE that is it make no differences between UPPER CASE and LOWER CASE regarding
instructions, functions, variables etc. VTB converts internally all characters in UPPER CASE. The only one exception is
the management of DEFINE where characters are not converted in upper case but they remain so in all compilation
passes.
Because VTB is a language addressed to MOTION, some features, considered of secondary importance, remained at
PRIMITIVE level. For example the STRING management is made like C language using function such as STRCPY, STRCAT,
STRCMP etc.










