Jump to content

Fernando Castro

Members
  • Posts

    264
  • Joined

  • Last visited

  • Days Won

    24

Fernando Castro last won the day on October 5 2023

Fernando Castro had the most liked content!

1 Follower

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Fernando Castro's Achievements

UniGuru

UniGuru (4/4)

45

Reputation

  1. I did my own version of software to download files from n number of PLCS in the network over ethernet using the documentation @Saragani gave... there is a nice set of tools for developers but documentation is not as good and easy to understand as I would wanted. @lorenso unlucky for you I no longer have acces to that program... and I don't have hardware to even try to re do something.
  2. Don't waste your time asking for a decent Modbus TCP implementation. Vision series are cheap PLCs with incredible versatility. I already tried every possible workaround regarding Modbus TCP communication. And you are right, other controllers do that kind of stuff better. Modbus TCP in the unitronics vision series is Intended to communicate 1 device to 1 PLC at a time per socket. There are workarounds but you need either use UDP. Or somehow manage some type of disconnect/reconnect sequence which at the very best will be finicky. It is what it is. On my previous job I inherited abig ammount of systems built on unitronics platform and Invested a lot of time figuring out how to upgrade the systems whitout replacing the PLCs.
  3. 🙄 On Industrial automation world, the first resource should be ask to the Original Equipment Manufacuter. 99% of the time you won't have access to the source code. Unless specified by the customer, no vendor provides a project file you can edit. And, assuming you have access to it, pretty much every single controls brand has proper documentation in the help file. I am truly surprised how often this happens.
  4. Only possible if the original programmer enabled that option.
  5. Aun que no estoy en Guadalajara ( Viví ahi un tiempo) podria asistir de manera remota si alguna vez tienes la necesidad. Tengo bastante experiencia con la serie vision, y se un par de cosas de desarollo web. Saludos!
  6. I see that I am joining late. but I think you could bypass the name with the PCOM protocol. Since I no longer work with Unitronics I don't have access to the old software that I developed with PCOM dll but I am 99% sure it can be bypassed Edit: yes, you don't even need to know the name, and in fact you can retrieve the PLC name using this method. Once you get the PLC name then you can do a new blank download.
  7. Using PCOM protocol you only need the IP, and it is easy to get once you are in the network
  8. https://www.npr.org/2023/12/02/1216735250/iran-linked-cyberattacks-israeli-equipment-water-plants I just saw this post and it caught my attention... to be honest, targeting unitronics vision series It could be way too easy. If i recall correctly, once you are in the same network, unitronics communication drive dll doesn't even need the PLC name to connect to the PLC. And the default port 20256 and 20257 are very well known... assuming the dll allows retrive the PLC name, its easy to download a new blank program to the PLC. The IP is easier tho get if you are already in the network, Is as simple as using an ARP cmd command to scann all the devices and test for 20257, 20256 or 502 ports open... or I am sure that you can tell just just by the MAC addres. My suggestion is to add a firewall rule for external incoming connections through those ports if you network is exposed to the internet. Anyway stay safe.
  9. Also always test your modbus communication with something like modbuss poll or modbus master simulator radzio it is free an you just install it on the computer, the modbus configuration is intuitive, and you will be able to test if the issue is on modbus py or on the PLC side.
  10. First of all this rung is awful. No offense to you but visilogic is not a FBD programming, is ladder logic with some function blocks, Visilogic is kind of old and I wouldn't try to push everything on a single rung Which memory addres are you trying to read from the PLC? To make sure you are doing the correct math for the client modbus addresing.
  11. I had one or two corrupted SD cards per month among my 180 PLCs. SanDisk 16 Gb from Amazon, and I don't even wrote to often, It was used more like a read only memory for managing recipes. Also the 64 file limit is kind of mysterious, you can store more than 64 but won't be written into the SD card, if you have 64, then record another 10 files, the most 10 recent files will appear on the SD card only if you delete other 10 or more files in the SD Card, where are those other files stores, who nows 🤷‍♂️, what is the actual limit in that phantom storage its also a mystery.
  12. Define how fast is fast. And I was actually looking for the exact same solution. Best option so far is to use UDP, if your sensors allows it.
  13. It's a straightforward application: Use a Unitronics Vision PLC as Modbus TCP/IP Master, communicating with many slave devices at the same time (let's say minimum 2 maximum 4) with low latency, using only one single socket (All other sockets are being used for different applications). One of the Modbus slaves was supposed to control a process variable linked to the output of a PID loop in the PLC. BTW, at this point for me, it's only out of my curiosity, the company I worked for has filed for bankruptcy and I was laid off, so I cannot test anything, well... I guess I could (assuming I have some remote connection to the facility still enabled and all my test equipment is still on 😏) but of course that will be illegal. 😅
  14. I believe that that is to add the slaves to the protocol, and it means that you can't select a device which IP has not been added to the configuration FB first? I can communicate without problems, but using the same socket for many devices requires closing the connection and connecting to the other IP before sending/receiving.
×
×
  • Create New...