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.
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.
> 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.