-
Posts
3,275 -
Joined
-
Last visited
-
Days Won
239
Content Type
Profiles
Forums
Gallery
Events
Blogs
Downloads
Articles
Media Demo
Posts posted by Flex727
-
-
Has anyone ever tried to implement a rudimentary low-pass filter in ladder logic? Is it even practical?
-
Yep, works for me now, too. But, @Joe Tauser, why do you commit the cardinal sin of having two networks in a single ladder rung?
-
2 hours ago, Joe Tauser said:
I've attached the Visilogic export of it, which you can re-create in UniLogic.
It's not perfect and the PLC must be powered on when DST occurs. If someone wants to improve it and post what they've done it would be most welcome.
I get an error also. I'd love to play with it a bit if I could get it to load.
-
26 minutes ago, hotwires said:
I did a large VisiL to UniL program translation and it was challenging to say the least.
I'm curious as to what your motivation was for the transfer to UniStream.
-
3 minutes ago, MattP_Mac said:
Now for the real fun to begin.
I think you'll find that VisiLogic is a joy to work with compared to other PLC software. Let us know if you encounter any other problems.
- 1
-
Just for clarity, Socket Initialization is not the issue here. MattP is trying to perform the first download of his program into a new PLC. Normally, this should be done via serial or USB, which is why Unitronics includes a USB cable in the box. If absolutely necessary to connect via ethernet for the first time, the user must set the IP parameters in INFO Mode and look up the PLC Name.
-
You can look up the PLC Name in INFO Mode and use that temporarily. You can set the name you prefer in a PLC Name FB, but it won't take effect until the program is downloaded and the PLC is Reset.
-
MattP, INFO Mode is telling you that the IP address is 0.0.0.0. You will not be able to connect to 192.168.1.10 if it doesn't yet exist. You either need to update the IP Address in INFO Mode or download your program via serial or USB first.
-
To go online for the first time you will need to connect via serial or USB. After the program is downloaded and the ethernet parameters are set within the PLC, then you can connect via ethernet.
Also, Socket 1 defaults to Port 20256 and Slave, so you don't need the Socket Init for this (though it doesn't hurt).
It is possible to set up the ethernet via INFO Mode, if that's absolutely necessary.
-
Just in case you're asking about addressing the V350 and not how to implement in the Red Lion, you can find the slave addressing table in the VisiLogic Help file by going to the Contents tab, then expand Communications, then Communications FBs, then expand MODBUS. There you'll find the topic "Slave Addressing".
-
9 hours ago, Declan Byrne said:
On the V570 how long back do the trends save? Eg months days?
According to the Help file, you can hold up to 32,000 samples in history *TOTAL* for all trends in the PLC, so it's a function of sampling rate and how many trends you're monitoring.
- 1
-
10 hours ago, Joe Tauser said:
Look at the Store block - use it to move MI 3 to MI 29.
Just for clarity, this COPIES MI 3 to MI 29. MI 3 would remain unchanged. Use "Store Direct" found under the "Store" drop down menu.
-
Ausman, I just had to look this up yesterday. It can't be found with search for some reason. You have to go to the Contents tab, then expand Communications, then Communications FBs, then expand MODBUS. There you'll find the topic Slave Addressing. It's very handy to have at your fingertips.
-
Yes, you can display your MI read from the slave directly on the HMI screen. If it's just displaying zero, then you should confirm that you are in communication with the slave. Are you getting increments for Status Messages, Sessions, and Acknowledgements? Are you certain you're reading the right register addresses? Are you sure the slave registers have a value other than zero?
One other thing, you only need one COM INIT block unless you are wanting to change your COM properties on the fly.
-
The asterisks normally indicate a value that is out of range for its display properties. You need to examine that operand (either in Info Mode or Online with VisiLogic) to see what its actual value is and then work your way back to determine why it's out of range.
-
We want everything, Cara. You know that.
As far as priority, I think it should be tackled in this order:
1) Uni to Uni
2) Uni to Visi (and the reverse)
3) Uni to other (though I suspect this would be quite a bit more difficult)
- 1
-
Memory Float addressing starts at 4000 (hex) or 16384 (dec). Try reading address 16384 (or possibly 16385 since Visions PLCs start addressing at zero).
-
+1 on the MODBUS Mixed R/W feature in the Enhance Vision products. I use this function constantly and it is one of the best features that Unitronics offers that is unavailable elsewhere. I would love to see it implemented in the UniStream product.
- 1
-
Yes, you can use "Binary Text / Switch" for this.
-
If there are just two conditions (plus hidden, or nothing), just use "Binary Text / Switch" instead of list of texts.
-
Gonna have to add my thanks to Joe. I still pull up that Help section on timers regularly to check what I'm doing. It is very well done.
- 2
-
This may help you get started. Use "Data Tables Read Row" from the Data Tables drop-down to copy one row of your data table to a vector of MIs. Then use "SD Excel Utilities/Create Excel Delimited Line" from the SD drop-down.
-
16 hours ago, Ausman said:
2 I have had instances where a usb cable has suddenly broken a line internally. I'm assuming you have tried another known good cable in your attempts? In my instances the error messages you're getting were similar..."unknown but I know something has been plugged in." Murphy's law says that this failure is going to happen just after an update that will appear to be the culprit!
Ausman is a beast!
- 1
- 1
-
Go to the USB tab on the Connection Settings box and have VisiLogic reinstall the driver, then note which Com Port is being utilized for the connection.
- 1
Low-pass filter
in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Posted
I think it's a futile request. Sometimes vibration sensors can be affected by noise, or higher frequency vibration that isn't useful to measure. For instance, with a large pump or motor, you're probably looking at seeing a problem with a rotational bearing, or something similar, which will result in a low frequency vibration. Any high frequency vibration might mask the signal you're looking for or cause false positives. I know it can be a common practice to place an electrical low-pass filter between the sensor and the ultimate measuring device, but I was thinking maybe there was a software way to accomplish this. I suspect there is really very little (or no) frequency information available to the PLC on the 4-20mA analog input, but thought I would check it out anyway.