[Libnodave-users] Does libnodave support S7 200 smart?
Status: Beta
Brought to you by:
lettoz
|
From: AlanHuang <ala...@sa...> - 2016-03-28 13:04:32
|
Dear all,
Does libnodave support s7 200 smart by Ethernet port? I have make a test it
not work, the same code work fine with s7 200 and s7 300.
The cpu is CPU ST40
The following is the debug message:
C:\temp\s7>testISO_TCP -d -2 192.168.2.3
openSocketw.c: enter OpenSocket
openSocketw.c: 1
openSocketw.c: 2 6600
openSocketw.c: peer:192.168.2.3=50505920
openSocketw.c: 6
openSocketw.c: 7
openSocketw.c: socket is 84
openSocketw.c: setsockopt No error 0
openSocketw.c: 8
openSocketw.c: Connected to host: 192.168.2.3
send packet: :
0:0x03,0x00,0x00,0x16,0x11,0xE0,0x00,0x00,0x00,0x01,
0x00,0xC1,0x02,0x4D,0x57,0xC2,
10:0x02,0x4D,0x57,0xC0,0x01,0x09,
IF1 daveConnectPLC() step 1. got packet: :
IF1 error in daveConnectPLC() step 1. retrying...IF1 daveConnectPLC() step
1. go
t packet: :
IF1 error in daveConnectPLC() step 1. retrying...IF1 daveConnectPLC() step
1. go
t packet: :
IF1 error in daveConnectPLC() step 1. retrying...Couldn't connect to PLC.
Please make sure you use the -2 option with a CP243 but not with CPs 343 or
443
Thanks.
Alan
|