Announcement

Collapse
No announcement yet.

Do-more (BRX) Instruction Set?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts


  • Do-more (BRX) Instruction Set?

    Is there a list that translates the Contacts and Coils in the text files into Do-more instructions? I'm working on a formatting mask for Beyond Compare to use when diffing program versions.


  • #2
    Not sure what you are asking for. The contacts and coil mnemonics are what Do-more uses as instructions.
    If you have an urgent issue, please contact AutomationDirect's Technical Support team.

    AutomationDirect.com Technical Support: 1(800) 633-0405 or (770) 844-4200 Email Tech Support

    Comment



    • #3
      Right. When comparing text files, the menmonics for contacts can be difficult to figure out since they're not typically used in the interface. For example, what is STRDLT? I'm just looking for a list that relates the mnemonics to the contacts, coils, and boxes.

      Comment



      • #4
        Help topic DMD0539 "DirectLOGIC to D0-more Instruction Map" may be part of (but not all) what you are looing for. but it does not seem to include the one example you gave; STRDLT (does have STRPD and STRND)
        Also the "instruction browser" does seem to show some, many? most? of the mnemonics. for boxes.
        In addition, at least for the one example you gave, STRDLT, searching help will get one to DMD0041 (CONTACT-Delta, curiously I don't actually see the text "STRDLT on that page, and the "See Also" section does NOT direct one to a list.
        Last edited by Tinker; 06-19-2019, 05:51 PM.

        Comment



        • #5
          DLX didn't have a STRDLT (which not only does STRPD and STRND, but will also monitor for changes in a numeric value as well -- damn useful instruction!!) Great addition to DM

          Comment



          • #6
            DL also lacked DM's rung-state one-shot, which is a very cool thing to have.

            Comment



            • #7
              That's a Delta contact. There are 3 forms to every contact, STR, AND, OR, based on how it is used in a Boolean expression, similar to how assembly works with arithmetic.

              Hence, STRDLT is the STR form of the Delta contact. (ANDDLT, ORDLT are the other 2 forms).

              Click image for larger version

Name:	DeltaExample1.png
Views:	133
Size:	6.1 KB
ID:	123508

              The mnemonics for this rung are:
              Code:
              STRDLT D0
              ORDLT D2
              ANDDLT D1
              OUT Y0
              There are 10 kinds of people in this world, those who know binary, and those who do not.

              Comment



              • #8
                OK, makes more sense now. I'm familiar with the contacts used in DS6, what are menmonics for the new power flow (PD and ND) and relational contacts (> and ≤)?

                Comment



                • #9
                  Originally posted by TheGreatMarklar View Post
                  OK, makes more sense now. I'm familiar with the contacts used in DS6, what are menmonics for the new power flow?
                  Click image for larger version

Name:	PDExample1.png
Views:	101
Size:	6.0 KB
ID:	123525
                  Code:
                  // Rung $Main#1
                  // Offset 0
                  STRPD C0
                  ORPD C2
                  ANDPD C1
                  STRND C3
                  ORND C5
                  ANDSTR
                  ANDND C4
                  OUT Y0
                  There are 10 kinds of people in this world, those who know binary, and those who do not.

                  Comment



                  • #10
                    Originally posted by TheGreatMarklar View Post
                    and relational contacts (> and ≤)?
                    Take 2

                    Click image for larger version

Name:	RelExample2.png
Views:	100
Size:	28.6 KB
ID:	123530

                    Code:
                    // Rung $Main#2
                    // Offset 14
                    STRE D0 D0
                    ORE D2 D2
                    ANDE D1 D1
                    STRNE D3 D3
                    ORNE D5 D5
                    ANDSTR
                    ANDNE D4 D4
                    OUT Y0
                    
                    // Rung $Main#3
                    // Offset 40
                    STRGE D6 D6
                    ORGE D8 D8
                    ANDGE D7 D7
                    STRLT D9 D9
                    ORLT D11 D11
                    ANDSTR
                    ANDLT D10 D10
                    OUT Y1
                    
                    // Rung $Main#4
                    // Offset 66
                    STRLE D12 D12
                    ORLE D14 D14
                    ANDLE D13 D13
                    STRGT D15 D15
                    ORGT D17 D17
                    ANDSTR
                    ANDGT D16 D16
                    OUT Y2
                    There are 10 kinds of people in this world, those who know binary, and those who do not.

                    Comment



                    • #11
                      Cool, thanks franji1!

                      Comment

                      Working...
                      X