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... - วิทยาศาสตร์และเทคโนโลยี
Thank you very much ! Really well explained ! This video helped me a lot to solve my modbus doubts using compactlogix
!
Glad it helped! Welcome!
Very well explained, thank you. Keep publishing similar knowledge base videos.
Thank you, I will be. Welcome more friends come to my channel!
Thank u for this, helped alot in a project im working on!
I will follow u for future knowledge, i enjoyed ur work alot!
Welcome to view more videos in my channel! Glad they could be helpful!
Very well explained, very nice video
Thanks my friend, hope it could help
great video thank you
Glad you enjoyed it
thank you so much, make it very easy
Thanks for watching! Welcome!
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.
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.
@@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.
@@rajkrishna336 Glad to hear you found solution
Why doesn’t the rung go green when I connect to the PLC?
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.
Yes, I think you can, a physical port can be shared used.
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 ?
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
Unfortunately, it doesn't work
@@hichamcool76 I recommend you contact AB support for your case.
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
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.
Thank a lot,
what about if you need to send custome tcp modbus msg?
Hi, I am getting sts_overlap and st_overload error and i'm not getting the data. What to do?
I think you instant block from each FB is overlap. Pls check your program.
Is it possible to comunicate with two modbus slave devices?
Yes
How can i solved fault -8?, nice video btw :)
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
How to display these values on hmi ?
Pls search my SCADA and HMI playlist
Hi mate, How can i solved fault -8?
same man, you solved it? :(
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