BobLfoot

[HMI Sample Code] - Excel to PLC thru RSlinx Demo

4 posts in this topic

File Name: Excel to PLC thru RSlinx Demo File Submitter: BobLfoot File Submitted: 1 Apr 2006 File Category: HMI Sample Code A Kernel Spreadsheet for Reading and writing Clocks of SLC PLC and ControlLogix plc's. Well Commented and can be adapted for many other DDE applications. Created June 2000 and last revised Dec. 2003. Click here to download this file

Share this post


Link to post
Share on other sites

I'm trying to do this very thing.  I have an array of 1000 x 2  Strings that I need to move from excel to a string array in a compact logix.

What flavor of Linx are you using?   Lite/Single Point/OEM/Gateway?

 

Share this post


Link to post
Share on other sites

I was using Linx OEM and I believe Excel 97 when I built this. Please note Microsoft has deprecated DDE in the current versions of Excel and you'll need to research the OPC example downloads.

Share this post


Link to post
Share on other sites

I have the VB working in excel, Integers, Reals and Strings.  I'm trying to call this from SIte Edition. I can't seem to figure out how to set up the OPC server to see Excel.  Any thoughts?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now