Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Posts posted by Ofir

  1. Hi,

    Which specific PID block are you referring to?

    - 13 means Autotune aborted. This may result if the Run Autotune element was not called for at least cycle during the autotune, or in the case of an unknown autotune error.

    You can try using the Reset PID block and then run the PID autotune again but make sure that you are calling the block every scan.

  2. first configure the PLC to be a TCP-Server


    After that insert to the ladder the element to receive data from the client. The "Received Buffer" should be very long so your incoming message can be fully received with no problem. The "Length received" integer and "Received message" bit will be use to parse your message and get your information.


    After receiving your buffer you would like to parse the massage, for that you first need to create the general form of the message your PLC receives. You said you will send a message that looks like "/X300,Y300,Z300/" while the numbers are the only one who change, so this is the general message form and in the places your numbers appears I put a different variable for each number. 



    After that you should put the ladder element for parsing your message, and add your number to the HMI.


    You can use a program called Hercules, to simulate TCP connection as a client, this is how I checked that my application works.

    • Like 1

  3. Hi,

    Only by viewing the application it will be possible to understand why the scan will jump to 35-38ms.

    There are several actions that might cause the scan time to increase such as loops (Jump to region) , handling data tables such as insert row or remove row that will need to copy large amount of memory etc..

  4. Hello,

    If you wish to know that button was pressed from WebServer (not from HMI) ,  you can link to the actions of the web element - set bit  of specific bit that the button was pressed so you will know it was pressed from the web and not from HMI. (This bit will not be linked to HMI elements).

    Since several clients can be connected in the same time , there is no web page change according to bit since it will change the web page to  all clients.

    There is no automatic log off for the webserver.

  • Create New...