Jump to content

etalon

Members
  • Content Count

    9
  • Joined

  • Last visited

  • Days Won

    1

etalon last won the day on May 22

etalon had the most liked content!

Community Reputation

1 Neutral

About etalon

  • Rank
    Newbie
  1. *update* So, reliability seems to be much improved, not had a communication failure yet. I have modified the parameters suggested though, I am setting SI104 and SI108 to 100 and 200 (10,000ms and 20,000ms) respectively. I found that the shorter time values made remote access unreliable over the slow VPN connection we have available to the site. Many thanks for your help.
  2. Thanks for you comment, yes I will look into this... I was very suspicious about this connection code, hence me pasting it here! (this is something someone else had gotten working on a bench and then left me the project, excuses, excuses I know..). I looked at the true values of the SI on the running plant. They were as follows for socket 1: SI104 (socket 1 keep alive):0 SI108 (socket 1 connection keep):0 I have changed the code on the PLC as per the attachment (an integer direct store on startup of socket 1 SI initially to 10 (1000ms) and 20 (2000ms). Confirmed that values are being stored. Uploaded, testing now. Is there a need to set the values on the other sockets I am not communicating over?
  3. Hello, I am having an issue with intermittant connection to a remote PLC. The setup is as follows: Server has a VPN connection to a GSM router on site. This is connected via ethernet to the PLC. What I have found: I lose the ability to do a socket ping to the PLC on 20256. When I lose this ability, I also lose the ability to pull telemetry data off the PLC from the registers. (makes sense, they use the same port). I am doing this ping test from the local router on site, over the VPN. The issue is therefore not with the VPN itself, but the connection between the router and the PLC. The ladder logic code that manages the connection is attached. Can you see where I have gone wrong? How can I increase the robustness? Additionally, can you suggest timeout/keepalive settings that would help? At the moment, I can regain the connection by restarting the router (set to a automatic timed restart at the moment). Additionally, I have noticed more than once that if I go into the socket parameter screen on the PLC, it has sprung back into life. (maybe coincidence?) Many thanks in advance for any help!
  4. Hello, A (very late) update in case anyone else gets stuck: It all came down to trying to do the update without the correct serial connection. All sorted now.
  5. Hello, I have a project that has reliability issues that seem to stem from the PLC losing connection to its router on socket 20256. On a PLC where the connection is lost: If I ask the router to do a standard ping against the router, it succeeds. If I ask the router to do a TCP socket ping with 20256, it fails. (on a PLC I am successfully getting data from, this succeeds) The kludgy way I am temporarily getting round this, is the router is set to do a hard reset every 4 hours which reinitialises everything Bit of background: Remote server using unicomdriv.dll is communicating via VPN over a GSM modem to the PLC over Ethernet (sounds dodgier than it actually is!). I have a screenshot of the bits of code that manage the connection on the PLC code, what I am thinking is I need something to detect a situation of the PLC losing connection or no successful data transfer over socket 1, and initiate a sequence to regain the connection. Any suggestions? Any suggestions of parameter settings for timeout and keepalive ect... on the PLC itself? Roy
  6. Hello Alexander, Unfortunatly serial comms is something that no one has ever got to work with this controller. I have managed to make it work with some V350s I was setting up before, but this older V570 left over from an older project was one where the people originally working with it only ever managed to get working with Ethernet. Its not helping that I need to use a Serial via USB adaptor, as that adds an extra layer of potential problems on the situation. Fewer and fewer computers come with built in serial now, I would love it if all the controllers worked directly via usb! (baud rate checked, RS232/RS485 checked, cable is a 4 wire RJ11, drivers for usb/serial updated, using port1) Realistically I have spent too much time on this allready, it could just be down to a faulty/incorrectly installed USB/Serial converter, but I am going to have to knock it on the head. When the project goes ahead, I will have to buy a new PLC. Thanks for your help though
  7. Thankyou, thats good to know. ( I have plenty of those cables) I think I have lost this battle though: I cant conenct via serial at all. I managed to get ethernet connecting, but I couldn't upload projects due to operating system mismatch. I then made a clone file with OS in visilogic, started up the PLC in boot strap mode, and then did a firmware update based off the clonefile. This seemed to update the OS, but now when I try and upload my projects via ethernet, my PLC locks up. I think this PLC must be faulty. Lastly: When I try and do a firmware update within visilogic (I have a enchanced V570), I get a "OS you are downloading not supported by the versions of boot/bin.lib" error. I cant manually force it to update the boot files, as the option is greyed out. I did the live update of the OS version before doing this. Updates of applications via SD card results in a lockup of the PLC also.
  8. Thanks for your reply, At least I know to not bother with ethernet! I have tried serial connection, but I only have a 4wirecable rather than a 6 wire programming cable you get initially (they are all out on our systems at the moment). I have looked around to see if 6 wire programming cable is required, but I havent had any definate information on that. Do you know if me using a 4wire cable at the moment could be causing the issue that I cannot connect to it? In the meantime, I will check the backup battery, and see where I can buy a 6wire RJ11 cable from.
  9. I have attached images to this post below... Basically I haved a V570 (with the ethernet addon) which was last used about 5 years ago. When I powered it up, I got a no loaded application error. I have tried going into visilogic, with with default baud rate settings, and the settings shown on the display, but i just cant get access to it. I also am using a 4 wire RJ11 cable ( I have no programming cables left). Could this be the issue that I cannot connect? Or is it because the PLC is in stop mode? I have tried connecting via ethernet, but my lan adaptor wont let me use the subnet mask that the PLC is showing (it says that it is invalid). Many thanks, Roy.
×
×
  • Create New...