576
8
8 Electronic Cam8.8.1 Writing Electronic Cam Data
Example:
The following gure shows M0 and Y0 timing charts of an electronic cam when the X axis is selected as a
slave axis.
1 2
100
…
Master axis position (SD48, SD49)
M0
Y0
300
…
500
…
700
…
900
…
1000
…
1 2
100
…
300
…
500
…
700
…
900
…
…
8.8 Modifying Key Points for Electronic Cams
The cam curve established in the background can be read back, and the key points of the curve can be modied
in program. The following table lists instruction formats.
Electronic Cam
Instructions
“CAMWR: Writing electronic cam data”
Modifying key points in the
unit of pulses
“CAMRD: Reading electronic cam data”
Reading back key points in
the unit of pulses
“ECAMWR: Writing electronic cam
oating-point decimal data”
Modifying key points in
mechanical units
“ECAMRD: Reading electronic cam
oating-point decimal data”
Reading back key points in
mechanical units
8.8.1 Writing Electronic Cam Data
CAMWR: Writing electronic cam data
◆
Overview
The CAMWR modies electronic cam table data in the unit of pulses.
CAMWR
m1 m2 D n
Writing electronic
cam data
Applicable model:
H3U
m1
Cam table
Cam table to be modied
32-bit instruction
(17 steps)
DCAMWR
:
Continuous
execution
m2
Starting
point
Starting point
D
Data
Data address
n
Number of
points
Number of key points