7/31/11

Simbols and Description in RSLogix500 use Excel

Many times enough the worst part about starting a new RS Logix 500 PLC project is typing in all the descriptions and symbols for all your bits and I/O. Luckily there is an easy way to go about doing this monotonous task. I use EXCEL to wiz through this busy work.

I've created an EXCEL template file that you can download here. Once you've downloaded the EXCEL file you can kind of see how the template layout works.



The rows are formatted to the maximum width of characters that RS Logix will allow. Simply type in the address, bits, timer files or whatever memory files you want to include for a description. Make sure you include a symbol for your description. Use under scores for spaces with your symbol names you create. Learning to use symbols to program will save you a ton of time in programming because it's easier to remember the symbol name "RUNNING" rather than B3:1/3 means "running". More about symbol programming in another article.

One EXCEL trick that I use quite often is the AUTO FILL feature. That's where I just type the first address and drag down to auto fill the rest of the address in the card rack.



Once you've created your excel sheet. It's now time to save the excel sheet as a CSV format. The database import tool in RS Logix is designed to accept a CSV file that you create.


In Excel, click on File Save As.


Choose CSV (Comma Delimited). Type a file name for your CSV file.


Now start RS Logix, and click on Tools, Database, ASCII Import.


Change the option to CSV.


Find your file name you saved earlier, make sure you have CLOSED Excel by now, otherwise you will get a can't open file error, because Excel still has the file open in the background.



Once your file is imported, click on the database, address/symbol in the tree viewer. We need to delete just a little bit of trash the template file imported into your database.


What you are looking for is the header columns from the excel template. These get imported also so it's just best if we delete these.

Delete these extra database entries by clicking and highlighting the row and simply hitting delete. Once you have cleaned up your database, you should be ready to start programming!

2 comments:

  1. Anonymous4/2/22 11:07

    my god slot machines and my god slots for sale
    Buy my god slot machines and my god slots for sale at Video-Video.cc. Search and compare movies and digital downloads in your youtube to mp3 converter mac search engine.

    ReplyDelete
  2. MGM Resorts World Las Vegas, NV Jobs | JTAH Hub
    MGM Resorts World Las Vegas, Nevada 오산 출장마사지 jobs available on 충청북도 출장샵 JT Hub. 나주 출장안마 Find your next job at 영천 출장안마 JT Hub 진주 출장마사지 today.

    ReplyDelete