Announcement

Collapse
No announcement yet.

not working communication by terminal

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Hi Paul,
    you can help me for this problem pls
    thanks

    Comment


    • #17
      Hi Andreyka

      I made a .fnc for you to try. You can compile it and it will be saved as a .4FN

      Could you please try using this with the file_Execute command.

      I also attached the compiled .4FN file

      Best regards

      Paul
      Attached Files

      Comment


      • #18
        for compiler I don't have option for compile .fnc

        Comment


        • #19
          and your 4fn file its not work file run and file execute

          Comment


          • #20
            Hi Andreyka

            Thats really odd.

            This is the result here.

            Click image for larger version

Name:	Andr.jpeg
Views:	12
Size:	281.3 KB
ID:	73659

            This was using the .4FN. Did you send the file_Mount command before the file_Exec ?

            Best regards

            Paul
            Attached Files

            Comment


            • #21
              File Mount command 0xFF03


              Load String command 0x00 0x21 0x00 0x00 0x48 0x65 0x6C 0x6C 0x6F 0x20 0x57 0x6F 0x72 0x6C 0x64 0x00
              Response:

              0x06 0x01 0x0E

              File Execute command
              0004
              5374
              6172
              742E
              3446
              4E00
              0000
              0300
              0A00
              0A00
              010E from response

              Read String command
              0022
              010E

              BUT IF I USE FILE RUN CHANGE 0004 FOR 000D ITS WORK WHY, AND FOR GENERATE FILE 4FN WHAT YOU DO YOU DO
              Last edited by Andreyka; 3 days ago.

              Comment


              • #22
                Hi Andreyka,

                Can you try it without the Load String command.

                Alternatively you can test this using Serial Commander

                You will need to create a new project and then choose Serial as the environment. Next click on the Tools tab and then the Serial Commander tool.

                When the tool opens you can selct the File tab and then select file_mount followed by file_exec.

                Best regards

                Paul

                Comment


                • #23
                  Ok your metod it work ok
                  but by terminal change command ff03 to FF3c
                  it work too
                  by terminal
                  FILES MOUNT
                  FFC3 ACK 063FE5 3FE5 USE AFTER

                  File Execute command
                  0004
                  5374
                  6172
                  742E
                  3446
                  4E00
                  0000
                  0300
                  0A00
                  0A00
                  3FE5

                  WORK ONLY
                  HOW I CAN COMPILE FILE DESIGNER FOR FILE 4FN
                  THANKS

                  Comment


                  • #24
                    Hi Andreyka

                    I have only just noticed it was FF03 in your previous message, I should have spotted that. This is where Serial Commander is a very useful tool as it shows the command it sends.

                    The way I created the fnc was in Designer and I then saved as type 4DGL functions and then compiled.

                    It might be best to open the fnc and then copy it all and then paste in a Designer project replacing all the code thats there and save as type 4DGL functions and then compile. The 4FN should then be found in the project folder.

                    Paul

                    Comment


                    • #25
                      THANKS Paul its work
                      and I can use here constant in the code and compile file 4FN its work,
                      thanks

                      Comment

                      Working...
                      X