Jump to content

Analog encoder and v570


Recommended Posts

Hey smart people

I need to update an old machine. In that machine is an electric motor which is controlled by 2 contactors to spin CW and CCW. The motor pulls up or put it down a metal rail. I need to control that motor with PLC. This is already done but with buttons, and now they want to set the distance.

Exemple: in position 1 need to be in upper position, position 2 is middle, and 3 is down.

I have an analog encoder RM36Cx, here is a picture on output signal.

The motor does 5,5 turns from upper position to bottom position, bbecause of this I have360° encoder

Any idea on how to implement in PLC program? This is first time I doing something like this, so any help is welcome.

Thanks

RM36Cx.PNG

Link to comment
Share on other sites

  • MVP 2023

You'll need to set up and analog input in the PLC and use comparison blocks to control your outputs.

If you don't have any PLC experience, I'd start by downloading the Visilogic software and spending some quality time looking at the tutorial videos-

https://www.unitronicsplc.com/videos-and-tutorials-visilogic/

You'll need to pick a PLC model to do this.  Look at the models available based on I/O and what screen size you want.

Joe T.

Link to comment
Share on other sites

  • MVP 2023

You must do some investigation of your system:

- how long is travel distance?

- is it brake used in motor setup?

- is it overtravel present after motor stopped?

- what +- distance error is possible in new application?

 

You need to build absolute positioning system - after sysytem restart with one turn linear encoder used in 5.5turn setup - you  need to set "zero" position.

Is it possible to use homing in your system?

 

As for me - using of direct linear potentiometer - is the best solution.

https://www.ebay.com/itm/Linear-Potentiometer-Position-Travel-Sensor-with-Rod-End-Joints-0-to-8-Range-/331032223707

You must calculate real resolution in your setup and ask customer about needed acсuracy.

Use your encoder is also possible, but you must solve some not simple logic and learn how to calculate position in simulated multiturn encoder.

 

 

 

 

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.