-
Posts
3,259 -
Joined
-
Last visited
-
Days Won
236
Content Type
Profiles
Forums
Gallery
Events
Blogs
Downloads
Articles
Media Demo
Posts posted by Flex727
-
-
It looks like you set up Socket 3 for comms, but you set up your MODBUS configuration for Socket 2.
-
Also, don't get confused between your wired ethernet address and your wireless address on your PC. When you do IPConfig in a command window, confirm which address is which since they are usually on different subnets. You want to make sure you use your wired IP address subnet.
- 1
-
1 hour ago, S4TUX said:
I see my subnet listed as 255.255.255.0
That is your Subnet MASK, not your subnet. Your subnet is 192.168.0. You need to make the subnet match between the PC and PLC (the first 3 octets must be the same and the 4th octet different). The subnet of the PLC, as you show above is 10.2.5.
Also, are you certain that 10.2.5.83 is the IP address of the PLC? Even so, go into UniApps and change it to 192.168.0.xxx (anything other than 71). Or, you can go into your PC network settings and change your PC IP address to 10.2.5.xxx (anything other than 83). Once you do that you should be able to communicate if you are plugged into the correct port with a crossover cable or through an ethernet hub.
-
Is your PC on the same subnet as the PLC (10.2.5.xxx)?
Also, are you plugged into the correct Ethernet port on the PLC?
Are you using an Ethernet hub or a crossover cable?
-
Still broken.
-
-
TA timers need to be Reset manually. They do not reset automatically when power is applied as TD timers do. Put in a reset and your TA5 current will be correct.
- 1
-
38 minutes ago, swb311 said:
Anyone affected by this hack had port 20256 forwarded to their public IP.
It's literally because the programming port is forwarded to the internet
It's actually the exact opposite. The router is set to forward port 20256 from their public IP address (WAN) to their to their private IP address (LAN). This is actually fairly common, and while it's not secure, it's generally okay because there is little incentive (profit motive) to hack in these situations. Tensions in the ME provided the incentive absent a profit motive.
It's a good lesson learned here - avoid using default settings.
- 1
-
Saw a report on ABC News this morning about a drinking water pumping station in Pennsylvania being hacked. The photo was clearly a Unitronics V570 PLC. Unitronics, among others, is being targeted and we need to be acting immediately to prevent more occurrences. We need some guidance from Unitronics right away.
-
8 minutes ago, Pendalar said:
I'm wondering if the exploit necessarily needs brute-forcing the PLC name. If it doesn't, I wouldn't imagine setting it to an extremely long name with only special characters to necessarily help secure it in this case.
True, but I'm having difficulty imagining another point of attack. If there is, then Unitronics can circumvent with a firmware upgrade.
-
@Cara Bereck Levy, I don't see anything in the Help file that indicates exactly what special characters are allowed or disallowed for the PLC Name. Since this is essentially the password for remote communications, could we get this spelled out so that we can take the appropriate action to secure PLCs in the field?
Thanks.
-
-
Moved to the Vision forum.
-
2 hours ago, _Radu_ said:
but i trying to program the PLC via Ethernet with empty SD card insert in the PLC(this is why there is no allocation/program loaded)
Also, not sure what you're trying to say here. The PLC program does not reside on the SD card. You can upload or download a program to or from an SD card, but that requires some PLC code to make that function.
-
I recommend you use a different socket and port # for your communications with the external device. The reason for that is that the standard PC to PLC communications uses port 20256, and socket 1 defaults to that for you. While that is only the default, and you can change things in VisiLogic to use any port you want, there is no reason not to keep this as simple as possible while you're learning.
Use socket 2 or 3 and set it to an appropriate port # for your external device. It doesn't hurt to go ahead and initialize socket 1 to port 20256 and set to server (slave) for your PC-PLC comms using VisiLogic over ethernet.
-
On 11/10/2023 at 9:27 AM, Flex727 said:
in Ping, when using a leading zero it interprets the number as hex rather than decimal
On 11/12/2023 at 2:59 AM, Saragani said:when padding a zero before the number, chrome (and probably all the browsers) is parsing it in Oct base
Ah! Octal, not hex.
-
I don't know if it's related, but I was having a similar problem when Pinging an IP address from Windows. I've discovered that in Ping, when using a leading zero it interprets the number as hex rather than decimal. Seems silly to me, but true nevertheless.
-
1 hour ago, John_R said:
Anyone know what this means?
Yes, everyone knows that Marvin the Martian wants to wipe out Earthlings. The forum is just doing its part to spread awareness. 🤣
- 1
-
45 minutes ago, kratmel said:
If the example given by you works and fulfills the task, then in this case it is not worth changing it.
The engineer's creed (and my personal mantra): "If it ain't broke, don't fix it".
-
Swap out the Function blocks for the ones under "PID Autotune".
-
I went ahead a wrote a little routine that should show you how to do some of the stuff you're wanting to do. I did this quickly without testing, so I likely made a few mistakes, but you should be able to get the concept. Let me know if you have questions.
-
11 hours ago, kratmel said:
I concluded that the limitation in the number of files in the folder occurs due to the maximum length of the file name reserved in the PLC. That is, since the PLC is not a PC, it is probably impossible to implement a full mode of interaction with the SD card. Therefore, in advance, the developers limited the number of files so as not to exceed the capabilities of the file system when writing the appropriate file names.
This really makes a ton of sense. Thanks for the great research and analysis.
-
13 minutes ago, Ausman said:
What happens if you inspect the offending image when the tickbox goes off, to see what your pixel is then?
I find no change in the image itself - only the tickbox becomes unchecked. I have not yet been able to determine when that happens: during a save, or during the file open, or just randomly with the file open.
-
20 minutes ago, Ausman said:
For what it's worth, I've been trying a quality Toshiba SD in a system that routinely corrupted things, and for a year or so now it has been fine, so I an inclined to believe that "although all cards are created equal, some are better than others!"
SD card quality is a big problem today. Many of the Chinese knock-offs are horrible and will corrupt quickly and easily. I stick with name brands now, no matter the cost.
Modbus TCP / IP - No conexion
in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Posted
And by the way, this is a volunteer user forum, not official Unitronics Support. Unitronics does provide support elsewhere.