Today is...
Friday, December 19, 2014
Welcome to Control.com, the global online
community of automation professionals.
Advertisement
Featured Video...
Featured Video
A quick introduction to EtherCAT for motion control and I/O...
Advertisement
Our Advertisers
Help keep our servers running...
Patronize our advertisers!
Visit our Post Archive
RS Logix Ladder Logic
Importing ladder logic

Is there any way to import/export the ladder logic to/from RS Logix (or APS) from excel or any VB manageable application?

Any help will be joyfully accepted

By Alan Rimmington on 16 October, 2002 - 10:13 am

The easiest way I have found is to use SLC file type. Easy way of learning is to write a bit of logic in RSlogix (or APS) and save as "SLC" file type. Open the created file with notepad and you should see the structure.

I have created auto logic creation software using VBA in excel. This creates an SLC file that can then be opened in RSlogix.

By Wesley Hergert on 9 April, 2003 - 10:22 am

I am currently working on a program that will automatically write logic for automated equipment. I discovered that excel can be a handy tool to complete what i want. I am a programmer for automated welding equipment in Toronto Canada.
I am interested in what you have completed for your automatic logic.

By gaines wright on 24 April, 2003 - 10:59 am

> I am currently working on a program that will automatically write logic for automated equipment. .................
> I am interested in what you have completed for your automatic logic.

Our PLC's are mostly used for motor control.
For a new project, I get a excel file from engineering that lists all of the equipment with descriptions and the device net module types.

After doing some editing on this file and converting it into .csv format, I then use a 'C' program to build the ladder in .lk5 form. I then paste this file into the existing .lk5 file for the project and import the modified .lk5.

The same 'C' program also generates another file of tagnames, aliases, and comments for text database import.

This just builds the basic skeleton of the project, I still have to go back and fill in any interlock logic. Saves a ton of work though.

By Yosi Feigenbaum on 16 October, 2002 - 10:27 pm

From RS Logix use SaveAs to save the file as a PC5 (for PLC-5 applications) or SLC (for SLC-500
applications.

APS comes with an import/export utility in order to transfer the files to text.

The resulting files are text files.

If you've any questions, feel free to contact me ( "yosi@ludan.co.il", mailto:yosi@ludan.co.il ).

(8{)} ( .)