S7-1200的ModbusTCP通讯参考链接
https://www.siemensplc.com/biancheng/21060.html#:~:text=MB_SERVER%20%E8%A2%AB%E5%8A%A8%E4%BE%A6%E5%90%AC%20modbus%20%E5%AE%A2%E6%88%B7%E7%AB%AF%E6%B6%88%E6%81%AF%EF%BC%8C%E5%B9%B6%E5%B0%86%E8%BF%9B%E5%85%A5%E6%B6%88%E6%81%AF%E7%9A%84%20IP%20%E5%9C%B0%E5%9D%80%E4%B8%8E%E5%AD%98%E5%82%A8%E5%9C%A8%E7%9B%B8%E5%BA%94%20RemoteAddress%20ADDR,%E5%90%84%20MB_SERVER%20%E5%B0%86%E5%93%8D%E5%BA%94%E4%BD%BF%E7%94%A8%E4%BB%BB%E6%84%8F%20IP%20%E5%9C%B0%E5%9D%80%E7%9A%84%E6%89%80%E6%9C%89%20Modbus%20TCP%20%E5%AE%A2%E6%88%B7%E7%AB%AF%E3%80%82