CANopen Slave Documentation
Version 6.16.04
|
LSS offers the possibility to inquire and change the settings of certain parameters of the local layers on a CANopen module with LSS Slave capabilities by a CANopen module with LSS Master capabilities via the CAN Network. The following parameters can be inquired and/or changed by the use of LSS:
By using LSS a LSS Slave can be configured for a CANopen network without using any devices like DIP-switches for setting the parameters. There are several solutions available for LSS Slaves with and without a unique LSS-address or non-volatile storage.
Functions | |
void | CosLssConfigureNodeId (void) |
void | CosLssInquiryService (uint8_t ubServiceV) |
void | CosLssMessageHandler (void) |
void CosLssConfigureNodeId | ( | void | ) |
Configure Node ID.
By means of this service the LSS Master configures the NMT-address parameter of a LSS Slave. This service allows only one LSS Slave in configuration mode. The remote result parameter confirms the success or failure of the service. In case of a failure optionally the reason is confirmed.
void CosLssInquiryService | ( | uint8_t | ubServiceV | ) |
Inquiry services.
ubServiceV | service type |
The inquiry services are available only in configuration mode.
void CosLssMessageHandler | ( | void | ) |
Evaluate LSS messages.
This function is called by main message handler function CosMgrMessageHandler(). It evaluates the value of the first byte and calls the appropriate functions.