Studio 5000 Modbus TCP Server Allen Bradley Controllogix Compactlogix

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ต.ค. 2024

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

  • @megrobelly
    @megrobelly 6 หลายเดือนก่อน +1

    what if I need float32 data instead on some 4XXXX registers? is there a way to change that? how can I send a message (string: 'unable to accept request')

    • @TimWilborne
      @TimWilborne  6 หลายเดือนก่อน +1

      You would use a COP instruction to put the floating number into INTs then do the opposite on the destination PLC. Mainly pay attention to the length of the COP instructions. It is based on the destination. Here is a video where I'm doing something similar but with DINTs which are also 32 bit.
      th-cam.com/video/o3OWV8Q_U7s/w-d-xo.html

  • @ScottDougherty96
    @ScottDougherty96 8 หลายเดือนก่อน +1

    So if I had tags I wanted to output over Modbus I could just copy the tag in another routine to the data.holdregister. Then using my other device point to that register and the PLC’s IP to read that tag data?

    • @TimWilborne
      @TimWilborne  8 หลายเดือนก่อน +1

      Yes, check out the AOI documentation when you download the sample code. It is very well documented.

  • @elianousdu30
    @elianousdu30 8 วันที่ผ่านมา +1

    Great video ! Am i limited to 1024 holding register when i set up a modbus server or is there a way to add some more ?

    • @TimWilborne
      @TimWilborne  7 วันที่ผ่านมา +2

      From the installation instructions of the AOI, I think 1024 is the typical limit. Here is an excerpt.
      Only one Server AOI is supported per CompactLogix controller (5370, 5380, 5480). ControlLogix
      Controllers (1756) can have one server per each 1756-EN2T(R) module used, but each instance
      must use own set of data tags.

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

    Hey Tim, I’m running the AOi on a the simulator rather than an actual controller, and when I set the server enable to 1, I get a sts fault

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

      The simulator doesn't support open sockets, time to get some hardware.

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

    Thanks tim. I need your help. How to change modbus server data type. All data INT type. But my value is 80000. INT value max max 32768. Now i need Real data type.
    Please share your solution 😊.

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

    Hey Tim, I am currently trying to get 1769 L33ER Compact Logix connected a cloud. I am using Microsoft Azure and i set up an IOT hub along with an IOT edge device that acts as a gateway. Additionally, I installed a Modbus module on the edge device in hopes to use the server AOI to be able to communicate with it. Do I only need to plug in the PLC's IP address into the moudle (client) for this to work? Also is this the best way to go about it? Any help would be much appreciated thanks!

  • @starcio3030
    @starcio3030 4 หลายเดือนก่อน +1

    How about working with floating values ?

    • @TimWilborne
      @TimWilborne  4 หลายเดือนก่อน +1

      This is on my list of videos to make but use the CPS instruction to copy it to INTs then do the opposite in the other PLC. But pay attention to the length parameter in the help. It is based on the number of destination elements.

  • @shanehodgson4290
    @shanehodgson4290 22 วันที่ผ่านมา +1

    I know this is an old video but I'm wondering if anyone can answer how this works f you have multiple clients connected? Do you have to pass the node/IP address somewhere and do some scheduling or does the block handle this?

    • @TimWilborne
      @TimWilborne  22 วันที่ผ่านมา +2

      The single server AOI can accept up to 10 clients connected to the same port.
      The AOI is monitoring each connection independently but processing data requests for active connections one after another.

    • @shanehodgson4290
      @shanehodgson4290 22 วันที่ผ่านมา +1

      @@TimWilborne thanks for the reply. I realised I needed the client AOI after posting this comment. Appreciate it though

    • @TimWilborne
      @TimWilborne  22 วันที่ผ่านมา

      You are welcome

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

    Hi Tim. Great video. I recently setup my Micro820 as a Modbus TCP Server via CCW and have VTScada picking up the data the way I need it.
    A question I have is if there is a way to continue to send data to a remote storage rather than local storage for keep the trends there all the time. I actually don't even know where the data is stored, if at all.
    Thanks Tim.

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

    if i use modbus for my interface can i use this method? and need to program ab-stratix too??

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

    Hi Tim, I'm following your step-by-step guide to implement communication between a PLC and Studio 5000, however, my university computer does not allow the installation of Modbus Tools due to network vulnerabilities. Is there any alternative for me to complete the start of the Modbus server?

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

      Sure, go ahead and connect a Modbus device. I used that device as a quick test for the video.

  • @mrfst450
    @mrfst450 6 หลายเดือนก่อน +1

    silly they changed it to server/client from slave/master

    • @TimWilborne
      @TimWilborne  6 หลายเดือนก่อน +1

      It depends on your region. Here is some additional information.
      www.rockwellautomation.com/en-us/company/about-us/sustainability/culture-inclusion-diversity/inclusive-terminology.html

    • @mrfst450
      @mrfst450 6 หลายเดือนก่อน +1

      @@TimWilborne Yes all in the name of "DEI". I have worked with many many non white techs and electricians and not one of them had an issue with the terminology of slave/master. Nevertheless, this video was great and very helpful.

    • @TimWilborne
      @TimWilborne  6 หลายเดือนก่อน +1

      In a few years, no one will notice, remember MMIs?
      Honestly, Master/Slave has never made much sense and caused a lot of confusion. Most people thought the Master held the data and controlled the slaves. The slaves were the smart devices that held the data and the master could only read and write to them.

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

    Excellent explanation, help please, if I want to communicate the 1769-L16R with a "HMI XXX" screen by modbus, the PLC must be a client or server? regards

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

      The PLC would be a server

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

      @@TimWilborne thank my friends!

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

    Hi Tim, I have a Socomec (A30) power monitor on a project and it looks like the modbus client AOI would work for reading the data from the power monitor however the Modbus range starts at 50000 on the unit. Any idea how I could get the AOI to start at this range?

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

      See if this video helps.
      th-cam.com/video/ws_A9s_VFdo/w-d-xo.html

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

      @@TimWilborne Thanks Tim

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

    I just came into the need to use Modbus RTU in the 5380. Not nearly as pleasant to work with. Address changes require re-downloading the program each time as the config seems to be stored in the module like scaling is in a analog module. Can't change it online. Very disappointing during the development phase when you are trying to figure out how the data is structured. Modbus TCP on the 5380l is just like this video.

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

      I'm not following you. Are you saying if you use the AOI on a 5380 that it won't let you change the address without downloading? It should work exactly the same.

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

      @@TimWilborne if you use RTU (serial) you need the 5069-serial module and the addressing is then done in the module config and not in the tags. Seems like a step backwards, but ab is really trying not to support anything serial.

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

    Hi Tim. I already setup a Modbus TCP Slave in Studio 5000 for the Allen Bradley Controllogix L73 using Add on via Ethernet module EN2T install with same controller rack at slot 2, so I set MBTU_EnetModulePort is $01$02. and now i plan to set up a Modbus TCP Master using Add on via other Ethernet module EN2T installing in Remote IO rack (Controlnet node 3, slot 16). In this case, I don't know how to set MBTU_EnetModulePort. Please give advice. Thanks

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

    Hi! I’m quite new to PLC programming. I am currently making a program that is responsible for shutting a projector and knowing its power state. I have now program that can send the command. The problem now is that i cannot receive the whole feedback (response) from the projector because read response buffer length appears to be limited to 9.
    I have read that i should do multiple read socket to receive entire application message but i dont know how to implement it.

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

    Hi Tim, can i use this AOI on the studio 5000 emulate? Thank very much for this good video!

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

      I don't know. I've never found Emulate to do exactly what a PLC would do.

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

      Thanks Tim, it's just out of curiosity since we can send and receive data on kepware so it pop-up on my mind that maybe we can use this AOI to command external devices.

  • @75blackviking
    @75blackviking ปีที่แล้ว +1

    This vid was immensely helpful! Saved me weeks worth of work.

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

      That is great to hear!

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

    Thanks bro, i have one question how to display these modbus registers on hmi ??

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

      As long as the HMI supports modbus, all you have to do is enter the IP and address number.

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

      I have used 1769 L24ER QB1B

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

      Can we use move command to move modbus data to plc memory tag and display to the hmi ?

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

    10:06 You are Great, i admire your energy, thanx for your videos:)

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

    is using modbus from PLC to PLC a practical application or just for training purposes?

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

      I wouldn't do it for AB to AB communications but it would allow you to easily communicate between an AB and an Automation Direct PLC or any other device that supports Modbus.

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

      @@TimWilborne ah, being an AB shop I didn't even think of other brands. I gotta get out more :-)

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

      Makes it easier when it is only one brand 😁

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

    great video love you

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

    Hey Tim, do you know if anything like this has been done on a micro 820? I'm trying to use an 820 to actuate a bank of relays, based on data from another widget that has modbus IP slave capability. Building a remote annunciator panel.

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

      Here is one I did on a Modbus server for the Micro820.
      twcontrols.com/lessons/allen-bradley-micro800-modbus-tcp-server-micro820-micro850

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

    Thanks!