Author Topic: HS counters and quadrature encoders  (Read 9792 times)

cch1955

  • Full Member
  • Posts: 198
  • Automated Machine Systems Designer
    • View Profile
HS counters and quadrature encoders
« on: July 24, 2006, 02:32:34 PM »
I am working on a small project that uses T100MD with two encoders. If I am using the HS counters 3&4 , 5&6,  I am unclear on decoding multiplier to the HS count register. To be clear: If I have 100 line encoder, will it change the counter by 100 per revolution or 400 per revolution? I am only running at 550 rpm so speed should be fine.

Thanks
Chris

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re:HS counters and quadrature encoders
« Reply #1 on: July 25, 2006, 09:22:52 AM »
If your encoder outputs 100 pulses on either phase per revolution, then the HSC will count up or count down 100 per turn of the encoder. The easiest way is to connect your encoder to the PLC and run the HSC sample program, then turn the encoder 1 revolution to see how much the HSC increment/decrement.
« Last Edit: July 25, 2006, 09:23:54 AM by support »
Email: support@triplc.com
Tel: 1-877-TRI-PLCS

cch1955

  • Full Member
  • Posts: 198
  • Automated Machine Systems Designer
    • View Profile
Re:HS counters and quadrature encoders
« Reply #2 on: July 25, 2006, 09:43:32 AM »
So I understand 100 counts in HSC for 100 lines of encoder disk.

A&B not additive to give 200 counts per revolution. No multiplier like 4X to give 400 counts per revolution with 100 line encoder as in some interface.

I will test when have encoder interface.

Thank you for clarification
Chris
 :)