Sign in to follow this  
Followers 0
av8or1

Deciding on a controller

69 posts in this topic

I'd like to 2nd the advice about not using White wire for anything other than #2 Neutral. Red or black for inputs is better. Nice work, and continue to keep us posted.

Share this post


Link to post
Share on other sites
Alright this is a little disappointing. The local distributor tells me that the AB folk in IL didn't have my sensors in stock, even though his computer screen said that they did. Apparently they are being shipped from overseas (?!?!) and won't arrive at the factory until Friday. So they may not ship until the following Monday (one week from today). That would mean that I wouldn't get them until next Friday most likely. Ehgad! I inquired with the distributor as to why this was the case. Was the sensor not actually built at the factory in IL? Is it an odd part that practically no one purchases and so it had to be special-ordered? His answers were basically 'yes' and 'no' but couldn't offer anything further really since he doesn't work for AB. So does anyone know how AB goes about manufacturing their products? Are some built in IL and others elsewhere? What gives? I am curious more than anything... Thanks, Jerry

Share this post


Link to post
Share on other sites
Jerry, Given that your cotnroller is above the Insulation and the temp of a shingle roof can reach 150 F in the summer sun. That means I'd worse case the attic at 135 to 140 F and plan accordingly. Can't recallm the specs for your PS and Processor, but external cooling sure makes sense to me. Bob

Share this post


Link to post
Share on other sites
Hi Bob, Well I was kinda concerned about it really, if to be open. Therefore I decided to investigate further and since I didn't know exactly how PC fans operated, the decision to implement something was a given. The specifications for the Micrologix 1000 are: Operating Temperature ... Horizontal mounting 0…55 °C (32…131 °F) Operating Temperature ... Vertical mounting 0…40 °C (32…104 °F) Nonoperating Temperature ... -40…85 °C (-40…185 °F) My mounting is horizontal on a DIN rail, which would seem to provide the best heat dissipation/cooling of any of the mounting options that I looked into, so I went with that. My attic has a radiant heat barrier on the inner side of the decking, which supposedly reduces temperatures appreciably. Eh. Even so, it seemed possible to me that the temps could push the 131 °F limit. Somehow though it still seemed like overkill. Overkill works for me though, so I went ahead with it. I have a +12VDC power supply/transformer, a fan controller and two fans. Unfortunately they aren't playing nicey-nice together, so I am still working on the configuration. The setup will be external to the PLC, though clearly, I will install it within the enclosure. Anyway. Thank you for the feedback from an expert. Good to know that I was on the right track. -J

Share this post


Link to post
Share on other sites
QUICK UPDATE: The fan setup I had just wasn't going to work. So I returned the fan controller and the power supply/adapter. I'll keep the fans and just direct-wire them into the system. They're 12V fans, so I can just put them in series and connect them to one of the +24V terminal blocks. Perhaps not the most ideal solution, but it will work. Still awaiting news on the sensors. Thanks, Jerry

Share this post


Link to post
Share on other sites
ANOTHER QUICK UPDATE: I spoke with the local distributor this morning who inquired with AB regarding the sensor manufacturing process. He was told that these sensors are indeed made in Champaign, IL and not abroad. Apparently they were simply out of them and needed to manufacture a "new batch". So my sensors should be quite new. And according to the tracking number, they should arrive tonight. Therefore hopefully I can close out the project over the weekend. I haven't hung the light on the wall yet; I'd prefer to ensure that the sensors will work satisfactorily first. Anyway. Will post again when completed, hopefully this weekend. Thanks, Jerry

Share this post


Link to post
Share on other sites
All- Well the sensors did indeed arrive on Friday. However the weekend has been packed full of stuff to do, so I only got around to working on the project last night. Not sure I can finish today, but will try. In the meantime I put together a quick video regarding the sensors, mostly for the fun of it, but I hope that it might help someone in the future. For the folk here who do PLCs and such everyday, the video is likely a bit pedestrian and perhaps a bit of a yawnfest, but hey. Again, the goal was to pass on a bit of what I have learned, just as those on this forum have done for me. The discussion is not fully comprehensive, but has a fair amount of detail to it. Have a look, I mention the forum in the beginning. Feedback welcomed. Jerry

Share this post


Link to post
Share on other sites
Hi y'all- A quick question if I may. Last night I was installing the fans in the jbox and doing a little experimenting. Not with the wiring or anything, that was straightforward. I ended up returning the controller and power supply and just wiring these two +12VDC fans in series, powered by one of the +24VDC terminal blocks. And so the fans are in and are running just fine. Anyway. In playing around with them, they seem to spin rather slowly and don't seem to put out a lot of CFMs. But that could just be my perception. They are quiet, that's for certain. So what's the issue then? Well I was experimenting with a rather simple concept really, but one that made me think a little bit. So I decided to pose it to the forum. The issue is the arrangement of these fans. I have two fan holes that came with the jbox and these holes already have fan guards on them. One is on the bottom of the jbox, the other on the top. Initially I thought I would mount the lower fan such that it draws air into the jbox from below and then mount the top fan such that it pulls air out of the box. Kind of a colder to hotter thing (hot air rises). However after the aforementioned experimentation yesterday, there didn't seem to be much air being drawn away from the microcontroller by the top fan. Therefore it almost seemed like a better idea to point both fans inward and then let the air escape naturally through holes that are in the sides (both) of the jbox. But it didn't make much sense theoretically ... the first option would seem to lend itself to be the better choice. I realize that it's a trivial concept, but given the temps that the controller is likely to experience in the TEXAS summer I'd like to implement the smartest choice. Thoughts? Thanks! Edited by av8or1

Share this post


Link to post
Share on other sites
Thanks for posting the Video on the differences that you found regarding the reflective tape and the different types of sensors. (LED Vs Laser) Regarding your fans, I know that they will work in series the way that you plan on wiring them, but I bet that if one of them goes south, the other one will be sure to follow suit. You are probably better off with 24V Fans.

Share this post


Link to post
Share on other sites
Nice teaching Video Jerry. One suggestion for your next project - PANDUIT. They make plastic wire tray for containing the excess wire and keeping it neat.

Share this post


Link to post
Share on other sites
Panduit is great stuff. I wish they made it in 3-1/2" wide by 1/2" deep with a faux wood grain finish to replace some of my baseboards and hide all the cables in my house! Also, it would have to be much less expensive. Here's a less expensive brand we have used with good results: http://www.automationdirect.com/adc/Shopping/Catalog/Wiring_Solutions/Wire_Duct_-a-_Accessories/T1_Series_Wire_Duct_with_Cover

Share this post


Link to post
Share on other sites
Bob- Thank you for the tip! I hadn't heard of panduit before now. Learn something new everyday! Well I thought that things were kinda downhill now that the sensors were working reliably. Eh, not so fast. I have successfully mounted the yellow light and red light sensors and they work without much hassle. I plan on installing the garage door sensor tomorrow night and expect it to go even smoother. However the green light sensor has been another story. I just cannot get the proverbial moons to align (literally) so that the sensor's receiver picks up the emitted laser beam off of the reflector. The problem appeared to be with the mounting of the sensors to the ceiling. So I called the local distributor and bought some 18mm sensor-specific mounting brackets. The first set were adjustable but not right for this application (no way to lock them down into position). So I returned them and bought a set of more "rigid" brackets. Those definitely improve the situation, but the green light sensor is still giving me fits. It has to do with the mounting of the tape on the floor and possible interference from the bottom of the garage door and/or the garage door spring boom. I did get it to work reliably once or twice, but the tape wasn't glued down and it was quite difficult to repeat. So I suspect that more "fiddling" is in order. And this one is for you Bob: I realized that with these new sensors being dark operate I'll need to reverse the logic of the garage door sensor's PLC program contact. So that means dragging the stuff up into the attic again. hahahaha! I'm attaching a picture of the red light sensor mounting and the green light sensor mounting. The red light sensor is kinda cool in that I ended up needing to custom-fab a slide-along piece that could fit into the track lighting casing and also receive the sensor mount. That worked out and so now I have a little over two feet of travel to manually adjust the red light sensor position. The green light sensor picture simply illustrates the problem for you, it was taken from directly below the sensor with the garage door open. Still working..... Jerry

Share this post


Link to post
Share on other sites
QUICK UPDATE: Hope it's ok to continue with this project report... Well after a bunch of fiddling and fabbing about, I can state that I have achieved victory over the green light sensor!!! Woooo-hoooooo! The reflector is gorilla-glued to the garage floor and the sensor works repeatably. Of course, I realize that my victory may be short lived because I haven't seen yet exactly what will happen once the glue fully dries. And it began to rain tonight, so the reflector got a bit wet (we're only talking droplets here) and there was plenty of moisture in the air. Therefore I am interested to see if there are any resulting adverse affects. I'd think not, but that's still TBD. And while I am on the subject, this is actually the "last frontier" of the engineering-related questions I had at the outset of this project: how will this somewhat-sophisticated and arguably expensive equipment measure up over time and exposure to the real-world elements of temperature variance, weather phenomenon and human-generated "hazards" associated with the typical American garage? I thought about this for several nights prior to even considering launching myself into the fray. And I must confess that I had my doubts about the long(er)-term viability of such an implementation. Maintenance issues were an additional concern. That said, the decision to press ahead came with an interest to learn more about PLCs and PLC programming coupled with the rather simplistic notion of "you don't know until you put it to the test". So now will come that test. I am quite curious to see how the system will perform over time... But I digress. A quick little note that once said or read will seem quite obvious and even borderline "duh" territory, but the procedure that I found the most effective to establish a "proper alignment" between the sensor and the reflector such that you would enable the sensor's receiver to pick up the reflected laser beam was to switch off all of the lights in the garage, go completely "dark" and note where the beam hit the ceiling (or in this case it was occasionally hitting the garage door) in relation to the sensor. Sometimes it would be difficult to see where the reflected beam terminated, so I found that temporarily blocking the beam with your hand, then removing your hand and continuing that alternating pattern briefly would cause enough of a light differential that the human eye could distinguish the reflected beam's end point without too much difficulty. Also of note is that even the slightest perceptable movement of sensor or reflector to the human touch makes a significant difference to the sensor. So I ended up using the handle-end of a screw driver to ever-so-lightly tap the sensor around its mounting axis and ever-so-small shims for the reflective tape (prior to the sticky-back covering material removal of course). Also, I have mounted the garage door sensor with a custom L-bracket attached to the top inner rib of the top garage door panel. As anticipated that went smoothly and quickly. I then drug everything up into the attic (again) and reprogrammed the controller to reverse the logic of the garage door sensor. Now code/logic works correctly. The ironic thing is that the red light sensor will occasionally discontinue proper operation, due to a small shift in how the traveller (or come-along piece) rests in the track lighting case. So that will require more fiddling on my part and I am a bit concerned about it because I plan to use the same approach with the stray-left and stray-right sensors, which are next on the project's agenda. Oh well, I suppose it's just more fiddling at this point, much like the green light sensor was. Keep you updated, thanks! Jerry Edited by av8or1

Share this post


Link to post
Share on other sites
Y'all- Made quick progress video tonight, mostly to take a break from the hassle of fiddling with the sensors and to have a little fun with it. Thought I'd post. Thanks, Jerry

Share this post


Link to post
Share on other sites
Nice, thanks for the update.

Share this post


Link to post
Share on other sites
QUICK UPDATE: All- Well as of tonight I can report that I have completed the project! Wooooo-hooooooo! I have the traffic light mounted to the garage wall, the stray-reverse warning buzzer mounted and wired into the jbox, the cooling fans set in place/working, the wiring cleaned up and the regression testing finished. All is well! A few things that somehow seem noteworthy (though perhaps obvious): 1) Weather will play a factor WRT the successful operation of this system. The green light, stray-left and stray-right sensors are all mounted at the very mouth (entrance) of the garage and as such are more susceptible to weather phenomena than the other sensors. And really, it's not the sensors themselves so much as it is the reflectors. It has been raining quite a bit in Austin the past few days and I have learned just how that particular form of precipitation can cause havoc with the system. In the end I think that I will need to tell mom that if it is raining when she comes to visit, that she should ignore the stray-left and stray-right sensors. Green light won't be a problem because the water will cause the reflected light to fragment, so the sensor won't perceive any returned light, so being a dark operate sensor it will send 24VDC to the PLC, which will cause the green light to illuminate. So basically you'd see an open garage door with a green light already illuminated. Not a huge issue. 2) I learned the hard way that laying down long strips of reflective tape to match the length of the track lighting wasn't the best approach, at least not WRT the stray-left and stray-right sensors. That is because the garage floor is rather uneven (not noticeably to humans, but to a laser it is) laterally, so it was better to cut small strips of reflective tape, determine which position would cause the reflected light to be picked up by the sensor, and glue that strip down in that position. Then move on down the line, repeating that process. 3) When doing a project like this where your PLC is not located in an easily accessible area, you really need a good answer for the issue of implementing program updates/corrections, or tweaks as Bob referred to them. I don't like laptops and so I had to haul my desktop, monitor, keyboard, mouse, power cords and PLC interface cord up into the attic each time I wanted to make a program modification. By the completion of the project, the count stood at 5 so I would recommend devising a better plan than that. I didn't do so good there, but again, I just don't like laptops. Even so, I almost broke down and used one in this instance. I realize that this is a big "DUH!" but wanted to mention it anyway. Chuckle away Bob! Seems like there is more to discuss, but it's getting late and so it escapes me at the moment. As previously mentioned, I am VERY curious to see how this system will perform over the long run, after being exposed to the real world elements of a garage. It seems like it would be interesting to provide an update post regarding that subject perhaps in a year from now. But I digress. I plan to make a demo video tomorrow and post it. When I do I will provide a link for those who are curious. Once again, I would like to extend a big THANK YOU to all who contributed your wealth of knowledge to my project. I appreciate it! Jerry

Share this post


Link to post
Share on other sites
Thanks for the Update. Can't wait to see the Video.

Share this post


Link to post
Share on other sites
All- Ok the weather cleared up today, so I made the final progress video demonstrating the "finished" product. I placed finished in quotes only because there are still a couple of cleanup type items that I need to do, but they are quite minor and don't involve any modification to any part of the system. (example = returning my tools to the outbuilding, etc.). Let me know what you think. Thanks again for all of the help! Jerry

Share this post


Link to post
Share on other sites
Cool! Thanks for posting this.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0