Jump to content

AlexUT

Moderators
  • Posts

    844
  • Joined

  • Last visited

  • Days Won

    40

Posts posted by AlexUT

  1. You should not fill both, Client and Server configuration. Only one. In this case for Server.

    We managed online session today and established TCP Online communication between U90Ladder and PLC.

    Unfortunately I have no LabView experience and cannot help with it.

    May be somebody did it? If yes - please share experience.

    *I found by Google ( search for  "labview modbus tcp read"):

    "Basic MODBUS TCP/IP Read Holding Register using LabVIEW"

    https://forums.ni.com/t5/Example-Programs/Basic-MODBUS-TCP-IP-Read-Holding-Register-using-LabVIEW/ta-p/3499688?profile.language=en

    May be this will help.

    B.R.

  2. Hi,

    It is not recommended to use power-up IP configuration (without Ladder configuration). It may be wrong for many reasons.

    Preferred to set configuration from Ladder. This will warrant right configuration.

    By the way, in PLC Tools & Applications there is support for DHCP for Enhanced Vision  controllers.

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

    http://unitronicsplc.com/wp-content/uploads/2015/12/V570_DHCP.zip

     

    When you look for solutions, please visit and search not only in Forum topics, but in Unitronics Help Center Articles too.
    Link:
    https://support.unitronics.com/
    There are many available articles.
    If you have solution to share, tell us know and we will add it to Articles.
    B.R.
     

     

     

  3. Hi Flex727,

    1. It is recommended to adjust firmware to used VisiLogic version.

    VisiLogic inform you only if it detect that VisiLogic have newest than PLC firmware.

    It is possible, that you use one of previous VisiLogic versions, but new (replacement) PLC have newest firmware.

    It is recommended to keep the same firmware at all used with the same VisiLogic version PLCs.

    After adjusting firmware, continue with empty program.

    2. VisiLogic should work with local copy of project (on PC hard disk) .

    *VisiLogic save project copy on periodic manner to restore project after abnormal program termination, and in other cases.

    Later you can save project version at any other media - disk on key (not recommended as main backup), on network drive, on NAS/SAS, by use VCS (version control sustem).

    *VCS do not know about PLC program structure, so it should save all project.

    3. Always keep copy of all used images to be possible restore required one, if need.

    4. Always keep number of backup copies. Not only one.

    Hope more recommendations will be added .

    Lets collect all and save it as Article in  Unitronics Help Center.

    B.R.

    ===

    When you look for solutions, please visit and search not only in Forum topics, but in Unitronics Help Center Articles too.

    Link:

    https://support.unitronics.com/

    There are many available articles.

    If you have solution to share, tell us know and we will add it to Articles.

    B.R.

     

    • Like 1
  4. If your PLC is slave, it answers for SCADA request.

    So, you do not need to send replay from Ladder.

    You can look MODBUS IP examples for Slave and Master in Examples directory, where you installed VisiLogic.

    C:\Program Files (x86)\Unitronics\Unitronics VisiLogic_C\Examples\Version 900\Project examples\Communications\Ethernet\Ethernet MODBUS IP\

    Or from "Menu->Help->Examples->Version 900\Project examples\Communications\Ethernet\Ethernet MODBUS IP\

    In your case PLC is Slave.

    You have to configure is as Slave and everything should work.

    Commands you use are for Master PLC.

    Other error is that you use Normal Closed contact "Function in Progress".

    This mean that you send a lot of MODBUS messages to network.

    Follow MODBUS IP example for Slave to make MODBUS IP working.

     

    • Like 1
  5. You can use one of 2 options:

    1. Use MJ20-RS RS232/RS485 isolated COM port and use MODBUS RTU.

    You can find JZ20 MODBUS RTU examples in directory

    C:\Program Files (x86)\Unitronics\Unitronics U90 Ladder\Examples\MODBUS

    Modbus Master.U90

    Modbus Slave.U90

    Use baudrate 19200.

    2. Use MJ20-ET1 Ethernet communication port and use MODBUS TCP.

    Take care that there is only one IP socket available for communication.

    You can find JZ20 MODBUS TCP examples in directory

    C:\Program Files (x86)\Unitronics\Unitronics U90 Ladder\Examples\MODBUS\

    JZ20-R10_Modbus_Ethernet_Master_Client.U90

    JZ20-R10_Modbus_Ethernet_Slave_Server.U90

    MODBUS addressing described in Help.

    B.R.

     

  6. Hi JohnR,

    There errors are expected, as only one copy of DataXport may be run under selected account.

    Recommended to create a new account for each copy of DataXport.

    You have to start DataXpoprt when you are logged as selected user.

    This will solve your problem.

    *To access running DataXport for different operations - stsrt, stop. configure, you have run it under current account.

    When run under system account, you cannot access it anymore.

    So you have to kill process, and run it again from logged in account.

    This is by design.

    B.R.

    P.S.

    Provided by Unitronics free software is intended for small PLC networks, and cannot replace specially developed SCADA programs.

     

×
×
  • Create New...