adohm

MrPLC Member
  • Content count

    18
  • Joined

  • Last visited

Everything posted by adohm

  1. You didn't tell us what controller you're using...
  2. SLC 5/04 Output Issues

    Can you post the code file?   Make sure the output is only ever used in one location of your program.
  3. I'm using a 1769-ASCII and need help with one part of it.  I have no issues with sending data.  The manufacturer shows the following as the process...   My question is: how do I evaluate the XON\XOFF?  The machine states "This communication protocol tells the status if it can receive any data or not to the host by sending "XON" (HEX 11H) or "XOFF" (HEX 13H) to the signal line."  I never receive any data so I'm not sure what's wrong or if what I'm doing is correct.  The attached file is same code downloaded from AB's website which is what I based my code off of.   http://search.rockwellautomation.com/search?client=samplecode&oe=UTF-8&ie=UTF-8&output=xml_no_dtd&proxystylesheet=samplecode&site=sample_code&getfields=*&lang=en&hl=en&sort=date:D:L:d1&wc=200&wc_mc=1&ud=1&filter=0&q=ASCII   62119.exe
  4. 1769-ASCII

    Where would I find this byte of information?  When I send the printer data to print in the terminal, it receives it but never sends anything back?  Right now my start\end delim is dec 013, which is CR.  What is the dec equivelant to XON or XOFF?
  5. I have to sleep.   If you're using SE, you can convert ASCII characters to their decimal equivalent by using the Asc() function in VB, and vice versa using the Chr() function. If you're using any controller that uses RSL5K (or now Studio 5K) you can use a DTOS instruction to convert a string to a DINT.
  6. Is it SE or ME?  Is there a PLC involved?  If so, what model?
  7. networking micrologix 1200s

    Afraid of asking the obvious question but are your node addresses unique?
  8. I'm not sure what you're asking.  You don't see the EN bit by default.  You click the ellipsis next to the instruction title, and check the box next to "Enable" if you want to control the enable function of a function block.  Is this question meant to be in the Allen Bradley forums?  What you've posted above looks more like Yaskawa PLC\Servo logic and MS Visio.
  9. ^---  This. Also, you could disconnect the battery on the processor board and discharge the capacitor to wipe the memory.  You never know what other's could have changed the comms settings to.
  10. First, are you doing this as an expression of a numeric display, or as VB code?   Sorry.  Why are you doing this in a macro?  Pretty sure you can't do math in a macro.  If it were me, I would be doing this in VB code, unless it's just for display which then I would just do it as an expression within a numeric display.   Alternatively, you could do the math in the PLC and give it it's own tag.
  11. Man, you lazy :D   Answer is no.
  12. So I've been tasked with setting up several old SLC racks with a control logix L71 processor.  The final piece of the puzzle is setting up the 1746-HSCR but I haven't had to set one of these up from scratch in about 10 years.  I've gotten as far as setting it up as a Range mode linear counter.  I've been able to get this thing counting with the help of a tech note, but I struggle understanding what I am seeing.  The purpose of this counter is to track the liner rate of passing material in feet per minute.  Nowhere when I set up the HSCE did I enter the PPR of the encoder, so it just doesn't translate in my head what I am seeing in the rate period and rate measurement files, or the accumulated count for that matter.  Can anyone enlighten me? https___rockwellautomation.custhelp.pdf AENTR_HSCE.acd 1746-um006_-en-p.pdf
  13. Do you have administrative rights on your machine?
  14. Whats your budget, if any?  The quickest way off the top of my head, in my opinion, is a second rack.  The cost of an HSCE2 could buy you another lower end processor can you can initially dedicate to this, and pass the data along if necessary, to the master processor through the various methods of data transfer.    The other way is to improve the effeciency of your project.  33ms is a VERY long scan time in my opinion, especially where position is measured.  The thing about programs is it isn't standard practice to trim the fat off of a fat program.  By that I mean, some of your program doesn't need to be scanned all the time, but common practice is to have it scan all the time because it's quicker to program initially.  See if you can isolate some of your processes into a time scanned or even scanned sub routine.
  15. Help With SQO in RS 5000

    It's the same.  I assume you've already looked at the help file.  You're probably thrown by not having files to work with now.  So the difference here is that you need to create an array.  So in this case if you wanted it to be identical to what you would have done in RSL500, in RSL5K you need to create a tag of the INT[#] type (# being the amount of 'words [aka Length or Elements]' in your array, lets assume 16).  So now instead of B3:0/0 to B3:15/15 you have TAGNAME[0].0 to TAGNAME[15].15.   If you need to do this without a timer, use an SQI instruction.  It works the opposite.  Once all the conditions in the SQI table are met, step your SQO instruction.
  16. Logix 5000 will show all of the installed versions on the startup splash screen.  It is not indicative of what version you're opening up until it's completely opened.  The version will be in the title bar and\or the Help->About screen.  If Help->About says 17, that's the version of the file currently opened.  If you're trying to upgrade the processor, you need to flash it.  When you download the firmware from Rockwell, it will come with the 'ControlFLASH' utility.   You may want to think about upgrading to 20.04, not 20.01.  
  17. You cannot use indirect addressing in FTVME.  There are other methods though.  You can use the index of a number to push/pull data on the Plc (I.e. The Plcs does all the work by evaluating the index number and pushing/pulling data if a specific index is selected). You could also use expressions, but that would be a huge pain.  You might be able to create a parameter file also.
  18. USS Protocol

    I have a customer who uses a proprietary controller with their Atlas Copco air compressor, and a Siemens SimoVERT Masterdrive. The drive blew up and the customer wants to replace it with an ABB drive. So far my largest stopping point is the communications. The Siemens drive uses a USS protocol for communications through an RS485. There are no modules available for ABB that I can find that enable this sort of communication. Even if there was, because the controller is proprietary, I don't know what addresses, functions, etc that it's sending\recieving. I've tried calling Atlas Copco for help but they haven't returned my calls. I know this isn't PLC related directly, but these forums have been a great source of information for a long time and I hope to get some sort of answers from here. Is it possible? How? Thanks!