Download Print this page

Danfoss MCO 305 Design Manual page 79

Hide thumbs Also See for MCO 305:

Advertisement

MCO 305 Design Guide
How to Program
Programming the MCO with the APOSS Macro-language
The following chapters describe how to program the FC 300 with MCO 305 using APOSS. Beginners should
read the basic explanations on the programming language APOSS, i.e. program layout, command structure,
interrupt, elements of the programming language, and arithmetic. Experienced users should inform
themselves about the APOSS-specific basic principles, e.g. user units, or parameters.
The Edit menu is used to create and comment on the programs. It is particularly easy to write a program by
using the Command List menu. Once a command is selected, all the necessary input fields are immediately
opened. After entering the values the syntax is automatically formed and you can insert the entire
command in your program.
With teach-in programming you simply move the axis can be simply moved to the desired position and store
the position which has been reached. In this manner you can quickly program the most complicated adjust-
ments and sequences of movements.
All commands are described in the Software Reference, first in a general overview and then alphabetically
ordered, in detail and complemented with short examples. You can reconstruct as many as 50 programs
with assistance of the information in the program samples in the corresponding chapter in the online-help.
And in chapter Parameter Reference all the parameters are described, first in general and then in detail.
Program Layout
Usually a program starts with the definitions of
arrays, interrupts, and application parameters. For
example:
DIM send[12], receive[12]
ON ERROR GOSUB errhandle
ON INT -1 GOSUB stopprog
ON PERIOD 500 GOSUB calc
ON TIME 10000 GOSUB break
LINKGPAR 1990 "Offset [qc]" 0 100000 0
®
MG.33.L4.02 – VLT
is a registered Danfoss trademark
// Array
// Interrupts
// Application parameters
79

Advertisement

loading