3 Devices
DVP-20PM Application Manual
3-36
Clearing the
If users want to clear the M-code in D1703, they have to set M1744 to ON. If
M1744 is set to ON, the value in D1703 will be cleared, and M1794 will be reset.
If users want to clear the M-code in D1703, they have to set M1744 to ON. If
M1744 is set to ON, the value in D1703 will be cleared, and M1794 will be reset.
M-cod
e wh c
is execu
i h
ted
If an M code in an Ox motion subroutine is executed, M1794 will be ON. The
M-code which is executed is stored in D1703.
M1744, M1794,
and D1703
M1744, M1794,
and D1703
d
If an M code in an Ox motion subroutine is executed, M1794 will be ON. The
M-code which is executed is stored in D1703.
Ready flag
M1792, M1872,
and M2032
1. Every motion axis uses a ready flag. The X-axis uses M1792, the Y-axis uses
M1872, and the Z-axis uses M2032. Users can use the ready flags to judge
whether the axes operate.
2. Description of the ready flag for the X-axis: Before the X-axis operates, M1792 is
ON. When the X-axis operates, M1792 is OFF. After the first axis finishes
operating, M1792 is ON.
Enabling the writing
1.
If users wan
t to write the present co
mmand position of the X-axis/Y-axis/Z-axis,
they have to set M1751/M1831/M1991 to ON. After M1751/M1831/M1991 is set
to ON, a value can be written into D1848/D1928/D2008.
of t
he present
command p s iono it
2. If users write a value into D1848 when M1751 is OFF, the va
lue in D1848 will be
cleared to 0.
M1751, M1831,
and M1991
Stopping the
at
1. M1761, M1841, and M2001 are used to stop the X-axis, the Y-axis, and the Z-axis
at the angles specified in positive JOG motion.
unia
xial motion
the angle specified
2. Users have to set M1761 to ON, write the number of pulses per cycle into (D1843,
D1842), write an angle into (D1839, D1838), and start positive JOG motion.
M1761, M1841,
and M2001
3. Stopping uniaxial motion at an angle specified
Parameter X-axis Y-axis Z-axis
Stopping at the
angle specified
M1761 M1841 M2001
Angle
(D1838, D1839) (D1918, D1919) (D1998, D1999)
Number of
pulses per cycle
(D1842, D1843) (D1922, D1923) (D2002, D2003)
4. If the number of pulses it takes for the motor of an axis to rotate once is 20000,
and the angle at which users want to stop the axis is 90 degrees, there will be the
states shown below.
Starting position
Stop position of the JOG
motion
Final stop position
Zero degrees
4000 pulses
5000 pulses (90 degrees)
Random angle
63500 pulses
65000 pulses (90 degrees)