Open
Description
I have a question about using Implicite Messaging. After some time I found out how to apply my EDS file to the ImplicitMessagingExample.cpp
.
When I run the example the following output is produced:
[DEBUG] Opened TCP socket fd=3
[DEBUG] Connecting to 192.168.0.2:44818
[INFO] Registered session 748366592
[INFO] Send request: service=0x54 epath=[classId=6 objectId=1]
[INFO] Open IO connection O2T_ID=2b9d32 T2O_ID=63cf0001 SerialNumber 1
[DEBUG] Opened UDP socket fd=4
[INFO] Open UDP socket to send data to 192.168.0.2:2222
[DEBUG] Opened UDP socket fd=5
[WARNING] Connection SeriaNumber=1 is closed by timeout
[INFO] Closed
[DEBUG] Close UDP socket fd=4
[WARNING] Attempt to close an already closed connection
[DEBUG] Close UDP socket fd=5
[INFO] Unregistered session 748366592
[DEBUG] Close TCP socket fd=3
The corresponding wireshark dump can be found in the attached file. implicitMessagingExample.zip
In the Wireshark dump one can see the following:
No. Time Source Source Port Destination Protocol Dest Port Length Info
27 2.455733 192.168.0.2 2222 192.168.0.5 CIP I/O 2222 70 Connection: ID=0x63CF0001, SEQ=0000000084, T->O
31 3.314139 192.168.0.5 64662 192.168.0.2 CIP I/O 2222 74 Connection: ID=0x002B9D32, SEQ=0000000001, O->T
36 3.455587 192.168.0.2 2222 192.168.0.5 CIP I/O 64662 70 Connection: ID=0x63CF0001, SEQ=0000000085
38 4.338032 192.168.0.5 64662 192.168.0.2 CIP I/O 2222 74 Connection: ID=0x002B9D32, SEQ=0000000002, O->T
39 4.455630 192.168.0.2 2222 192.168.0.5 CIP I/O 64662 70 Connection: ID=0x63CF0001, SEQ=0000000086
47 5.372058 192.168.0.5 64662 192.168.0.2 CIP I/O 2222 74 Connection: ID=0x002B9D32, SEQ=0000000003, O->T
48 5.455641 192.168.0.2 2222 192.168.0.5 CIP I/O 64662 70 Connection: ID=0x63CF0001, SEQ=0000000087
There is traffic from target to originator and vice versa. But none of these packages is printed in the example program.
What looks strange to me is the fact that the connection ID=0x63CF0001 changes the port between package 27 and 36.
Is there something I did wrong?
Best regards
Mario
Metadata
Metadata
Assignees
Labels
No labels