• Login
Community
  • Login

Structured Text for PLC

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
st for plcstructured testiec 61131-3plc
12 Posts 5 Posters 11.8k 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.
  • A
    Adriano Ellero
    last edited by Feb 6, 2019, 7:04 PM

    I have set up the ST language found in http://docs.notepad-plus-plus.org/index.php/User_Defined_Language_Files#How_to_install_user_defined_language_files according to the instructions.
    I don’t see any spell check. Any suggestion?
    I would like to debug the software, any idea how to verify my ST functions?

    J 1 Reply Last reply Oct 13, 2020, 7:31 AM Reply Quote 0
    • R
      rinku singh
      last edited by Feb 6, 2019, 7:35 PM

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

      1 Reply Last reply Reply Quote 0
      • A
        Adriano Ellero
        last edited by Feb 8, 2019, 8:30 PM

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

        1 Reply Last reply Reply Quote 0
        • R
          rinku singh
          last edited by Feb 9, 2019, 2:27 AM

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

          1 Reply Last reply Reply Quote 3
          • A
            Adriano Ellero
            last edited by Feb 9, 2019, 2:24 PM

            link text

            would it help?

            1 Reply Last reply Reply Quote 0
            • R
              rinku singh
              last edited by rinku singh Feb 9, 2019, 2:48 PM Feb 9, 2019, 2:45 PM

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

              1 Reply Last reply Reply Quote 2
              • A
                Adriano Ellero
                last edited by Feb 9, 2019, 3:37 PM

                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
                • R
                  rinku singh
                  last edited by Feb 9, 2019, 4:15 PM

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

                  1 Reply Last reply Reply Quote 0
                  • A
                    Adriano Ellero
                    last edited by Feb 10, 2019, 10:53 PM

                    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
                    • M
                      MAPJe71
                      last edited by Feb 10, 2019, 10:58 PM

                      @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
                      • J
                        Jean PROTEAUX @Adriano Ellero
                        last edited by Oct 13, 2020, 7:31 AM

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

                        P 1 Reply Last reply Oct 13, 2020, 12:54 PM Reply Quote 0
                        • P
                          PeterJones @Jean PROTEAUX
                          last edited by Oct 13, 2020, 12:54 PM

                          @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