a sample program to TCP data exchange between two S7-1200.
https://www.automation.siemens.com/W...anguage=en#top