Posted 14 Dec 2020 Dear allI have DVP14SS211R series Delta PLC Which is having 24V DC supply voltage. I am using PLC as master and My end device as slave. My slave device set device_iD=1I am using Modbus RTU protocol for Function code1baud rate =9600parity =noneStop bit=1data length=8I would like to know how to send request with Function code 1(Read coil Register). i have attached code reference. Communication block it wont give error it shows 0 .means No error Share this post Link to post Share on other sites
Posted 15 Dec 2020 I have tried sample code .But not working here. i wanted to post code but it wont allow me to add images. https://ibb.co/BGmcykChttps://ibb.co/hKhmSXZhttps://ibb.co/WFJwd36https://ibb.co/FbSRtWbhttps://ibb.co/WVbk0Kwhttps://ibb.co/0KMs38Zhttps://ibb.co/TmG9zBxhttps://ibb.co/McnHWTHhttps://ibb.co/ckTZQN6 Share this post Link to post Share on other sites
Posted 18 Dec 2020 Modbus RTU protocol ---->modbus module and plc setting must match baud rate,parity,Stop bit & data length The attached program is for Dvp-Es2. PLC Com1 is for download/upload and MODBUS address id is "1".PLC Com3 MODBUS address id is "2". MY MODBUS MODULE HAVE TO START FROM 3 ONWARDS. DOWNLOAD "MODBUS POLL" SLAVE AND INSTALL ON COMPUTER.WITH A RS485 ATTACH TO COMPUTER COM PORT AND TEST WITH THE PLC. ModBUS_REV2_ES2.isp Share this post Link to post Share on other sites