7/23/2018 4:47 PM | |
Joined: 1/2/2017 Last visit: 1/17/2025 Posts: 288 Rating:
|
Dear experts Im trying to communicate with modbus Emerson CNG050 device through cp 340, here are some details of what I want and what I did: I want to read 7 real values from the device that starting at address 247 and because it is Floating-point register pairs then it continue to 262 which mean that I have to read 14 registers. the device address is 1 reading command is 4 start reading address is 247 dec as F7 as hex number of registers is 14 dec , E hex and the LRC is F6 all these are in the modbus send DB, I also have receive DB. I checked the device with my PC and it working fine with the setting that I put in the HW configuration. put I could not get it to work with siemens PLC. I send the request but I dont get any answer I attached the project here. please see it and help me to see what Im doing wrong. I forget to mention that I use 2 wires RS 485 kind regards Ebrahem Attachmentmodbus_project.zip (58 Downloads) |
Last edited by: T_Ebrahem at: 7/23/2018 4:50:22 PMLast edited by: T_Ebrahem at: 7/23/2018 4:50:47 PMDisclaimer: While I strive to ensure that the content of posts and answers is accurate and complete, my posts and answers are provided “as is” and “as available.” Your use of my posts and answers content is entirely at your own risk. |
|
7/25/2018 8:34 AM | |
Joined: 1/2/2017 Last visit: 1/17/2025 Posts: 288 Rating:
|
Thank you Smiffy I managed to convert 4 bytes to real value by using tags overlapping method which described here. I also attached a screenshot of my FC. Kind Regards Ebrahem |
Last edited by: Jen_Moderator at: 7/25/2018 11:55:37 AMOptimized link. Disclaimer: While I strive to ensure that the content of posts and answers is accurate and complete, my posts and answers are provided “as is” and “as available.” Your use of my posts and answers content is entirely at your own risk. |
|
Follow us on