TimWilborne

MrPLC Admin
  • Content count

    4673
  • Joined

  • Last visited

Everything posted by TimWilborne

  1. ARRAYS

    The following 2 rungs do it. Make the control length the of your arrays. FSCControl type = Control FSCTag1 type = DINT[32] FSCTag2 type = DINT[32] ArraysMatchBit type = Bool Rung 1 - XIO FSCControl.EN FSC FSCControl ? ? ALL FSCTag1[FSCControl.POS]<>FSCTag2[FSCControl.POS] Rung 2 - OTU FSCControl.IN XIO FSCControl.FD OTE ArraysMatchBit
  2. Battery Low Alarm

    Create a DINT tag to put The GSV in. GSV Class FAULTLOG, Instance Blank, Attribute MinorFaultBits The battery is Bit 10 There is also a Type and Code for the battery fault that can be accessed by GSV Class Program, Instance THIS or Program name, Attribute MinorFaultRecord. But i think we had a problem using this method. I believe it only reported the error in a power up or controller fault routine but can't remember. But the first method has never failed us
  3. Micro to Exel DDE

    Are you sure you created a second topic. Simply copying and pasting a link a second time wont work. You must create a second topic in rslinx. We had to do this on one of our Controllogix machines. We were sending 300 DINTs to it. To do this we had to stagger our arrays 96 words at a time. It works fine.
  4. Micro to Exel DDE

    Yes there is and i believe it is 100. Add a second dde topic starting at n7:100
  5. encoder

    I wouldn't say that SLC is overkill. I would say it is probably the wrong processor for the application. Of course, if you are upgrading an existing system, then you are probably better off to stay with the SLC. If you are just wanting measure the distance something has traveled, the SLC will be fine and in my opinion the Micrologix will actually work better. We use this in many of our slower cutting applications. If you want speed, hard acceleration and deceleration, go with servo control and the controllogix. The SLCs servo module(not even sure if you can get it anymore) was a pain and took up a lot of panel space. I have never personally used the Micrologix pulse train output but have heard mixed opinions on it. What exactly are you trying to measure, what are you doing with it
  6. Any Eweb Users Out There

    Got the eweb module to print to printer using the socket connection. Finally, an end to serial printers
  7. encoder

    What type of plc hardware are you wanting to use
  8. Ethernet

    One other difference between consumer switches versus industrial switches is the layout of them. Consumer switches have gone to a better looking layout with the ports on one side and the indicators or the other side. By the time you get the switch mounted so that one side is accessible, the other is not. So usually it ends up laying in the bottom of the panel the first time you need to get to the back of the switch. Industrial switches are designed so everything is on the front of them. This is much easier to work on in the field.
  9. Any Eweb Users Out There

    What I mean by its such a different product is that it is more computer oriented. Rockwell tech guys are more Plc oriented. You call and ask them a question and most of them quickly get lost. I even had one guy tell me that it wasn't based on Plc programming so they didn't support it. That didn't go over too well. Your are right, xml and java programming skills allow you to do much more with the Eweb. But the lack of programming examples has kept many people from using the Xml method of reading and writing tags. Then they came out with that Eweb toolkit. In my opinion that was a waste of some engineers time. *************************Note**************************** Note for all of you who may have used the Xml example in the book and not been able to get it to work. Along with removing the line wraps and other things they note about copying and pasting the program sample into your editer with the new version of the user manual, there are two other things. One, I never could get it to work with Netscape. The other is that there is a problem pasting from adobe into some editers. The single quotes around the TEST tag are pasted in as single left quotes. This will not work on the web page, you must delete them and put single quotes in there place. After raising holy you know what with Rockwell, they emailed me a working sample, which for some reason they refuse to post on the knowledge base. After comparing the code line for line, I found it was identical to mine. After 4 hours of looking, I found the single left quotes. Once changing them to single quotes, the example out of the book works fine. I told Rockwell about this but they seem to left that note out of the users manual. We are working on printing with the open socket interface right now. Haven't quite got it perfected yet but it is looking very promising. Finally an end limited number of printers that you can use with a Plc. If you are using the Eweb module, just curious if you have ran into the "Failed to obtain target handle" flaw yet
  10. You can use DDE to read and write values to excel through RSLinx. Go to RSLinx and do a search on DDE. There are some program examples there
  11. Ethernet

    Tell me about it. Its hard to explain to the boss that we have 50 people standing around because we had to run to the computer store to by another $25 switch
  12. Any Eweb Users Out There

    Post me on any good things you learn how to do with the Eweb if you can
  13. Ethernet

    Try putting a off the shelf switch on a 200 ton press and you will see why those over priced switches are good. We were going through one of the shelf switch a month, havent had a failure out of any of the ntron switches
  14. Pull Cord vs Emergency Stops

    We use cables on our long conveyors. Some are over 100' long. The operators like the cables much better. The only thing i would suggest is pay the extra money for the tensioner and switches with tension gauges in them. You can even get the switches with estop built in them so you would have both. If you go over around 20' or have a lot of bends, put a switch on both ends. It seems to help with tensioning the cable properly and with nuisance tripping.
  15. Ethernet

    Ntron make a compact din rail mounted switch. You can get a 4 port for around $150. I would use this. Our panels are subject to a lot of impact. We had problems with the off the shelf switches circuit boards cracking. We have not had any failures with the Ntron switches
  16. Any Eweb Users Out There

    For small pages couldn't you just use readlogixtags and writelogixtags. They don't require xml. we are working on a wireless palm pilot web page as we speak
  17. RSLogix5000 tagnames

    chakorules, whats your opinion on this method
  18. Newbie for panelview

    I assume you mean a 550. Didnt think they made a 500. Go to the linke below and do a search on panelview http://www.rockwellautomation.com/literature/
  19. Day of Week

    If you are using RS5000, a day of the week example is included in the sample files
  20. RSLogix5000 tagnames

    Here is a portion of one of our user defined data types. Sorry for the bad paste. Couldnt figure out how to paste like a spreadsheet.I have pasted another one at the bottom which may be easier to follow why if feel it makes programing easier. It has bool tags for auto, manual, etc. The in and out are the sequencer inputs and output. The InArray and OutArray are what the sequencer pulls from. The Diag is an XOR or the In and the InArray at the Conrol.pos. After that is the shift information tags. It mainly allows me to group tags that are alike together even though they may be different data types. AutoMode BOOL Decimal ManualMode BOOL Decimal InCycle BOOL Decimal CycleComplete BOOL Decimal CountComplete BOOL Decimal Internal DINT Decimal Timers TIMER[20] Counters COUNTER[20] Control CONTROL In DINT Binary Out DINT Binary Diag DINT Binary InArray DINT[20] Binary OutArray DINT[20] Binary PartsCurrent COUNTER Parts1stShift COUNTER Parts2ndShift COUNTER Runtime1stShift TIMER Runtime2ndShift TIMER PartsLifetime COUNTER CycleTime TIMER Running1stShift BOOL Decimal Running2ndShift BOOL Decimal Motion MOTION_INSTRUCTION[20] PositionRaw REAL Float ******************NEXT EXAMPLE*********************** These are some of the parameters for different parts. If there are 10 different types of parts and the data type is named settings, i just create a tag named settings[10]. Then i can indirectly address the different elements to change the parameters the machine is running. If i need to adjust the Hold down advance parameter, it is very easy to find compared to traditional symbols Velocity REAL Float Accel REAL Float Decel REAL Float HoldDownAdvance DINT Decimal HoldDownRetract DINT Decimal BlocksAdvance DINT Decimal BlocksRetract DINT Decimal CycleTime DINT Decimal AccelerationFeedForwardGain REAL Float AverageVelocityTimebase REAL Float FrictionCompensation REAL Float MaximumAcceleration REAL Float MaximumDeceleration REAL Float MaximumSpeed REAL Float OutputLPFilterBandwidth REAL Float OutputLimit REAL Float
  21. I used to complain about paying for additional license. Finally I figured out in the time you spend trying to get by them, you could had done a few more jobs and paid for the license.
  22. panelbulder32 question

    unused tags and descriptions are also eliminated from PVA files
  23. RSLogix5000 tagnames

    Personally if feel the whole advantage of RS5000 is that you dont have to use these structured symbols. I would name them something that makes sense without having to look it up in a set of standards. At first I had a very hard time changing to RS5000 because of the lack of structure. But it actually allows you to structure you data better once you get used to it. I would put the data into user defined tags. This gives you structure but allows you to mix different data types
  24. Looking for a way to get the user name that someone has logged into an Eweb module with or the computer name. We are trying to use this information to customize the data displayed on the web pages