Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

how to move the stage to forward limit switch

I am using the NI 7344 card for motion control. I have 2 rotary stages and 1 linear stage. I do not have the hardware home switch. On the linear stage, I have the forward and reverse limit switch and on the rotary stages I have a single switch for homing. Now, everytime I power on the controller, I want to set all the stages at a fixed position everytime for reference(i am thinking of moving the stages to the forward limit and setting it to 0) and call it 0. My problem is that how to move the motors so that it recognises that it has reached forward limit and then set it to 0. In my experiments, sometimes it stops at reverse switch also.

Can someone help me with this?? Is there any other easy way to do it? Any existing example
will of great help.

Thank You.
0 Kudos
Message 1 of 2
(3,207 Views)
The linked example program should do what you want : it first finds the forward limit switch and then finds the reverse limit switch. You can modify it to not locate the reverse limit switch if you do not need that functionality. Then you can use the Reset Position.flx function to set it to 0.

http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3EAB756A4E034080020E74861&p_node=DZ52468&p_submitted=N&p_rank=&p_answer=&p_source=External

Hope this helps.

Julie S.
0 Kudos
Message 2 of 2
(3,207 Views)