News:

  • October 27, 2025, 06:55:40 AM

Login with username, password and session length

Author Topic: 1st project problems  (Read 26682 times)

plcnut

  • Hero Member
  • *****
  • Posts: 813
    • premiersi.com
Re: 1st project problems
« Reply #15 on: April 10, 2013, 02:56:56 PM »
It's not too hard Bob... I managed to find it!
I've used it quite a bit actually. :)
Circumstances don't determine who we are, they only reveal it.

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

mhw

  • Hero Member
  • *****
  • Posts: 250
Re: 1st project problems
« Reply #16 on: April 10, 2013, 03:20:19 PM »
[[/quote]

Ah...'Configure Code Block' is the issue. I was looking for 'Rename...'. Not suggesting we change anything, but I suspect most folks will miss that.
[/quote]
That was my excuse also.

Next question. When a timer is highlighted and I hit the spacebar it will pop the existing nickname in an editable view. This works great if I have one named "CONVEYOR1_DLY" and I copy/paste that timer and then create a new one with the name "CONVEYOR2_DLY". I am able to change the 1 to a 2 and then select the next available timer. Works great, kind of makes me like the name based programming. ;) However when I spacebar on a contact it will pop the native element. Is this a configuration option that I can change or just the way it is?

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6127
  • Yes Pinky, Do-more will control the world!
Re: 1st project problems
« Reply #17 on: April 10, 2013, 05:10:36 PM »
It's not too hard Bob... I managed to find it!
I've used it quite a bit actually. :)

It has been clearly established that you are not "most folks", so I have come to expect that you will wreck the curve for the rest of us. ;)
"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: 6127
  • Yes Pinky, Do-more will control the world!
Re: 1st project problems
« Reply #18 on: April 10, 2013, 05:22:42 PM »
Next question. When a timer is highlighted and I hit the spacebar it will pop the existing nickname in an editable view. This works great if I have one named "CONVEYOR1_DLY" and I copy/paste that timer and then create a new one with the name "CONVEYOR2_DLY". I am able to change the 1 to a 2 and then select the next available timer. Works great, kind of makes me like the name based programming. ;) However when I spacebar on a contact it will pop the native element. Is this a configuration option that I can change or just the way it is?

Fun...the editor favors the nickname in a box, but favors the element in a contact. Thoughts Mark?

There is a workaround, but it may leave you with separation anxiety for conventional element names. It is the only mode I ever run in, and is affectionately known as 'Bob mode' here at Host. Go into Options and turn off 'Elements'. With elements off and nicknames on, the display code will use a nickname if one is configured, and then will display the raw element only if there is no nickname. Truth is that once I have named something, I couldn't care less whether it is C143...that info is noise to me. True 'Bob mode' is running with just nicknames...no elements, extra info, or descriptions...but that may be too lean for some.
"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

plcnut

  • Hero Member
  • *****
  • Posts: 813
    • premiersi.com
Re: 1st project problems
« Reply #19 on: April 10, 2013, 05:29:20 PM »
It's not too hard Bob... I managed to find it!
I've used it quite a bit actually. :)

It has been clearly established that you are not "most folks", so I have come to expect that you will wreck the curve for the rest of us. ;)

Ummmmm. Oh.  :-\
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: 6127
  • Yes Pinky, Do-more will control the world!
Re: 1st project problems
« Reply #20 on: April 10, 2013, 05:52:34 PM »
It's not too hard Bob... I managed to find it!
I've used it quite a bit actually. :)

It has been clearly established that you are not "most folks", so I have come to expect that you will wreck the curve for the rest of us. ;)

Ummmmm. Oh.  :-\

That was actually a very high compliment, if that wasn't clear.
"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

plcnut

  • Hero Member
  • *****
  • Posts: 813
    • premiersi.com
Re: 1st project problems
« Reply #21 on: April 10, 2013, 06:16:30 PM »
It's not too hard Bob... I managed to find it!
I've used it quite a bit actually. :)

It has been clearly established that you are not "most folks", so I have come to expect that you will wreck the curve for the rest of us. ;)

Ummmmm. Oh.  :-\

That was actually a very high compliment, if that wasn't clear.

Why thank you! (I think I picked the wrong face). I was trying to convey more the feeing of being considered a nerd   ;)
Circumstances don't determine who we are, they only reveal it.

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

mhw

  • Hero Member
  • *****
  • Posts: 250
Re: 1st project problems
« Reply #22 on: April 10, 2013, 06:34:32 PM »
The Bob mode has at least one disadvantage. If I just created a timer with the name "CONVEYOR1_MT_TMR" and on the next line I want to use it's done bit. It takes more key strokes to access than looking up and then typing "T6". Also if I forget the syntax for the shorthand that I am using. I could accidentantly turn on a physical output instead of  a control bit. Nice to have the cross reference.
The positive of the Bob mode is that it declutters the screen.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3762
    • Host Engineering
Re: 1st project problems
« Reply #23 on: April 10, 2013, 07:13:01 PM »
Fun...the editor favors the nickname in a box, but favors the element in a contact. Thoughts Mark?
It's definitely a Bob-mode thing for now.  That's a hold-over from DirectSOFT, but we can tweak contacts/coils to behave like Boxes (prefer Nicknames over Elements when editing).  However, that may hinder people who DO want to see elements when editing - they have no option other than to COMPLETELY turn OFF NICKNAMES.

Not sure what the best answer is.  Maybe add an option when both elements and nicknames are enabled, to prefer nicknames or prefer elements when editing? Prefer one over the other when only 1 is displayed (edit and display)?

The current behavior is that when BOTH are enabled in DISPLAY of boxes (not Edit), Designer displays BOTH for the FIRST parameter, but prefers nicknames over elements for all other parameters.  For multiple input boxes, it displays BOTH for the first (number of input legs) parameters (e.g. UDC displays both for the first 3 parms).  The editing behavior is different between contacts/coils and boxes.  Minimally, those need to be consistent (whatever we conclude), but I also like options when it's not obvious.

b_carlton

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 606
    • thePLCguy
Re: 1st project problems
« Reply #24 on: April 10, 2013, 07:27:42 PM »
Then I guess the 'PLCNut' mode will be when things break by being pressed to those far corners of the envelope.
An output is a PLC's way of getting its inputs to change.

plcnut

  • Hero Member
  • *****
  • Posts: 813
    • premiersi.com
Re: 1st project problems
« Reply #25 on: April 10, 2013, 09:01:28 PM »
Then I guess the 'PLCNut' mode will be when things break by being pressed to those far corners of the envelope.

I'm requesting plastic corner protectors to go in the envelope.
 ;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: 6127
  • Yes Pinky, Do-more will control the world!
Re: 1st project problems
« Reply #26 on: April 10, 2013, 10:36:47 PM »
Then I guess the 'PLCNut' mode will be when things break by being pressed to those far corners of the envelope.

Mr. Nut has definitely pushed the boundaries, and by doing so has found more than his share of problems. But I will also say that in doing so he has confirmed my faith in our customers, and has validated so much of what we did in Do-more. So very many times, the folks that drive our perception of the typical skillset of our users are the ones that tend to lack experience...since as you would expect, the experts by and large don't need our help. This leads to a somewhat skewed view of our user base, which has led to countless debates among the various groups at Host and ADC as to what features should or should not be in the controller. As developers we tend to favor putting things in the product we would want to use, the marketing folks are usually more inclined to agree with us...just because more features are great for advertising, but the support guys shudder at the lengths of stout rope that we tend to put in our products. So when I see customers using some of those power features to do very cool things, it confirms that we were right to include them, and validates my belief that there are some pretty sharp cookies out there. ;)
"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: 6127
  • Yes Pinky, Do-more will control the world!
Re: 1st project problems
« Reply #27 on: April 11, 2013, 11:55:30 AM »
And let me be very clear about my comments in the previous post...particularly because this thread was (prior to being hijacked) a first time Do-more user. We *love* to educate customers on how to use our products...regardless of level of experience. Never, ever, think that your questions are a bother to us. Quite the contrary, your questions help us understand how to build a better product.

ADC has done an amazing job of making automation products approachable to a wide audience. Of course 'wide audience' equals 'vastly different experience levels'. Given that the price of entry to the PLC club is about $69, it is inevitable that Christmas lights and train sets will be control targets. Just try to imagine the conversation between me and the support guy responsible for helping twinkle lights bring Christmas cheer to a family in Boise:

<Me (breathless from excitement)> "...and you can use the TCPLISTEN instruction to run a program block when a remote TCP device establishes a connection to the TcpServer device. You can then implement a full custom protocol using STREAMIN and STREAMOUT instructions in a Stage based sequence. It's powerful enough that you could even implement a web server with our protocol creation primitives. Freakin' cool, huh?!?"

<Christmas Cheer Tech (with face now pale)> "Uh...yeah." :facepalm:

Then imagine how the support realities influence product development. Or put another way, how do we build a product that both Sheldon and Penny will use? ;)



PS. If you happen to live in Boise and are using a PLC to control your Christmas lights, you *rock* dude!! ;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

plcnut

  • Hero Member
  • *****
  • Posts: 813
    • premiersi.com
Re: 1st project problems
« Reply #28 on: April 11, 2013, 12:34:13 PM »
Just to add to the hi-jack:
I gave some sound sensors to a fellow at work who intends to control his Christmas lights using a PLC monitoring sound/vibration :D
Circumstances don't determine who we are, they only reveal it.

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

mhw

  • Hero Member
  • *****
  • Posts: 250
Re: 1st project problems
« Reply #29 on: April 12, 2013, 02:38:56 PM »
I have been programming in stages for years now. My little programming mind now likes to think in stage. But I really like the way the programs in DMD easily distinguish sections of code in a tree view. Can stages, in the old DS5, and programs, in DMD, be considered functionally the same? Obviously there is not a JMP instruction, but a run followed by an exit appears to do the same. Can you think of any differences in operation that I should be aware of?