User Manual M3000® Automation System / MSC II (Moog Servo ...
User Manual M3000® Automation System / MSC II (Moog Servo ...
User Manual M3000® Automation System / MSC II (Moog Servo ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
10 <strong>MSC</strong> <strong>II</strong> (<strong>Moog</strong> <strong>Servo</strong> Controller) Digital Sensor Interfaces<br />
A<br />
B<br />
Z<br />
t pl<br />
t pl<br />
t ph<br />
t ph<br />
Reversal Point<br />
t d<br />
Figure 65: Timing requirements of incremental encoder signals<br />
Time Minimum Description<br />
tpl 125 ns Minimum pulse high time<br />
tph 125 ns Minimum pulse low time<br />
td 1 ns Edge to edge minimum delay time<br />
The incremental encoder provides relative position information. The position<br />
value is incremented or decremented depending on the lead/lag relationship<br />
of the two signals (A and B) delivered by the incremental encoder. These signals<br />
may vary in frequency. The implemented interface can react on frequencies<br />
up to 8 MHz.<br />
The position data is counted in a 32 bit free running counter. Each A/B signal<br />
edge triggers a 32 bit counter. This counter is overflowing to 0x0000 0000 or<br />
underflowing to 0xFFFF FFFF, depending on direction.<br />
Each pulse on the Z input may reset the counter to zero. This function must<br />
be enabled by a MACS function block. By default the counter is free running<br />
and Z input is ignored.<br />
On the left side of the dotted line B signal is leading. On the right side of the<br />
dotted line, the direction of the incremental encoder has changed. Now A is<br />
leading.<br />
Following relations between counter update and lead/lag of signals is implemented:<br />
• while line A leads, the counter is incremented with every rising and falling<br />
edge of line A and line B<br />
• while line B leads, the counter is decremented with every rising and falling<br />
edge of line A and line B<br />
• if Z input is enabled, the counter is always reset to zero when a pulse occurs<br />
on Z input<br />
A<br />
B<br />
Counter: 5<br />
Table 22: Timing of incremental encoders<br />
Reversal Point<br />
3 2 1 0 -1 -2 -1 0 1 2 4 8 16 20 24 28 32 36 40<br />
Figure 66: Timing of Standard Incremental Encoder<br />
10.13.4.2 Incremental Encoder (Pulse Train positive logic)<br />
• On the left side of the dotted line, while B signal is low, the counter becomes<br />
decremented.<br />
• On the right side, while B signal is high, the direction has changed. Now<br />
the counter becomes incremented.<br />
Please make sure that any changes at B signal happen at least 100 ns<br />
before a rising edge at A signal.<br />
Timing requirements of<br />
incremental encoder<br />
signals<br />
Timing of Standard<br />
Incremental Encoder<br />
© <strong>Moog</strong> GmbH <strong>User</strong> <strong>Manual</strong> M3000 ® and <strong>MSC</strong> <strong>II</strong> (CA65865-001; Version 1.1, 08/08) 106<br />
t ph