Danfoss MCO 305 Design Manual page 60

Programmable motion controller
Hide thumbs Also See for MCO 305:
Table of Contents

Advertisement

MCO 305 Design Guide
Undo Function
You can use [Alt]-[Backspace], or [Ctrl]-[Z], or Edit → Undo to undo the last action in the Edit Window.
NB!:
Note that both File → Save and File → Save as clear the Undo memory.
Tabs
Use tabs and indentation to visually structure your program. The tab size can be set in Settings → Editor.
Line numbers
Within your program you can use the line numbers for orientation purposes. For example, the "Syntax
Check" command not only places the cursor at the first line corresponding to an error, but also displays the
line numbers containing errors in the Communication Window.
The current line number can be found in the status
bar at the bottom right of the APOSS Window as is
shown below. For example "13:1" means that the
cursor is located on line 13 at position 1 (i.e.
before the first character).
Recording and Executing Macros
Frequently used commands or command chains can be recorded as "macros" and then assigned to key-
board shortcuts. The shortcuts can then be used to repeat the commands whenever required. Up to
10 different macros can be defined. These macros are saved and restored the next time that the APOS-IDE
is started.
To start recording a macro, press [Ctrl]-[Shift]-[R]. The following "Record Macro" dialog will indicate that
the recording has started. Then type whatever you want recorded in the macro. This can include normal
keyboard keys, keyboard shortcuts, and menu commands.
To end the recording, click on the black button in
the "Record Macro" dialog.
This will display the dialog "Save Macro". Press the
keyboard shortcut that you want to assign to the
macro (e.g. [Ctrl]-[Shift]-[M]). Each shortcut can
be up to two characters in length. Then select one
of the available "Save As" alternatives.
NB!:
When specifying the macro shortcut, almost any keyboard key or shortcut can be used. However,
be careful not to use a keyboard key or shortcut that already has an existing meaning. Doing so
will cause the original meaning to be lost and in some cases cause unpredictable results. For
example, using the [↑] key will make it impossible to use that key anymore to move the cursor! Using the
[Alt] key (e.g. [Alt]-[A], [Alt]-[X], etc.) is a good option since most of these will not conflict with previously
defined shortcuts.
All currently defined macros can be cleared using Edit → Clear Macros.
60
__ PC Software Interface __
®
MG.33.L5.02 – VLT
is a registered Danfoss trademark

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents