Jump to content

LeonMötter

Members
  • Posts

    19
  • Joined

  • Last visited

Posts posted by LeonMötter

  1. Thanks DanT,

    This morning with a clear i mind i installed the latest version of unilogic to try if that helped and indeed then the usb connection worked. It would have been nice if i just got a error messages with a version mismatch, but that is probably to easy.

    The reason i am still working on a older version of Unilogic is that upgrading the PLC firmware on the USC models a pain in the ass. Well not so much the updating part but getting the PLC to read the USB stick. A problem i ran in to today again.  Eventually i got it to work, but then i was a few hours in.

    Problems like this really makes me wonder what the problem was with upgrading through a cable. 

    Leon

  2. I have been having a lot of problems trying to communicate with a new out of the box USC-B5-B1. 

    My first attempt at downloading the program was over USB. When i plug in the USB cable the device is recognizable in the download menu, but when i select it and press the download button the download menu disappears and nothing seems to happen. I have tried rebooting the PC and the PLC and unplugging the USB cable en and plugging it back in with no result. 

    My next train of thought was maybe it has something to do with the PC that i am using, so i swapped PC's and did a brand new installation of Unilogic. The result was exactly the same. The PLC is recognized but i cant seem to do anything  with it.

    My last attempt was to use the Ethernet port. So i plugged that in and switched my PC to a static IP of 192.168.1.10 and put in 192.168.1.4 (which should be the default for this unit). Unilogic could not find the PLC, But when i use ping in the windows command line with address 192.168.1.4 i do get a response. So there seems to be a connection.  I also tried switching of the firewall in the PC, but that also does not seem to work. 

    At this point i am running out of ideas, hence this post and hoping someone recognizes this problem.

    To make sure that all the information is here:

    PLC: USC-B5-B1 with hardware add-ons: UAC-CB-01RS4_0, UID-0016T_1 and UID-1600_2

    Unilogic: version 1.26.90

  3. Thanks for info, Now i have some homework to do i think :) . I have worked with visilogic modbus functions in the past so i have to refresh my memory a bit before i start. But this certainly gives more options.

    To give a little bit more information about my setup, i have a USC-B5-TR22 which works as an intermediate between PRIVA (building ventilation) and our production machines which are running on a V560 and a SM35. So it allows me to automatically start the ventilation when a machine is started, or working the other way PRIVA can request to turn on exhaust fans on the machine if it gets to hot in The building and there are machines that are not running production.

    At the moment i have different communication speeds, most are just status checks so i have the cyclicly running on 60 sec, There is one exception and that is a write action that basically has to be as fast a possible, i could change it to something apericodic maybe. 

    I am going to experiment and report back here.

  4. I am working on a project that has a single  unistream PLC with 11 Samba PLC as slaves. The slaves are in every way identical except of course for there address and name. I have made the current setup with arrays for the data that i am reading and writing, For example:

    valve_status[0-10] which contains the status of particular valve from all of the slaves or vent_start[0-10] which i can manually start a fan on all the slaves.

    Now for my question, i have to expand the current program and i have to exchange more data between the slaves which i can do manually. In this case it is 6 operations to add for each slave so in total 66 operations to add. Not fun but can be done. The other option i see is change 1 slave, delete the rest and then duplicate the first slave and change all the addresses, both the IP and the array numbers. Also not a fun job.

    Am i missing an option? or is there perhaps a way to make a setup that is easier changed? The thing is that this probably the first of a number of expansions that i have to make so i would rahter spend more time now then repeating the same mistakes.

  5. Thanks for info, but that is not what i am looking for, for instance this PLC that i am using now there is no screen. There is a VNC connection but without a correct IP that doesn't work. It is a bit of a bummer that a simple feature like this is available in Visilogic but not in Unilogic.

  6. When i am working with visilogic i am able to set a IP address for the PLC (and MODbus slaves if present) from a MI. For me this is very useful because i have a lot of the exact same machines and when i update them i don't have to worry about the IP address because that is set from the MI after reboot.

    Now i want the do the same on a new machine which i fitted with a unistream PLC, and i cannot find the same option. Now if i want to update all my machines i have to either make multiple project files or change the IP address each time. Both options are not really preferred.

    Are there any options with a unistream PLC? for reference in this case i am using a USC-B5-TR22, but i want to keep the question as generally as possible. If there is no solution for this then i can keep this in mind for future project where i might be easier to stick to a vision PLC and visilogic

  7. 17 hours ago, Ausman said:

    Mechanical layout and logical thinking can get you past seemingly very hard issues and use much simpler methods. 

    That is one of the reasons i started this way. The first mention i got when we started to think of putting some kind of error detection on the fans was just "put an encoder on it". Sure it would would work but it will take a lot more time and money to get right. also because off the high temperatures i am always a bit worried of putting expensive parts near the oven.

    17 hours ago, Ausman said:

    It is often not acceptable to have the sensor reading the head of a bolt that is perpendicular  to the shaft eg a bolt screwed into a hub much like a locking grub screw.

    Yesterday i took some time on the lathe and mill and i made a special measuring ring that i can clamp on the axle. this was a little bit more work than your suggestion but the result is the same. all the problems have since been gone.

     

    16 hours ago, kratmel said:

    I don't know about the settings of the authors' internal fans. But perhaps the different performance from the fun sensor is the result of the interaction of their airflows.

    Well their airflows have some influence on each other but not much. The fans i am talking about are 1.1Kw exhaust fan and 5,5kw internal circulation fan. the exhaust fan is for gasses of the burner and that is regulated by the pressure inside the oven. We are required to keep the oven in a slight vacuum so now gasses can get into the production facility. The reason i started monitoring fan speeds was because that is a good indication of leak of a broken seal of the oven. The fan then has to spin faster to get the same pressure. The pressure regulator is not controlled by the PLC so i can not take data directly from that. 

  8. Thanks for the answers, i have suspected that puls width could be off influence only no oscilloscope to measure with. I have thought about rewiring the plc so that i could use a high speed input to maybe get a clearer picture of the problem, but that would be a lot of work just to satisfy my curiosity. i don't think my boss would agree with that.

    The reason for using both rise and fall was because i was not sure which one would work better, or phrased differently i wasn't sure if the PLC could miss a rising or falling edge. but based on your comment that is not an option. 

    The PLC in question is a SM35-J-RA22 and the scan time is 1.

    Also thanks for the programming suggestion, that is a nice solution. 

  9. So let begin by stating that i know that there are fast inputs which are specifically designed for these kind of problems but in this instance i could not use them and for that matter i don't think i need to.

    To explain what i am doing: i have a oven with 2 internal fans that i need to check if they are rotating. If they stop rotating for some reason an alarm goes off. The way i realized this is with a inductive sensor and steel bolt in the axle. Really basic stuff. Then in my program i used the following net to count the number of rising and falling edges:

    image.png.cea0da4585373bdcb5abe573a9683264.png

    I do that for a set amount of time (for now it is set to 5 seconds) and if after that time if the counter is not zero than the axle is spinning and every thing is oke. really simple and works almost without any problems. I say almost because at one point a thought to myself, hey if i am measuring this over a set time i can calculate the speed at which the axle is rotating and use that troubleshoot performance of my machine when i need to.

    What i noticed then was when i increased the output too the motor the rpm measurement went down instead of up. My first thought was well i am probably hitting the limit on what i can measure on normal input only that it was only with one of the 2 axles and even weirder is that that axle that was giving me problems started around a 40 hz signal from the sensor, while the axle without problems was running at almost 100hz from the sensor without any difficulty. So now i am really curious about what is happening here. Could there a difference in response time between inputs? Could this somehow be related to programming? Or am i just abusing the PLC to much and should not expect more?

    I really want to understand what is going on here, not because i need to but because i want to. 🤔  

  10. Thanks for the information.

    So if i understand the table correctly adressing for me should be as followed:

    if have got 3 adresses to read and write

    • I16 in the table a HEX start adress of 6000h which converts to 24576 add 16 and you get 24592
    • MB501 in the table a HEX start adress of 0000h which makes it really easy because then it should be just 501
    • MB500 same as MB501 so just 500image.thumb.png.fb6e709f0e672acd91489f9b6c988801.png

    At this point it seems to easy, so either i have been wasting your time or i have missed something 😆

  11. Hello to all,

    I am working on a new system where a Unistream B5 TR22 is a Modbus TCP master to 11 Samba PLC's Nothing to exciting but my biggest problem is a lack of knowledge. This is only my second project with a unistream PLC, with the first being a very straight forward ladder program without anything special. i do have a few years of experience with visilogic so that side is not a problem.

    What i already figured out is how to make the set-up on the master and slave side. the thing i don't get is addressing between the devices. In visilogic i could literally select which mb,mi,ml i wanted to read or write. Now i don't see that option. how does addressing work between these devices?

    At the moment i am still waiting on the unistream plc to arrive, so that i can try some stuff out, butt before it arrives i would like to make a little headway before that.

     kind regard's

    Leon Mötter

  12. Hi, 

    I would like to know if there is a way to cancel an active alarm screen with a ladder net instead of the ESC button on the alarm? i would like that the HMI returns to the previous active screen or a screen of my choosing after the alarm or alarms are no longer active.

    I could not find anything in help files concerning the alarm hmi screens so i hope someone else has an idea.

     

  13. Thanks for the suggestions anyway.

    I am also working on the MB minimization. Over the past week i have been looking at all the screen calls and  function keys connected to certain screens and found that i could simplify and shrink a lot of ladder nets. Basically what has happened is that this program i started writing 2,5 years ago and over that time period there where a lot of functions and features added and some discarded so maybe there is something else that i have been overlooking.

    One thing i also have not tested is if it would work from a different phone. Until now i only tested using my own phone, so maybe that can give some further information.

    *just tested another android device, results are the same

  14. Hi Ausman,

    I think my wording is right i might have not been specific enough. The main reason for me using the negative (or positive contacts for that matter) is i like efficient running programs. So in this case using the negative contacts means the screen call happens only once when the button is released, and any logic that is linked to function buttons on the loaded screen will happen only when the button is pressed again. When i used normal contacts on the screen (and positive contacts for the logic on the screen) the program worked just fine with the only exception that i could see that a page was loaded multiple times, and i did not liked how it looked.

    The same could be achieved by using only positive contacts, but when i compile the program i always get warnings about using to much positive and negative contacts and that i could improve performance by using less. So in this case i was actively looking where i could get rid of positive contacts for normal contacts. Putting the negative contacts on the screen call let me get rid of the positive contacts that i had on the screen that was loaded. Still get the warning so i don't no if it helped.

  15. Hi Ausman,

    I have, back before i used remote operator so i don't know if that makes some difference. I changed to negative transition because i want the button released when the next page is loaded. The function keys are also used on a page so this way i only needed 6 negative contact instead of a lot of positive contacts.

    With a bit of luck i will have time on Friday to do some testing.

  16. I had a question about the function keys in the remote operator app for android. Can they be somehow linked to the function keys on a PLC (vision 560).  The function keys on our a plc are used to switch between different pages in program and i would like to have the same ability when i use the app.

    When i use remote operator on my pc this is no problem so i hope same can be achieved with the android app.  

×
×
  • Create New...