News:

  • June 26, 2026, 09:06:30 AM

Login with username, password and session length

Author Topic: stage numbering  (Read 19952 times)

DLTimmons

  • Hero Member
  • *****
  • Posts: 232
stage numbering
« on: September 09, 2014, 06:10:29 PM »
I love stages but I can never get them right on the first run so I wind up with the numbers all mixed up. Is there a way to resequences a program so that all the stage number are in sequences? It's a lot easier to look back at a program if the stage number are in order.

Donnie

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6161
  • Yes Pinky, Do-more will control the world!
Re: stage numbering
« Reply #1 on: September 09, 2014, 07:24:54 PM »
That is in our list of features to add. We would like to have a full featured manager to renumber (with gaps), reorder, etc. Not sure if it will make it into 2.0, but we understand the need and agree.
"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

DLTimmons

  • Hero Member
  • *****
  • Posts: 232
Re: stage numbering
« Reply #2 on: September 10, 2014, 09:26:39 AM »
Look forward to that feature, mean while the replace and swap feature work on stages at a time.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6161
  • Yes Pinky, Do-more will control the world!
Re: stage numbering
« Reply #3 on: September 10, 2014, 09:34:18 AM »
I tend to prefer names to numbers, so I nickname all of my stages. I usually leave element names turned off, so I never actually see the stage numbers.
"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

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3827
    • Host Engineering
Re: stage numbering
« Reply #4 on: September 10, 2014, 10:51:56 AM »
I tend to prefer names to numbers, so I nickname all of my stages. I usually leave element names turned off, so I never actually see the stage numbers.
Ditto.  Attached is a screen shot of the Project Browser view of a TelNet example program I wrote.  The Stage names show the descriptive state (vs. S0/S1/S10, etc.).  Note that the Project Browser also appends the first line of the rung comment for the SG instruction rung.

plcnut

  • Hero Member
  • *****
  • Posts: 814
    • premiersi.com
Re: stage numbering
« Reply #5 on: September 10, 2014, 11:20:21 AM »
I'm horrible at documentation... but...
The way I normally write stages, is (depending on the overall program block complexity) I will assign stage numbers by 2's, 5's, or 10's, so that as I find things/steps that need to be added, I can come back and start fitting them in between, this way none of my JMP's are 'backwards'.
I also normally use SG100 as the default error handling stage, so that I can easily assign the 'JMP on error' to comm's or other built-in boxes without going back to look.

Somehow, I have not managed to make my mind use the 'nicknames only'/Bob mode... maybe someday I'll be able to better train myself.
Circumstances don't determine who we are, they only reveal it.

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

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6161
  • Yes Pinky, Do-more will control the world!
Re: stage numbering
« Reply #6 on: September 10, 2014, 11:25:52 AM »
Somehow, I have not managed to make my mind use the 'nicknames only'/Bob mode... maybe someday I'll be able to better train myself.

For me, it's two things: 1) In all my years of high-level language programming, I have never cared about the physical address of memory...only its name...so why start caring in the PLC world, and 2) screen real estate..."Bob mode" is more compressed and allows me to see more of the program at once. Clearly it is an acquired taste, but it's the only way I roll.
"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

DLTimmons

  • Hero Member
  • *****
  • Posts: 232
Re: stage numbering
« Reply #7 on: September 10, 2014, 02:00:04 PM »
Must have pulled one to many phones off on my head as a toddler. It's easier to deal with numbers than names. I like knowing the I/O address that one of the things I dislike about AD's P3000 PLC's once you assign a name there no way to find the physical address makes it a real pain to wire up and trouble shoot.

I do like the way you show a nickname and the element at the same time!

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3609
  • Darth Ladder
Re: stage numbering
« Reply #8 on: September 10, 2014, 04:25:28 PM »
one of the things I dislike about AD's P3000 PLC's once you assign a name there no way to find the physical address makes it a real pain to wire up and trouble shoot.

Seriously??  Eww.  Even if I were comfortable in Bob Mode most of the time, I'd still want to be able to see the physical addresses at times, like you.

Guess I can cancel my plans for that P3K project, oh wait.....

EDIT:  BobO, I've never really been able to respond to you wondering why PLC guys seem to be so obsessed about memory addresses, and maybe this is the reason.  Physical I/O is the surface of the black box, so it needs to be defined and maybe we just carry the same thinking over into the internal addresses, except in cases where you actually need to know, like recipe loading/saving and HMI-accessible registers in an address-based controller.  Also, for those of us who are used to having tabular Memory Views, which tend to be more efficient than data views in tag-based controllers, having related data located contiguously lets you see stuff at the same time that relates to each other.
« Last Edit: September 10, 2014, 04:35:54 PM by Controls Guy »
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6161
  • Yes Pinky, Do-more will control the world!
Re: stage numbering
« Reply #9 on: September 11, 2014, 12:40:17 AM »
I fully understand the need/want to see physical I/O point addresses. I don't understand the need/want for the 10x more internal variables. C1326? R382? .S42? Really? But to each his own...I'm certainly not offended and will do all I reasonably can to meet your needs. I reserve the right to mock you though. ;)
"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

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3609
  • Darth Ladder
Re: stage numbering
« Reply #10 on: September 11, 2014, 10:04:44 AM »
Mocking will be semi-graciously accepted!  ;)
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

plcnut

  • Hero Member
  • *****
  • Posts: 814
    • premiersi.com
Re: stage numbering
« Reply #11 on: September 11, 2014, 10:15:06 AM »
If you don't want your little feelings hurt... then don't have little feelings, Eh? ;D
Circumstances don't determine who we are, they only reveal it.

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

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6161
  • Yes Pinky, Do-more will control the world!
Re: stage numbering
« Reply #12 on: September 11, 2014, 10:43:44 AM »
All in good fun. Humility isn't an attribute that comes easy to an engineer, but we can certainly have a good time being arrogant jerks, no? ;D
"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

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3609
  • Darth Ladder
Re: stage numbering
« Reply #13 on: September 11, 2014, 11:33:53 AM »
Yup!  We like to talk some trash!   ;)
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

jwbaker3

  • Hero Member
  • *****
  • Posts: 142
Re: stage numbering
« Reply #14 on: September 12, 2014, 08:16:36 AM »
I agree, other engineers and tech's get it but HR does not. So sad for them.