Danfoss MCO 305 Design Manual page 45

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

Advertisement

MCO 305 Design Guide
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
__ Functions and Examples __
// 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.L5.02 – VLT
is a registered Danfoss trademark
45

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents