Community
    • Login

    Structured Text for PLC

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    st for plcstructured testiec 61131-3plc
    12 Posts 5 Posters 13.7k Views 3 Watching
    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.
    • rinku singhR Offline
      rinku singh
      last edited by

      I don’t see any spell check ?
      or autocomplete and highlighting text

      1 Reply Last reply Reply Quote 0
      • Adriano ElleroA Offline
        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 Offline
          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 Offline
            Adriano Ellero
            last edited by

            link text

            would it help?

            1 Reply Last reply Reply Quote 0
            • rinku singhR Offline
              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 Offline
                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 Offline
                  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 Offline
                    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 Offline
                      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 Offline
                        Jean PROTEAUX @Adriano Ellero
                        last edited by

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

                        PeterJonesP 1 Reply Last reply Reply Quote 0
                        • PeterJonesP Offline
                          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

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          • First post
                            Last post
                          The Community of users of the Notepad++ text editor.
                          Powered by NodeBB | Contributors