Jump to content

ahoover

Members
  • Content count

    26
  • Joined

  • Last visited

Everything posted by ahoover

  1. Remote Operator Issues

    I did not install the networking cable myself. Should get them to make sure it is isolated from any power lines. Do believe they ran a Cat 6 cable for what its worth...
  2. Remote Operator Issues

    At the very least it sounds like I'm not the only one experiencing these types of issues. I could take another look at the email logic see if anything can be cleaned up. Thought I had the perfect workaround for email encryption limitations with smtp2go.com, but now some other issues are raising their ugly heads. Am not using any XB's, and the only TCP functions are remote connection with Unitronics apps and email. Usually for projects requiring internet connection we use Unistream. I'm thinking this project might be an upgrade candidate, and be the perfect opportunity to try out the new 5" unistream with built-in IO's!!
  3. Remote Operator Issues

    Am doing Modbus RTU, it is pretty straight forward, setting speed and reading status from a couple VFD's. Allen
  4. Remote Operator Issues

    I don't believe turning on SB 168 changed anything. In this case socket 2(SB 149 turns on when socket 2 is connected) is listening on port 20258, socket 0 (connected = SB 147) is listening on port 20259. So they connect on port 20258, SB 149 turns ON, they disconnect, socket 2 closes and SB 149 turns OFF. Same for port 20259, though they usually use port 20258. The problem is, sometimes when they close the connection from their phone app, SB 149 stays ON like somebody is still connected on port 20258. In reality nobody is connected anymore but socket 2 did not close and can therefore not accept any new connections. This was their problem from the beginning, and the only option they had was to get to the actual panel and re-power the PLC which in turn re-initialized socket 2. This still happens for them occasionally, but now when socket 2 "freezes up" they change the setting in their phone app to port 20259 which allows them in on socket 0. The magic in the program is that when they connect on socket 0/20259, SB 147 turns on which re-initializes socket 2 so it can accept connections again. If this doesn't make sense, maybe someone else can explain it better. I still have no idea why the sockets are not closing sometimes, though the above solution is working okay for them. Now email is a different story! Twice now the PLC has gone crazy when trying to send an email, I witnessed it once when sending a test email from it. I think it re-powered, because it disconnected my remote connection, when I was able to get back on, it seemed the ladder program was no longer running. I could get nothing to respond anymore, and noticed some timers that were used in the program had random really high values loaded to their presets. Nothing was sane until I completely re-loaded the program to the PLC. At this time we have email disabled, because we can't afford to have this happening. Am starting to think this PLC is jinxed!! Thanks, Allen
  5. Remote Operator Issues

    I am also not the expert on networking, else I wouldn't be having these issues, right? I understand you basically need a socket for each different type of network function, remote connection, email etc.. I have one socket set to TCP, server, on port 20258. After this socket is initialized it "listens" for an incoming connection request on port 20258 from a remote client. Another socket is set to TCP, client, on port 20256, it reaches out an makes a connection to the email server when the program needs to send an email. The 3rd socket is set to UDP_RAW on port 20257, it is used by the DNS resolver function to resolve the email server address. To be clear, the issue was never dropping a connection because of a time out or something the connection to seems to be plenty fast enough. The issue was always socket 2 not closing when the remote client disconnected, though it would only happen randomly. Interestingly, the problem only seems to occur when using the cellphone app. My idea was to use socket 0 on port 20259 as an alternate connection channel, which I have done and tested already. Now when when a connection is established on socket 2, the rising pulse of SB 149, initializes socket 0, if a connection is made on socket 0, the rising pulse of SB 147 initializes socket 2. This worked well when I tested it. Allen
  6. Remote Operator Issues

    I am the boiler tech for dkmiller16. Socket 2 in the program is setup as a slave, protocol is TCP, port is 20258. The problem they are experiencing is that sometimes the socket does not close when they disconnect from the app. I did change power up value of SB 168 to 1, though it appears that would only apply when the physical network link got lost? There is one unused socket left, I guess it could be used as an alternate remote connection port. I might do this, and make the rising pulse of SB 149 initialize the alternate socket and vice versa, this would always keep the one fresh. Any reasons why the socket would not be closing properly? On another note, I think we got email working properly thanks to a tip from Unitronics support. In the past mail.com accounts worked very well for me, but its been a year or 2 since the last Vision project that needed email. This time around the mail.com accounts were barely working at all, strangely enough it would about once every ten times. Most times the socket would connect, SB 345(email send bit) would briefly turn on then off again, and email status would stay at 1/in progress. Anyway, the following option has seemed to work well so far, and I have not seen anything on this forum mentioning it, so will do it here. Create an account with https://www.smtp2go.com/. This is just an email server, you do not have an email address with them. You create a username and password, that are used in the Vision email setup as email authentication. Server address is mail.smtp2go.com, various ports are available to be used. In the "From" field in Vision email setup, you enter any email address you want to send from, can be gmail, hotmail, whatever. The smtp2go account is free for a certain amount of emails per month. Thanks for all responses to these issues, and thanks for your patience Drew, it has been a pleasure working with you!
  7. I think it would be really valuable to make the user controls(maybe only the combo box) more dynamic, by being able to link them to a column in an indexed data table. The control would return the index number of the selected DT row which could be used to retrieve info from that DT row. I really like the "Custom Control" but they can only be used for static option lists. Thanks for considering! Allen
  8. Link data table widget to "Custom Control"

    I also think it would be great to be able to launch a "message box" from an action. This would allow ladder logic to pose a question/confirmation. These are just some thoughts as I'm working at a project. I think highly of the Unistream platform already. Allen
  9. I have a project using the Enfora 41J modem kit with V130 for SMS messaging(send & receive). The modem was working perfectly until it was shipped to its final location now it will not initialize anymore. A very new AT&T tower is close by in the area of this project & if I check AT&T coverage map it is not showing 2G coverage. I have not been able to find definite proof, but suspect this modem needs 2G to work. Does anyone else have experience with this? Will Untronics soon supply a newer modem that is more compatible? Has the Sixnet IndustrialPro® SN-6000 series routers ever been used as a GSM modem with Unitronics? This might be a solution for the issue stated above, but I wish to verify that it can be initialized to work with Unitronics PLC. Thank You, Allen
  10. What I am understanding then, is that even if we get the Sixnet gsm modem to work with PLC, it will still only work in areas with 2G. I am hoping we can get this situation resolved with a SIM card from Kore Telematics
  11. Yes, the Sixnet does have serial GSM (see this link: http://www.picscontrols.com/assets/files/Industrial%20Pro%206000.pdf ). The V130 controller needs to send & receive SMS messages. This forces me to use a compatible serial GSM modem, instead of an ethernet connection. My concern with the Sixnet is doing a "Modem Initialization" from Visilogic, as it is not a supported modem.
  12. Use a Mouse on HMI screens

    I have found that it works to plug a USB mouse into one of the USB ports on the UniStream. A message will come on the display asking to do a reset, after that a mouse pointer appears & you can click on HMI elements similar to touching them. In one of my applications, I use the "System>General>Touched Bit" & "System>General>Coordinate X/Coordinate Y" values(for detecting location of a touch on HMI). Unfortunately, a mouse click does not activate these values, but otherwise it is a really neat feature.
  13. Issue with TON timer

    Has anybody else had issues with TON timers?? Several times I have seen where the timer seems to get stuck with the "out" bit ON. It's a very simple logic where the timers out bit is used as a N/C bit to activate the timer, thus the timer is constantly cycling. I have seen where the out bit goes high & stays high until I "Reset Retained Tags" in UniApps. This may have occurred after a new application was downloaded to the UniStream. I'm using latest version of UniLogic & have all OS files up to date on the UniStream. Thanks, Ahoover
  14. Issue with TON timer

    Eyal Koren, At the time of this issue I had been in contact with support & they looked at the logic. After tinkering with the issue for a while we found that resetting the retained tags takes care of it. Since support had never heard of this issue previously, I thought I would post on here to see if anybody else ever saw this problem. Thanks, ahoover
  15. Am using Red Lion display, model PAX2D, with an option card for RS232, and want use Modbus RTU to display values from a V350. I can get successful comm. by connecting RXD from display to RXD(pin 3) on V350, and TXD to TXD(pin 4) with no ground. As soon as common (pins 2 or 5 on V350) are connected to RS232 common on display, comm. halts. By wiring as above, I can read values from registers in the display, but they seem to be random numbers, not anywhere close to what they should be. For instance when reading register 40483(display baud rate), a value of 8960 is returned no matter what the baud rate is actually set at, and I would be expecting to see a number from 0 to 5 for the 5 baud rates available on the display. PAX2D display manual: http://www.redlion.net/Products/Groups/Counter/Rate/PAX2D/Docs/04038.pdf PAX2D Modbus table: http://www.redlion.net/Products/Groups/Counter/Rate/PAX2D/Docs/04045.pdf PAX2D RS232 option card manual: http://www.redlion.net/Products/Groups/PAXOptionCards/PAXCDC1,2/Docs/12018.pdf V350 program: https://www.dropbox.com/s/86hmdjtqg0qdkqd/Test%20Display.vlp I talked with Red Lion tech support to make sure display setup is correct. Appreciate any help!
  16. Henny, I tried to post this morning but it did not show up, so will try again. It looks like you are correct, Modbus RTU can only be used with RS485, I missed one important line in the manual. I am kinda disappointed in Red Lion tech support, as I gave them all details on hardware & what I'm trying to do, they did not point out to me this is not possible using RS232. I have gotten this working now by setting the display comm to RCL & using a protocol function block to write a value to counter A on the display. Many thanks!! ahoover Red Lion PAX2D with Serial RLC Comm.vlp
  17. Henny, It appears you are right about Modbus RTU only being available with RS485, I missed that one important line in the manual. It's a bit disappointing in Red Lion tech support, as I told them my hardware and what I'm trying to do, and they never pointed this out. I set the display to RCL comm. & used a protocol send function to write a value to counter A which is working fine. Thanks a lot for your help!! ahoover
  18. I have constructed the cable using a standard Unitronics programming cable with one end cut off, the wires stripped & fastened to screw terminals on the Red Lion RS232 card. The option card I am using does not have a DB9 connector. Modbus comm works flawlessly with a second V350. I have been in contact with Unitronics tech support over the last couple days, but at this point we have not gotten any breakthroughs. I appreciate the time & effort! ahoover
  19. When I use serial monitor on V350, this is what I see: Tx: 02 03 9E 22 00 01 0B DB Rx: 02 03 30 FC The DIP switches are set to RS232. The Modbus function status goes to "4" for 3 times then goes to "5". ahoover
  20. The communication I have been getting as specified above(tx to tx & rx to rx) appears to simply be a loopback, the same results happen when connecting tx & rx wires together. I did not realize this was possible. So the problem remains of getting the correct wiring connection to work. ahoover
  21. Thanks, but have used that site already. Am pretty sure I have tried the correct wiring connections with no success. ahoover
  22. This is also what I understand TXD from one unit has to connect to RXD from the other unit, and I have tried that. It seems very strange to me that wiring as I mentioned above can communicate albeit with undesired results. ahoover
  23. Hi, My goal is to administrate( online test, download updated programs ) on Vision series PLC's, remotely. I have been trying to do this using GPRS, but have run into some problems. Can anybody help me out? ------------------------------------------------------------------------------------------------------------------------------- Here is the hardware I'm using: * Enfora Modem with ATT card (card is assigned a private IP) on PLC * Vision V570 PLC * PC running Visilogic 9.4.0 * DSL router with port forwarding to my PC This is process I have been trying: * Send SMS with IP address of DSL router * Initiate a GPRS call, either with button on screen, or with SMS message And here are my experiences: * When initiating a "call" from the screen, I don't have a problem connecting to Visilogic. The problem seems to be conflicts between SMS & GPRS. When a GPRS call has been made, and ended, the PLC will not receive any SMS messages, until the PLC has been rebooted. When an SMS message has been recieved (before any calls are made), then a call is started, the PLC will crash with this message: Illegal Word Operand Access. * The above seems to happen consistently, although it may be a problem in my program ( see attached file ). If I use the above method to remotely administrate PLC's, I most certainly need a method of "calling from the PLC" remotely. -------------------------------------------------------------------------------------------------------------------------------- My next question: Is the above method recommended for remote administration, or is there a better way? When I have successfully connected via GPRS the connection seems very slow, and at least once a download error occurred.
  24. PID not responding

    I have setup a simple PID conf by editing one of the Unitronix examples, but cannot get it to ouput a CV, no matter what I try. Am using an analog thermocouple signal for PV, and CV should be ouput to a VFD. I wish to get this PID working at least partially before installing the PLC on the project, and therefore have this setup on my desk. I tryed manually doing auto-scan, by changing tempatures on the thermocouple, but can not get the CV to change from 0. Any pointers?
  25. PID not responding

    Thanks a lot for your helpful information. The SB2 direct contact was the key to the problem. Once I have the PID in my real program, I will need to do an auto-tune, but this gets me started. Thanks again.
×