This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

DATA READING FROM PLC
#1
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
Reply
#2
Try this simple tool to create it yourself
https://forum.logicmachine.net/showthrea...8#pid19678
------------------------------
Ctrl+F5
Reply
#3
(26.04.2021, 13:59)Daniel. Wrote: Try this simple tool to create it yourself
https://forum.logicmachine.net/showthrea...8#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
Reply
#4
I don't know this product, you probably should ask Siemens for help but it worth to try our TCP/RTU read test.
------------------------------
Ctrl+F5
Reply


Forum Jump: