Autor Thema: EASY600 reset of counters  (Gelesen 5635 mal)

Offline salekand

  • Newbie
  • *
  • Beiträge: 3
EASY600 reset of counters
« 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:

Offline salekand

  • Newbie
  • *
  • Beiträge: 3
Re: EASY600 reset of counters
« Antwort #1 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.

Offline julian

  • Full Member
  • ***
  • Beiträge: 184
  • I love easy-Forum.net
Re: EASY600 reset of counters
« Antwort #2 am: August 16, 2004, 19:38:30 Nachmittag »
Your attached example is missing.
Julian

Offline salekand

  • Newbie
  • *
  • Beiträge: 3
Re: EASY600 reset of counters
« Antwort #3 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.

Offline julian

  • Full Member
  • ***
  • Beiträge: 184
  • I love easy-Forum.net
Re: EASY600 reset of counters
« Antwort #4 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
« Letzte Änderung: August 19, 2004, 20:52:18 Nachmittag von julian »