Logic Machine Forum
DATA READING FROM PLC - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10)
+--- Thread: DATA READING FROM PLC (/showthread.php?tid=3319)



DATA READING FROM PLC - Frank68 - 26.04.2021

Hello

I need to read / write data from a DB in a SIEMENS S7 1200 PLC, I would like to use modbus TCP, some of you have already done a similar thing.
Is there already an example of json for mapping?

Thanks so much


RE: DATA READING FROM PLC - Daniel - 26.04.2021

Try this simple tool to create it yourself
https://forum.logicmachine.net/showthread.php?tid=3053&pid=19678#pid19678


RE: DATA READING FROM PLC - Frank68 - 26.04.2021

(26.04.2021, 13:59)Daniel. Wrote: Try this simple tool to create it yourself
https://forum.logicmachine.net/showthread.php?tid=3053&pid=19678#pid19678

Ok

I have already used the fileexcel and it is very useful my problem is to understand how the registers are addressed.
EXAMPLE
I have a DB in the PLC which contains the values and which I pass to the modbus TCP server
in the db I have the first real value PLC address 0.0 which register corresponds to 1? datatype I guess 9 is a holding register, writable.

Thanks so much


RE: DATA READING FROM PLC - Daniel - 26.04.2021

I don't know this product, you probably should ask Siemens for help but it worth to try our TCP/RTU read test.