Read and Write Data in MS Excel, using RSLinx to and from ControlLogix

  Рет қаралды 39,017

Robotics & Automation - Electro-Mechanical

Robotics & Automation - Electro-Mechanical

Күн бұрын

Пікірлер: 44
@Crypto_B_
@Crypto_B_ 4 жыл бұрын
Great demo. Thank you, Peter. I don’t think many professionals in our industry realize this is possible. I’ve gotten some blank stares.
@ansonkiek6471
@ansonkiek6471 2 жыл бұрын
rslink classis lite can?I don’t see the copy option this my classic lite please advise. I am using studio 5000
@PSDettmerMATC
@PSDettmerMATC 2 жыл бұрын
I don't think so. You need a version that can act as a server to exchange data. Most likely Gateway.
@ansonkiek6471
@ansonkiek6471 2 жыл бұрын
@@PSDettmerMATC is this only available on rs link professional?
@PSDettmerMATC
@PSDettmerMATC 2 жыл бұрын
@@ansonkiek6471 There are 5 versions of RS Linx Classic. It depends on what OPC service you need. Single Node provides some OPC/DDE service. Best to talk to your distributor to see what you need. We use RS Linx Classic Gateway. It has all the functionality. compatibility.rockwellautomation.com/Pages/ProductReplacement.aspx?crumb=101&restore=1&vid=50022
@sergiofranciscomayoralcruz8037
@sergiofranciscomayoralcruz8037 Жыл бұрын
Can i use this funcion if i have a Micro820 and a ML1200?
@eltonlomboni1805
@eltonlomboni1805 2 ай бұрын
ml1200 yes
@AfroMan187
@AfroMan187 4 ай бұрын
Any way to export a data file to a PC that doesn't have RS Linx?
@PSDettmerMATC
@PSDettmerMATC 4 ай бұрын
There are other "data servers" available. Some offer a free 30-day trial and/or 2hr runtime. Look at Kepware. Depending on your FW version and controller, you could also look at OPC UA....
@pjeremy1449
@pjeremy1449 2 жыл бұрын
How does this work with strings?
@PSDettmerMATC
@PSDettmerMATC 2 жыл бұрын
Not sure. Haven't tried that yet. I'd expect very similar, just a matter of changing the data types?
@4ngel012
@4ngel012 3 жыл бұрын
great video. Where can I learn about more rslogix functions to use in VBA?
@PSDettmerMATC
@PSDettmerMATC 3 жыл бұрын
You can look up information in Rockwell Automation's Knowledge Base. Search for topics on DDE/OPC/VBA they have some good sample code and files.
@4ngel012
@4ngel012 3 жыл бұрын
@@PSDettmerMATC ok, muchas gracias
@jorgelopez-dd3gb
@jorgelopez-dd3gb 2 жыл бұрын
It's possible do the same with Micrologix PLC??
@PSDettmerMATC
@PSDettmerMATC 2 жыл бұрын
Yes, there is sample code available for RSLogix 500 based controllers. Communication settings depend on your protocol (Ethernet IP/ Serial, etc....). You need RSLinx with the DDE/OPC capability. Good luck!
@caseymarionneaux2507
@caseymarionneaux2507 2 жыл бұрын
Would this be possible from a web page that is ran from a local server using HTML, PHP, Javascript or some other language?
@PSDettmerMATC
@PSDettmerMATC 2 жыл бұрын
Very likely that this could be done via Modbus protocol to exchange data via any of the languages you mentioned.
@iantogriffin9928
@iantogriffin9928 Жыл бұрын
Excellent demo. thanks for posting.
@flavioscarazzato6088
@flavioscarazzato6088 4 жыл бұрын
Can you share the excel file used in this video?
@PSDettmerMATC
@PSDettmerMATC 4 жыл бұрын
Sure, please go to the About section on our channel and select the "Send Email/Message" option. I'll reply with a copy of the .XLS file.
@mattemburgh7188
@mattemburgh7188 4 жыл бұрын
Hello! How can I set this up so it logs the data every 24 hours automatically, without using a push button?
@PSDettmerMATC
@PSDettmerMATC 4 жыл бұрын
The button just triggers the Macro. You can write a separate Macro to trigger the "Data Collect" Macro at specific time intervals. Search for this on KZbin: Automatically Run a Macro Every X Minutes or Hours - Good luck!
@LeoGarCru
@LeoGarCru 3 жыл бұрын
Where to learn VBA to do things like this ?
@PSDettmerMATC
@PSDettmerMATC 3 жыл бұрын
Look at your local College for MS Excel & Visual Basic for Applications courses. Otherwise, LinkedIn Learning and other online training.
@tomtom3906
@tomtom3906 4 жыл бұрын
Thanks Peter good demo!
@pk_hemmane
@pk_hemmane 4 жыл бұрын
pls share the excel link
@PSDettmerMATC
@PSDettmerMATC 4 жыл бұрын
Not sure which Excel link you are referring to?
@JamesRobinson-hq4lt
@JamesRobinson-hq4lt Жыл бұрын
@@PSDettmerMATC I believe he is referring to segment at 3:42 where you are pasting the link but the video is blurry and we can't really make out what type of brackets or parenthesses are being used.....
@PSDettmerMATC
@PSDettmerMATC Жыл бұрын
@@JamesRobinson-hq4lt send me an email and I'd be happy to share the code and Excel file with you.
@jackdtdt4121
@jackdtdt4121 3 жыл бұрын
Hi ! Peter ! Great Demo! Can you share me the Excel File in the Video?
@PSDettmerMATC
@PSDettmerMATC 3 жыл бұрын
Please send me an email. My email is in the video. Thanks, Peter
@LearnSomethingHelpful
@LearnSomethingHelpful 4 жыл бұрын
Thanks for the video, I do have a suggestion from our findings in the past few months & speaking with Rockwell. If you try this on Windows 10 & any version of Microsoft Office above 2016 & it no longer works...DDE is what is used & it is now disabled so moving forward any command codes should be used in a real OPC not DDE like the copy-paste method. There are a lot of other tools to use & Rockwell Automation themselves has demo excel files to read & write data. DDE is broken after Excel 2013. You can try to enable it but depending on what version of RSlinx you are using, it will break. Standard in the field as of 2021 is Windows 10 MS Office 2016 or even MS office 365
@superezbz
@superezbz 3 жыл бұрын
I haven't tried it yet, but: docs.microsoft.com/en-us/office/troubleshoot/excel/security-settings
@LearnSomethingHelpful
@LearnSomethingHelpful 3 жыл бұрын
@@superezbz I have worked closely with RA & there is no fix besides transitioning directly to OPC or making your own data move in Python. OPC is easier. DDE is gone for new Windows & Office
@superezbz
@superezbz 3 жыл бұрын
@@LearnSomethingHelpful I figured out how to do it on an offline program. First, you export a rung that is referencing the array. Then, you open the L5X file in a text editor. You will see that tag data values are in the L5X text. Copy and paste into excel. Edit the values. Copy the excel code back into the text editor in the appropriate place. Then, this is very important, delete the rung AND the array from the controller. Then import the L5X back in. You will now have your rung back with a fully populated array.
@LearnSomethingHelpful
@LearnSomethingHelpful 3 жыл бұрын
@@superezbz We are talking about reading tag values not rungs
@superezbz
@superezbz 3 жыл бұрын
@@LearnSomethingHelpful I know. I'm talking about writing tag values en masse. It works. It is the only way I have found that is capable of doing it offline or online, without extra licensing or running a Windows 7 VM or machine. When you export the rung or routine, the tag values are written into the XML file. Those can then be manipulated and re entered into the program. That's it. If you are really good, you could write code in XML if you wanted to, including populating arrays. However, I find that writing repetitive code is best accomplished in Excel. Excel is far superior in data manipulation than Studio 5k.
@mesclau
@mesclau 4 жыл бұрын
Great!!!!
@DuneKraftwerk
@DuneKraftwerk Жыл бұрын
Excel online...oops.. code scripts and socket io can make it works not DDE
@DuneKraftwerk
@DuneKraftwerk Жыл бұрын
Wow DDE... remind me 1987..
Real-time Data Logging Using RSLinx OPC and Excel
13:56
PLCGurus.NET
Рет қаралды 51 М.
The Lost World: Living Room Edition
0:46
Daniel LaBelle
Рет қаралды 27 МЛН
Ful Video ☝🏻☝🏻☝🏻
1:01
Arkeolog
Рет қаралды 14 МЛН
Hilarious FAKE TONGUE Prank by WEDNESDAY😏🖤
0:39
La La Life Shorts
Рет қаралды 44 МЛН
FANUC Robot to ControlLogix PLC - Digital Input and Output exchange
10:15
Robotics & Automation - Electro-Mechanical
Рет қаралды 36 М.
OPC Servers and RSLinx
14:22
Vern Vanleuven
Рет қаралды 33 М.
Excel VBA: The Magic of the Worksheet Change Event
14:24
Excel Macro Mastery
Рет қаралды 75 М.
Excel 2021 VBA Beginner Tutorial
1:48:04
Learnit Training
Рет қаралды 81 М.
How to Program a Basic PID Loop in ControlLogix
13:12
RealPars
Рет қаралды 385 М.
Database Sharding and Partitioning
23:53
Arpit Bhayani
Рет қаралды 104 М.
How to get A-B PLC data values into MS Excel using RSLinx
8:48
Insights In Automation
Рет қаралды 65 М.
How to use Microsoft Power Query
16:35
Kevin Stratvert
Рет қаралды 2,1 МЛН
The Lost World: Living Room Edition
0:46
Daniel LaBelle
Рет қаралды 27 МЛН