Download Print this page

Danfoss MCO 305 Design Manual page 44

Hide thumbs Also See for MCO 305:

Advertisement

MCO 305 Design Guide
16. Load the CNF file with the modified parameters and the – automatically generated – curve arrays into
the FC 300 by means of Parameters
Program Example: Slave Synchronization with Marker
In order to determine the master position, a switch on the master is required that indicates the zero
position. In order to put the slave into the correct position, it will be moved forward to the photoelectric
beam. This corresponds to the beginning of the box = 1000. Then the slave will be moved further by 2900
(= marker distance 3900–1000); thus, the slave is exactly in front of the processing point with the
beginning of the cardboard box 1000, i.e. at slave position 0.
DIM slavesync[108]
HOME
// Slave axis performs a home run (switch for zero position on top)
// afterwards, the slave will be in the zero position (0 degrees)
// (Omitted if an absolute encoder is used)
DEFMCPOS 0
SET SYNCMSTART 2000
SETCURVE slavesync
CSTART
CVEL 10
oldi = IPOS
WHILE (oldi == IPOS) DO
ENDWHILE
POSA (IPOS + 2900)
SYNCCMS 0
SYNCCSTART 1
CAM Box
The mechanical camshaft is also reproduced by one (or more) curves. In order to realize a CAM box, it must
be possible to engage and disengage the slave at specific master positions over and over again.
This is possible with APOSS with the interrupt command ON MAPOS .. GOSUB and ON APOS .. GOSUB. It is
possible to call up a subprogram whenever a defined master position has been passed (both in the positive
or negative direction, to be precise).
It is possible to realize many applications that are typical for the packaging industry in connection with a
curve profile in which several have been defined for engaging and disengaging.
Program Example of a CAM Box
After a cardboard box has been printed, the fresh
print is to be dried immediately in the air stream:
44
__ Functions and Examples __
Restore from file.
// Number of elements from the title bar of the CAM-Editor
// Curve starts at master position 0
// Counting of the master pulse does not begin
// until the next edge comes from the sensor
// Set curve for the slave synchronization
// Go to start
// Go forward slowly until photoelectric beam appears
// oldi = last marker position of the slave
// Wait until box is detected
// Move box forward by 2900
// Synchronize in CAM-Mode
// Engage with start-stop point pair 1
®
MG.33.L4.02 – VLT
is a registered Danfoss trademark
Air for drying is blown
on the fresh printing
surface for 300ms
Photoelectric beam
(external marker)
Master positions
0
1500
2500
[1/10 mm]
Processing point
Stamping roller
= Slave
4000
conveyor belt
= Master

Advertisement

loading