Jump to content

HigHTech

MVP 2014
  • Posts

    158
  • Joined

  • Last visited

  • Days Won

    5

Posts posted by HigHTech

  1. No, not my first project. I have not been grounding the 0V either but noticed the other day when testing my program with a 4-20 calibrator that my inputs were sweeping up and down, about 1/2 mA total. My calibrator output is rock solid since I checked it with a separate meter. When I grounded the 0V on the power supply the sweeping stopped and the input was rock solid. I guess its dependent on the bonding in the building the PLC is installed in and I should handle it on a case by case basis

    You need to have a good earth on the system. That´s all I check, if the earth is not a good one, then problems with analog signals are normal.

  2. Should I be grounding the power supply 0V. The wiring guidelines for the modules suggest that it should be earthed. I have seen many arguments for and against

    I never do it (since 2001 and a lot of Unitronics PLC installed that way in that time) and still not having a problem. But that´s just my personal experience. This is your first project?

  3. Thanks for your interest, HigHTech. This software is being written exclusively for a specific customer and I would prefer not to send it out without their authorization. I will try to provide more detail though.

     

    See attached to see what is inside those function blocks. It's really pretty simple - I want to log the date and time (and event name) to a data table each time one of 130 events occur. For instance, in the ladder rung I attached above, an operator might push a button (binary text switch w/toggle) on screen to disable RSU 1. Pressing that button causes MB 8001 to go high and that positive transition initiates the addition of a line to the data table, as stated above. I see no reason to add complexity by using an additional MB that gets set and reset when the data table entry completes because the data table operations occur within one PLC scan with no problem.

     

    My purpose with this thread was to try and understand the source of the compile error, however I am certainly open to learning a more efficient way to create this data table log.

     

    Here are the 3 function blocks from the ladder rung above, in order, and a look at the data table structure:

    attachicon.gifExample1a.jpgattachicon.gifExample1b.jpgattachicon.gifExample1c.jpg

    attachicon.gifExample2.jpg

    I think you can find a way to use only 1 rung to do the log. Using an EVENT FB you can define a vector of the events and then knowing the position of the event you can find the name without repeating 130 times the same rung with a different event contact.

  4. Yes, they all need to run. Basically, I'm logging events to a data table. The 3 functions are:

     

    1) Copy all rows of the data table down one.

    2) Copy a single row from a different data table that lists all the events by name into the first row.

    3) Write the date & time that I've already converted into a string into the first row of the data table.

     

    The 130 rows represents the approx 130 different events that the customer wishes to log.

     

    Here is what it looks like:

    attachicon.gifExample1.jpg

    I stop using positive transition contacts to call data table commands. I use a direct contact and a reset coil of that contact at the end of the rung. I think you can find a way to make the log a little easier. I don´t understand why you need 1 row for each event. If you want send me your program so I can understand the logic and then try to find together a solution.

  5. I occasionally get the compile error 55 - "Subroutine ladder data size exceeds limit. Split subroutine to solve problem". Obviously the subroutine is too large for some reason and it's really no problem to split it up, as suggested, but my question is: what specifically causes the problem? Is it the number of ladder rungs or the total data size of the subroutine (meaning a small number of complex ladder rungs or a large number of simple ladder rungs)?

     

    The subroutine that I am currently working on that triggered the error has 130 ladder rungs, including the RET function. That doesn't seem like a lot, but nearly every rung is executing 3 different Data Table functions, which might be data intensive.

     

    By the way, I can find nothing in the Help file about this error.

    Hi Flex: do you need all the rungs to run at the same time? I normally break data table subroutines. It will be nice if we can see your subroutine. 

  6. Hi all,

    But in the original post isn't the problem that there is multi-step control needed?  Are you suggesting consecutive separate PIDs, Hightech?  Or is there a method of doing it all in one hit?  I'm curious!

    As an aside, I don't do PID for any of my installs because in my instances the loadings vary wildly, and the feedback speed also has large variations. I tried it in the past and spent a lot of time tweaking things.  I found that although I might get a small improvement in maintaining setpoint, what was actually happening was that the mechanicals involved were swinging wildly around to achieve it, thus wearing out far more quickly, which was a significant issue.  For my stuff simple linearisations of outputs works best.  But I am the first to admit that other people have far more knowledge about PID than I do!

    cheers,

    Aus

    I can identify the following steps:

     

    less than 1 V (PID OFF)

    Then you have 2 PID Run scenarios: 1<PV<4

                                                               4<PV< 10

     

    Maybe we need more information about the system. But I would try to configure 2 PID FB

  7. Hi Flex

     

    I used to follow the same approach but then I made a huge system (12 slaves with a lot of sharing variables) so duplicating was not anymore an option.

     

    So if you know your system is going to grow then try to organize your variables in vectors. This limitation of fixed memory is one of the big advantages  I find in Unistream and that´s why I am starting to use Unistream as my default hardware.

     

    Best regards, 

  8. Hi Fabio,

     

    I was a little busy so just reading all new posts for me. I finished a big project and I can tell you now that communications with Unistream is really a big advantage over Vision series. In the system I have:

    12 slaves

    Reading more than 800 coils

    Writing more than 1,800 coils

    Reading more than 160 Int16

    Writing more than 70 int16

    Reading more than 464 int32

    Writing more than 360 int 32

     

    each 1,000 ms the Unistream 15 is making the work perfectly.

    The system is working 24 x 7 since December 2015.

    • Upvote 2
  9. This still doesn't seem to be working right. I took my Bitmap images, converted them to PNG, then used a program called "paint.net" to delete the background color, then saved. After loading into the UniLogic software, the background of the image is white, both on the screen in UniLogic and on the PLC screen. What am I missing? Is there some other setting I need to adjust?

     

     

    This still doesn't seem to be working right. I took my Bitmap images, converted them to PNG, then used a program called "paint.net" to delete the background color, then saved. After loading into the UniLogic software, the background of the image is white, both on the screen in UniLogic and on the PLC screen. What am I missing? Is there some other setting I need to adjust?

    If you convert from BMP to PNG then no alfa channel is define. So first you need to use the command color to alfa. I recommend the software GIMP (it´s a free software and very powerful). You can find a lot of YouTube tutorial about adding transparency to a PNG using GIMP. If you need more help please send me an email to : ober.yela@Imapsa.com  I can send the links.

    • Upvote 2
  10. Thanks, HigHTech. I'm looking for standard pushbuttons like you see in VisiLogic that need to have text on them. I don't really want to edit image files to add text for this purpose. Are you telling me there is no way for a Binary Text Switch to have a 3D button appearance in UniLogic?

    I make my self the same question almost a year ago. Then I started to see Unistream and Unilogic like a new product and started from cero. Just after that I find the advantages of this great product.

     

    Check the type of displays I can create with Unistream. I am using images, and some text but not to look like buttons. I think my images are better.

  11. Still a bit new to UniLogic and I'm having some difficulty with a few simple items when building HMI screens. In VisiLogic on the V570, buttons have a very nice 3D effect and can look "pressed" or "unpressed". When using UniLogic on a UniStream 7, buttons look flat always. Am I overlooking something? I recognize there are 4 different button styles, but none of them appear very 3D and there doesn't seem to be an option to make any button appear "pressed".

     

    Also, in VisiLogic, any type of text element, such as Binary Text Switch can be made to look like a button. All Binary Text Switch in UniLogic appear totally flat, as best as I can tell.

     

    I am using the latest version of UniLogic (1.12.20), upgraded the UniStream 7 to the latest firmware, and my PC is 64-bit Windows 7.

    You need to use the binary image variables. You can find very nice switches in the library.

  12. I'm working on a UniStream project and I've got a simple question. In VisiLogic, an image could have a transparent background by checking the appropriate box in the image properties. When that box was checked every pixel in the image that was the same as the pixel in the upper left corner would assume the color of the background, thus rendering the parts of the image "transparent". I can't find a similar option in UniLogic. In the Help file, there is mention of something identified as "Background Color \ Image" which looks like it might apply, but that property is not present in my version of UniLogic (1.12.20) when I select the image. What am I missing?

     

     

    I'm working on a UniStream project and I've got a simple question. In VisiLogic, an image could have a transparent background by checking the appropriate box in the image properties. When that box was checked every pixel in the image that was the same as the pixel in the upper left corner would assume the color of the background, thus rendering the parts of the image "transparent". I can't find a similar option in UniLogic. In the Help file, there is mention of something identified as "Background Color \ Image" which looks like it might apply, but that property is not present in my version of UniLogic (1.12.20) when I select the image. What am I missing?

    Hi Flex727

     

    You need to convert your bmp images to png, then you need to convert the background to alfa (transparent). Unistream is really amazing when you need to work with images, etc.

  13. We just finished an uptdate of a 1985 filler machine. Changed the wire logic and time based filling to a complete PLC control. A servo motor and the PTO command of the V350 are making a nice job. We are going to uptade 2 more.

     

    You can find a couple of videos showing the V350 and the servo in action.

     

  14. I've downloaded the example program "Alarms_Example_1_4_14.ulpr   1.9MB"

     

    The Alarm name and the Details do not fill in... they are blank.

     

    Also I am unable to acknowledge or reset any of the alarms.

     

    These Alarm and History pages are holding up completion of the project.

     

    I need a working example of alarm and history page. 

     

    From there I should be able to save to my library and import into my own application.

     

    I talked the end user into using the Unitronics product and now they are talking about removing and replacing with an Allen Bradley. 

     

    I am just shocked that a HMI product was released with out an Alarm and History page pre-built or at least a working example for both sizes of the displays available.

     

    Very disappointed long time user of Unitronics.

    You need to fill the Tables as Eyal explained. With a free software I think is normal you develop the program after the hardware is ready. I worked with Unitronics hardware since 2001 and Alarms wasn´t there at those days. Eyal example is a very nice looking and basic working alarm example. If you need something with more futures, then you are going to need to do it yourself or wait till new version with that future.

     

    I am starting to work with Unistream, but is your duty to learn what can you do with the new hardware and software. If I know I am going to need some future that is not implemented in Unistream, then I evaluate if I am going to have the time to develope my own future or maybe Vision series is the best option.

     

    I think with a little work you can solve this problem.

     

    Good luck

  15. Hi Pete

     

    For text variables, numerica variables and timer variables you can select the following configuration:

     

    Style: FLAT

     

    Back Color: you need to select the "blue crystal" at the left side of the OK button. Is like selecting transparent as back color.

     

    With image variables things are a little bit complex. If you want great results, then you must manually paint the background of all your images, that´s because when you select the box of transparent background you can lose some zones of your image that you want to keep the same color you are making transparent. That´s why I love Unistream and Unilogic. No matter they upgrade Visilogic to accept PNG format, the transparency didn´t work as you expected. I will try to upload an image.

    gallery_53_1_24078.png

×
×
  • Create New...