Data Logging with ControlLogix/CompactLogix (1756/1769)

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 มิ.ย. 2020
  • 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.rockwellautomation.com/en...
    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.

ความคิดเห็น • 16

  • @anthonybuddini2828
    @anthonybuddini2828 ปีที่แล้ว

    Nice video, very useful. Thank you Mr. Hoang

    • @SYPHOANG
      @SYPHOANG  ปีที่แล้ว

      @Anthony Buddini: Glad it was helpful!

  • @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.

  • @dr.pancake1279
    @dr.pancake1279 9 หลายเดือนก่อน

    Nice video. I am trying to do something similar with a compactlogix 5380. do you have any suggestions?

    • @SYPHOANG
      @SYPHOANG  9 หลายเดือนก่อน

      @dr.pancake1279: Is it a later version or bigger Compactlogix PLC? I think you should have a more dedicated device for data logging.

  • @_Faeton_
    @_Faeton_ 8 หลายเดือนก่อน

    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  8 หลายเดือนก่อน

      @_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_ 8 หลายเดือนก่อน

      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

  • @sergioalbertoperezvidales7601
    @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.

  • @SCADAExperts
    @SCADAExperts ปีที่แล้ว

    how to read write data in SQL directly from Controllogix?
    Do you have any idea?

    • @SYPHOANG
      @SYPHOANG  ปีที่แล้ว

      @Bapusaheb Dhage: Unfortunately, I am not familiar with SQL.

    • @arcautomationconsultingltd6951
      @arcautomationconsultingltd6951 ปีที่แล้ว

      You can watch this to see how you can achieve that ..th-cam.com/play/PLkLp4DZBLv2e4SetB2Q0cizFJCAQUEa1s.html

  • @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.