CANopen Slave Documentation
Version 6.16.04
|
This module covers the functionality of the specification CiA 302, part 4 (Network variables and process image). The functionality of network variables is enabled by setting the symbol COS_DS302_NV to 1. By default, the following input variables are supported:
Index | Data type | Access | Number of variables |
---|---|---|---|
A040h | UNSIGNED8 | ro | 8 |
A100h | UNSIGNED16 | ro | 8 |
A200h | UNSIGNED32 | ro | 8 |
The following table depicts the output network variables:
Index | Data type | Access | Number of variables |
---|---|---|---|
A4C0h | UNSIGNED8 | rw | 8 |
A580h | UNSIGNED16 | rw | 8 |
A680h | UNSIGNED32 | rw | 8 |
The point of view for the definition of “input variable” and “output variable” is from within the network. Therefore, a variable with the access type “read only” is considered as an input to the network. A variable with of the access type “write only” is considered as an output from the network.
Network variables can be mapped into a PDO when dynamic PDO Mapping is enabled (see COS_PDO_MAPPING). Whether a network variable is available for input or output depends on the PDO direction. Input network variables are supported if COS_PDO_TRM_NUMBER is set to a value > 0. Output network variables are supported if COS_PDO_RCV_NUMBER is set to a value > 0.
Macros | |
#define | COS_DS302_NV_UNSIGNED8 8 |
#define | COS_DS302_NV_UNSIGNED16 8 |
#define | COS_DS302_NV_UNSIGNED32 8 |
#define COS_DS302_NV_UNSIGNED16 8 |
Number of supported UNSIGNED16 network variables.
#define COS_DS302_NV_UNSIGNED32 8 |
Number of supported UNSIGNED32 network variables.
#define COS_DS302_NV_UNSIGNED8 8 |
Number of supported UNSIGNED8 network variables.