Author Topic: Comparing counter values  (Read 13488 times)

Daniel Alley

  • Guest
Comparing counter values
« on: January 08, 2004, 10:15:34 AM »
How do I compare and set an internal relay when two counters are at equal values?

Machine is a T28H version.  Also - is the LHEX command still available as in the E10 part?

Thanks, Dan
« Last Edit: December 31, 1969, 04:00:00 PM by 1076562000 »

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re: Comparing counter values
« Reply #1 on: January 09, 2004, 06:03:29 AM »
This would be really easy on a M-series PLC. Unfortunately, the H-series ladder language does not support a counter compare function. However, if the counts are less than 32 then you could use the sequencer step to trigger action when two sequencers reaches the same step (i.e. same count). For larger count there is no available command.

LDHEX is only available on E10, not on the H-series.
« Last Edit: December 31, 1969, 04:00:00 PM by 1076562000 »
Email: support@triplc.com
Tel: 1-877-TRI-PLCS