9 Electronic Cam
Stopping a noncyclic electronic cam
1. When D1846 bit 14 (enabling noncyclic electronic cam)=OFF, Slave of electronic cam stops
immediately.
M1812=ON,
initialization completed
M1813, E-CAM completion
n
n+60 n+300
( / )Pg0 Start0
Slave
Position
D1846 b14=ON
enables noncyclic E-CAM
Start signal of E-CAM
Sync output
Master
position
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.
D1846 b14=ON
enables noncyclic E-CAM
M1812=ON,
initialization completed
Sync output
M1748, indicate E-CAM
completion
n
n+60 n+300
Start signal of E-CAM
M1813, E-CAM completion
Slave
Position
Master
position
Reset by user
Set by user
( / )Pg0 Start0
Example
【Function】
The figure shown below is electronic cam data.
Electronic cam cycle: Master position 0~100000
Control unit: Motor system
Every time when START0 is triggered, execute 3 noncyclic electronic cam data (D1832=2)
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 (D1896=H30)
(4) Set up D1799 (input terminal polarity setting)=6, MPGA0 and MPGB0 are NO contacts.
(5) Set M1035=ON to enable STOP0/START0 as external input point.
(6) Set M1746=OFF to enable START0 as the start signal of noncyclic electronic cam.
DVP-20PM Application Manual
9-14