Jump to content

Ofir

Members
  • Posts

    377
  • Joined

  • Last visited

  • Days Won

    21

Posts posted by Ofir

  1. Hello,

    Basically you can first use Bit to Num ladder element to store the inputs array into a integer register.

    Then write the value of the register to the data table.

    Now in the data table you can right click on the cell of the integer column - select format:

    image.png

    Then choose Binary:

    image.png

    Now your column will be shown as Binary format on the HMI.

  2. Hi,

    if you wish to enter a new value to a timer on the screen, you can use the Timer box element and not Numeric box.

    You can determine the format of the timer and then when the operator touch the timer it will open a keypad to enter the value and will show the format of each field.

  3. There is way to send indirect text as body of a mail message .

    It requires some ladder logic.

    There is a function called append buffer to user file that appends a buffer to a TXT/CSV/BIN file.1.jpg

    You can use copy tag to buffer first and then using the append buffer to file , you are basically creating a file with the tag data. (you can also use the message composer to create messages and then use Build message to put it in a buffer).

    This buffer is the one you will append to the user file. The file needs to be TXT.2.jpg

    In the e-mail configuration you will click on attachment an select the file with the text you wish to send and then the option send as body.3.jpg

     

    4.jpg5.jpg

    6.jpg

    The file will not be as attachment but its content will be in the body of the mail.

     

     

    • Upvote 1
  4. Hi,

    If you are using the Enhanced Vision PLCs then basically it comprises SD/Micro SD card slot.

    The ladder offer a utility to clone the PLC (program, data tables, operand values) to a file. You can trigger this utility using a schedule or other method.

    You can find this utility under Ladder --> SD menu --> clone

    • Upvote 1
  5. Hi,

    PID Config struct is non retained. Running PID  will use PID Config struct.

    Once completing Autotune or manual tune, you can use the Save PID Autotune data ladder element. This will save the PID config struct to a PID AT params struct.

    Then on power up you can use the Ladder element Load PID Autotune data from PID AT params struct to PID config struct.

    Please make sure that the PID AT Params struct is checked as retained.

  6. Hi,

    You can save data table to a file using the ladder element save DT to SD. This will save the data table in UDT format.

    Then if you wish to edit this data in your PC , you can use the SD card suite --> UDT editor.

    When done you can copy the UDT file back to the SD and then using the ladder element Read UDT from SD to DT you can load the file back to the data table. 

  7. Hi,

    First of all use positive transition when using the keys operands in order to get a single press. 

    Can you specify what exactly is not working?

    I noticed in the logic for example for key#1 that you are activating outputs according to the screen which is loaded. (I didn't see any counters)

  8. Hi,

    For PID there are 2 structs:

    PID Config - This is non retained struct which will be used for running the PID.

    PID AT Parmas - This struct can be marked as retained.

    Once you completed your manual tune or autotune, you need to use the Ladder element "save PID Autotune data" from the PID Config  struct to the PID AT Parmas struct.- This will save the PID data into the retained struct.

    On power up you will use the ladder element "Load PID autotune data" from the PID AT Parmas struct to the PID Config  struct.

    • Upvote 1
  9. Hi,

    As I understand every time you try to open VisiLogic you get this error message. As Flex mentioned first backup your project file .

    Then try the  follwing:

    1.      Open Task manager and if VisiLogic process is still running  - End it.

    2.       Open C:\Program Files (x86)\Unitronics\Unitronics VisiLogic_C\Data\DB

    3.       Delete the file Current_OPLC.udb

    4.       Try to open VisiLogic

     

×
×
  • Create New...