Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implicit communication display "not enough data" #108

Open
1193851719 opened this issue Apr 11, 2024 · 0 comments
Open

Implicit communication display "not enough data" #108

1193851719 opened this issue Apr 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@1193851719
Copy link

Describe the bug
This shouldn't be a bug, but it's a difficult problem I'm having right now.When I was communicating implicitly, I encountered an error with the error code 0x13."not enough data".I looked at similar discussions and found a configuration in the EDS file that needed to be changed, and I added the configuration path. But it's still wrong.

To Reproduce
Place, the code snippet that causes the issue

Example:

  ConnectionManager connectionManager;

  ConnectionParameters parameters;
  parameters.connectionPath = {0x20, 0x04, 0x24, 0x00, 0x2C, 0x01,0X2C,0X00};  
  parameters.o2tRealTimeFormat = true;
  parameters.originatorVendorId = 0x6c;
  //parameters.originatorSerialNumber = 32423;  
  parameters.t2oNetworkConnectionParams |= NetworkConnectionParams::P2P;
  parameters.t2oNetworkConnectionParams |= NetworkConnectionParams::SCHEDULED_PRIORITY;

  parameters.t2oNetworkConnectionParams |= 32; //size of Assm100 =32
  parameters.o2tNetworkConnectionParams |= NetworkConnectionParams::P2P;
  parameters.o2tNetworkConnectionParams |= NetworkConnectionParams::SCHEDULED_PRIORITY;
  parameters.o2tNetworkConnectionParams |= 32; //size of Assm150 = 32

  parameters.originatorSerialNumber = 1;  
  parameters.o2tRPI = 100000;//1000000;
  parameters.t2oRPI = 100000;//1000000;

Expected behavior
I modified the connectionPath according to EDS instructions.Example of the format: 0x20, 0x04, 0x24, 0x00, 0x2C, 0x01,0X2C,0X00,0x20 ,0x0C, 0x21, 0x01. It's still wrong!!hope someone can help me determine if these parameters are configured correctly. Thank you very much.
errDATA.pcapng.TXT
ST15_EIP_Ethernet_IP CPU_IO64.eds.txt

@1193851719 1193851719 added the bug Something isn't working label Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant