Navigation

    Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Structured Text for PLC

    Help wanted · · · – – – · · ·
    st for plc structured test iec 61131-3 plc
    5
    12
    5055
    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 Ellero
      Adriano Ellero last edited by

      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?

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

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

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

              link text

              would it help?

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

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

                          PeterJones 1 Reply Last reply Reply Quote 0
                          • PeterJones
                            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
                            Copyright © 2014 NodeBB Forums | Contributors