Change And Read Variables Online; Go" (Debug) And "Singlestep; End Debug; Show Watch - Danfoss VLT5000 SyncPos Operating Instructions Manual

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

Advertisement

Compatibility
The red breakpoints replace the former #DEBUG
on/off commands, which is 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.
If a VLT with an earlier version is used, the program
execution is started with "DEVELOPMENT" → → → → →
"PREPARE SINGLESTEP" and gradually processed
with → "SINGLESTEP" or [F9]. Other debug func-
tions such as "GO" or "SHOW WATCH" cannot be
selected.
Change variables online
In the debug mode you can change the variables
during program execution. Please observe that such
a change should also be considered for the
program.
Click on the variable with the right mouse button
and set the desired value in the following field:
Read variables
In the debug mode you can read the current value
of the variables after the program execution.
Click on the variable with the left mouse button and
the value is displayed until you move the mouse
cursor again.
■ ■ ■ ■ ■ "GO" (Debug) and "SINGLESTEP"
The program execution stops at the first breakpoint
and waits for your input:
Click on "DEVELOPMENT" → "SINGLESTEP" or
press F9 in order to execute the next program line.
Or click on "DEVELOPMENT"→ "EXECUTE" or press
[F5] in order to process the program until the next
breakpoint.
By pressing [F9] the program will then stop before
the next program line, by pressing [F5] before each
breakpoint.
56
Programmable SyncPos motion controller
Interrupt program execution in the Debug Mode
Click on "DEVELOPMENT" → "BREAK" or press
[ESC] in order to immediately abort the program
execution. When doing so, it is possible that active
motion processes could be ended prematurely.
NB!
Braking is done with the maximum
deceleration permitted.
Then, the cursor is in the program line which should
be executed next. You can continue with
"DEVELOPMENT" → "EXECUTE" [F5] or →
"SINGLESTEP"
[F9].
■ ■ ■ ■ ■ "END DEBUG"
With "DEVELOPMENT" → "END DEBUG" the pro-
gram execution is ended immediately and you exit
the debug mode. The marking of the program lines
is removed, but the breakpoints are still displayed so
that they can be used again with the next debug-
ging. That means that if you insert program lines, the
breakpoints wander along with it.
■ ■ ■ ■ ■ "SHOW WATCH"
This function enables online monitoring of the
variables, arrays, system and axis processing data
(according to the SYSVAR indices) and axis
parameters.
Click on "DEVELOPMENT" → "SHOW WATCH" and
in the following dialog window on → "ADD". In the
next dialog window you can choose between the
variables, arrays and parameters.
By double-clicking on the desired type, e.g. variable,
you can choose between all variables used in the
program. Mark the expression to be monitored and
select the format in which it should be displayed
(decimal, hexadecimal, binary). Then click on OK.
MG. 1 0.J8.02 – VLT is a registered Danfoss trade mark

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents