Jump to content

AlexUT

Moderators
  • Posts

    836
  • Joined

  • Last visited

  • Days Won

    40

Posts posted by AlexUT

  1. You should newer touch  an internal SD card!!!

    This will brick your PLC with no warranty!!!

    In your case it is recommended to extract an external SD card and check the next:

    - Check how many files are at  SD card - many files will make load process of PLC slow, or stuck PLC.

    You have to use SD management option to keep SD card as free as possible.

    - Scan SD card for File System errors.

    If found - copy all files to PC and format SD card.
    *Recommended to make Full Format.
     

  2. 1. Unitronics recommend to use USB-2.0 sertified USB cable of good quality, not "junk".

    USB cable should have twisted pair at Data lines (preferred with schield), and common schield.

    With good USB cable you will have no problem of communication.

    1. To use USB connection, you have to install USB driver before you connect USB cable.

    Wgen connected USB cable before installing USB driver from PLC communication settings, it may not work properly.

    So you have to uninstall not-Unitronics driver before installing Unitronics driver.

    *You have to run Uimage.png90Ladder as Administrator to properly install USB driver and properlu work with U90Ladder

  3. 1. Look at following article:

    https://support.unitronics.com/index.php?/selfhelp/view-article/calculate-totalizing-or-integral

    2. Expansion module you use IO-D16A3-RO16 is relatively "slow", as it ise serial type of communication with PLC.

    But if you read sequential values at fixed time interval, let's say, 1 sec, it will work for you.

    2. Other way is to use "Frequency Measurement" option:

    This can give you estimated frequensy, proportional to flow, at selected time interval.

    image.png

    You can use MI or DW for both, High Speed Counter and for Frequency Measurement.

  4. Let's suppose that PLC model allow Remote connection.

    To access PLC on internal network, you should use WiFi connection to company network.

    *You cannot reach company internal IP addresses from Internet until IT will allow port forwarding for such connection.

    *You may need to temporary disable Cellular Data to reliably connect to PLC.

     

  5. 1. Enter router configuration.

    2a. Set Router WAN interface as main interface (disable cellular) and enable DHCP Client.

    2b. Or set WiFi as main interface (disable cellular) and enable DHCP Client.

    3a. Connect WAN to network (ADSL, Company LAN, etc.).

    3b. Connect Router WiFi to Cellular (telephone) or company Access Point.

    4. Run Firmware update. *Probably you may bneed to run it number of times, dependent of network condition.

    Finish Firmware update.

    *Firmware is 15-20MB.

    If nothing of this does not help - send request for firmware to support@unitronics.com.

    B.R. 

    • Thanks 1
  6. Oath,

    I join to kratmel and thank you too!

    By the way, Unitronics provide Random Number Generator example for V280 and V570 PLCs in directory:

    C:\Program Files (x86)\Unitronics\Unitronics VisiLogic_C\Examples\Version 900\Project examples\ladder\

    There are many other examples.

     

    Unitronics has special page "Tools & Applications from the Unitronics Community",  where community members can share his examples/utility:

    https://www.unitronicsplc.com/support-tools-and-applications/

    B.R.

     

  7. Hi,

    1. Alfa-numeric value is a string.

    String occupy number of "characters"+1 Bytes. Last Byte is 0x00 - "zero" Byte which marks a string end.

    As a Unitronics PLCs store strings in vectors of MIs.

    MI store 2 Bytes.

    2. In your case stings include max. 6 characters.

    Required number of MIs in vector is (6+1)/2+1=7/2+1=3.5+1=4.5.

    Round it to lower number 4.

    So you need 4 MIs in vector.

    3. Use "String to ASCII" to store required string to MIs vector.

    image.png

    4.Use one of strings as text.

    image.png

    5. Click on "Vector Start Address" and select 1st MI of 4 secuential MIs.  For example MI 0.

    image.png

    6. Click on marked sign:

    image.png

    7. Enter comment with final space:

    image.png

    8. Add /4 to stringand press OK:

    image.png

    9.Click on OK again:

    image.png

    10. Use "Vector Start Offset" =0 and click OK.

    image.png

    11. Click OK again to finish.

    image.png

    12. Now you have vector of MIs, allocated for your string.

    image.png

    B.R.

     

    • Like 1
×
×
  • Create New...