ds301.h
Go to the documentation of this file.
1 // this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
2 
3 // -- BEGIN LICENSE BLOCK ----------------------------------------------
4 // This file is part of the SCHUNK Canopen Driver suite.
5 //
6 // This program is free software licensed under the LGPL
7 // (GNU LESSER GENERAL PUBLIC LICENSE Version 3).
8 // You can find a copy of this license in LICENSE folder in the top
9 // directory of the source code.
10 //
11 // © Copyright 2016 SCHUNK GmbH, Lauffen/Neckar Germany
12 // © Copyright 2016 FZI Forschungszentrum Informatik, Karlsruhe, Germany
13 // -- END LICENSE BLOCK ------------------------------------------------
14 
15 //----------------------------------------------------------------------
25 //----------------------------------------------------------------------
26 #ifndef DS301_H
27 #define DS301_H
28 
29 #include <stdint.h> // Exact data types
30 
31 namespace icl_hardware {
32 namespace canopen_schunk {
33 namespace ds301{
34 
43 
45  static const uint16_t ID_NMT = 0x00;
46  static const uint16_t ID_SYNC = 0x80; // # 128
47  static const uint16_t ID_EMCY_MIN = 0x81; // # 129 ... 255
48  static const uint16_t ID_EMCY_MAX = 0xFF;
49  static const uint16_t ID_TIME = 0x100; // # 256
50 
51  // PDO1
52  static const uint16_t ID_TPDO1_MIN = 0x181; // # 385 ... 511
53  static const uint16_t ID_TPDO1_MAX = 0x1FF;
54  static const uint16_t ID_RPDO1_MIN = 0x201; // # 513 ... 639
55  static const uint16_t ID_RPDO1_MAX = 0x27F;
56 
57  //PDO2
58  static const uint16_t ID_TPDO2_MIN = 0x281; // # 641 ... 767
59  static const uint16_t ID_TPDO2_MAX = 0x2FF;
60  static const uint16_t ID_RPDO2_MIN = 0x301; // # 769 ... 895
61  static const uint16_t ID_RPDO2_MAX = 0x37F;
62 
63  //PDO3
64  static const uint16_t ID_TPDO3_MIN = 0x381; // # 897 ... 1023
65  static const uint16_t ID_TPDO3_MAX = 0x3FF;
66  static const uint16_t ID_RPDO3_MIN = 0x401; // # 1025 ... 1151
67  static const uint16_t ID_RPDO3_MAX = 0x47F;
68 
69  //PDO4
70  static const uint16_t ID_TPDO4_MIN = 0x481; // # 1153 ... 1279
71  static const uint16_t ID_TPDO4_MAX = 0x4FF;
72  static const uint16_t ID_RPDO4_MIN = 0x501; // # 1281 ... 1407
73  static const uint16_t ID_RPDO4_MAX = 0x57F;
74 
75  //SDO
76  static const uint16_t ID_TSDO_MIN = 0x581; // # 1409 ... 1535
77  static const uint16_t ID_TSDO_MAX = 0x5FF;
78  static const uint16_t ID_RSDO_MIN = 0x601; // # 1537 ... 1663
79  static const uint16_t ID_RSDO_MAX = 0x67F;
80 
81  static const uint16_t ID_NMT_ERROR_MIN = 0x701; // # 1793 ... 1919
82  static const uint16_t ID_NMT_ERROR_MAX = 0x77F;
83 
84 
85 
86 }}} // end of NS
87 
88 #endif // DS301_H
static const uint16_t ID_RSDO_MAX
Definition: ds301.h:79
static const uint16_t ID_TSDO_MAX
Definition: ds301.h:77
static const uint16_t ID_RPDO1_MIN
Definition: ds301.h:54
static const uint16_t ID_RSDO_MIN
Definition: ds301.h:78
static const uint16_t ID_TPDO3_MIN
Definition: ds301.h:64
static const uint16_t ID_TPDO2_MAX
Definition: ds301.h:59
static const uint16_t ID_TIME
Definition: ds301.h:49
static const uint16_t ID_NMT_ERROR_MAX
Definition: ds301.h:82
static const uint16_t ID_NMT_ERROR_MIN
Definition: ds301.h:81
static const uint16_t ID_EMCY_MIN
Definition: ds301.h:47
static const uint16_t ID_EMCY_MAX
Definition: ds301.h:48
static const uint16_t ID_RPDO2_MIN
Definition: ds301.h:60
static const uint16_t ID_NMT
Definition: ds301.h:45
static const uint16_t ID_RPDO2_MAX
Definition: ds301.h:61
static const uint16_t ID_TPDO4_MIN
Definition: ds301.h:70
static const uint16_t ID_RPDO1_MAX
Definition: ds301.h:55
static const uint16_t ID_SYNC
Definition: ds301.h:46
static const uint16_t ID_RPDO3_MAX
Definition: ds301.h:67
static const uint16_t ID_TPDO1_MAX
Definition: ds301.h:53
static const uint16_t ID_TPDO3_MAX
Definition: ds301.h:65
static const uint16_t ID_TSDO_MIN
Definition: ds301.h:76
static const uint16_t ID_TPDO4_MAX
Definition: ds301.h:71
static const uint16_t ID_RPDO4_MIN
Definition: ds301.h:72
unsigned short uint16_t
static const uint16_t ID_TPDO2_MIN
Definition: ds301.h:58
static const uint16_t ID_RPDO4_MAX
Definition: ds301.h:73
static const uint16_t ID_RPDO3_MIN
Definition: ds301.h:66
static const uint16_t ID_TPDO1_MIN
Definition: ds301.h:52


schunk_canopen_driver
Author(s): Felix Mauch , Georg Heppner
autogenerated on Mon Jun 10 2019 15:07:49