python下载snap7模块pip3installpythonsnap7测试程序demo.pyimportsnap7imports7utilsdefconnectPLC():s7utils.S7200Connect('192.168.1.2',3,0,1,"1PLC")s7utils.S7200Connect('192.168.1.3',3,0,1,"2PLC")s7utils.S7200Connect('192.168.1.4',3,0,1,"3PLC")s7utils.S7200Connect('192.168.1.5',3,0,1,"4PLC")s7utils.S7200Connect('192.168.1.6',3,0,1,"5PLC")defgetAllPLCData():forbzplcins7utils.PLCArray:plcobjbzplc["pl...