point-to-point connection

186 views
Skip to first unread message

Jannik Marquard

unread,
Nov 28, 2017, 3:32:25 AM11/28/17
to EIP Stack Group OpENer users
Hello. Unfortunately, I'm a software beginner. I need a point-to-point connection in best case as a soft real time function. I would like to test it first on one PC based on Linux with two eclipse projects (One for sending and one for receive data and sending handshake). I have already integrated the eclipse opener project and the libraries. I initialized the CIP stack (in the sending data project) using the "CipStackInit" instructions. Can i initialized the CIP stack in my receive project with the same MAC adress is that working? And after that, do I have to separately open a TCP and UDP socket? And how do I then send the data from the one project to the other? Maybe someone has experience with it and can help or sending me a sample main.c with that problem.
Thanks a lot.

Martin Melik-Merkumians

unread,
Nov 28, 2017, 2:55:11 PM11/28/17
to EIP Stack Group OpENer users
Hi Jannik!

The OpENer is a so-called ENIP adapter device, which means it is a kind of "slave" device in ENIP networks. It reacts to the requests of a explicit messaging client or scanner (implicit and explicit messaging client). So if I understand you correct you want to establish a connection between two instances of OpENer, which is not possible without modifications, regardless of the fact that it would not be possible to let them share one ethernet interface.

Can you perhaps explain what your goal and expected results from your system are, perhaps we can guide you through on how to achive it.

Regards,
Martin

Jannik Marquard

unread,
Nov 29, 2017, 1:44:00 AM11/29/17
to EIP Stack Group OpENer users
Hi Martin,

So my final goal is to create a system with two microcontrollers. The first gets a CAN message and should then send it via EthernetIP and OpenSafety to the other MCU. This should unpack the data again, determine whether the transmission was correct (therefore OpenSafety) and pass it on as a CAN message. To get there step by step, I wanted to first simulate transmitter and receiver on a PC. That was my first approach now I'm not sure if that works. To be able to use a safety protocol one of the higher protocols is needed, because i think TCP/IP is not enough.

Regards,
Jannik

Jannik Marquard

unread,
Nov 29, 2017, 3:15:25 AM11/29/17
to EIP Stack Group OpENer users
I'm again.
If OpENer is not working for my problem, do you know if i can use openPowerlink for that?

Regards,
Jannik

Martin Melik-Merkumians

unread,
Dec 15, 2017, 1:54:45 PM12/15/17
to EIP Stack Group OpENer users
No, I don't know, but for OpENer you would only have to send a correct forward open request to the opener to trigger the communication channel you need.

Frank Guan

unread,
Jan 29, 2019, 12:29:46 AM1/29/19
to EIP Stack Group OpENer users
"So if I understand you correct you want to establish a connection between two instances of OpENer, which is not possible without modifications"

2 or more equipments  with OpENer,  I cannot using the datalink function between them, is it right understand?


在 2017年11月29日星期三 UTC+8上午3:55:11,Martin Melik-Merkumians写道:

Martin Melik-Merkumians

unread,
Feb 20, 2019, 7:17:47 AM2/20/19
to EIP Stack Group OpENer users
Yes
Reply all
Reply to author
Forward
0 new messages