Hi,
For communicating with Siemens I used AHMI updated by Mr. Bryan Goose for Siemens protocol though I've made some changes into it to remove the shortcomings of the project like it was unable to read values above M2.7.
Then I was stuck with Modbus Slave drivers but as per Godra's suggestion a link posted by Godra for NModbus
https://www.advancedhmi.com/forum/index.php?topic=2567.0It had codes for Modbus Slave Drivers for all three RTU/ASCII/TCP. I used that as the reference to collect the data.
The software I developed was like OPC. It worked in background to collect the data from from 2 siemens PLCs and 5 ABB PLCs (on Modbus TCP Slave) and send them to Emerson SCADA using Modbus-TCP on IP:127.0.0.1 and Port:502. Though I'm still unable to read the data in Float and Char Format. Hope someone might help out with that too.
Anyways a big thanks to Archie for AHMI and this beautiful forum. And thanks to Godra for that lifesaving suggestion at the right moment.