Jump to content

C_R_PLC

Members
  • Content Count

    42
  • Joined

  • Last visited

Community Reputation

1 Neutral

About C_R_PLC

  • Rank
    Advanced Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. It's mainly just the overall amount of empty space on the Unilogic version, I'm referring more to the functional UI than anything that goes onto the HMI. For a point of comparison below is my screen on the Unilogic progam vs the Visilogic program. Note how many more rungs I can see, how much more information is easily reached without scrolling, etc... Everything is just much more spread out and there's so much blank space that isn't showing anything useful on the Unilogic UI.
  2. I've recently been teaching myself Unilogic after using Visilogic for about a year and the thing that sticks out to me the most is that while Unilogic definitely looks more "modern" the UI is absolutely horrible and wastes so much space. To the point where I'm having issues using the program on a single screen compared to Visilogic's much more condensed and less cluttered style. Is there a theme or setting that I'm missing that could lower the entire UI scale or something along those lines?
  3. Okay tested it after STOPPED and after a RESET and still no luck. The last thing I can't find is how to full reset it to factory, is that in the same menu set?
  4. Okay so I have double checked both the cable and the program itself and I don't believe those are the issues. In INFO mode the COMM port details are: COM1 - RS232 Prtcl: PCOM lgn Brk: N Settings: 9600 ,8,n,1,N Tx/Rx: 00000 00000 Silence: 8.75ms In INFO mode I am not seeing a way to reset the PLC or STOP the PLC, is there something I'm missing with that? I don't actually have an SD card unfortunately to use that function so if that's the only way to do it I'll have to go out and get one.
  5. So I have not tried a second cable, although I did double check this cable on another PLC which worked as expected. So I can definitely try a new one. The program does not affect it to my knowledge. I have to test these next 3 things, will report back with my results soon. Tried reinstalling the drivers, checking for updates, all that good stuff. The wire still works on the other PLC I have here so it doesn't seem like it's a PC issue. Will test this and report back, thank you to everyone for the tips. Hopefully one of these is the culprit.
  6. After downloading my program onto the PLC I'm working with I had to revise it a few weeks later and went back to download the new version, but now it's giving me a comms error no matter what I try and do to fix it. I've tried every baud rate, multiple ports on my PC, checked jumpers (which from what I can see are correct but always seem to be a point of error for me), and tried a blank program as opposed to the one I want to download. Connection is PC USB -> MJ 10-22-CA25 adapter, all hardware is the same as the initial upload.
  7. Thank you very much, definitely very handy tools. I was in the process of trying to wrap my head around the links/jumps sections. This has very much been a good example of the more I learn the more I know I don't know lol
  8. So I can only say from my personal experience but I found that going on YouTube and basically watching a ton of videos helped me the most. I started with the bare basics on relays and worked my way from there. My first bunch of videos were from here... https://www.youtube.com/user/plcprofessor/videos His earliest videos go very much into detail on the basics of relays and then goes up to programming in RSLogix500, which is obviously not Visilogic but the ideas carry over pretty well. You'll want to start with his Basics01-14 series, and then watch his PLC Lecture series from 01-12. Also take lots of notes because he moves at a pretty rapid pace and you'll definitely want to be looking back every now and then. After that you should probably head to the Visilogic YouTube page to get the specifics on how everything you just learned applies to Visilogic, namely their playlist on Visilogic Logic and Application. Found here... https://www.youtube.com/user/UnitronicsWebinars/playlists There are playlists for other more specific things that will definitely help you so I would say go to those for more specific questions. Your biggest tool past the basics however is the help/examples page in your actual Visilogic program, that will go very into detail about how things work and has answers for pretty much any question you can think of that isn't hardware based as long as you take the time to learn it. Past that it's just a ton of trial and error, and learning from every mistake you make. It helps a lot if you have a goal you're trying to accomplish which it sounds like you do but this step of the process took me a few months of like 6-8 hours a day of studying, so be prepared to put some work in. It may not take that long for a sloppy, bare-minimum type approach but I would say that should not be your goal. Hope this helps, -Chris
  9. I understand, thanks for taking the time to explain it. That whole notion of the compiler not necessarily doing what you expect it to never even crossed my mind. I just had the basic understanding that it read left to right and up to down, but even that's not really the compiler aspect of it.
  10. Ahh okay I see, I'll try and avoid doing that until I understand more how it affects the compilation process. But that logic is also much more straightforward than the storing that I was doing in mine so I could see why that is able to be combined as opposed to mine. In that example what is the purpose of SB 1? Wouldn't just a line from the left rail be enough to always have that powered?
  11. Ahh okay that's exactly what I meant by behind the curtain, I had no idea about the differences between compiled code and ladder logic. Will definitely fix those wherever I see them. I always feel weird asking for explanatory questions like that because I know it can come off as like disregarding the advice, definitely not how I meant it.
  12. Just as a follow up question would the attached picture count as placing multiple logic threads in a single ladder rung? And if it is what is the harm in something like this? I only ask because to me it looks neat this way but if there is a more behind the curtain reason not to do it then obviously that overrides looking nice lol
  13. Thank you so much for responding, sorry my own response was so slow. The job site I'm working at doesn't have very good internet and it just totally slipped my mind. Definitely will fix the multiple logic threads and the Main Routine parts, this program is the culmination of a few months of a lot of trial and error so the fresh eyes definitely helps. Hah well thank you very much, I can't imagine you'd look so fondly at my first few months of struggle but it's good to know that some of the things I noticed and learned from proved to be going in the right direction. As I said with Flex thank you very much for the response. Sorry for being late on my own side. The renaming Main thing and network comments definitely makes sense to me, I think that may have stemmed from me knowing I'd be the only one to ever look at it but it makes total sense that it's just as much there for me as anyone else reading it. I've definitely had times where even after a week or so of having to do other things I came back and had to basically relearn what I'd written. I hadn't even considered the Output idea, I think up till now where I'm a little bit more comfortable with everything I really needed to see the whole logic string together but moving forward I will definitely transition towards a more usable/troubleshooting friendly approach. Would you say the Display Control subroutine is similar to what I did with the Password Entry subroutine? Or should mine be split up more? Could you elaborate on the vertical line statement? You're referring to Rung 6 vs Rung 8 in the attached picture? I think mainly I'm just making sure I'm understanding what you mean by function block. As for the Links and Jumps I knew they existed but hadn't delved into using them at all, I'll definitely look into how to use those because I do like the idea of getting rid of some of that clutter. Things like that are kind of what prompted me to ask this because some parts of the code just seemed extra cluttered compared to others especially around like looping timer setups and things of that nature. The Set Reset method I used was discovered kind of by accident but I'll link an older program I made that was basically the PLC version of a laundry machine cycle that really gave me a headache trying to figure out. It's all in Subroutine 4 and honestly I'm not even sure if it works because I haven't gotten to test it yet, but it shows off the timer issue I was concerned about in the initial post really well I think. Thank you very much for the kind words, I think "this is not horrible code" is just about as good as I could ask for in all honesty so I'm happy to hear that. DoD Full Program V2.vlp
  14. For a little backstory I work for a small business that basically hired me to be their official tinkerer, they need it learned I learn it. So in my endeavors I had to learn PLC programming to make the program for a water recycling system for a laundromat. This was mostly done through YouTube and trial and error, which has led to me making programs that work for my purposes but I'm curious if I've developed any weird tendencies or bad habits in my little educational bubble. The project I'm adding here is part of the program and I think shows most of the things that I'm concerned I came up with "unique" solutions to, namely my use of set/reset and timers. If anyone could take a look and see what they think I am open to any and all critique. Thank you very much for your time, -Chris Don't mind some of my labeling, I wasn't sure what the technical name was so I used some very literal descriptions. SaS_Sensors_Alarms_Revised.vlp
  15. As always Joe you are a savior for my mental stresses, that worked. I was copying the wiring I had for another sensor but a wire must be switched somewhere along the way that threw me off. Thank you!
×
×
  • Create New...