Implementing the Omron CX Server DDE and Excel

Поділитися
Вставка
  • Опубліковано 31 жов 2024

КОМЕНТАРІ • 21

  • @Catpanl
    @Catpanl 7 років тому +1

    Thanks. Great short end to the point.

  • @oj8608
    @oj8608 3 роки тому

    Thank you for the video! Have you ever tried to do the same with another software like OpenOffice or LibreOffice calc?

    • @ACCautomation
      @ACCautomation  3 роки тому

      Hi O J,
      I have not tried that, but this method of communication is good for a quick view of the information. A more robust communication link to the data can be done through programs like AdvancedHMI.
      accautomation.ca/omron-cp1h-advancedhmi-communication/
      Data can then be stored in a database. Excel or any other spreadsheet can then read the information. This would provide a better solution in my opinion.
      Thanks for the comment.
      Garry

    • @oj8608
      @oj8608 3 роки тому +1

      ​@@ACCautomation thank you for the reply. Finally I managed to make it work with LibreOffice Calc. The formula it's a bit different but after a few tries I got it working.

  • @chamudi
    @chamudi 5 років тому +2

    This is great! If any one wonder how to use this in Windows 10, the DDE Manager is in C:\Program Files\Omron\CX-Server\CDMDDE.EXE. Everything else is the same...
    Any idea how I can change the refresh rate? Currently its refreshing every 50ms it seems.

    • @ACCautomation
      @ACCautomation  5 років тому +1

      HI Chamudi,
      If you right click on the CX-Server DDE Manager in the tool bar, you will see the Update Interval... selection.
      Thanks for the comments.
      Regards,
      Garry

  • @nishantsheta2000
    @nishantsheta2000 5 років тому +1

    How can I make excel as input ?? I want to scan barecode and write value in plc....thank you...

    • @ACCautomation
      @ACCautomation  5 років тому +1

      Hi Nishant,
      There are several ways to get information into the controller. If you are set on using Excel then I would use VBA. This method would be best for handling the barcode input. You would not have to be on a specific cell, before scanning the barcode.
      Here is a link to a sample of communication using VBA in excel:
      accautomation.ca/how-to-implement-the-omron-host-link-protocol-part-2-vba/
      Video:
      ua-cam.com/video/A0u_2Q9kXnY/v-deo.html
      The most robust solution would be to use AdvancedHMI with a barcode scanner.
      See the links above.
      Hope this helps you out.
      Regards,
      Garry

  • @user-nf1no2qc6r
    @user-nf1no2qc6r 7 років тому +2

    Hi, I have #Bad Project error on my Excel After copy the link...
    What can I do?

    • @ACCautomation
      @ACCautomation  7 років тому +2

      forums.mrplc.com/index.php?/topic/6913-using-excel-to-get-data-from-omron-cj1m-plc/
      It sounds like the .cdm file is missing however it is easy to create a new one using the editor with the CX-Server DDE manager.
      Regards,
      Garry

    • @user-nf1no2qc6r
      @user-nf1no2qc6r 7 років тому +2

      Thanks.
      It is not missing for sure...
      I am using it to get the link of the point for the excel.
      And I can see it visual on my pc

    • @ACCautomation
      @ACCautomation  7 років тому +2

      I would create a new excel sheet. Then copy the points.
      Let me know how you make out.
      Thanks,
      Garry

  • @marinatorlambert7574
    @marinatorlambert7574 6 років тому +1

    Hi, how to write a PLC area from Excel without opc?? Thanks!

    • @ACCautomation
      @ACCautomation  6 років тому +1

      HI Marinator Lambert
      The following post will show you how to communicate to the Omron PLC using VBA in Excel.
      accautomation.ca/how-to-implement-the-omron-host-link-protocol-part-2-vba/
      Video:
      ua-cam.com/video/A0u_2Q9kXnY/v-deo.html
      Regards,
      Garry

  • @nishanthsubbaiyan1587
    @nishanthsubbaiyan1587 7 років тому +1

    Should we purchase any software or license from Omron.??

    • @ACCautomation
      @ACCautomation  7 років тому +1

      This will come with the Omron CX programmer disk. If you are programming your Omron controllers with CX programmer then you will already have the CX Server DDE.
      Here is another way to use Excel VBA to get information from the Omron PLC.
      accautomation.ca/how-to-implement-the-omron-host-link-protocol-part-2-vba/
      Video:
      ua-cam.com/video/A0u_2Q9kXnY/v-deo.html
      Regards,
      Garry

    • @omronelectronicsltd5904
      @omronelectronicsltd5904 2 роки тому

      DDE Manager no longer comes with latest CX-Server versions so this is no longer possible.
      CX-Server Lite is the product that provides same function and requires software licence purchase.

  • @kkokemaki8593
    @kkokemaki8593 4 роки тому

    Hi, I would like to access the I/O or the DM area of a simulated CJ2M PLC (running in CX-Simulator). Do you have any idea? Will DDE work in this case? CX-Simulator manual says that it can simulate FINS Ethernet communication as well, but I could not set up. Thanks.

    • @ACCautomation
      @ACCautomation  4 роки тому

      Hi K kokemaki,
      I have not had any luck using the Omron simulator with external devices. If you use the actual hardware you will find that things will work.
      I hope this helps you out.
      Regards,
      Garry

  • @nothing1321
    @nothing1321 8 років тому +1

    in omron 9.4version. theres no CX server dde. how can i use it?

    • @ACCautomation
      @ACCautomation  8 років тому +1

      +Garry Respuesto
      Normally this is installed with CX-Programmer.
      Start -> Programs -> Omron -> CX-Server -> DDE manager (The path may be different depend on your installation directory)
      Perhaps it was left out of the install. Try a reinstall of the software.
      Regards,
      Garry