9 Electronic Cam
(7) Set D1832=2 (Repeat electronic cam data for two times)
(8) Set up operation speed of Y axis variable speed operation (in this case Y axis outputs
signals as input signals of Master).
2. Set ON M0 to enable noncyclic electronic cam. When D1846=H4000, Y axis variable speed
operation is enabled but X axis is not yet executed.
3. Trigger START0. X axis will be activated and executes the electronic cam data for 3 cycles.
4. Reset M0. When M0 is reset during the execution of electronic cam, X axis will be stopped.
【Program】
MOV
K2
D1832
M1002
ZRST
D1860 D1863
M1002
SET M1035
DMOV K2000
D1920
MOV
H10
D1926
MOV H4000 D1846
ZRST D1848 D1849
Set up pulse input/output type
as A/B phase D=H30
Set up D1799 (input terminal polarity setting)= 6.
MPGA0/MPGB0 are NO contacts.
MOV H30 D1816
MOV K6 D1799
RST M1746
MOV H0 D1846
M0
M0
LD= D1846 H4000
Set up operation speed of Y axis
variable speed operation
When D1846=H4000, Y axis variable speed
operation executes.
When M0 is rising-edge triggered, set
D1846=H4000 to enable acyclic E-CAM
Reset M1746. Acyclic E-CAM is triggered by
START0
Enable STOP0/START0 as external input point
When M0 is falling -edge triggered, acyclic E-CAM
stops
Repeat E-CAM Data for 2 times
ZRST
D1860 D1863
K200
D1864
MOV
RST
D1868
9.3 Registers for Electronic Cam Motion
Electronic cam max frequency
1. D1841, D1840 (VI): Electronic cam max frequency. If the registers are not set up properly,
output function will not operate normally.
2. M1749: Electronic cam max frequency control
M1749=OFF, the Slave frequency will follow the Master frequency, but the max frequency will be
300 kHz.
Master
Slave
DVP-20PM Application Manual
9-15