-
Posts
2,869 -
Joined
-
Last visited
-
Days Won
308
Content Type
Profiles
Forums
Gallery
Events
Blogs
Downloads
Articles
Media Demo
Posts posted by Joe Tauser
-
-
I'd use an Indexed Data Table to create the logs and then use the Store DTI to File function block to create a csv file on the SD card.
You can then enable the FTP server and retrieve them from an external PC.
Joe T.
-
Generally people use Structured Text or C code because they have something math intensive or they're just plain more comfortable with it because of their background. You don't really gain a lot with it because its just another form of compiled code.
What is your application?
Joe T.
-
This is built in to UniStream, and it's fairly straightforward. Search the Help for "User" and it's the first topic.
If you want to play around with an empty program and post your work here we'd be happy to help.
Joe T.
- 1
-
This looks as thorough as anything I've seen -
Joe T.
-
I'm assuming you're working with a UniStream. This PLC does not have a native RTC to ASCII function. Read up on UDFBs (User Defined Function Blocks) in the Help - these are loadable functions written in ladder code. Flex has posted a UDFB file above that you can load into your PLC to get the functionality you're looking for.
Joe T.
-
Your logic is turning Cleaning.Complete off immediately when it's on. You'll never see it in the on state. The computer screen updates much more slowly than the actual PLC logic.
I'd add a Reset to the Cleaning.Complete rung to also reset the State.Abort bit to prove that it's working.
While you're browsing around on the forum, search up my posts on the State Machine programming style in the Visilogic forum. It applies equally to UniStream. It will do what you're trying to do in a much cleaner fashion.
Joe T.
-
Moved to correct forum
-
It looks like this is a UniStream program. True?
You can only use a regular coil once in a program. In ladder logic all rungs are scanned and solved and the last one wins. In your program example above use different bits for each rung, and then OR them all together below your logic for the actual controlled bit.
Joe T.
-
That depends. There is a "Modular" unit where you add all the I/O modules and then there's a unit with some onboard I/O called a "Built-In".
https://www.unitronicsplc.com/programmable-controllers-unistream-series/
The Modular unit is a front panel with a separate CPU module. It's the original UniStream type and has all the features. The Built-In has varying levels of bells and whistles to get the price down to appeal to the OEM market. If you go with the Built-In, get the -B10 option which has all the stuff.
Reach out to Unitronics to figure out who sells their product in your part of the world. Here in SeppoLand, a 7" unit goes for $1,500 - $2,000 US.
Joe T.
- 1
-
You can use the built-in webserver as well. Just make sure you get the UniStream with the -B10 option.
Joe T.
-
What do you mean by an "m2m card"?
Joe T.
-
You can't increase the size of the internal retained memory. As Saragani says, it's 256K. I would calculate the actual data size needed - you need to specify the number of columns in each table as well as the data type to determine how big they'll be.
You can creatively use an SD card to get more storage. Look at the Help on "Store DTI to File" and "Load DTI from File".
Joe T.
-
You've got low voltage and high voltage wires in the same wireway (3rd one from the top). You need to separate out all those wires - not just the field grounds.
Wiring connect to VFDs is super high in harmonics and the current present makes the wiring into a very effective AM transmitter. Any wiring within a few inches will pick up a high frequency signal and transmit it into the backplane of the I/O modules via capacitive coupling. This will in turn combine with the data signals on the backplane, resulting in errors on the controlling CPU.
Joe T.
-
39 minutes ago, JPC said:
I'm building the logic in a similar way I would approach an Allen Bradley program.
Yep. Subroutines are the way to go. You're on the right track.
Joe T.
-
I have a customer that uses hydraulic cylinders to raise and lower a security gate at an electric utility transmission station. There' s really not much to it.
Joe T.
-
I did some experimenting in UniLogic with this question and reached the following conclusions:
1. You can't change the size of the HMI screen. Therefore there is no "pop-up" window functionality at this time. You can't drop a Custom Control onto a new display that is only the size of the Custom Control.
2. When you press a button one of the options available is "Message Box". This is like a Visual Basic dialog box asking a basic Yes/No question. You can't really change it.
3. You can add a Custom Control to it's own Layer, and then play with the Visibility property to make it appear and disappear.
Those are my observations. If anyone has concrete experience on this feel free to chime in.
Joe T.
-
What you've posted looks like a good start to me. I'm guessing you've verified that your "Message" tag is the same length as your "Vklop10" tag.
If it doesn't work I'd add both tags to a Watch when you're online with the PLC so you can actually see what's going on.
Joe T.
-
Contact Official Unitronics Support at support@unitronics.com.
Since the Great Hack of 2023 all previous versions of UniLogic that did not have mandatory security measures have been removed from the Unitronics website and are only available by special request. They should be able to get you the interim versions you need.
Joe T.
-
3 minutes ago, kvlada said:
There must be something similar in Unilogic.
There is not. There are quite a few functions in Vision that don't exist in UniStream. PWM and Linearize Array immediately come to mind.
The thing about a function in Vision is you don't know what the assembly code looks like under the hood to get that function to work. We got spoiled by some of that stuff.
Here's the RTC to ASCII udfb I lifted from the example programs. Looking through it gives us an indicator of what kind of somersaults the Vision programmers performed for that function. You can call it overkill if you wish. But it does work.
Joe T.
-
10 minutes ago, Merle said:
I was trying to communicate with an actual slave device, which works for single commands only. If I try to send multiple commands within a relatively short period of time is when the issues appeared.
Have you tried setting up an Aperiodic Batch Operation?
Joe T.
-
The three second recovery probably has something to do with your Retry count setting.
My experience has been that the specific modbus error codes you describe above don't always get set they way you think they should. I spent a huge amount of time trying to simulate errors between the PLC and another device and then trying to figure out the timing and value of the error codes, just as you have.
Are you experiencing errors when trying to communicate with a device or are you just trying to interpret what the PLC response is when firing commands to a dumb terminal?
If you're just trying to observe PLC behavior with a PC, I'd Google "free Modbus simulator" and put that on your PC.
If you're just trying to get a more real-time monitor of the communication status between your PLC and the actual device, I'd abandon the Status column in the Modbus Table and go straight to the source - the Modbus Remote Slave Status word. It changes its value to 2 or 3 pretty quickly when communication is lost and will reset itself back to 1 when communication restores itself.
Joe T.
- 1
-
No.
What I meant was you need to replace the PLC. Or find another unit and swap out the main board. Unfortunately, Unitronics does not sell any replacement components - you'll need to find one on eBay or something.
Joe T.
-
4 hours ago, Ausman said:
.why not get the 1210 (or other unit) to perfectly time the gun shot
They have a commercial V1210 system that does exactly that. I helped them develop it.
You'll need to figure out how to do what's called a "bubble sort" in ladder logic on a Data Table. This is not trivial. I'll have to give some thought to that one.
Joe T.
-
Um... the PC is not a PLC. How would you connect the wiring of your equipment to it? All Remote Operator does is mirror the graphics in the PLC to another graphic display device; your monitor in this instance. Remote Operator does not turn your PC or your phone into a machine controller.
Based on the PLC information screenshot above your PLC has had it's memory corrupted. You need to replace it, and you will need to somehow get the program to load into a new one.
Joe T.
Download option on V230 PLC
in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Posted
Yes. It may ask you to update the OS. The software will walk you through it if needed.
Joe T.