Jump to content

stembera

Members
  • Posts

    79
  • Joined

  • Last visited

  • Days Won

    3

stembera last won the day on July 22 2019

stembera had the most liked content!

About stembera

  • Birthday 04/03/1963

Contact Methods

  • Website URL
    http://www.shcontrol.eu

Profile Information

  • Gender
    Male

Recent Profile Visitors

6,893 profile views

stembera's Achievements

Advanced Member

Advanced Member (3/4)

4

Reputation

  1. Hello Pendalar, I have exactly the same incident on V570. Probably there is a security flaw in PCOM protocol, vulnerable if PLC is contacted via internet. I am planning to change all PLCs names, change number of service ports and hide PLCs behind the VPN. I will have a meeting with security expert today evening so I hope I will get more informations. Please keep us informed about the situation development, if possible. Also, in case of need, feel free to contact me directly.
  2. Maybe I am too late here but I think the .C35 file is not intended to be opened in VisiLogic. Rather it works as backup of the application software + operating system to be loaded directly from SD to PLC memory via INFO mode.
  3. I do this task this way: Put every step timer in Drum configuration to 00:00:00 and set an external timer to every step. User can change the timer preset to desired value easily from display.
  4. Alex, your advice was intended for case of corrupted VisiLogic installation. Author had a problem with UniLogic installation. (I have the same problem today so I am curious if it was solved before).
  5. Just a two suggestions: 1. Your software communicates via COM1. If you connect your PC via USB port of the PLC, COM1 will be suspended so the Modbus comm will not work. 2. You configure COM1 port as RS485. You must do the same on DIP switch on the PLC. Factory default is RS232.
  6. 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 address. Smartphone was all time connected to reliable WiFi. Thank you for any idea. Michal.
  7. 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 RS232 interfaces but it is not able to use both interfaces simultaneously. Do you think new Unitronics router is able to operate both services? Or, is there any other way (which I do not know) how to send / receive SMS via Ethernet connection? Thanks, Michal.
  8. 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.
  9. 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.
  10. 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 the dialog to the left monitor, context menu does not open, there is only frame of menu visible. I know, it is only marginal problem but it was hard for me to resolve it for the first time.
  11. 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.
  12. Language pun: "Navrat" is Slavic word for Returning (home).
  13. 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 the server but without any content (zero length of file). What am I doing wrong? ======= FIleZilla output: (000029)14.8.2020 13:29:34 - (not logged in) (10.100.0.222)> USER shcontrol (000029)14.8.2020 13:29:34 - (not logged in) (10.100.0.222)> 331 Password required for shcontrol (000029)14.8.2020 13:29:35 - (not logged in) (10.100.0.222)> PASS ******** (000029)14.8.2020 13:29:35 - shcontrol (10.100.0.222)> 230 Logged on (000029)14.8.2020 13:29:37 - shcontrol (10.100.0.222)> PASV (000029)14.8.2020 13:29:37 - shcontrol (10.100.0.222)> 227 Entering Passive Mode (10,100,0,111,252,170) (000029)14.8.2020 13:29:37 - shcontrol (10.100.0.222)> STOR TEST.CSV (000029)14.8.2020 13:29:37 - shcontrol (10.100.0.222)> 150 Opening data channel for file upload to server of "/TEST.CSV" (000029)14.8.2020 13:29:37 - shcontrol (10.100.0.222)> 2020.08.12 15:54;79.812;76.457 (000029)14.8.2020 13:29:37 - shcontrol (10.100.0.222)> 500 Syntax error, command unrecognized. (000029)14.8.2020 13:29:37 - shcontrol (10.100.0.222)> 226 Successfully transferred "/TEST.CSV" ======== (I do not append source code because it is just slightly modified example V700_FTP_client.vlp from VisiLogic Help menu). Thank you, Michal
  14. 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.
  15. 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 control room confirmed alarm so I switched back to real measurement, when... What the hell? I hear sirens. I just ran out from the equipment room and I saw four red emergency trucks arriving in front of the room. Something went terribly wrong. Maybe the electrician guys disconnected the wrong valves and ammonia leaked due to simulated alarm? My world went black. Emergency situation in the town, probably I will be fired from the company. I found the leader of the emergency group and I shouted at him: "It was my fault, how dangerous is the contamination?" The guy replied: "What contamination? We were just asked for a presentation for local TV." Damn, I will never forget that day.
×
×
  • Create New...