Hello,
I try to establish a connection between a PIO master(CIFX 50 RE) and a PIO Slave(IXXAT Modul).
But when I try to start the connection a error Message (COM Flag not set ) appears.
Here is the wireshark Log of the connection try:
No. Time Source Destination Protocol Info
1 0.000000 Hilscher_20:ca:cf Broadcast ARP Gratuitous ARP for 192.168.99.3 (Request)
Frame 1 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: Hilscher_20:ca:cf (00:02:a2:20:ca:cf), Dst: Broadcast (ff:ff:ff:ff:ff:ff)
Address Resolution Protocol (request/gratuitous ARP)
No. Time Source Destination Protocol Info
8 0.999955 Hilscher_20:ca:cf Broadcast ARP Gratuitous ARP for 192.168.99.3 (Request)
Frame 8 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: Hilscher_20:ca:cf (00:02:a2:20:ca:cf), Dst: Broadcast (ff:ff:ff:ff:ff:ff)
Address Resolution Protocol (request/gratuitous ARP)
No. Time Source Destination Protocol Info
11 1.909209 IxxatAut_02:40:8b LLDP_Multicast LLDP Chassis Id = iemodule Port Id = port-001 TTL = 20
Frame 11 (97 bytes on wire, 97 bytes captured)
Ethernet II, Src: IxxatAut_02:40:8b (00:05:94:02:40:8b), Dst: LLDP_Multicast (01:80:c2:00:00:0e)
Link Layer Discovery Protocol
No. Time Source Destination Protocol Info
12 1.999906 Hilscher_20:ca:cf Broadcast ARP Gratuitous ARP for 192.168.99.3 (Request)
Frame 12 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: Hilscher_20:ca:cf (00:02:a2:20:ca:cf), Dst: Broadcast (ff:ff:ff:ff:ff:ff)
Address Resolution Protocol (request/gratuitous ARP)
No. Time Source Destination Protocol Info
15 3.680136 Hilscher_20:ca:cf PN-MC_00:00:00 PN-DCP Ident Req, Xid:0x6ddc5, NameOfStation:"iemodule"
Frame 15 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: Hilscher_20:ca:cf (00:02:a2:20:ca:cf), Dst: PN-MC_00:00:00 (01:0e:cf:00:00:00)
PROFINET acyclic Real-Time, ID:0xfefe, Len: 44
PROFINET DCP, Ident Req, Xid:0x6ddc5, NameOfStation:"iemodule"
No. Time Source Destination Protocol Info
16 3.681048 IxxatAut_02:40:8a Hilscher_20:ca:cf PN-DCP Ident Ok , Xid:0x6ddc5, NameOfStation:"iemodule", Dev-Options(9), TypeOfStation, Dev-ID, Dev-Role, IP
Frame 16 (116 bytes on wire, 116 bytes captured)
Ethernet II, Src: IxxatAut_02:40:8a (00:05:94:02:40:8a), Dst: Hilscher_20:ca:cf (00:02:a2:20:ca:cf)
PROFINET acyclic Real-Time, ID:0xfeff, Len: 100
PROFINET DCP, Ident Ok , Xid:0x6ddc5, NameOfStation:"iemodule", Dev-Options(9), TypeOfStation, Dev-ID, Dev-Role, IP
No. Time Source Destination Protocol Info
17 5.880035 Hilscher_20:ca:cf PN-MC_00:00:00 PN-DCP Ident Req, Xid:0x6ddc6, NameOfStation:"iemodule"
Frame 17 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: Hilscher_20:ca:cf (00:02:a2:20:ca:cf), Dst: PN-MC_00:00:00 (01:0e:cf:00:00:00)
PROFINET acyclic Real-Time, ID:0xfefe, Len: 44
PROFINET DCP, Ident Req, Xid:0x6ddc6, NameOfStation:"iemodule"
No. Time Source Destination Protocol Info
18 5.880921 IxxatAut_02:40:8a Hilscher_20:ca:cf PN-DCP Ident Ok , Xid:0x6ddc6, NameOfStation:"iemodule", Dev-Options(9), TypeOfStation, Dev-ID, Dev-Role, IP
Frame 18 (116 bytes on wire, 116 bytes captured)
Ethernet II, Src: IxxatAut_02:40:8a (00:05:94:02:40:8a), Dst: Hilscher_20:ca:cf (00:02:a2:20:ca:cf)
PROFINET acyclic Real-Time, ID:0xfeff, Len: 100
PROFINET DCP, Ident Ok , Xid:0x6ddc6, NameOfStation:"iemodule", Dev-Options(9), TypeOfStation, Dev-ID, Dev-Role, IP
No. Time Source Destination Protocol Info
19 6.909268 IxxatAut_02:40:8b LLDP_Multicast LLDP Chassis Id = iemodule Port Id = port-001 TTL = 20
Frame 19 (97 bytes on wire, 97 bytes captured)
Ethernet II, Src: IxxatAut_02:40:8b (00:05:94:02:40:8b), Dst: LLDP_Multicast (01:80:c2:00:00:0e)
Link Layer Discovery Protocol
No. Time Source Destination Protocol Info
21 8.079931 Hilscher_20:ca:cf PN-MC_00:00:00 PN-DCP Ident Req, Xid:0x6ddc7, NameOfStation:"iemodule"
Frame 21 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: Hilscher_20:ca:cf (00:02:a2:20:ca:cf), Dst: PN-MC_00:00:00 (01:0e:cf:00:00:00)
PROFINET acyclic Real-Time, ID:0xfefe, Len: 44
PROFINET DCP, Ident Req, Xid:0x6ddc7, NameOfStation:"iemodule"
No. Time Source Destination Protocol Info
22 8.080856 IxxatAut_02:40:8a Hilscher_20:ca:cf PN-DCP Ident Ok , Xid:0x6ddc7, NameOfStation:"iemodule", Dev-Options(9), TypeOfStation, Dev-ID, Dev-Role, IP
Frame 22 (116 bytes on wire, 116 bytes captured)
Ethernet II, Src: IxxatAut_02:40:8a (00:05:94:02:40:8a), Dst: Hilscher_20:ca:cf (00:02:a2:20:ca:cf)
PROFINET acyclic Real-Time, ID:0xfeff, Len: 100
PROFINET DCP, Ident Ok , Xid:0x6ddc7, NameOfStation:"iemodule", Dev-Options(9), TypeOfStation, Dev-ID, Dev-Role, IP
No. Time Source Destination Protocol Info
25 10.279842 Hilscher_20:ca:cf PN-MC_00:00:00 PN-DCP Ident Req, Xid:0x6ddc8, NameOfStation:"iemodule"
Frame 25 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: Hilscher_20:ca:cf (00:02:a2:20:ca:cf), Dst: PN-MC_00:00:00 (01:0e:cf:00:00:00)
PROFINET acyclic Real-Time, ID:0xfefe, Len: 44
PROFINET DCP, Ident Req, Xid:0x6ddc8, NameOfStation:"iemodule"
No. Time Source Destination Protocol Info
26 10.280804 IxxatAut_02:40:8a Hilscher_20:ca:cf PN-DCP Ident Ok , Xid:0x6ddc8, NameOfStation:"iemodule", Dev-Options(9), TypeOfStation, Dev-ID, Dev-Role, IP
Frame 26 (116 bytes on wire, 116 bytes captured)
Ethernet II, Src: IxxatAut_02:40:8a (00:05:94:02:40:8a), Dst: Hilscher_20:ca:cf (00:02:a2:20:ca:cf)
PROFINET acyclic Real-Time, ID:0xfeff, Len: 100
PROFINET DCP, Ident Ok , Xid:0x6ddc8, NameOfStation:"iemodule", Dev-Options(9), TypeOfStation, Dev-ID, Dev-Role, IP
No. Time Source Destination Protocol Info
27 11.909319 IxxatAut_02:40:8b LLDP_Multicast LLDP Chassis Id = iemodule Port Id = port-001 TTL = 20
Frame 27 (97 bytes on wire, 97 bytes captured)
Ethernet II, Src: IxxatAut_02:40:8b (00:05:94:02:40:8b), Dst: LLDP_Multicast (01:80:c2:00:00:0e)
Link Layer Discovery Protocol
No. Time Source Destination Protocol Info
28 12.479743 Hilscher_20:ca:cf PN-MC_00:00:00 PN-DCP Ident Req, Xid:0x6ddc9, NameOfStation:"iemodule"
Frame 28 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: Hilscher_20:ca:cf (00:02:a2:20:ca:cf), Dst: PN-MC_00:00:00 (01:0e:cf:00:00:00)
PROFINET acyclic Real-Time, ID:0xfefe, Len: 44
PROFINET DCP, Ident Req, Xid:0x6ddc9, NameOfStation:"iemodule"
No. Time Source Destination Protocol Info
29 12.480725 IxxatAut_02:40:8a Hilscher_20:ca:cf PN-DCP Ident Ok , Xid:0x6ddc9, NameOfStation:"iemodule", Dev-Options(9), TypeOfStation, Dev-ID, Dev-Role, IP
Frame 29 (116 bytes on wire, 116 bytes captured)
Ethernet II, Src: IxxatAut_02:40:8a (00:05:94:02:40:8a), Dst: Hilscher_20:ca:cf (00:02:a2:20:ca:cf)
PROFINET acyclic Real-Time, ID:0xfeff, Len: 100
PROFINET DCP, Ident Ok , Xid:0x6ddc9, NameOfStation:"iemodule", Dev-Options(9), TypeOfStation, Dev-ID, Dev-Role, IP
No. Time Source Destination Protocol Info
30 14.679635 Hilscher_20:ca:cf PN-MC_00:00:00 PN-DCP Ident Req, Xid:0x6ddca, NameOfStation:"iemodule"
Frame 30 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: Hilscher_20:ca:cf (00:02:a2:20:ca:cf), Dst: PN-MC_00:00:00 (01:0e:cf:00:00:00)
PROFINET acyclic Real-Time, ID:0xfefe, Len: 44
PROFINET DCP, Ident Req, Xid:0x6ddca, NameOfStation:"iemodule"
No. Time Source Destination Protocol Info
31 14.680633 IxxatAut_02:40:8a Hilscher_20:ca:cf PN-DCP Ident Ok , Xid:0x6ddca, NameOfStation:"iemodule", Dev-Options(9), TypeOfStation, Dev-ID, Dev-Role, IP
Frame 31 (116 bytes on wire, 116 bytes captured)
Ethernet II, Src: IxxatAut_02:40:8a (00:05:94:02:40:8a), Dst: Hilscher_20:ca:cf (00:02:a2:20:ca:cf)
PROFINET acyclic Real-Time, ID:0xfeff, Len: 100
PROFINET DCP, Ident Ok , Xid:0x6ddca, NameOfStation:"iemodule", Dev-Options(9), TypeOfStation, Dev-ID, Dev-Role, IP
No. Time Source Destination Protocol Info
32 16.879542 Hilscher_20:ca:cf PN-MC_00:00:00 PN-DCP Ident Req, Xid:0x6ddcb, NameOfStation:"iemodule"
Frame 32 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: Hilscher_20:ca:cf (00:02:a2:20:ca:cf), Dst: PN-MC_00:00:00 (01:0e:cf:00:00:00)
PROFINET acyclic Real-Time, ID:0xfefe, Len: 44
PROFINET DCP, Ident Req, Xid:0x6ddcb, NameOfStation:"iemodule"
No. Time Source Destination Protocol Info
33 16.880569 IxxatAut_02:40:8a Hilscher_20:ca:cf PN-DCP Ident Ok , Xid:0x6ddcb, NameOfStation:"iemodule", Dev-Options(9), TypeOfStation, Dev-ID, Dev-Role, IP
Frame 33 (116 bytes on wire, 116 bytes captured)
Ethernet II, Src: IxxatAut_02:40:8a (00:05:94:02:40:8a), Dst: Hilscher_20:ca:cf (00:02:a2:20:ca:cf)
PROFINET acyclic Real-Time, ID:0xfeff, Len: 100
PROFINET DCP, Ident Ok , Xid:0x6ddcb, NameOfStation:"iemodule", Dev-Options(9), TypeOfStation, Dev-ID, Dev-Role, IP
No. Time Source Destination Protocol Info
34 16.909393 IxxatAut_02:40:8b LLDP_Multicast LLDP Chassis Id = iemodule Port Id = port-001 TTL = 20
Frame 34 (97 bytes on wire, 97 bytes captured)
Ethernet II, Src: IxxatAut_02:40:8b (00:05:94:02:40:8b), Dst: LLDP_Multicast (01:80:c2:00:00:0e)
Link Layer Discovery Protocol
No. Time Source Destination Protocol Info
35 19.081362 Hilscher_20:ca:cf PN-MC_00:00:00 PN-DCP Ident Req, Xid:0x6ddcc, NameOfStation:"iemodule"
Frame 35 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: Hilscher_20:ca:cf (00:02:a2:20:ca:cf), Dst: PN-MC_00:00:00 (01:0e:cf:00:00:00)
PROFINET acyclic Real-Time, ID:0xfefe, Len: 44
PROFINET DCP, Ident Req, Xid:0x6ddcc, NameOfStation:"iemodule"
Regards
Christian Huiskens
Hi
I configured the Master with the CIFX Setup Tool. I used "cifxpnm.nxf" as Firmware.
I configured the master with Sycon, after the configuration I downloaded it to the master.
The bus communication should start automatically.
...for the Slave configuration I used a xml-file of the slave modul
Hilscher Gesellschaft fuer Systemautomation mbH
Please try to start the communication with the help of the context menu.
Did you get any status on the master? What is the diagnostic page showing? Errors, LED stati, ...
When I try to start the communication with the context menu, the same error(COM-Flag not set)
appears.
Diagnostic Tool:
Device status:
Run:green
Ready(bereit):yellow
Error:red
NetworkStatus:
Betrieb:green
Konfigurationstatus:
Bus Ein:green
Communikation Error: ConnectionTimeError(Verbindungszeitüberschreitung)(0xc0000142)
Hilscher Gesellschaft fuer Systemautomation mbH
what i see in your wireshark file is that the master does not issue an ARP for the IP of the IO-Device and does not issue a ConnectRequest to the IO-Device.
How did you create the log? Did you use an hub or a switch with Port-mirroring?
which firmware version of IO-Controller do you use?
Hi
for the log I used a hub.
The Frimware version is 2.2(build 7)
Hilscher Gesellschaft fuer Systemautomation mbH
could you please verify that the DeviceID and VendorID returned by your IO-Device in the "Ident OK" message on the bus match the parameters of the DeviceAccessPoint you used inside your sycon.net project.
In the XML File of the Slave(opened with sycon)
Vendor ID:0x0176
Device ID:0x0001
Ident OK from Slave, captured with Wireshark
Vendor ID:0x0176
Device ID:0x0002
Hilscher Gesellschaft fuer Systemautomation mbH
If the last information, which you posted is right,
In the XML File of the Slave(opened with sycon)
Vendor ID:0x0176
Device ID:0x0001Ident OK from Slave, captured with Wireshark
Vendor ID:0x0176
Device ID:0x0002
then is the mismatch in the Device ID.
Connection is now successful established
Thanks for the help.
Hilscher Gesellschaft fuer Systemautomation mbH
:D Great.
Andreas Jacob
Hilscher Gesellschaft fuer Systemautomation mbH
Hi,
how have you configured the master. Have you also started the communication on it?