Jump to content

tim.snelling

Members
  • Posts

    15
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by tim.snelling

  1. Joe T., 

    Thank you for the pointer. I had to move on to other projects, and I'm going to be getting back to this project soon. It appears that the Advanced Modbus Functions will give me what I need.

    Gabriel,

    Your idea could work, however these PLC's will go into many sites, with a different number of PLC's, and possibly a different range of IP's, so setup would be more difficult. But if I can't get the socket to close using the Advanced Modbus Functions, then I may be forced to do something like you suggested.

    Thanks guys,

    Tim S.

  2. Hi,

    I need to have several UniStream PLC's (Modbus Master TCP), that connect to a Modbus TCP Slave. The Slave provides Ambient Temperature, so reading the Holding Register from the Modbus TCP slave every 30 minutes or so, is adequate.

    In UniLogic ladder logic, I set the Active Periodic bit "On" with a 30 minute timer, then it reads the holding register. After a successful update, I then turn "Off" the Active Periodic bit, but the PLC's socket connection does not close, and the Status of my Modbus Master remains at "1 = Good, No Errors" for the entire time in-between the 30 minute read from the Modbus Slave.

    Can someone tell me how to close the Modbus TCP socket connection on port 502, using the UniLogic ladder logic.

    Thanks, Tim S.

     

  3. Shown below, I purchased one of these iPhone ethernet adapters, and I can now VNC into my PLC (that has no HMI) using my iPhone, and a crossover cable.

    So far it's working great. Just thought I'd pass this on. It did take a little getting used to, to hold the curser down for several seconds, to access the UniApps. But once you get the hang of it, it's not difficult at all.

     

    image.png.6441e6e4fd2a6851cf3456ed3942eaff.png

     

    Tim S.

    • Like 1
  4. Hi Joe, thanks for the help. I do have a full understanding of Modbus. I'm just new at UniLogic and UniStream.

    I simply wasn't able to find any method for a Multi Register read.  FYI; I wasn't confused. My wording was the exact wording in the Error Description.

    I have no doubt your method works, but after all that typing... what a pain. I did finally find something in the help for a "Batch Operation". 

    There's a barely noticeable drop down arrow on the Add New Operation button. So if you click that tiny little arrow, a drop down is displayed. Then select "Add New Operation Batch", then UniLogic will allow an entry of the Array Name, without having to back space. That drop down "arrow" could be a lot bigger. But I'm learning, one day, and one issue at a time.

    Thanks Again, I appreciate any and all assistance.

    image.png.6722921fde78efaae6611a078d788ca1.png

     

    Tim S.

  5. If you are interested, this is the reply that I received from my Support Ticket.

    With the UniStream, you can have dozens of devices connect to the PLC on the same port. All you will need to do is set up 1 Modbus TCP slave instance, and point all of your devices to the same port (502).

    So it appears I can delete my Slave on port 503, and all should be good, with dual connections (or more if needed) on port 502 :)

    Tim

  6. Thanks Guys, I appreciate everything.

    My problem is, I can't test anything. Hardware is being assembled in control panels, at a vendor. and then shipping to the job-site. I have to go to the job-site, to connect up all of the external IO. And I'll be expected to have the logic close to completion by the time they put  power to the panels. The only good thing at this point, is one of the Masters is only for monitoring purposes, so if that one isn't working when the site goes live, it wouldn't be tragic. But I do need to resolve this soon. I went ahead and submitted a Support Ticket.

    Thanks, Tim

  7. Thanks AUS,

    With the vision 230 PLC's, we are establishing a remote socket connection from 2 different applications that run on a windows OS workstation PC.

    One application is connecting on the standard Modbus TCP port, and the other is connecting on a non-standard port. Both applications communicate with the PLC, and we have never had any issues with this. It's a simple setup for the 2nd socket connection via VisiLogic. So i'm confused with this issue showing up as an error in UniLogic...

    We want to duplicate/improve the V230 program with a UniStream PLC.

    If it was PLC to PLC, I assume UniCan would require CAN comm modules on each PLC?

    Thanks, Tim

     

×
×
  • Create New...