Periodic breakpoints (ni 7350 only), Periodic breakpoint algorithm, Figure 12-9. periodic breakpoint algorithm – National Instruments NI-Motion User Manual

Page 167: Periodic breakpoints (ni 7350 only) -17, Periodic breakpoint algorithm -17

Advertising
background image

Chapter 12

Synchronization

© National Instruments Corporation

12-17

NI-Motion User Manual

Periodic Breakpoints (NI 7350 only)

Periodic breakpoints require that you specify an initial breakpoint and an
ongoing repeat period. When enabled, the periodic breakpoints begin when
the initial breakpoint occurs. From then on, a new breakpoint occurs each
time the axis moves a distance equal to the repeat period, with no
re-enabling required.

For example, if an axis is enabled at position zero, the initial breakpoint is
set for position 100, and the breakpoint period is set at 1,000, then the axis
behaves as shown in Figure 12-8.

Figure 12-8. Periodic Breakpoint Every 1,000 Counts/Steps

Periodic Breakpoint Algorithm

Figure 12-9 shows the basic algorithm for periodic breakpoints.

Figure 12-9. Periodic Breakpoint Algorithm

1100

2100

100

3100

= Breakpoint
= Armed Breakpoint

= Current Position

Direction

–900

Configure breakpoint

Enable breakpoint

Load breakpoint bosition

Load the initial breakpoint

Load breakpoint modulus

Load the breakpoint period

Advertising