Author Topic: RPM switch  (Read 10294 times)

bilt2spd

  • Newbie
  • Posts: 1
  • I'm a llama!
    • View Profile
RPM switch
« on: September 22, 2004, 06:12:03 PM »
Is it possible to use the ladder logic in a PLC to act as a RPM activated switch? I assume it would be some type of counter per a time interval. Thanks!

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re:RPM switch
« Reply #1 on: September 25, 2004, 06:16:51 PM »
If you want to activitate a switch when the RPM reaches a certain value, then you can use the PULSEFREQUENCY function to measure the incoming pulse rate and make a decision:

E.g. IF PULSEFREQUENCY(1) > 1000 THEN
           SETIO OUT1
       ELS
           CLRIO OUT1
      ENDIF

This is the unique capability of M-series PLC's "Ladder+ BASIC" command and not available to ladder logic only PLCs such as the H-series or E10 and certainly not applicable to other makes of PLC.
Email: support@triplc.com
Tel: 1-877-TRI-PLCS