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

Error Messages reading SDO Etherlab-EthercatMaster1.6 #136

Open
NilsLo opened this issue Jul 12, 2024 · 1 comment
Open

Error Messages reading SDO Etherlab-EthercatMaster1.6 #136

NilsLo opened this issue Jul 12, 2024 · 1 comment

Comments

@NilsLo
Copy link

NilsLo commented Jul 12, 2024

By Reading SDOs 3 Errors occure:

  1. Wrong IOCTL-VERSION_MAGIC
    It is required to Set IOCTL_VERSION_MAGIC to 37 insted 31 in ec_master_async_io.hpp
  2. SDO-Read: Operation not Permitted
    In examples of IGH
    master.open(EcMasterAsync::ReadWrite); is used in upload function.
  3. Reading data as string: Failed to upload SDO: No buffer space available
    IGH uses
  if (data_type->byteSize){
    data.target_size = data_type->byteSize;
  } else{
    data.target_size = DefaultBufferSize;
  }
  data.target = new uint8_t[data.target_size + 1];

in upload function file ethercat_sdo_srv_server.cpp

with default buffer size:

const int  DefaultBufferSize= 64 * 1024;

defined in data_convertion_tools.hpp

@ibrahimsel
Copy link

For 1. you could refer to #134

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants