beautypg.com

4 implementation rules – ElmoMC CANopen DSP 305 Implementation Guide User Manual

Page 20

background image

4 Implementation Rules

When implementing the LSS protocols, the following rules must be followed to
guarantee interoperability:

CAL Layer Management (LMT)

To distinguish between LMT and LSS, all LSS services must use command specifiers
in the 040h – 07fh range.

Invalid COB's

A COB is invalid if it has a COB-ID that is used by the LSS Protocol, but contains
invalid parameter values according to the LSS Protocol. This can be caused by errors
in the data link layer or implementation errors. Invalid COB's must be handled locally
in an implementation specific way. As far as the LSS Protocol is concerned, an invalid
COB must be ignored.

Time-Outs

Since COBs may be ignored, the response of a confirmed LSS service may never arrive.
To resolve this situation, an implementation may, after a certain amount of time,
indicate this to the service user (time-out). A time-out is not a confirm of the LSS
service. A time-out indicates that the service has not completed yet. The application
must deal with this situation. Time-out values are considered to be implementation
specific so it is recommended that the implementation provide facilities to adjust these
time-out values to the requirements of the application.

CANopen DSP 305 Implementation Guide

MAN-CAN305IG (Ver. 1.1)

4-1