Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

limit switch program for EPOS

Hello all,

 

  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,
Sai
0 Kudos
Message 1 of 6
(5,670 Views)

Hi Sai,

 

I think to answer both of your question, you should refer to the Application Note (Device Programming):

http://test.maxonmotor.com/docsx/Download/Product/Pdf/EPOS2_Application_Note_Device_Programming_E.pd...

 

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

Certified LabVIEW Developer (CLD)
Certified TestStand Developer (CTD)
Using LabVIEW 8.5.1 (2008) to LabVIEW 2024
Message 2 of 6
(5,621 Views)

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

Message Edited by spydi on 10-12-2009 12:08 AM
0 Kudos
Message 3 of 6
(5,616 Views)

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

Certified LabVIEW Developer (CLD)
Certified TestStand Developer (CTD)
Using LabVIEW 8.5.1 (2008) to LabVIEW 2024
0 Kudos
Message 4 of 6
(5,610 Views)

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.

0 Kudos
Message 5 of 6
(4,638 Views)

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 

0 Kudos
Message 6 of 6
(4,433 Views)