Jump to content

viscoelastic

Members
  • Posts

    157
  • Joined

  • Last visited

  • Days Won

    7

Posts posted by viscoelastic

  1. When the issue fist happened it was when I started using the IO that I had installed at the beginning for later expansion.  My first thought was the power supply so I switched it out, this made no change.  When I woke up at 2:30 am and saw the message from Kratmel who said power supply again, I started to think about it more. I remembered that I added 2 relays and 4 solenoids. Then I knew; I maxed out the power supply.  Pulling the 1.5 that was in it and putting in a 5 amp not only solved that problem but it also solved all the issues I was having with my 4-20mA sensors that had intermittent wild fluctuations.  Looking back, the heaters were not always on. When they were, those were contactors pulling higher currents so my sensors were starved. I never placed all these issues together to blame the undersized power supply.

  2. Here is what fixed it for future reference

    As I woke up at 3 am, I saw that @kratmel emailed me a check list. #4 on his list said power supply. I dismissed that one because I switched them out earlier that day to test that. The more I laid there, I figured there had to be something to that or he would not have wrote it.  Then it hit me, I added to more solenoids and two relays to the panel, and I had a 1.5 amp power supply.  I came in this morning and tossed a 5.0 amp power supply in it. BOOM! not only did that fix my input issue is also fixed my wildly floating sensor readings. 

    Future reference to all. Is your power supply large enough. You may have  done a spreadsheet, like I do that says yes, but go BIG or go home.

    Thanks Kratmel, you put me on the right track.

    ps. thanks @Cam I have been there switching pins in the past, that normally fixes issues.

  3. 1 hour ago, Ausman said:

    Visco, Joe recently answered this quite well here: http://forum.unitronics.com/topic/7081-subroutines/?do=findComment&comment=28796 

    The rest of the topic is a good read as well.

    Subs can be very tricky to implement properly unless you follow sequencing like he mentions.

    cheers, Aus

     

    It sounds like he is doing something similar to me. In my mind subroutines seem so organized, but the more I read ,the more they seem like a pain in the aperture within the gluteal folds of ladder logic

  4. Say you have a 3 screens/modes, Manual, Semi and Automatic.

    1) Would it be kosher to have a sub routine strictly to that screen/mode in focus to save scan time?
    2) Under that circumstance would it still be bad practice to reuse coils that were in another routine even though they cant be called at the same time?
    3) I would fear doing what I am saying would leave coils set when you change screens. I would have to write one long line of resets upon leaving? 
     

    Thanks in advance.

  5. 3 years ago I knew nothing about PLC's.  Because of people like @Ausman, @Flex727, @Joe Tauser and others on this forum, we converted 8 machines from old relay logic to PLC's  with automation,  made 2 pieces of complex laboratory test equipment for the lab, and entire tank farm controls that include, levels, filling, heating/cooling, mixing etc.  I could have never done it with their help.  I don't know if they're paid or not, but I will tell you they are priceless.  I hope that @Cara Bereck Levy will show this to the powers at be so they understand the caliber of people they have in this forum.

    It burns me, me when people are rude or "expect" someone to write their programs without giving it any effort first. Be polite, give it your best effort and people here will jump in to help you.

    This concludes my diatribe.

    • Like 1
    • Upvote 2
  6. First I got the lovely scarlet colored screen below. I reloaded the OS and everything came back up... YES, I fixed it... Wrong... now it gave me the even more lovely carbon black screen seen below. I reloaded again and the thing only works for about an hour then the party starts again. Should I just assume the unit crapped the bed, or is there something else I should look for?

    Thanks

     

    IMG_5626.thumb.jpg.a7c8da0369054e34fbe7800af26ba7ec.jpgIMG_5627.thumb.jpg.76c3ac3e9e6b3d7274c8b95b0fa04671.jpg

  7. I have never tried it, but I am a linux dude, in fact not to date myself but I cut my teeth on Irix with Sun Microsystems. 

    Ahhh, Wine (Wine Is Not an Emulator).  It does not work for all windows based applications, in fact I consider it a disappointment.  Have you tried "PlayOnLinux?" PlayOnLinux is really designed for games but games are usually the most difficult to run Windows versions.

    I doubt Visilogic will ever be ported for linux so I would not hold my breath. 

    Oh, one more thing, avoid any beta distros, 

    Try the PlayOnLinux and drop us a note letting us know how it worked. Good Luck 

  8. OK, some things that I have ran into, oh the fun of phantom currents!

    - Are you using the correct type of extension wire?
    - Do you have it in a tray with motor wires?
         -If so, is it separated by a metal divider?
         -Did you coil up excess wire anywhere near a motor wire in the tray?
     -Do you have it going in a standard din connector?
    - Did you have an exorcism to drive away spirits? Sacrificing a goat is frowned upon in this society, bummer) 
    -Do you power your DC rectifiers through a transformer and not off of a phase?
    - Sometimes if I am still having issues we run all out motor wires in BX (this we actually do this all the time now on long runs)
    - is only one side of the wire grounded?

    Just some random thoughts

     

    • Like 1
  9. On 5/23/2019 at 3:09 AM, JMorel said:

    Since I have my own network I can change the IP adresses to have 192.168.101.N for the PC and 192.168.101.N+1 right ?  I tried both, keeping the same numbers 100 and 101 and changing for 101 and 101 but still nothing.

    And there is something else, almost everything that I'm reading says that ad hoc is a wireless network but I have to link the PC and the PLC with a cross cable (like you said) so it can't be wireless.

    The Ethernet card is initialized and the Socket 1 is also initialized but not connected so I'm not even connected, whether it's the right network or the ad hoc.

    FYI

    Since you are using a internal (private) 16 bit IP block, set your subnet mask to 255.255.0.0. this will allow your entire group of 65536 IP's to be seen by each other. Since these are internal IP's and not global, and they are behind your router; there is very little to zero security risk (unless you have something goofy in your router config.)

  10. 14 hours ago, Ausman said:

    I am absolutely hopeless at remembering names. 

    Do what I do, I'll say; what is your name again? Then when they answer, I say; No, I knew that, I meant your last name. Now you have both!

  11. 23 hours ago, Flex727 said:

    This is all SOOO entertaining (seriously)! Unraveling one of the great mysteries of our professional lives. :)

     

    We all need to take a moment or two and have some fun.  I hope to never grow up.

  12. 23 hours ago, Ausman said:

    OK Visco, WHAT were you doing in finding that theorem.  Bored?  Too many cups of coffee?

    But it's a possible, except for the dates.  Maybe it DID all start from controlling a pizza oven!

    cheers, Aus

    I am just one of those people that remembers worthless things and forgets the important stuff... like where I put my car keys, peoples names, birthdays, where I put my car keys, my anniversary, oh, and where I put my car keys. 

×
×
  • Create New...