Hit enter, and there you go! Note that because of the quantity of rungs you will be creating, you may have to do smaller chunks. Create a blank line in your program, double-click to open the input box and paste the whole shebang in. You still need a single space between each item. This gets rid of all extra spaces (w for white space). Then do a second search and replace with ^w as the search text and a single space for the replace text. This gets rid of all line feeds (p for paragraph). Do a search and replace with ^p as the search text, and a single space for the replace text. Once you have everything set, copy and past the whole block into a blank Word document. You can use all sorts of fun Excel tricks (formulas, search and replace, etc.) to make the duplication easier. Duplicate that for each alarm in your system, replacing "InputTag" with your 400 alarm tags and "OneShotBit" with different bits for the one-shot (I'd use a bit array). Add a column in the front with "SOR" (for start of rung) and one at the end for "EOR" (end of rung). The text will be: XIC InputTag ONS OneShotBit OTL LatchedBit Copy that into Excel with a column for "XIC", a column for "InputTag", etc. Say for example that your rung has a NO contact followed by an ONS instruction, followed by a latch instruction. Have you ever noticed that if you double-click on a rung of logic you get an input box at the top with a string of text? Well that's the background code of the ladder logic, and you can actually program in that. However! There is a "spreadsheet method" of programming that speeds repetitive work up dramatically. Any way to slice it, you've got to do some grunt work.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |