Jump to content

Ofir

Administrators
  • Posts

    377
  • Joined

  • Last visited

  • Days Won

    18

Posts posted by Ofir

  1. Hi,

    First please note that UniStream is SNMP agent that means the UniStream can send traps to SNMP client. Does your device is SNMP client or agent?

    You can find in UniLogic help file how to configure and send the traps. If you are still not successful with sending traps please send the application and all details to support@unitronics.com

    Please note that US5/7-x5 does not support web browser so there is no option to browse to the web page of your device.

  2. Hi,

    The parse message works as follows:

    When activating this block the system checks if the buffer structure of data  (linked to this block) is match to one of the messages configured in the messages composer. (Messages that is marked as scanned).

    If it finds one the index tag will contain the index of the message. 

    If it does not find it the index tag will be -1.

  3. Hello,

    In general you are getting this telegram to a large buffer.

    For example part of the text in this telegram is 1-0:32.7.0(220.1*V)

    If you wish to extract the voltage (220.1*V):

    In the buffer you should search for "1-0:32.7.0("   (If this leading text is fixed )

    You can put this string in advance in ASCII string - use the Tag to Buffer  (under the buffer tools) and then use find in Buffer for this string.

    Once you found the index you can copy buffer part  to buffer with the correct offset and length - Now you have the 220.1 in a buffer.

    If you wish to have it a a number you can use Buffer to Tag. 

  4. 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.

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

    phpyxz1v4

    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.

    phpAI9f2t

    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. 

    phppAk1Wo
    phpOfINnS

     

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

    phpqhcKgV

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

    phpTNQ061
    • Like 1
  6. 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..

×
×
  • Create New...