S7-200smart PLC通讯时,需要对安装路径下driver文件夹中的kvS7200.ini文件进行设置,不同型号的smart设置不一样,下面列举几个型号的设置:
【SR60】
[192.168.2.1:0]
/SMART
LocalTSAP=0101
RemoteTSAP=0101
TpduTSAP=000A
SourceTSAP=000A
【CR40】、【CR60】
[192.168.2.1:0]
/SMART
LocalTSAP=0101
RemoteTSAP=0101
TpduTSAP=000A
SourceTSAP=0001
【1SA00】
[192.168.2.1:0]
/SMART
LocalTSAP=0101
RemoteTSAP=0101
TpduTSAP=000A
SourceTSAP=031C
【ST40】
[192.168.2.1:0]
/SMART
LocalTSAP=0101
RemoteTSAP=0101
TpduTSAP=000A
SourceTSAP=0009
【SR20】
[192.168.2.1:0]
/SMART
LocalTSAP=0101
RemoteTSAP=0101
TpduTSAP=000A
SourceTSAP=0009