14. Verify whether the velocity and acceleration of
the slave remain within the limit. For this
purpose, you must activate the illustration of the
→
"VELOCITY" and of the →
and then the illustration of the
→
"ACCELERATION" and of the →
LIMIT".
15. "FILE" → "SAVE as CNF"
How to load the curve into the VLT
You can load the cnf file with the modified para-
meters and the – automatically generated – curve
arrays into the VLT by means of "PARAMETERS"
→ "RESTORE FROM FILE".
MG.10.J8.02 – VLT is a registered Danfoss trade mark
Programmable SyncPos motion controller
How to integrate the curve "slave synchronization"
into the control program
In order to determine the master position, a switch
"VEL.-LIMIT"
on the master is required that indicates the zero
position. In order to put the slave into the correct
"ACC.-
position, it will be moved forward to the photoelec-
tric 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]
// see number of elements in the title bar
// of the CAM-Editor window
H O M E
// 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
// Curve starts at master position 0
SET SYNCMSTART 2000
// Counting of master pulse does not begin
// until the next edge comes from the sensor
SETCURVE slavesync
// Set curve for the slave synchronization
// Go to start
CSTART
CVEL 10
// Go forward slowly until photoelectric
// beam appears
oldi = IPOS
// oldi = last marker position of the slave
WHILE (oldi == IPOS) DO
// Wait until box is detected
E N DWH I LE
POSA (IPOS + 2900)
// Move box forward by 2900
SYNCCMS 0
// Synchronize in CAM-Mode
SYNCCSTART 1
// Engage with start-stop point pair
47
Need help?
Do you have a question about the VLT5000 SyncPos and is the answer not in the manual?
Questions and answers