圖片:
現(xiàn)在有一臺(tái)smart200與組態(tài)王6.55通訊,一直通訊不上,故求教。
去官網(wǎng)下載了最新版S7_TCP.dll (版本 60.15.44.30).
打開(kāi)驅(qū)動(dòng)程序,里面有一個(gè)文件夾kvS7200, 程序如下:
求教:我是否應(yīng)該改成如圖所示參數(shù)(我PLC IP為192.168.2.11)
[Local]
IP=0.0.0.0
StringType=0
PackLen = 200
[SLEEP]
;發(fā)送數(shù)據(jù)幀之前延時(shí),單位是毫秒 針對(duì)所有設(shè)備起作用
SendFramFrontsleep = 0
;發(fā)送數(shù)據(jù)幀之后延時(shí)接收數(shù)據(jù),單位是毫秒 針對(duì)所有設(shè)備起作用
SendFramBacksleep = 0
[192.168.2.1:0:102]
/SMART
LocalTSAP=0201
RemoteTSAP=0201
TpduTSAP=000A
SourceTSAP=0000
[192.168.31.12:0]
LocalTSAP=4D57
RemoteTSAP=4D57
TpduTSAP=000A
SourceTSAP=0001
[192.168.31.51:0]
/SMART
LocalTSAP=0101
RemoteTSAP=0101
TpduTSAP=000A
SourceTSAP=0000
[192.168.2.2:0]
/SMART
LocalTSAP=0101
RemoteTSAP=0101
TpduTSAP=000A
SourceTSAP=0001
[192.168.2.3:0]
/SMART
LocalTSAP=0101
RemoteTSAP=0101
TpduTSAP=000A
SourceTSAP=0001