Jump to content

stembera

Members
  • Content Count

    74
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by stembera

  1. Hello world, I have a unusual problem with Remote Operator in mobile version: A smartphone connects to the OPLC quickly but it is not able to download the display cache. PC downloads cache in 2 minutes, smartphone hangs in "Downloading cache" for hours without any change. Do somebody have an idea what could gone wrong with the application? I checked the situation on two Android smartphones (Samsung Galaxy, Blackberry Motion). OPLC type is Vision 1040 running on OS 4.6.15, my smartphone is running on Android 8.1.0. The site is connected to Internet via 4G router with public IP addre
  2. Hello world, I have noticed in some older topic a mention about new 4G Unitronics modem / router. I would like to kindly ask if somebody has an experience with this device. I need to solve my long-term problem with connectivity on remote locations: Application running on Vision OPLC needs to be connected to Internet via Ethernet cable and also, time to time, send or receive SMS via serial cable. I am not able to find a device with both these features so our customer has to buy two devices - one for internet and one for SMS. I tried a Teltonika router which is equipped with both Ethernet and
  3. Update: I have asked Unitronics support for help so they sent me a new example program which works perfectly. Probably there is a mistake in original example file under Help --> Examples.
  4. Maybe I am too late here but nobody noticed risky using of rise edge of MB501 in Rung 1. When MB500 goes on, then MB501 is activated. This is the only case when second line of the Rung 1 is active. In situation when neither (SB146 = 1 and SB151 = 1 and SB146 = 1) nor (SB150 = 1) the MB501 never goes off so the TCP Connect Socket 3 is never called again until power cycle of PLC.
  5. I have noticed even more weird behavior of VisiLogic on two monitors: Let us have laptop computer with secondary monitor on its right side. VisiLogic is running on the right monitor, which is secondary. Let us start to edit some display and double-click on any text object to get its properties. It must be text object or button because their property dialogs are non-modal, i.e. you can return to main page and open context menu of the object by mouse right-click. OK. Now I can have two scenarios: If the property dialog is open on the right monitor, the context menu works normally. If I move t
  6. Dear Vince, if your PLC is Samba or Vision other than V700, try to set system integers SI103 ÷ SI110 (depending of used socket) to some number other than 0. Michal.
  7. Language pun: "Navrat" is Slavic word for Returning (home).
  8. Hello World, please does anyone have an experience with sending files from Vision to a FTP server? Our client asked for that function. I downloaded the FTP client example to my V700 but I am not able to send data. I am testing the communication with local FileZilla server. Login of user works properly. Switch to PASSV works, too. The last command is STOR, FileZilla responds correctly. Nevertheless, when Vision starts sending data (function block TCP_RAW SEND), server did not recognize data as a stream but rather as an unsupported command. At the end, the file with proper name appears on t
  9. For establishing VPN you must have static public IP address on at least one side of the connection. You will need a pair of routers capable to create LAN-to-LAN type VPN. If one side is on private dynamic IP address, you will need to configure your VPN as "aggressive" type, please read the documentation of your routers. The side with private IP address must be always the calling side of the connection. I can recommend routers of Taiwanese company DrayTek.
  10. Hello World, some time ago I wrote a small application for ammonia storage in chemical factory. Just some measurements, valves and communication to SCADA system. One day, the guys from the factory asked me to perform a routine check of the system. OK, I arrived to site and had a call with control room about the tests. One of the prescribed tests was simulating overpressure in the storage and checking if the alarm is sent to control room properly. The emergency valves were electrically disconnected to prevent leakage of the ammonia. Everything went smoothly, alarm was raised, the c
  11. Hello world, for update of my old project in Hydro Power Industry I downloaded a new version of DataXport (3.1.23) On this version, I am not able to establish connection with PLC via Ethernet. The only fix of the problem was to restore Windows to previous state and install an older version of DataXport (3.1.19). Do you have similar experience? Do anybody use the new version of DataXport on W10 and Ethernet connection? (Lenovo IdeaCentre Q180 PC w. W10 Home build 1507 (updates were not allowed due to metered 3G connection)) Thanks, Michal.
  12. In case of problems with serial ports, it is often useful to try to download program when PLC is STOPPED (you can do it from INFO mode). If you are in troubles with COM port init, try to load "Last known good" version of your software from SD card. It helped me sometimes.
  13. Dear Fotonic, If you are using Vision OPLC with B&W display, you can use "Moving image" dynamic object. Such object can move between two positions accordingly of variable value. If you are very patient, you can use freehand drawing on display with functions "Draw pixel", "Draw Line", "Clear Rectangle" from the Function Blocks menu. (Utils/HMI)
  14. Thank you Ausman for the idea. I will try Remote Access when the problem appears again. I will give you a feedback.
  15. Hello Arnor! Do you observe this behavior directly on display of PLC or via the Remote Operator? I have the same problem with V1040 when connecting via Remote Operator. Please see my post in the Remote Operator section (trend object only partly visible). I hope we will find the solution. regards, Michal.
  16. Hello world, connected to a remote PLC via Remote Operator, the object "trend" is often not displayed correctly. Only a part of the curves on the right side of the object are visible. Left part is invisible and can be displayed only by clicking the "M" button. Did you observe similar behavior of the trend object? Is it possible to get rid of this phenomenon? Thanks, Michal.
  17. Dear Juan, unfortunately the answer is no; Prepare PLC Side modem and Initialize PC side modem are different things. "Prepare PLC side modem" is intended for modem which will be located on the remote site via OPLC serial port. Initialize PC side modem is a AT command batch intended for modem which will be connected to PC for remote connection via peer-to-peer modem connection. Almost obsolete today. The first error could come from the three pipe signs before the command. Try to delete them and start initialization again. The next errors come from GPRS related commands, maybe your SIM
  18. This feature is not only annoying but it can also bring a fun to our lives. A year ago I finished work on some project connected through TCP/IP and I opened another one. Unfortunately, I forgot that the connection is not saved with project so when I started to watch process online, I saw very strange things. I was connected to the PLC which was not located in my office but in another country .
  19. Hello Steve, as Ausman said, cameras often have its own cloud technology which is bridging your router NAT (like Skype or TeamViewer). Maybe it is your case because there is not NAT record for camera system on your router screenshot. Are you sure your router has an public IPv4 address? Check this on WAN status page of your router. It should have true public WAN address (it must not be like 10.x.y.z or 192.168.y.z or 172.x.y.z). If on doubt, try to ping to your router WAN address from somewhere outside of your LAN. Does Ping work? If not, run tracert command from your LAN to some well k
  20. Hi Steve, maybe firewall problem? Michal.
  21. Dear Sas, if you have two machines connected to one gateway, things are getting little more complicated. Because your router does not know which PLC you like to connect to, you must distinct them by using different TCP ports. You can use port 20256 for the first PLC and 20257 for the second one. Be sure these ports are properly initialized by Socket Init FB on appropriate PLCs. Next task, make your router to divert call from WAN on port 20256 to the first PLC and call from WAN on port 20257 to the second PLC. You can use next screenshot from my router as an idea (Private IP should be r
  22. Dear Juha, 1. Be sure if you have properly initialized your modem with the init strings which belongs to Cinterion BGS2T. These strings should match both for PC initialization (Init PLC modem) and for the Modem Init block in your Ladder logic. 2. If positive, try to remove commands from the Init FB line per line until the Init FB returns OK. In that moment you have determined which command returns ERROR response. Find the AT reference manual for that modem and check what exactly that command does. In some cases you can omit some commands without lack of functionality. Good luck!
  23. Dear Vitor, yes, the examples work, indeed. I use this scheme regurarly. If you are on doubt, it is better to break the task into steps: 1. Is your modem properly engaged in cellular network? Modem should be initialized first, MODEM INIT should return Modem status (SI80/82/84, regarding to COM port number) =2, Error code (SI81/83/85) should return 0. If you are using a Check Signal Quality block, Signal quality should be > 0. 2. Is it possible to send SMS? Create some testing event triggered e.g. from the button on display, put your cell number to appropriate field in the SMS SEND blo
  24. Hello world! I have a problem with HMI display element "Binary text"; it has often (not always!) pink border. This flaw occurs when the element has style "3D pressed", color ON = Green, Color OFF = Gray and Toggle is enabled. It is probably some mistake of display itself because using Remote Operator that display looks normally. I saw this fenomenon on various Enhanced OPLC displays (V1040 / V1210). Do somebody has the same experience? Is there any possibility to get rid of this? Thank you, Michal.
×
×
  • Create New...