CANOPEN_CLIENT Driver 0.1.0
API reference
Loading...
Searching...
No Matches
Public Attributes | List of all members
canopen_client::Config Struct Reference

Everything the client uses; the defaults suit a node on a 500 kbit/s bus. More...

#include <canopen_client_types.hpp>

Public Attributes

uint32_t sdo_timeout_us {200'000}
 Wait for each SDO reply, 1 ms to 60 s.
 
uint32_t guard_timeout_us {100'000}
 Wait for a node-guarding reply, 1 ms to 10 s.
 
uint32_t drive_timeout_us {2'000'000}
 Wait for a drive state change, 1 ms to 60 s.
 
uint32_t drive_poll_interval_us {10'000}
 Pause between statusword reads, 100 us to 1 s.
 
uint8_t safety_attempts {3}
 Sends of a stop or disable command before it gives up, 1 to 8.
 
bool abort_on_timeout {true}
 Send an SDO abort (0x05040000) to the node after a timeout.
 
bool strict_sdo_length {true}
 Require every SDO frame to carry 8 data bytes.
 

Detailed Description

Everything the client uses; the defaults suit a node on a 500 kbit/s bus.


The documentation for this struct was generated from the following file: