Studio 5000 Modbus TCP Client Allen Bradley Controllogix Compactlogix

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

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

  • @markfish6433
    @markfish6433 3 ปีที่แล้ว +11

    I used this exact AOI several months back to read PV and SV temperature and status info from a Honeywell controller. Only issue I had was I was doing this from 1 PLC and reading 4 different Honeywell controllers. It worked great for the first couple controllers but as I added more controllers the transaction status had issues and would lock up. I had to cycle through each transaction using a timer to "step" through the transactions in sequence. Turning the enable bit for each transaction on until it was successful or failed then back off then moved to the next transaction.

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

    Great timing on this video. I just got into a chiller running AB hardware a couple of days ago to put in data logging, and turning it into a Modbus server made my life so much easier. Thanks.

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

      Good to hear. It is very easy to use!

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

    This video is extremely helpful. I have a ModMAG Badger Flow Meter which uses ModBus that I need a CompactLogix to communicate with. Wasn't sure how I was going to do it until finding this video. Thank you!

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

    This was very helpful in understanding the set up parameters. It helped me write form a CompactLogix to a SCADPack. Thank you!

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

      Glad it helped Douglas!

  • @jakeyork4759
    @jakeyork4759 3 หลายเดือนก่อน +1

    Fantastic Video!! I used this AOI to bring in data from a GE PQMII Power Meter with GE Multinet RS-485 to Modbus TCP converter. I could easily use GE's Enervista software to monitor the power meter data, but I wanted to see if I could bring at least a few data points into the Compactlogix PLC to be able to send back out either Ethernet IP to another PLC or monitor locally via HMI. The challenging part is that I had to set my begin address in the right spot in order to get the data that I wanted, which I figured out from the memory register map provided by GE. The serial converter could only bring in 120 registers. I ended up setting two different transactions, bringing in a set of 120 registers to the 3xxx input registers, and a second transaction for bringing in 120 more registers and mapping them to the 4xxx holding registers. I'm sure there's a better way, but with the time I had I was able to get it to work! I sure appreciate you putting this together!

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

      I agree. There is some good software out there but sometimes I just need to grab a few points and send them on.

  • @jimabraham6382
    @jimabraham6382 10 หลายเดือนก่อน +2

    Hi Tim,
    In the manual it states: If you change any of these Parameters during operation be sure to reset and then set the AOI Inp_Enable parameter tag.
    How do you reset? I am having a problem with connecting to the other PLC.
    Thanks,
    Jim

    • @TimWilborne
      @TimWilborne  10 หลายเดือนก่อน +2

      Set it to 0 then back to 1.

    • @jimabraham6382
      @jimabraham6382 10 หลายเดือนก่อน +1

      Thanks Tim!@@TimWilborne

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

      You are welcome.

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

    Thanks sir for this Modbus TCP client tutorial..

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

      You are most welcome

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

    Thanks again, Tim! Great tutorial on Modbus TCP. You have a great channel.

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

      Thanks a lot. I appreciate that!

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

    The 5380 has Modbus RTU as well if you get the 5069 serial module. Supports DF1 too. That 5380 series has been quite a problem solver.

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

      Sometimes I'll use a Micro820 just as a Modbus RTU to Ethernet bridge. Haven't used the 5069 serial module.

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

      @@TimWilborne The Micro820 is even cheaper then some of the standalone protocol convertors. Though you will spend more time the first time setting up the code.

  • @etiennemarcoux3498
    @etiennemarcoux3498 26 วันที่ผ่านมา +1

    Thank you, very helpfull, worth the watch

    • @TimWilborne
      @TimWilborne  26 วันที่ผ่านมา +1

      Glad you found it useful.

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

    Thanks Tim! This was a helpful demo

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

      Glad it was helpful!

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

    We will try to use this for connection to Ingersoll Rand compressor controllers.

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

      Great. I have used it several times now with good results

  • @hellbeckham
    @hellbeckham 5 หลายเดือนก่อน +1

    Hi Tim. Your videos have been very helpful to my learning.
    Can I know if I use HMI with PLC using modbus TCP, do I use PLC as a client or server?

    • @TimWilborne
      @TimWilborne  5 หลายเดือนก่อน +2

      For most HMIs, they operate as a client, reading data stored elsewhere so you PLC would be a server.

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

    Hi Tim, I have a compactlogix L33ER communicating to Modbus TCP Gateway .
    Modbus TCP Gateway is connected to Modbus Serial Devices with different Salve ID. Can I read specific Slave from this AOI? Does it mean I have to Specify Station ID = slave ID on those devices?

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

      I'm not sure, I've never tried bridging it to a RTU network

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

    We have controller 10.10.1.50
    Also analyzer 10.10.1.70
    Kindly clear me , We should use Client AIO in plc logic ? And deatiny ip i.e analyzer 10.10.1.70 ?

  • @ilogiconilca
    @ilogiconilca 24 วันที่ผ่านมา +1

    Hi Tim Hope your Doing Good
    What would be the Poll interval if i dont use a 10ms task what if i use 400ms perodic Task then how to calculate the poll interval?

    • @TimWilborne
      @TimWilborne  24 วันที่ผ่านมา +1

      It would still be based on the individual transaction polls but additionally, only when divisible by 400.

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

    you´re the best!!

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

      Thanks 😊

  • @elamparithi1769
    @elamparithi1769 7 หลายเดือนก่อน +1

    Hi Tim, I used the Modbus AOI, But we have some Overlap and overload Issue. I tried all potential troubleshoot methods, Can you suggest any troubleshooting method

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

      Check the data types when you are specifying the lengths.

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

    Thanks for the video Tim, i think i'm on the right track but the TransStat reads (-1 = exception) do you know what this means?

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

    just shared this with a teammate that is looking for this info.

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

      Glad I could help out.

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

    Is there a way to automatically “map” controller tags to modbus output/input addresses in Studio 5000? For example I have 30 user defined tags, and i just want to automatically map them from modbus address coils xxx[0] to [29] via the AOI instead of going through them one by one

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

      If the data you want in the Modbus registers is in a consecutive order then you could use the CPS instruction.

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

    Very nice and helpful...thanks

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

      You are welcome 😁

  • @ryotronicsinc.4460
    @ryotronicsinc.4460 2 ปีที่แล้ว +1

    Thanks much, Tim!! We really appreciate and enjoy your videos a lot. We are thinking of maybe sponsoring your channel, please let us know how do we proceed. Thanks!

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

      We don't accept sponsors on our main channel, the only way to get mentioned on it is to convince us to use your products, but our 2nd channel does highlight products that we find helpful.
      twcontrols.com/product-sponsorships

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

    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.

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

    Nice stuff, Tim!

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

    Any recommendations for an L61 running v16? I also have some 1400s running v17.

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

      You got me, how did you get a 1400 to run in Studio 5000?

  • @andersstergaard8143
    @andersstergaard8143 2 หลายเดือนก่อน +1

    Hi I was looking your movie several times because im having a challange with my simulated 1756-L81E PLC. Do you know if its possible to use Modbus TCP Server on a 1756-L81E? Thanks

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

      Yes, see if this video helps
      th-cam.com/video/qcF4m7rPjkw/w-d-xo.html

    • @andersstergaard8143
      @andersstergaard8143 2 หลายเดือนก่อน +1

      @@TimWilborne greatfull for your very quick answer but i do exacly the same but keep do the failur status error code -8
      by the way enjoying your videos :)

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

      What is error code 8 when you look in the documentation?

    • @andersstergaard8143
      @andersstergaard8143 2 หลายเดือนก่อน +1

      @@TimWilborne error code -8 "Create Socket Message failed". If i look under the MSG_Create it says Error code 16#0005 and Error Text: Class or instance not supported. I guess it means that rockwells echo 1756-L81E do not support this library? Thank you for taking time to answer my questions

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

      That sounds more like a path problem. I'm using this instruction on an L81E in our training center. Double check those initial settings in the user guide

  • @marvincarvajalsegura5969
    @marvincarvajalsegura5969 2 หลายเดือนก่อน +1

    Have anyone recently download the add on? I can´t find it in the Rockwell Page

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

      Try the following link
      controls.tw/yt-modbus-aoi

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

    can you put that procedure doc youre reading off of in the description please?

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

      It is in the package you download from Rockwell's sample programs for the AOI

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

      @@TimWilborne Ahhh yes thank you

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

      You are welcome

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

    My Sts_Overload bit is enabled and im not sure on how to fix it. Do you know what this means and any ideas for me to try?

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

      The documentation on this AOI is well written and usually spot on, here is an excerpt from the manual. You likely need to increase your polling rate.
      If selected PollInterval settings are marginally too fast you will likely see occasional Sts_Overlap errors
      and your system should work reasonably well.
      If selected PollInterval settings are extremely out of line, you will see both Sts_Overlap and
      Sts_Overload errors and your system will not work reliably. If you are getting Sts_Overload errors, you
      must adjust your PollInterval settings.

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

    Is this AOI available for ControlLogix PLC's? I usually use a RedLion DSPLE for any type of protocol converting, but if I have just a few TCP devices and can get away with just using an AOI then I would be happy to save the customer 1 to 2k.

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

      It works with all Studio 5000 PLCs including the Compactlogix. Also, the Micro800s do Modbus TCP and RTU natively and can act as a bridge.

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

      ​@TimWilborne Gotcha. Reason why I wasn't sure about the control logix is because they don't have an embedded ethernet like the compacts, well at least anything below an L81 doesn't, but because they use ethernet cards and there's different variations and models of ethernet cards for control logix processors, I thought it might of not been supported or at least had a different AOI for each different model and revision of ethernet cards, but if that's not the case then awesome! I'm assuming though in the control logix AOI you'd have to point it at the ethernet card itself so it can identify what slot and what it's on. I guess if there was a different ethernet card the AOI might have logic and does a GSV to identify which type of card it is then executes accordingly based on that. I did know that regarding the Micro 800's. I've used them for small jobs before to monitor some modbus values last one was on an on a HVAC system, controlling the humidity and temperature of a room where they have thermoforming for composite papermilling where they make like paper plates, bowls, to go boxes, and etc. The smallest change in temperature and humidity can mess up their product. Actually I did their whole DCS and SCADA system 4 years ago and now they're expanding investing 340 million and I'm involved again we're just finishing up Phase 1 now which added several hundred of new I/O points by itself we called it project WildCat because of how crazy and fast pace it was moving now we're about to start Phase 2 and 3 which we're calling this Phase project Hiawassee and the original DCS (1756-L84E) is nearly full capacity wise it's getting close to 90%, so in the panels that are being built in our panel shop right now for Hiawassee we will have four 1756-L84E's. They will be redundant pairs. Then building bunch of RIO panels. Which when we did the original start up 4 years ago and they bought this old plant to convert it over to a papermill they made us reuse all the original RIO cabinets and they were all Siemens profibus, so we had to use a Prosoft card to communicate to thousands of IO points, but being that this will be all new equipment and they're not being stingy on cost we're building it right we'll have everything on a redundant DLR all with stratix switches and AB VFD's and E300's and we took PlantPAX made changes to where it's better. Especially with the motors and valves we made it to where a VSD control module (AOI) will work with any type of motor by just turning a bit on or off telling it that if it has speed feedback then the VSD will work to control VFD's and if that bit is off then it'll work as a hard wired motor either with a E300 or just plain IO. Then samething with the valves if they're control variable valves or just on a simple solenoid. Even with P_AI we have it to where it'll work with any kind of PV, ethernet, analog. We added so many nice features to the plantpax faceplate themselves that if they were to swap a motor to a VFD all the operator has to do is flip a bit and select VFD type PowerFlex 525, 400, 7xx, Siemens, Lenza, etc and it will do everything they need it too. There's too many features we added and made PlantPax much better to name off here, but after we did that for this project since things were constantly changing and operators can't program and as integrators we can't always be onsite or remote in, that they can do a lot of it without our help, that it changed the standard for us. Some of the features my colleague developed into it, Rockwell is supposedly going to implement some of them theirselves. Latest thing I added was a little area to keep track of loopchecks while we did this startup for WildCat if you punch in a date of when it was loopchecked then this little red symbol that says "LC" like this (without the cigarette) and the letters 'LC' 🚭 saying that it hasn't been loop checked, disappears when the date of completion is punched in on the faceplate. Then we added maintenance notes if it's being worked on then something similar will pop up saying it's locked out or being worked on. There's bunch of other features I'd love to ramble on about that I'm proud of, but this has probably been my most favorite project that I've done in several years. Since I've started with this company and do more Plant stuff then I do with machinery and robotics. I do miss working with robots.

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

      You specify the IP address and the slot, so the processor and Ethernet port do not have to be the same. It is a well written AOI.
      That L84E is a beast, that is a big system if you need 4 of them. Good luck on project Wildcat!

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

    Is it possible to use it in redundant equipment (Contrologix hotstandby)?

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

    Im using a control logix, I already followed all the steps for the modbus tcp client, now will my pv800 be the client? Do I still have to add the IP address,1,0.?

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

      It would be the opposite but can the Panelview 800 be a Modbus server? I should play with modbus on the Panelview 800 sometime.

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

      @@TimWilborne yes I can switch it so it can be a server . Just can't figure out if I have to set the pv800 differently other than modbus. I have pv800 ver 8,and ccw ver 22..

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

      Good to know, I didn't realize you could make the Panelview 800 a Modbus server. I'll have to look at it some time.

  • @justinpuzak2558
    @justinpuzak2558 11 หลายเดือนก่อน +1

    I know it says ControlLogix in the title of the video. I just want to 100% confirm.
    Can a ControlLogix PLC utilize this ModbusTCP AOI? My application is not using a Compactlogix.

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

      Yes, just set up a Controllogix using it at the training center today.

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

    Show error overlap how to resolve

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

    How to increase no of transaction

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

    Where's the link to the AOI download?

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

      Google Rockwell Sample Downloads

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

    TIm, great video ! I need to bring in a float value from a device via MB. The device is the server according to your great explanation and is outputting a float value to 400100. Do you know if this AOI will convert MB data to float in Compact Logix ?

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

      Hi Linda, you'll have to break it into two consecutive blocks.

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

      @@TimWilborne For example, if my MB values are: 0000 F641 (depending on Byte order), I will bring that in to my Compact Logix as 0 and 63041 (converting F641 to decimal). I need the actual floating point decimal value, which in this case is 30.75. Will the AOI do that conversion or will need additional programming to do this? I think a Red Lion Converter will do this for me but if the AOI can do it I can eliminate one piece of hardware.

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

      @@lindadeutsch5810 If it looks strange when it comes it, that is where you swap bytes and words. Chances are that will be the culprit. I should do a video on that.

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

      @@TimWilborne I looked into the AOI documentation and I don’t see a way to bring a MB value in that is formatted as float. I think it will bring in the data but it must be converted to decimal format using some other method. Yes, byte order is critical. Thanks for taking the time to reply and thanks for the great videos!

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

      We have had success taking the float value, multiplying by 100, for 2 decimal places to create a REAL and on then on receiving end, Taking that REAL value and then dividing by 100.
      What you multiply by depends on how many decimal places you need. 10=1dp, 100=2dp, 1000=3dp, etc...…

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

    My Plc Compact logic. And two rap system device IP address 192.168.1.250 and 251. Every device 14 Level transmitter connect. I setup to modbus client aio. And setup ip and address. But Program data overlap. Any suggestion.

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

    How to map the signal comes into compact logix to perticuler tag

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

      Great Videos Tim! I am impressed. I have the same question, how do I map an Analog Input through the Modbus. I am currently reading multiple analogs into my CLX. Now I need to map one of them to a local device (a Jumo Logoscreen FD chart recorder to be specific) through modbus. In the video I only saw you working with INT's, I will need a Real or a Float.

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

    can we generate polling only on " when there is a change in state" ?

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

      Maybe on blocks you are writing to but it would be crude, not like you can with produced and consumed tags

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

      @@TimWilborne Hi Tim , thanks for your reply. This was my requirement as if i was writing the registers continuously my device was not functioning. So according to supplier , it has to be written on “state change” only. I did this by enabling the transaction enable bit for 1 sec whenever there is change in state of my boolean variable

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

      Great!

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

    thanks very much

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

    How send float value to clinet modbus TCP ip device, because in this AOI there is only INT option and chiller recirve only float value how to set?

    • @Dizzydre21
      @Dizzydre21 4 หลายเดือนก่อน

      This is two years late, but usually floats will just take up adjacent registers. You can also just convert it to an INT. Just multiply it by 10 or 100 to keep 1 or 2 decimal places.

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

    How can i read and write 32 bit real value?

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

      Use the COP instruction and copy the real to the INT that you're sending over modbus with a length of two. That'll copy 32 bits. Then do the opposite on the other side. You may need this video to rearrange your data when it comes through.
      th-cam.com/video/o3OWV8Q_U7s/w-d-xo.html

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

    don't need to use device id? how can i modify?

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

      I'm trying to communicate modbus tcp gateway with the ATV320 SCHNEIDER and using AIO, but it can't exchange data. How can I do it?

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

      @@teixeira3021 you may need to set the node address of the serial device to 0.

  • @garykeeney2431
    @garykeeney2431 2 หลายเดือนก่อน +1

    Thanks for revealing this "hidden" gem. It's a shame when politics infiltrates automation.