Rorrog

Members
  • Posts

    2
  • Joined

  • Last visited

Rorrog's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I am started in this, I usually schedule with PLCs, and I need to make a pulse counter block, but I fail to define the variable with a rise or decrease flank. example: Var.count_1 = 0 Var.count_2 = 0 Var.Habilitacion = 0 while(1) If (Var.habilitacion >= 1) Var.count_2 = Var.count_2 + Var.count_1 Endif Endwhile When var.counter_1 is 1, the application does not count from 1 in one if not in several numbers with respect to the PC scan. The difference in the application that will use an input as an accountant instead of a variable. Var.count_1 = CO_0 for exaple. Thanks for the attencion.