Jump to content

PeterPan217

Members
  • Posts

    7
  • Joined

  • Last visited

PeterPan217's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. So just to make sure I'm understanding you correctly, I came up with this example question. Instead of having a rung with one contact causing three direct coils to energize, then turning around and having a rung later on try to energize one the same coils, I should instead separate out my coils into three rungs and in one rung list all of the contacts that can energize each? That would make more sense now that I think about it. The way I programmed this was almost in a sequence where when something happened, this is all what occurs, and with those occurring, this would then occur, and so on. That's how I used to always do it with AB PLC's so troubleshooting was easier because I'd just follow down rung by rung. I'm noticing things in VisiLogic are a little different and don't like me taking that approach. As an update, I was able to get my program to successfully do what I wanted it to last night, at least as an online test goes with my air manifold. I'm sure I can still clean my program up a lot, but I did notice that I had two pairs of coils conflicting with each other that I eliminated one of each.
  2. I apologize, rung 1 has been fixed. I just drug and dropped the file and I apparently hadn't saved yet. So I can't have the coils reset by logic in the program AND have the option to reset by a push button?
  3. I broke up the logic like Flex suggested, in my subroutines and even calling them. The manual mode works like I intended it to now. However, now I'm struggling to get accumulating timers to reset with an HMI button. Within my ladder, they have logic that will reset them, but if something goes wrong I have a button to basically restart the whole process, i.e. retract all cylinders and reset timers. Flex, that would be great if you could look it over. I haven't done anything with the AL-SS Material subroutine yet so don't worry about that, but the file is attached if you want to see what I'm meaning with the HMI Reset. Y'all are the best! I've been struggling for two days with this before I remembered about this forum. Part Picker.vlp
  4. I thought I had the subroutines called correctly, but now I am second guessing it. I've been online and everything does it's red highlighting but I'm not getting the relays close and allow voltage to the terminals. However, the same thing you mentioned about multiple logic threads on one rung is what I did for the subroutine calls. I thought I saw that was OK in one of the help examples but I may be mistaken. I'm sure you can tell this is my first time programming with VisiLogic. I appreciate the help, I'll see how these changes work.
  5. I have a subroutine to run 3 cylinders in a manual style mode. When I run an online test, I can see all of my contacts and coils light red when I hit the corresponding buttons on my HMI, but none of the relays click and I have nothing register on the air manifold. Originally before I tinkered with some of my program I only had three relays working, but now I'm getting zero. I thought maybe I had a hardware issue but I've swapped snap-in modules and that did nothing. The other kicker is, I have a reset button that I use in auto mode to retract all of the cylinders to home and that fires everything like it is supposed to. So I'm convinced it has to be an issue in my program somewhere. My programming background is basically all Allen-Bradley with a dabble in Mitsubishi. I've copied below what my manual subroutine looks like. Again, all of my HMI buttons turn the contacts and coils red, just getting no voltage across the terminals. If I need to copy more of my auto mode program, I certainly can. I'll take any help or guidance I can get. Thanks, PeterPan217
  6. Fernando, John....thank you very much. I had connected my operands using that tool but had no idea if that was remotely correct or not.
  7. I'm trying to find out how/if I can add a branch to a line of programming in VisiLogic. This is my first program I'm trying to write on there and am much more used to the RS Logix series. I believe I have most of it figured out but the program I'm trying to write would be much easier with the ability to add a branch. Does anyone know how I can do this? Or a nice work around that will do the same thing? I'd appreciate any input.
×
×
  • Create New...