EDH0162En1040 – 06/99
6.4
MM4005
Feature Descriptions Tutorial
NOTE
The starting position and the ending position of the axis must be outside
the interval defined with PB and PE commands without forget accelera-
tion and deceleration ranges.
Example
Generate a signal synchronized by axis 1. It should start when the axis
crosses position -10 (current units) and end when it reaches position 10.
The step should be 1 (current units).
1PB-10, 1PE10, 1PI1
|
Defining the signal.
1PA-20
|
Motion without any signal generation.
1PS, 1PR40
|
Motion with signal generation between position -10 and 10, with a
step of 1 units.
TT
|
Position reading for each pulse generated.
1PR60
|
Motion without any signal generation.
NOTE
During a motion with synchronized signal generation, the real and theoreti-
cal position corresponding to each pulse is recorded in the position buffer.
This information can be read back using the TT command. To make the
buffer available and avoid any conflicts, the PS command terminates and
clears any settings made by a TM command. To use the trace mode after a
motion with synchronized signals, the TM command must be re-initiated.
A pulse is generated when the selected axis reaches the specified position,
as follows:
Axis position = PB + (n * PI), where Axis position
∈
[PB … PE].
The position accuracy of the generated pulse (the difference between the
theoretical position PB + n * PI and the real position) depends on the veloc-
ity of the selected axis as follows:
MaxError = ±(T
base
* Velocity)/2
Obviously, this value cannot be smaller than the encoder resolution.
Thus, if the calculated MaxError < Encoder resolution,
then
MaxError = Encoder resolution.
Example
For a velocity of 20 mm/sec and T
base
= 300 µsec:
MaxError = ± (3 * 10
-4
* 20)/2 = ±3 µm
This pulse location uncertainty will exist for every pulse generated but it is
not cumulative.
NOTE
The pulse location uncertainty is no longer significant if the pulse inter-
val (PI) is set to greater than ten times this error. Thus, the recommend-
ed value for PI is:
PI
min recommended
= 5 * T
base
* Velocity
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com