8/4/2021 4:48 PM | |
Joined: 9/27/2006 Last visit: 9/4/2024 Posts: 12282 Rating:
|
Hello Zach; You van use the MB_Client instruction to read/write to any Modbus server through the integrated Profinet port of the S7-1200: https://support.industry.siemens.com/cs/ww/en/view/109755202/112383787275 Is you LED display configured as a Modbus server, to your knowedge? It seems you should be able to do the same with a CP 1243-1, wth the following caveats: Hope this helps, Daniel Chartier |
Last edited by: dchartier at: 08/04/2021 16:56:04 |
|
8/5/2021 12:01 PM | |
Posts: 4 Rating:
|
I'm not sure about if the display is configured as a server or client. The documentation for the display says this: "As you create a message in the ViewMarq software, the software creates an ASCII string of commands, called a “Command String” in the ViewMarq software. This string may be pasted into your PLC’s instruction or memory, then logic in the PLC will send the message to the ViewMarq."
|
8/5/2021 12:58 PM | |
Joined: 3/5/2014 Last visit: 8/5/2022 Posts: 5521 Rating:
|
hi Zach Byrd, Modbus usually uses register where you can read from or write to. See this FAQ: How do you address the memory areas in the SIMATIC S7-1200/S7-1500 and in the Modbus device in the case of Modbus/TCP data communication?The display should be server, I think. If i´m rigth you need to use the Modbus-Client instruction, so the PLC can act as client.An application sample for Modbus TCP communication can be found here: How do you program and parameterize Modbus/TCP communication between two S7-1200 CPUs?Modbus is a standardized protocol, so it doesn´t make a big difference if you have 2 S7-1200 or one other device. hope this helps, regards, |
FCK WAR! |
|
8/6/2021 12:29 PM | |
Posts: 4 Rating:
|
And here's my DB that I'm writing from. |
Follow us on