This tool downloads compressed control applications to local or remote Unitronics controllers. You generate a compressed application from within either U90 Ladder or VisiLogic. Your end user will be able to download the application, but will not be able to view or modify it. The tool can download applications and OS.
Some further info that might be of use to everyone. This method works on my W7_64 Pro system, but I don't know about other types or setups.
I'm still sitting on 8.65 for the time being. I recently did some experimenting and noticed, as expected, that anything done on a later version won't open properly on file double click. Clicking ok on the "I'm not going to run" advice box closes things but doesn't really....you have to shut the process down via task manager. But once you've done that, double click opening the same file again brings up the "Visi not shut down properly" message box, and if I then select OK it gives me the "new project with old software, so we will open a new project" message. Click OK and lo and behold, instead of a new project, up comes the user program done on the latest version, but displaying in 8.65. This method might miss some subtle difference due to ongoing "capability upgrades" but it works well enough for what I need, which is viewing programs posted by forum members. I haven't actually tried this on an earlier version of Visi to see whether the same principle applies.....too scared I'll stuff something crucial up! Someone with a bit of time on their hands can give it a go.
Hopefully this info might help someone out. Going backwards is sometimes an essential thing to do.
Hey @Joe Tauser, I notice you place an inverted contact of SB 2 in front of the SCAN_EX FB. I've seen other people do this also, but I have never done it in any of my hundreds of projects over the last many years and never experienced a problem related to the slave scanning. Is there really a purpose or any advantage for this?
Hello Joe, thank you very much for your attention.
So I'm communicating with the inverters and my question really is which port to use.
I recently ran a UDP communication project with or PLC, where I succeeded, but a friend once made the communication through the TCP protocol with other CLPs together with the OPC server system and eventually came into conflict I believe he used the same ports .
Currently my scenario as described above is to perform the communication between the PLC with the Inverter and at the same time communicate with the OPC server, you could be typing some topic that can specify more about the port configurations.
My other question is whether the reading and writing logic is correct, or you use another pattern.
Many thanks for now.
Leave Socket 1 mapped to port 20256 and don't use it in your program. Visilogic uses these for programming over Ethernet.
Actually, the default is 502 but it can be any port. And the Master and Slave don't have to be the same, you just have to know what the number is on each side.
@Edilson Adriano Lucas - you didn't post any documentation links to cfw011 so I didn't dig into the specifics of it's communication. I'm guessing from looking at your program that you've already figured out the register map.
I hacked on your code a bit for the socket assignment. I picked port 503 on the PLC side using local Socket 3 to talk the the VFD on it's port 502.
If all this port / socket stuff sounds confusing that's because it is. Especially for someone new to Ethernet communications who's trying to understand Modbus and wondering why the PLC can't talk to whatever they want because their computer has no problem with this.
The UniStream series buries all this under the hood and is much easier to configure.
Anyway, off my soapbox. You have to get what you have working. Let us know your further questions.