News:

  • September 28, 2026, 09:17:43 AM

Login with username, password and session length

Author Topic: Instruction List  (Read 9985 times)

davidbgtx

  • Hero Member
  • *****
  • Posts: 215
  • Host be the Most
Instruction List
« on: July 18, 2018, 08:25:55 AM »
Is there a full list of the instructions like shown below
NO Contact is STR
NC Contact is STRN
Not Equal is STR
Needed when when using search for instruction, in particular the invert powerflow.

davidbgtx

  • Hero Member
  • *****
  • Posts: 215
  • Host be the Most
Re: Instruction List
« Reply #1 on: July 18, 2018, 08:27:29 AM »
Duh, Invert powerflow is NOT, would still like a list though

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6176
  • Yes Pinky, Do-more will control the world!
Re: Instruction List
« Reply #2 on: July 18, 2018, 08:57:09 AM »
Oh wait...I was answering wrong question.

Full list? Not sure. Mark?
"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: 3847
    • Host Engineering
Re: Instruction List
« Reply #3 on: July 18, 2018, 09:14:33 AM »
Help Topic DMD0186 Instruction Set for Do-more CPUs has all of the instructions listed out except for the break out of all the contact mnemonic (STR/AND/OR stuff).  It just shows the general contact type (e.g. "Contact").

Here is the contact mnemonic details:

Normally Open Contact
STR
AND
OR

Normally Closed Contact
STRN
ANDN
ORN

Element Leading Edge Differential Contact
STRPD
ANDPD
ORPD

Element Trailing Edge Differential Contact
STRND
ANDND
ORND

Equal To Relational Contact
STRE
ANDE
ORE

Not Equal To Relational Contact
STRNE
ANDNE
ORNE

>= Relational Contact
STRGE
ANDGE
ORGE

< Relational Contact
STRLT
ANDLT
ORLT

> Relational Contact
STRGT
ANDGT
ORGT

<= Relational Contact
STRLE
ANDLE
ORLE

Delta Contact
STRDLT
ANDDLT
ORDLT

In-line Power Flow Modifiers
NOT (Invert)
ANDPDPF (Leading Edge)
ANDNDPF (Trailing Edge)


ADC Product Engineer

  • Hero Member
  • *****
  • Posts: 270
Re: Instruction List
« Reply #4 on: July 18, 2018, 09:16:52 AM »
There is a list of everything but the mnemonics for the contacts over at AutomationDirect:  https://www.automationdirect.com/do-more/brx/software/instruction-set

davidbgtx

  • Hero Member
  • *****
  • Posts: 215
  • Host be the Most
Re: Instruction List
« Reply #5 on: July 18, 2018, 09:25:03 AM »
Thanks everyone!I know that was a weird question, trying to document better for my replacement when I retire (at least 5 more LONG yrs) and was wanting to comment rungs with NOT as IF,THEN,ELSE. Don't know what discipline programmer will replace me.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3847
    • Host Engineering
Re: Instruction List
« Reply #6 on: September 22, 2020, 09:55:07 AM »
We indirectly addressed this by tweaking the Find dialog in 2.7 (sorry I did not post back when it released).

There are radio buttons for Element vs. Instruction (mnemonic - your specific issue points to needing to know the mnemonic for contacts).  See the attachment.

We added a 3rd radio button for Contacts, and its drop-down shows the contact token graphic, not the mnemonic.  What's better about contact token search, is it would match all 3 bool stack operators for the same contact (e.g. STR/AND/OR), which is probably what you want anyway (you don't care if a >= contact is used as the first contact in a rung (STRGE) or 2nd in-series contact in a rung (ANDGE), just that it's a >= contact.


davidbgtx

  • Hero Member
  • *****
  • Posts: 215
  • Host be the Most
Re: Instruction List
« Reply #7 on: September 22, 2020, 11:44:54 AM »
That's cool