Danfoss VLT5000 SyncPos Operating Instructions Manual page 166

Motion controller for danfoss vlt5000 series; danfoss vlt 5000flux series
Table of Contents

Advertisement

■ ■ ■ ■ ■ #DEBUG
With introducing the debug mode into the PC user
interface, the #DEBUG commands are no longer
executed from firmware version
VLT5000/SyncPos Software Version 3.xx/4.2x
VLT5000/FluxSyncPos Software Version 5.xx/4.2x
onwards.
Existing #DEBUG commands may not necessarily
be removed from the program as they will be
ignored.
Cross Index
Look up user Interface: "DEVELOPMENT" →
"PREPARE SINGLESTEP"
MG.10.J8.02 – VLT is a registered Danfoss trade mark
Programmable SyncPos motion controller
■ ■ ■ ■ ■ INCLUDE
The #INCLUDE instruction tells the Compiler to
include the contents of the given file in the corres-
ponding program position during the translation of
the program.
The INCLUDE instruction is therefore not a genuine
command that causes a reaction within the SyncPos
option, but an instruction for the translation program
– a Compiler Directive.
The #INCLUDE instruction can be placed in any
program position, as many times as desired within a
program. However, attention must be given to the
fact that the data to be included contains com-
mands that may be used in the momentary program
position, and that the command syntax is correct.
The #INCLUDE instruction is especially suitable for
storing frequently used subroutines in separate files
and to include them in the application within the
SUBMAINPROG ..ENDPROG area.
Summary
Inclusion of file contents in the indicated program
position
Syntax
#INCLUDE file
Parameter
file = complete name of the file to be included
(path commands inadmissible)
NB!
The file to be included must be in the current
directory. The given data names must end
with ".M". The commands within the file to be
included must have correct syntax.
Command group
CON
Syntax-Example
#I NCLUDE I NC_UP01.M
/* Include contents from file INC_UP01.M */
Program sample
INCL_01.M + INCSTA01.M + INCPOS01.M +
INCIN01.M
165

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents