easy-forum

English Support - Hardware => easyRelais => Thema gestartet von: salekand am August 16, 2004, 14:30:02 Nachmittag

Titel: EASY600 reset of counters
Beitrag von: salekand am August 16, 2004, 14:30:02 Nachmittag
Hello!

  Just came back from the factory, where I had a problem that I just could not
overcome. A sample program is attached, and a programme goes as follows:
Titel: Re: EASY600 reset of counters
Beitrag von: salekand am August 16, 2004, 14:38:59 Nachmittag
Sorry, I'm used to TAB key and it jumped on Post button
before I finished up.
 
  So, the programme is as follows:
  - I1 is switched ON,
  - After short delay Q1 is set ON for 2 sec and OFF for 3 sec.
  - After that Q2 is set ON for 2 sec and OFF for 3 sec.
  - The same applies for Q3 - Q6 and then for S1 - S3 output.

  - Then the whole sequence is to be repeated, so I reset the markers and counters

This works OK in simulation, but on HW, the counters won't reset no matter what I do,
try the attached example.
Titel: Re: EASY600 reset of counters
Beitrag von: julian am August 16, 2004, 19:38:30 Nachmittag
Your attached example is missing.
Julian
Titel: Re: EASY600 reset of counters
Beitrag von: salekand am August 18, 2004, 12:11:34 Nachmittag
Observe the outputs in the simulato.
When the cycle completes (S1 goes back to LOW),
counters are reseted,
but if you are connected to EASY600 device,
you see, that they don't reset.
Titel: Re: EASY600 reset of counters
Beitrag von: julian am August 18, 2004, 21:20:21 Nachmittag
In your program you use Counter reset in 3 different program(current) lines.
In my opinion the highest reset line (75)  "I01 not" will override all other counter resets.
If you need a reset OR-gate do it to the same current line.
Use one line only!!!
I know it,sometimes simulation mode shows not the same result as reality.
Regards,
Julian