Author Topic: I need to count the number of hours of operation of a machine  (Read 1235 times)

MEDALI1TN

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
Hello All,
I need to count the number of hours of operation of a machine.
I have a bit (0: off; 1: on), when this bit is set to 1: the counter starts counting and when this bit is set to 0: the counter is paused.
and it waits for the bit set to 1 to start counting again.
if it is possible to have two counters, one can do resert and the other without reset.

Phrog30

  • Guest
Re: I need to count the number of hours of operation of a machine
« Reply #1 on: July 24, 2018, 07:30:49 PM »
That is a great task for a PLC, not an HMI.

MEDALI1TN

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
Re: I need to count the number of hours of operation of a machine
« Reply #2 on: July 25, 2018, 03:17:38 AM »
you're absolutely right, but I asked this question because I can't change or do anything on the plc program

Phrog30

  • Guest
Re: I need to count the number of hours of operation of a machine
« Reply #3 on: July 25, 2018, 06:23:49 AM »
Where are you going to store this value, database, text file, etc.? I would address that first. That is the tricky part.

MEDALI1TN

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
Re: I need to count the number of hours of operation of a machine
« Reply #4 on: July 25, 2018, 09:05:29 AM »
I use AdvancedHMI + OpcDaCom + kepserverex + connection to database MySQL in order to read and store all tag that i need.
all these steps are OK for me.

I need to count the number of hours of operation of a machine.


Godra

  • Hero Member
  • *****
  • Posts: 1438
    • View Profile
Re: I need to count the number of hours of operation of a machine
« Reply #6 on: July 25, 2018, 06:15:06 PM »
You might also check this topic:

https://www.advancedhmi.com/forum/index.php?topic=1295.0

Do note that Archie's odometer control is included in the AHMI solution.