10-05-2009 10:50 AM
I have an optical sensor that is used as limit switch to stop my motor, from the supplier maxon motor. Currently im using epos 50/5 as my microcontroller. Btw, im new to Labview and that im not quite sure on how to do the program for limit switch. I have also use Sub-Vi that is available from the EPOS. Im using the sub-Vi "Find Home" as limit switch and i want to know that if its correct?
2) Do i need to set homing parameter in order to activate my limit switch?? and if i need to set homing parameter, where should i put it?
Attached are my picture of my program, and that, i don't know where i should put my "Find Home".
I hope someone can tell me the correct way to program a limit switch..
Thanks and regards,
10-11-2009 10:04 PM
Hi Sai,
I think to answer both of your question, you should refer to the Application Note (Device Programming):
The documents explain best about step-by-step to perform Device Setup (page 3) and then Homing Setup (page 4). I believe you can correlate the diagram with the SubVIs that you have there. There is 'Set Parameter' whereby you can set the homing parameter, and I believe the corresponding SubVI is VCS Set Homing Parameter.vi
I am personally do not have experience with this EPOS Motion Controller, but per my understanding in Home operation, the limit switch is useful to protect the motor when searching the 'home' position ('home' position have to be in between Forward and Reverse Limit so that the motor would not search indefinitely during home operation).
Hopefully its useful. Goodluck!
Sincerely,
Krisna Wisnu
71885
10-11-2009 11:59 PM - edited 10-12-2009 12:08 AM
Thanks for the info!
Currently my program works when i insert the homing parameters and the "find home" sub-vi, and when i block the optical sensor, the motor stopped. But my problem now is that, since it is in homing mode, therefore my motor did'nt move to my desired value and instead, it keeps on moving till the sensor is blocked.
But when i change my program to profile position mode, the motor stop to my desired value.
I hope this post is easy to understand and that you can help me:D
Thanks and regards,
Sai
10-12-2009 12:29 AM
Hi Sai,
On a glance, I think the motion controller operation is divided into different modes: Homing, Profile Position, Velocity, etc. So, it will totally depends on your requirement. Maybe a flowchart would help you to correlate your requirement and the programming.
Example:
1. Move to X position (I will use Profile Position Mode)
2. Move to Y position (I will use Profile Position Mode)
3. If the user press RESET button, return to original position (I will use Homing Mode)
Hope it helps.
Krisna
71885
03-02-2011 05:39 AM
Greetings Bro...Do you mind to send me a copy of the Epos2 Program in regards to the limit switch bro?My email-samdol1978@hotmail.com .I am currently doing my Final Year Project and having problems implementing the above in Labview.I am using Honeywell Proximity sensor as the limiter in Epos Studio.Hope you are able to help.Thanks alot.
07-26-2011 01:36 AM
Hi I was wondering if you could send me the same programme you send to sam. I am currently facing the same situation as him. Hope to that I may receive some help here. kennethkoh@msn.com