News:

  • August 19, 2026, 05:58:03 PM

Login with username, password and session length

Author Topic: BRX High Speed Counter Monitoring?  (Read 33879 times)

PLCGuy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 677
Re: BRX High Speed Counter Monitoring?
« Reply #15 on: December 22, 2017, 07:38:11 PM »
All I ever use is stages. They get rid of all the one shots, etc. Program is less cluttered. Easy to follow through cause it tells you where to jump to for next step.
The biggest project I had, has 7 processes going on at the same time and stage made it much easier to handle. If I had to use RLL in my projects they look like a cluster xxxk. Biggest challenge i will admit is having them all come together to end the process.

The only time I do not use stages is in a program withing the program to do calculations or monitor faults. Not allowed to say exactly what i do, but we design and make our own machinery.

It is so surprising if we are forced to buy a machine, all the bugs in them. Sometimes the safety features are minimum or lacking. we run our machines months looking for bugs before we release them for production. Even get operators from the floor to run them and add, remove, modify features as needed. Engineers make the worse  designers, lol. Over think things. I get humbled by the operators.

plcnut

  • Hero Member
  • *****
  • Posts: 815
    • premiersi.com
Re: BRX High Speed Counter Monitoring?
« Reply #16 on: December 22, 2017, 08:15:47 PM »
I get humbled by the operators.
Operators are my best friends.
Circumstances don't determine who we are, they only reveal it.

~Jason Wolthuis
Premier Systems Integration, LLC
https://premiersi.com

Garyhlucas

  • Hero Member
  • *****
  • Posts: 421
Re: BRX High Speed Counter Monitoring?
« Reply #17 on: December 23, 2017, 05:10:31 PM »
Operators are our biggest problem. 30 years experience, one year repeated 30 times. First question on a fully automated system is “How do I do this manually” My answer to one operator was “Never Never Never, Not Ever, Never Never Never Never run that pump in manual”. Three days later he put the VFD in manual and melted down all the pvc piping! I told him “Sorry we can’t fix stupid.”

Last week he asked for a timer to tell him how long a system that runs 24/7/365 is turned off. I told him that according to the atomic clock at the national bureau of standards it runs exactly 24 hours 0 minutes 0.000 seconds every day!

Bolt

  • Hero Member
  • *****
  • Posts: 598
Re: BRX High Speed Counter Monitoring?
« Reply #18 on: December 26, 2017, 08:25:49 AM »
Speaking of Stages, I have found a little glitch in them.

If I have an existing program on a PLC consisting of only ladder logic, and I "convert" it to Stage based by adding a Stage, S0, at the top of the program, and send it to the PLC, it will not run that S0 (and any other stages it may have triggered) until I  manually go to Debug Code Block > Enable Stage.

Not a huge deal, something I can remember, but seems like a bug to me.  FYI.

plcnut

  • Hero Member
  • *****
  • Posts: 815
    • premiersi.com
Re: BRX High Speed Counter Monitoring?
« Reply #19 on: December 26, 2017, 08:42:09 AM »
You will have to cycle the PLC from program to run before any stage will automatically enable.
Circumstances don't determine who we are, they only reveal it.

~Jason Wolthuis
Premier Systems Integration, LLC
https://premiersi.com

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6172
  • Yes Pinky, Do-more will control the world!
Re: BRX High Speed Counter Monitoring?
« Reply #20 on: December 26, 2017, 09:49:50 AM »
You will have to cycle the PLC from program to run before any stage will automatically enable.

More specifically, a program block has to go from not running to running.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6172
  • Yes Pinky, Do-more will control the world!
Re: BRX High Speed Counter Monitoring?
« Reply #21 on: December 26, 2017, 09:55:09 AM »
Speaking of Stages, I have found a little glitch in them.

If I have an existing program on a PLC consisting of only ladder logic, and I "convert" it to Stage based by adding a Stage, S0, at the top of the program, and send it to the PLC, it will not run that S0 (and any other stages it may have triggered) until I  manually go to Debug Code Block > Enable Stage.

Not a huge deal, something I can remember, but seems like a bug to me.  FYI.

Not a bug, but admittedly confusing. The initial stage is activated by the program block run initialization. If you add stages to $Main (which is always running) you have to cycle through program mode to start them (or use debug). Any other program block can be halted/run from code.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6172
  • Yes Pinky, Do-more will control the world!
Re: BRX High Speed Counter Monitoring?
« Reply #22 on: December 26, 2017, 10:13:32 AM »
Also bears mentioning, I am one of the biggest stage fans on the planet, but I rarely use them in $Main. I'm not opposed to it, I just tend to use it as a supervisor for running programs and enabling tasks. I'll put initialization in $tFirstScan, so I don't really need a sequence in main. Not a big deal, just preference, but I also see many user programs coded the same way.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

Garyhlucas

  • Hero Member
  • *****
  • Posts: 421
Re: BRX High Speed Counter Monitoring?
« Reply #23 on: December 26, 2017, 12:43:14 PM »
Big fan of stages here too. Used them extensively on the DL205. On the DoMore we have a membrane cleaning process with about 40 steps. Really easy to understand, debug and modify.