COM16. ModbusTCP Client via Allen-Bradley CompactLogix PLC

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ก.พ. 2021
  • #Modbus #TCP #AllenBradley #CompactLogix #ModbusTCP #Client
    COM17. ModbusTCP Server via Allen-Bradley CompactLogix PLC • COM17. ModbusTCP Serve...
    Playlist: • Industrial Automation ...
    Allen-Bradley Modbus TCP Sample Code AOI V2.0.2
    www.rockwellautomation.com/se...
    In this video, Allen-Bradley CompactLogix runs as Modbus TCP Client, while Test Tool ModSim 64 runs as Modbus TCP Server.
    COM16. ModbusTCP Client via Allen-Bradley CompactLogix PLC
    • COM16. ModbusTCP Clien...
    COM17. ModbusTCP Server via Allen-Bradley CompactLogix PLC
    • COM17. ModbusTCP Serve...
    COM18. ModbusTCP Client via Siemens S7-1200/S7-1500 PLC and TIA Portal
    • COM18. ModbusTCP Clien...
    COM19. ModbusTCP Server via Siemens S7-1200/S7-1500 PLC and TIA Portal
    • COM19. ModbusTCP Serve...
    COM20. ModbusTCP - Siemens S7-1200/S7-1500 (Client) and Allen-Bradley CompactLogix (Server)
    • COM20. ModbusTCP - Sie...
    COM21. ModbusTCP - Allen-Bradley CompactLogix (Client) and Siemens S7-1200/S7-1500 (Server)
    • COM21. ModbusTCP - All...
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @edsonchrispim4243
    @edsonchrispim4243 2 หลายเดือนก่อน

    Thank you very much ! Really well explained ! This video helped me a lot to solve my modbus doubts using compactlogix
    !

  • @patilvikranta
    @patilvikranta 2 ปีที่แล้ว +1

    Very well explained, thank you. Keep publishing similar knowledge base videos.

    • @electricalautomation
      @electricalautomation  2 ปีที่แล้ว

      Thank you, I will be. Welcome more friends come to my channel!

  • @kasperalexandersen4324
    @kasperalexandersen4324 2 ปีที่แล้ว

    Thank u for this, helped alot in a project im working on!
    I will follow u for future knowledge, i enjoyed ur work alot!

    • @electricalautomation
      @electricalautomation  2 ปีที่แล้ว

      Welcome to view more videos in my channel! Glad they could be helpful!

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

    Very well explained, very nice video

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

    great video thank you

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

    thank you so much, make it very easy

  • @rajkrishna336
    @rajkrishna336 2 ปีที่แล้ว

    Very useful content- thanks.
    I’m trying to implement this on a 5380 CompactLogix to read the measurements from Yokogawa WT1800E power meter.
    I have a question.
    In order to read the power meter data, I need to combine set of Two INT to REAL data at the PLC. How can I do that? I prefer ST programming if possible. Thanks in advance for your help.

    • @electricalautomation
      @electricalautomation  2 ปีที่แล้ว

      Not quite sure the "combine set of Two INT to REAL data ", how and which way you combine two INT to Real. If you have a real data 9876543.12, you can x1000, then convert 98765312 into DINT, then split DINT into two INT/WORD to transfer to PLC. Then PLC use the same backward way to restore the data to REAL.

    • @rajkrishna336
      @rajkrishna336 2 ปีที่แล้ว +1

      @@electricalautomation Thanks for the response. I did find a way to do this by using COP instruction. COP instruction will combine and convert two adjacent INT array to REAL array.

    • @electricalautomation
      @electricalautomation  2 ปีที่แล้ว

      @@rajkrishna336 Glad to hear you found solution

  • @chret27
    @chret27 5 หลายเดือนก่อน

    Why doesn’t the rung go green when I connect to the PLC?

  • @flavioscarazzato6088
    @flavioscarazzato6088 2 ปีที่แล้ว

    Hi, very good tutorial! Can I do this Modbus TCP Client communication using the same physical port that already communicates with a 1734-AENT Ethernet/IP remote? Both the EtherNet/IP remote and the Modbus TCP equipment are in the same IP range.

    • @electricalautomation
      @electricalautomation  2 ปีที่แล้ว

      Yes, I think you can, a physical port can be shared used.

  • @hichamcool76
    @hichamcool76 3 ปีที่แล้ว

    Thanks for this nice videos,
    I have a question for you :
    The data is limited at 1024 (coils 0 at 1023 coils....), if I want read data greater than 1024 (for example adresse registre 1030, 12680...) what can I do ?

    • @electricalautomation
      @electricalautomation  3 ปีที่แล้ว

      Hi Bud, a quick answer, you may set the "start" from a higher start, then the total still the 1024. 1024 is the buffer length from the AOI function block but you can set the start modbus address. I haven't got a chance to test this, pls let me know if that works

    • @hichamcool76
      @hichamcool76 3 ปีที่แล้ว

      Unfortunately, it doesn't work

    • @electricalautomation
      @electricalautomation  3 ปีที่แล้ว +1

      @@hichamcool76 I recommend you contact AB support for your case.

  • @acheydent1255
    @acheydent1255 3 ปีที่แล้ว

    Thanks,
    Verry good tutorial.
    One question : If the client want to communicate with 8 servers, is it mean we need to create 8 clients ?
    and Is it mean we need ( 93 + 7*20) Kb ?
    Best Regards

    • @electricalautomation
      @electricalautomation  3 ปีที่แล้ว

      If answer shortly, I would say yes. But you also need to check the TCP connection resources from the specification of your CPU. 8 should be OK for the mainstream CompactLogix. An alternative way is that using one Client AOI FB. Then program the sequence loading the 8 of IPs and data into this AOI data buffer one by one. But I don't think someone would like to do this.

    • @acheydent1255
      @acheydent1255 3 ปีที่แล้ว

      Thank a lot,

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

    what about if you need to send custome tcp modbus msg?

  • @muthiahgk3311
    @muthiahgk3311 6 หลายเดือนก่อน

    Hi, I am getting sts_overlap and st_overload error and i'm not getting the data. What to do?

    • @electricalautomation
      @electricalautomation  6 หลายเดือนก่อน

      I think you instant block from each FB is overlap. Pls check your program.

  • @matheusviana4152
    @matheusviana4152 11 หลายเดือนก่อน

    Is it possible to comunicate with two modbus slave devices?

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

    How can i solved fault -8?, nice video btw :)

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

      Please check your instance (may be double instance, and also check if the port is blocked)
      In the manual "Modbus TCP Client - AOI based code for ControlLogix v 2.04.00" it explain the '-8' code, also you can find the more details in this link literature.rockwellautomation.com/idc/groups/literature/documents/at/enet-at002_-en-p.pdf#page=51

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

    How to display these values on hmi ?

  • @javi787dreamliner
    @javi787dreamliner 9 หลายเดือนก่อน +1

    Hi mate, How can i solved fault -8?

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

      same man, you solved it? :(

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

      Please check your instance (may be double instance, and also check if the port is blocked)
      In the manual "Modbus TCP Client - AOI based code for ControlLogix v 2.04.00" it explain the '-8' code, also you can find the more details in this link literature.rockwellautomation.com/idc/groups/literature/documents/at/enet-at002_-en-p.pdf#page=51