
User Manual
Chapter 15
GFK-1742F
Jan 2020
Using the Electronic CAM Feature
354
// Motion program for example CAM block
// Slave Axis
Program 1 AXIS1
VELOC 10000
// Set Velocity
ACCEL 10000
// Set Acceleration
100: WAIT CTL01
// Wait For LL to Say Master is ready
110: CAM-LOAD "ExCamProfile", P006, ABS
// Load Param. Reg. with Slave Pnt that
corresponds to current Master Position
120: PMOVE P006, ABS, LINEAR
// Move Slave Axis to the Position that
corresponds to Start of Table
130: CAM "ExCamProfile", 50000, ABS
// Execute CAM Statement
140: PMOVE 0,ABS,S-CURVE
// Move back to zero
150:
ENDPROG
// Master Axis Program
Program 2 AXIS2
VELOC 10000
ACCEL 10000
// Set Velocity
// Set Acceleration
200: PMOVE 0 ,ABS,S-Curve
// Start at zero
210: WAIT CTL08
// Master Waits Until Slave in Position
220: PMOVE 2500,ABS,LINEAR
// Move 1st Master Point in Table
230: DWELL 5000
// Wait 5 Sec
240: PMOVE 47500,ABS,LINEAR
// Move to 2nd Point
250: DWELL 5000
// Wait 5 Sec
260: PMOVE 2500,INC,LINEAR
// Finish Distance Specified in CAM Cmd 1st CAM
Complete
270: PMOVE 0,ABS,LINEAR
// Move back to zero
280:
ENDPROG