rllib  1
Classes | Macros
rlcanopenstructs.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  rlCanMapping
 mapping object which is part of the mappinglist of a PDO More...
 
struct  rlCanPDO
 PDO object which is part of one of the two pdo lists in the node class. More...
 

Macros

#define DIRECTION_RECEIVE   0
 definition of CanOpen structs for CanOpen Deamon More...
 
#define DIRECTION_TRANSMIT   1
 
#define RECEIVE_PDO_MAPPING_STARTADRESS   0x1600
 
#define RECEIVE_PDO_MAPPING_MAXADRESS   0x17FF
 
#define TRANSMIT_PDO_MAPPING_STARTADRESS   0x1A00
 
#define TRANSMIT_PDO_MAPPING_MAXADRESS   0x1BFF
 
#define MAX_NODES   127
 
#define MAX_SDO_BUFFERSIZE   246
 
#define CAN_TASK   3
 Hilscher device-communication constants. More...
 
#define USER_AT_HOST   16
 
#define CMDCODE_GET_CONFIGURATION   15
 
#define CMDCODE_SDO_UPDOWNLOAD   74
 
#define CMDCODE_Node_Diag   66
 
#define CMD_NMT_Module_Protocol   96
 
#define CMD_NMT_START_REMOTE_NODE   1
 NMT Command specifier. More...
 
#define CMD_NMT_STOP_REMOTE_NODE   2
 
#define CMD_NMT_ENTER_PREOPERATIONAL   128
 
#define CMD_NMT_RESET_NODE   129
 
#define CMD_NMT_RESET_COMMUNICATION   130
 
#define TASK_TFC_READ   1
 
#define TASK_TFC_WRITE   2
 
#define RESPONSE_CODE_GET_CONFIGURATION   15
 
#define DATA_DIRECTION_MASK   0x30
 
#define DIRECTION_INPUT   0x10
 
#define DIRECTION_OUTPUT   0x20
 
#define ERRCODE_NOERROR   0
 ERRCODES. More...
 
#define ERRCODE_INVALID_NODEID   -2
 
#define ERRCODE_INVALID_PDOID   -3
 
#define ERRCODE_PDOSND_FAIL   -4
 
#define ERRCODE_INVALID_MAPID   -5
 
#define ERRCODE_INVALID_RLTYPE   -6
 
#define ERRCODE_PDORCV_FAIL   -7
 
#define COLDSTART   2
 DEVRESET. More...
 
#define WARMSTART   3
 
#define BOOTSTART   4
 

Macro Definition Documentation

◆ BOOTSTART

#define BOOTSTART   4

Definition at line 72 of file rlcanopenstructs.h.

◆ CAN_TASK

#define CAN_TASK   3

Hilscher device-communication constants.

Definition at line 38 of file rlcanopenstructs.h.

◆ CMD_NMT_ENTER_PREOPERATIONAL

#define CMD_NMT_ENTER_PREOPERATIONAL   128

Definition at line 48 of file rlcanopenstructs.h.

◆ CMD_NMT_Module_Protocol

#define CMD_NMT_Module_Protocol   96

Definition at line 43 of file rlcanopenstructs.h.

◆ CMD_NMT_RESET_COMMUNICATION

#define CMD_NMT_RESET_COMMUNICATION   130

Definition at line 50 of file rlcanopenstructs.h.

◆ CMD_NMT_RESET_NODE

#define CMD_NMT_RESET_NODE   129

Definition at line 49 of file rlcanopenstructs.h.

◆ CMD_NMT_START_REMOTE_NODE

#define CMD_NMT_START_REMOTE_NODE   1

NMT Command specifier.

Definition at line 46 of file rlcanopenstructs.h.

◆ CMD_NMT_STOP_REMOTE_NODE

#define CMD_NMT_STOP_REMOTE_NODE   2

Definition at line 47 of file rlcanopenstructs.h.

◆ CMDCODE_GET_CONFIGURATION

#define CMDCODE_GET_CONFIGURATION   15

Definition at line 40 of file rlcanopenstructs.h.

◆ CMDCODE_Node_Diag

#define CMDCODE_Node_Diag   66

Definition at line 42 of file rlcanopenstructs.h.

◆ CMDCODE_SDO_UPDOWNLOAD

#define CMDCODE_SDO_UPDOWNLOAD   74

Definition at line 41 of file rlcanopenstructs.h.

◆ COLDSTART

#define COLDSTART   2

DEVRESET.

Definition at line 70 of file rlcanopenstructs.h.

◆ DATA_DIRECTION_MASK

#define DATA_DIRECTION_MASK   0x30

Definition at line 56 of file rlcanopenstructs.h.

◆ DIRECTION_INPUT

#define DIRECTION_INPUT   0x10

Definition at line 57 of file rlcanopenstructs.h.

◆ DIRECTION_OUTPUT

#define DIRECTION_OUTPUT   0x20

Definition at line 58 of file rlcanopenstructs.h.

◆ DIRECTION_RECEIVE

#define DIRECTION_RECEIVE   0

definition of CanOpen structs for CanOpen Deamon

Definition at line 23 of file rlcanopenstructs.h.

◆ DIRECTION_TRANSMIT

#define DIRECTION_TRANSMIT   1

Definition at line 24 of file rlcanopenstructs.h.

◆ ERRCODE_INVALID_MAPID

#define ERRCODE_INVALID_MAPID   -5

Definition at line 65 of file rlcanopenstructs.h.

◆ ERRCODE_INVALID_NODEID

#define ERRCODE_INVALID_NODEID   -2

Definition at line 62 of file rlcanopenstructs.h.

◆ ERRCODE_INVALID_PDOID

#define ERRCODE_INVALID_PDOID   -3

Definition at line 63 of file rlcanopenstructs.h.

◆ ERRCODE_INVALID_RLTYPE

#define ERRCODE_INVALID_RLTYPE   -6

Definition at line 66 of file rlcanopenstructs.h.

◆ ERRCODE_NOERROR

#define ERRCODE_NOERROR   0

ERRCODES.

Definition at line 61 of file rlcanopenstructs.h.

◆ ERRCODE_PDORCV_FAIL

#define ERRCODE_PDORCV_FAIL   -7

Definition at line 67 of file rlcanopenstructs.h.

◆ ERRCODE_PDOSND_FAIL

#define ERRCODE_PDOSND_FAIL   -4

Definition at line 64 of file rlcanopenstructs.h.

◆ MAX_NODES

#define MAX_NODES   127

Definition at line 32 of file rlcanopenstructs.h.

◆ MAX_SDO_BUFFERSIZE

#define MAX_SDO_BUFFERSIZE   246

Definition at line 33 of file rlcanopenstructs.h.

◆ RECEIVE_PDO_MAPPING_MAXADRESS

#define RECEIVE_PDO_MAPPING_MAXADRESS   0x17FF

Definition at line 29 of file rlcanopenstructs.h.

◆ RECEIVE_PDO_MAPPING_STARTADRESS

#define RECEIVE_PDO_MAPPING_STARTADRESS   0x1600

Definition at line 28 of file rlcanopenstructs.h.

◆ RESPONSE_CODE_GET_CONFIGURATION

#define RESPONSE_CODE_GET_CONFIGURATION   15

Definition at line 54 of file rlcanopenstructs.h.

◆ TASK_TFC_READ

#define TASK_TFC_READ   1

Definition at line 52 of file rlcanopenstructs.h.

◆ TASK_TFC_WRITE

#define TASK_TFC_WRITE   2

Definition at line 53 of file rlcanopenstructs.h.

◆ TRANSMIT_PDO_MAPPING_MAXADRESS

#define TRANSMIT_PDO_MAPPING_MAXADRESS   0x1BFF

Definition at line 31 of file rlcanopenstructs.h.

◆ TRANSMIT_PDO_MAPPING_STARTADRESS

#define TRANSMIT_PDO_MAPPING_STARTADRESS   0x1A00

Definition at line 30 of file rlcanopenstructs.h.

◆ USER_AT_HOST

#define USER_AT_HOST   16

Definition at line 39 of file rlcanopenstructs.h.

◆ WARMSTART

#define WARMSTART   3

Definition at line 71 of file rlcanopenstructs.h.