5/10/2021 6:55 AM | |
Joined: 4/10/2021 Last visit: 3/21/2024 Posts: 70 Rating: (6) |
Dear Frankyphs When you use modbus protocol to connect and communicate with other devices there are 2 type of limitation. first one is the modbus protocol limitation about max slaves which can connect to a master. (as you know modbus protocol is a master/slave protocol : master ask the slaves and they answer). this limitation is 247 . the second one is the limitation of your physical layer. for sure there are some physical limits to RS485 or what another port you are using as the physical link to the devices. RS485 limits you to 32 devices, (although you can extend that with repeaters, with some consideration). be aware that modbus rtu is not RS485 (modbus usually communicates through RS485 port of devices). about solution for your project based on my experience with modbus I suggest not to use PLC for modbus communication. I have very good experience with DELTA HMIs (HMIs made by delta electronics company). these HMIs have built in instructions for modbus and what you need to do is just connect devices and HMI to a network (using rs485 port of HMI) , define comm. parameters and them using "NUMERIC DISPLAY" element of HMI screens and specify the address you want to read. It will read the value and show it to you. (no need to write any instruction). About 71 devices of your project I am not sure how many devices you can connect to these HMIs (maybe less or more than 32), but I know some of these HMIs have 2xRS485 port and maybe you can use both. Other benefit is that the HMI prices are reasonable and HMI configuration software free to download from Delta website. I suggest first take a look at manual i addressed (especially page 75 and 100)( http://www.deltronics.ru/images/catalogue/IABG_EN_20181002_web.pdf ) and then contact with your country's local distributor of delta products, they can help you more. [I should say that I have no relation with Delta company and not trying to advertise their products]. |
This contribution was helpful to1 thankful Users |
6/19/2021 4:48 PM | |
Joined: 2/22/2016 Last visit: 10/6/2024 Posts: 141 Rating: (30) |
Hi Frankyphs I see that you already have some good answers and suggestions from mihesper400 and danw. I you are going to use a Siemens S7-1200 PLC, I have a library a believe will be very helpful for you when you have multiple modbus devices on a single bus, especially with as many as 71 devices. One of the features is that the library handles disconnected devices, so the PLC would not need to wait unnecessarily long on timeouts. Please check out: https://github.com/rexhip/rexhip, and please ask you need any help. Kind regards, |
Please use the contact form in the link below if you will like to come in contact with me. I don't check personal messages frequently. |
|
Follow us on