QUOTE(dhinch63 @ Mar 3 2009, 08:40 PM) [snapback]79528[/snapback]
I am having such a hard time trying to bring PLC info from the floor to a MS access database. I want to record cycle time between parts and log the time and date. How do I do this, I am stumped. Can someone give me a step by step.
I have all the right software and equipment ie: RS Linx gateway, Windows 2003 server, RS Bizware, RS View32, I installed a PLC Gateway so all my processors connect, I can see them and make changes, but I need to get production data from the floor to the database.
I need help bad.
In the mrplc downloads section you'll find two examples of VBA code where I used Excel to read and write PLC data thru rslinx. I suggest you study the rslinx dde help files and those example first.
Access is very similiar, but if I am not mistaken you'll use the RSlinx OCX dropped into an access form and then code it in VBA.
Given you're looking at multiple PLCs and a database for storage, I alkso recommend you learn the OPC method not the DDE one. The performance is better, but the overhead and learning is more as well.