Danfoss MCO 305 Design Manual page 38

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

Advertisement

MCO 305 Design Guide
Program Example: Stamping of Boxes with Use-by Date
Since the curve is stored internally as an array, the DIM instruction must appear first in your program:
DIM stamping[92]
HOME
// Afterwards, the slave will be in the zero position (0 degrees)
// (Omitted if an absolute encoder is used)
SETCURVE stamping
// Assumption: A box is positioned at the processing point with its front edge and the master stands idle
DEFMCPOS 1000
POSA CURVEPOS
SYNCC 0
SYNCCSTART 0
// This does not cause any movement since the master is idle and in the correct position
// Now the master can be started
start:
// Empty main loop so that program will not be terminated
// Additional processing could take place here
GOTO start
38
__ Functions and Examples __
// Number of elements from the title bar of the CAM-Editor
// Slave axis performs a home run (switch for zero position on top)
// Set stamp curve
// 1000 corresponds to this position (front edge of box)
// Bring slave to the curve position that corresponds to the master position
// Change into and remain in CAM-Mode
// Engage roller immediately with the set maximum velocity
®
MG.33.L5.02 – VLT
is a registered Danfoss trademark

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents