9 Electronic Cam
Stopping a cyclic electronic cam
The steps of stopping a cyclic electronic cam are as follows.
1. When D1846 bit 13 (enabling cyclic electronic cam)=OFF, the X-axis of electronic cam stops
immediately.
2. When M1748 (indicate electronic cam completion) is ON during electronic cam execution, Slave
of electronic cam will stop until the current electronic cam cycle is completed.
n
n+60
n+300
M1748, indicate E-CAM
completion
Set by user
Slave
Position
D1846 b13=ON
enables cyclic E-CAM
M1812=ON,
initialization completed
CLR0 sync output
E-CAM completion
Reset by user
Master
position
M1813,
Example
【Function】
The figure shown below is electronic cam data.
Electronic cam cycle: Master position 0~50000
Control unit: Motor system
Sync output: Master position 20000~30000
CLR0=ON: Control signal.
Please refer to section 9.4 for more information about creating electronic cam data. Connect the
Y-axis pulse output terminals (FP+, FP-, RP+, RP-) to the X-axis MPG input terminals (A0+, A0-,
B0+, B0-). In this case, the input signals of the master axis are from output signals of the Y-axis.
In this example, the electronic cam data is created by PMSoft. Please refer to section 9.4 for more
information about creating electronic cam data. Connect the Y-axis pulse output terminals (FP+, FP-,
RP+, RP-) to the X-axis MPG input terminals (A0+, A0-, B0+, B0-). In this case, the input signals of
the master axis are from output signals of the Y-axis.
【Steps】
1. Set special registers. The parameters set are as follows.
(1) Clear the content in registers D1848, D1849, D1862, D1863, D1868.
(2) Set up input pulse type as A/B phase (D1864=H200)
(3) Set up pulse output type of Y axis as A/B phase (H30)
(4) Set up D1799 (input terminal polarity setting)=6. MPGA/MPGB are NO contacts
(5) Set up operation speed of Y axis variable speed operation (in this case Y axis outputs
DVP-20PM Application Manual
9-11