Figure 14-21. clockwise subroutine using labview – National Instruments NI-Motion User Manual

Page 244

Advertising
background image

Chapter 14

Onboard Programs

NI-Motion User Manual

14-36

ni.com

Figure 14-21 shows the subroutine that causes the motor to rotate
clockwise.

Figure 14-21. Clockwise Subroutine Using LabVIEW

1

Begin Program Storage

2

Set Operation Mode

3

Load Target Position

4

Load Velocity in RPM

5

Load Accel/Decel in RPS/sec

6

Start Motion

7

Select MOMO

8

Wait on Condition

9

End Program Storage

10 Motion Error Handler

1

5

10

9

2

3

4

6

8

7

Advertising