Community
    • Login

    Structured Text for PLC

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    st for plcstructured testiec 61131-3plc
    12 Posts 5 Posters 11.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Adriano ElleroA
      Adriano Ellero
      last edited by

      both, maybe my mistakes… any suggestion on how to check if it works? thx

      1 Reply Last reply Reply Quote 0
      • rinku singhR
        rinku singh
        last edited by

        for better suggestion ypu should share your userDefineLang.xml
        link text

        1 Reply Last reply Reply Quote 3
        • Adriano ElleroA
          Adriano Ellero
          last edited by

          link text

          would it help?

          1 Reply Last reply Reply Quote 0
          • rinku singhR
            rinku singh
            last edited by rinku singh

            Ext : is empty here you should give a extension name here as text
            link text

            1 Reply Last reply Reply Quote 2
            • Adriano ElleroA
              Adriano Ellero
              last edited by

              Wow, thanks! much better… it works!
              Now I have to try to code a bit.
              what about to debug the function. any idea how to debug ST without a real PLC?

              1 Reply Last reply Reply Quote 0
              • rinku singhR
                rinku singh
                last edited by

                @Adriano-Ellero said:
                debug ST without a real PLC
                i’m not understand

                1 Reply Last reply Reply Quote 0
                • Adriano ElleroA
                  Adriano Ellero
                  last edited by

                  usually to debug ST code it’s necessary to compile the file for a PLC (Programmable Logic Control) in order to check if the machine works. It takes time for each modification recompile the code and retest the machine.

                  It would be fantastic if notepad++ could run the logic, simulating the PLC. It’s needed just the function test.

                  for example a make a function in ST
                  I pass the the variable to the input of the function
                  and I get the output from the function to see if the logic is correct

                  any suggestion?

                  1 Reply Last reply Reply Quote 0
                  • MAPJe71M
                    MAPJe71
                    last edited by

                    @Adriano-Ellero
                    Notepad++ is neither a compiler nor a debugger.
                    You have to use different tools for those, though these can be called from Notepad++ using e.g. the NppExec plugin (search forum for numerous examples).

                    1 Reply Last reply Reply Quote 4
                    • Jean PROTEAUXJ
                      Jean PROTEAUX @Adriano Ellero
                      last edited by

                      @Adriano-Ellero The URL do not working :-(

                      PeterJonesP 1 Reply Last reply Reply Quote 0
                      • PeterJonesP
                        PeterJones @Jean PROTEAUX
                        last edited by

                        @Jean-PROTEAUX ,

                        If you mean @Adriano-Ellero 's link from the very first post, the documentation has moved to https://npp-user-manual.org/docs/user-defined-language-system/

                        If you mean the links to https://www.adrianoellero.com/Capture.PNG, that image was probably temporary and deleted by the owner

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post
                        The Community of users of the Notepad++ text editor.
                        Powered by NodeBB | Contributors