Pulse Every “n” Steps
The following command makes it possible to produce a repeating pulse for any number of
motor steps from 1 to 32,767.
setPmMn Set “Pulse Every n # Steps” on output 2 for axis m. Pulse is 10 µsec wide.
NOTE: Pulse will be generated when indexing and when jogging.
m= motor# (1,2,3,4), n= 0 to 32,767 (0= disable/default)
If n >1 when this command is set, or motor position is zeroed, (”N”) the
location from the present position where the pulse will occur is 1/2 n going in
either direction. However, if n is an odd value the extra step to produce a
pulse will be in the positive direction (pulse at the integer of 1/2 n going
negative, and pulse at the integer of 1/2 n+1 going positive.)
Example:
This example is will pulse on output 2 for every 4 steps of Motor 1
0
0
0
0
P
P
P
P
P
P
P
P
P
P
P
P
P
Motor position zeroed or command set
Motor position zeroed or command set
Motor position zeroed or command set
Motor position zeroed or command set
Positive
Positive
Positive
Positive
Negative
Negative
Negative
Negative
Graphic Representation:
Graphic Representation:
Graphic Representation:
Graphic Representation:
Example:
This example is will pulse on output 2 for every 2 steps of Motor 1
setP1M2
Example:
This example is will pulse on output 2 for every 3 steps of Motor 2
setP2M3
Example:
This example is will pulse on output 2 for every 5 steps of Motor 1
setP1M5
P
P
P
P
P
P
P
P
getPmM Get value for “Pulse Every n # Steps” for axis m.
m= motor# (1,2,3,4)
Value returned will between 0 and 32,767
(0= disable/default)
43
42