Тёмный

Data Logging with ControlLogix/CompactLogix (1756/1769) 

SY P HOANG
Подписаться 4,6 тыс.
Просмотров 6 тыс.
50% 1

PLC: 1769-L30ER-NSE
SD: 1784-SD1 (non-Allen Bradley SD card might not work. I tried and my Kingston SD didn’t work)
Step 1:
www.rockwellau...
Step 2:
Download and unzip the compressed/zipped folder
Step 3:
Open “MakeCSV_3.ACD” and add SSV Instruction to set date and time to the controller.
Step 4:
Go to “Controller Properties”, under “General”, match controller “Type”, “Revision” and “Slot” number to the actual PLC and rack layout.
Step 5:
Set “logging_enabled” bit to TRUE to start collecting data every second and storing it to the installed SD card.
Step 6:
Download and Test
Data from “SrcData” REAL[10] is collected and stored in the SD card.
Step 7:
View data in excel .csv file.
"Format Cells" / "Date"
"Format Cells" / "Time"
If this video is helpful, please like and subscribe to my channel! Thank you.

Опубликовано:

 

8 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 16   
@anthonybuddini2828
@anthonybuddini2828 Год назад
Nice video, very useful. Thank you Mr. Hoang
@SYPHOANG
@SYPHOANG Год назад
@Anthony Buddini: Glad it was helpful!
@_Faeton_
@_Faeton_ 10 месяцев назад
Hi. For some reason, column B is not converted to the time format after converting text by columns in an Excel csv file. The data in column B remains in the form at original float type. What could be the reason?
@SYPHOANG
@SYPHOANG 10 месяцев назад
@_Faeton_: Thank you for subscribing and your support to my channel. Unfortunately, I have not experienced it before. Make sure you set up the date and time correctly to the PLC. All elements (including the milisecond) need to be included in the array in the right order. Or should it be from your excel software?
@_Faeton_
@_Faeton_ 10 месяцев назад
I fixed it. OS of PLC works with ' . ' symbol, and Excel works with ' , ' in type of variable. You need to make the conversion ''find and replace'' ' . ' on ' , ' in column B after applying the required time format. @@SYPHOANG
@dr.pancake1279
@dr.pancake1279 10 месяцев назад
Nice video. I am trying to do something similar with a compactlogix 5380. do you have any suggestions?
@SYPHOANG
@SYPHOANG 10 месяцев назад
@dr.pancake1279: Is it a later version or bigger Compactlogix PLC? I think you should have a more dedicated device for data logging.
@sergioalbertoperezvidales7601
Hello Mr. Hoang , I have a questino , how can you expand the amount of tags to log? and also , Can this routine be use to read from the file created?
@SYPHOANG
@SYPHOANG Год назад
@sergioalbertoperezvidales7601: Unfortunately, I don't think that is possible.
@amonlathdouangvongsa9958
@amonlathdouangvongsa9958 3 года назад
Great example. Can you create batch logging using your example? Also, can you read the log files from the sd card over the network?
@SYPHOANG
@SYPHOANG 3 года назад
@Amonlath: I am not very sure what "batch logging" is. This sampe code from Rockwell actually is very limited with only 10 REAL/Float registers/variables to be logged to the sd card. How about INT variables or DINT and REAL together or more than 10 source variables. It's possible but Rockwell definitely needs to improve it. I don't think you can read the log files over the network. Thank you for subscribing to my channel. To be honest, I would recommend to use HMI for data logging instead of PLC.
@SCADAExperts
@SCADAExperts 2 года назад
how to read write data in SQL directly from Controllogix? Do you have any idea?
@SYPHOANG
@SYPHOANG 2 года назад
@Bapusaheb Dhage: Unfortunately, I am not familiar with SQL.
@arcautomationconsultingltd6951
@arcautomationconsultingltd6951 2 года назад
You can watch this to see how you can achieve that ..ru-vid.com/group/PLkLp4DZBLv2e4SetB2Q0cizFJCAQUEa1s
@MyRp123
@MyRp123 Год назад
The link to the sample code "Not Found Page | Rockwell Automation". Looks great other than that...Thanks
@SYPHOANG
@SYPHOANG Год назад
Russ Perkins: Maybe it is not available in your region or it's only available for techconnect subscription. Thank you for subscribing to my channel.
Далее
Men Vs Women Survive The Wilderness For $500,000
31:48
Data Logging using a PanelView Plus and XL Reporter
8:53
Real-time Data Logging Using RSLinx OPC and Excel
13:56
RSLogix5000/Studio5000 GSV/SSV Date and Time
9:03
Просмотров 24 тыс.
Data Logging a Single Event in Studio 5000
2:45
Просмотров 6 тыс.