Using Excel to Create logic RSLogix

Paullys50

Lifetime Supporting Member
Join Date
Jan 2006
Location
WI
Posts
2,188
Hey guys, I'm teaching myself the tricks of using Excel to quickly create logic that is structured the same.

What I have not been able to figure out is how/if you can copy multiple cells in Excel and paste them into RSLogix 500. Is this possible?

Each cell is an independent rung in RSLogix.
 
Last edited:
Right Click on the rung and use the copy and past options to the SLC library. You can write a lot of repetitive code in excel this way.

Giz
 
Solution is one large concatenation string. Separating new rungs with SOR/EOR

Code:
SOR XIC ? OTE ? EOR SOR XIC ? OTE EOR

To be most effective, you'll want to let Excel duplicate as much as possible, you will have to manually transpose and concatenate the cells into one large string.

I only use this method now-a-days if it's something basic and unique. I typically will just use VBA to create files that I can import into Logix5000 application. However I have used VBA to generate rungs of code for PLC5/SLC500 applications.
 

Similar Topics

Hi, I'm just looking for a simple way to make a button in excel (via VBA I presume) to toggle a bit in RSLogix 5000. I just got FactoyTalkLinx...
Replies
9
Views
529
Hello, I am looking for help writing to PLC tags from Excel. I am using Factory Talk Gateway as an OPC server and Excel VBA to write out to an...
Replies
5
Views
3,078
Good Morning , We had an equipment manufacture in last week. He always giving us a thumbdrive with the machine recipes . They are neatly in...
Replies
8
Views
2,453
Hello there, world! The problem i'm facing up is about a registry I need to do in order to compare the set point versus the real variable I got...
Replies
2
Views
1,575
hello guys... i m looking for example how to send excel recepi to wincc flexiable (HMI) and when click particular formula it will start using the...
Replies
1
Views
1,844
Back
Top Bottom