Jump to content

MNormile

Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

About MNormile

  • Rank
    Newbie

Profile Information

  • Gender
    Male
  1. Hi Ausman, That was an issue I had originally but I removed it, so basically if the rotor moves the encoder should count. Thanks, Mike
  2. Thanks for your reply. It is a MEZ 3 phase motor, which has a running speed of 705 rpm. I have put a vsd on it, which I have set to 40 hz, but as a test I could half it to 20 hz and see if I am getting more consistency. Also just to note, if I tell the machine to go to 200mm like my original example, which should be 41334 pulses. when it stops, the pulse count is in fact 41334, correct me if I am wrong but I was thinking if it was due to the motor not stopping bang on in this position, then the encoder count should not be equal to the desired count? I would imagine the encoder count to be out due to the drift on the machine.
  3. Thanks for your reply. It is a MEZ 3 phase motor, which has a running speed of 705 rpm. I have put a vsd on it, which I have set to 40 hz, but as a test I could half it to 20 hz and see if I am getting more consistency.
  4. Hi All, I was wondering could I get some advice. I have a V130-33-TR20 plc and am looking to program a simple enough application. 1 motor which moves a backstop on a guillotine, 0-750 mm variable distance. I have a new 1024 ppr encoder on the machine. I have wired a and a- to input 0 and 1. From 0 -750 mm the plc counts roughly 155000 pulses. there is no brake on the motor so when it reaches the out limit switch there is a variation on when it stops. plus or minus 300 pulses I thought it would be simple math. Therefore 155000 / 750 mm = 206.6 pulses per mm. Therefore if I want the backstop to go to 200mm. the code would simply wait for (200*206 = 41334 pulses) and then that is the target. The issue I am having is the counts from the encoder must be drifting as when you give it the command to go to a distance it could be off by 10mm, or 5mm, however does not seem to be any consistency which i would have thought an encoder would bring. I have attached my code just wondering am I doing something wrong. Also to note I am new to unitronics. Below is the link to my encoder https://uk.rs-online.com/web/p/rotary-encoders/9189098/ Any help or advice would be appreciated Encoder_Test.vlp
×
×
  • Create New...