canopen_301_402-master
所属分类:嵌入式/单片机/硬件编程
开发工具:C/C++
文件大小:86KB
下载次数:2
上传日期:2021-02-26 14:18:13
上 传 者:
惟度
说明: canopen主站协议栈代码301+402
(CANopen main station 301 + 402)
文件列表:
CMakeLists.txt (3903, 2016-09-19)
LICENSE (1065, 2016-09-19)
old_tests (0, 2016-09-19)
old_tests\test_402.py (1730, 2016-09-19)
old_tests\test_obj.py (865, 2016-09-19)
old_tests\test_sdo.py (2737, 2016-09-19)
old_tests\tests.py (2536, 2016-09-19)
package.xml (1649, 2016-09-19)
scripts (0, 2016-09-19)
scripts\clt.py (10505, 2016-09-19)
setup.py (368, 2016-09-19)
src (0, 2016-09-19)
src\canopen_301_402 (0, 2016-09-19)
src\canopen_301_402\__init__.py (0, 2016-09-19)
src\canopen_301_402\async (0, 2016-09-19)
src\canopen_301_402\async\__init__.py (0, 2016-09-19)
src\canopen_301_402\async\async_chain.py (781, 2016-09-19)
src\canopen_301_402\async\async_operation.py (1637, 2016-09-19)
src\canopen_301_402\async\async_send.py (498, 2016-09-19)
src\canopen_301_402\async\async_send_and_await.py (669, 2016-09-19)
src\canopen_301_402\async\sdo_read.py (1545, 2016-09-19)
src\canopen_301_402\async\sdo_read_object.py (1748, 2016-09-19)
src\canopen_301_402\async\sdo_write.py (1530, 2016-09-19)
src\canopen_301_402\async\sdo_write_object.py (1491, 2016-09-19)
src\canopen_301_402\can402 (0, 2016-09-19)
src\canopen_301_402\can402\__init__.py (0, 2016-09-19)
src\canopen_301_402\can402\can402_node.py (569, 2016-09-19)
src\canopen_301_402\can402\ops (0, 2016-09-19)
src\canopen_301_402\can402\ops\__init__.py (0, 2016-09-19)
src\canopen_301_402\can402\ops\change_controlword.py (821, 2016-09-19)
src\canopen_301_402\can402\ops\change_state.py (1439, 2016-09-19)
src\canopen_301_402\can402\ops\init.py (2291, 2016-09-19)
src\canopen_301_402\can402\ops\notify_new_target.py (1262, 2016-09-19)
src\canopen_301_402\can402\ops\quit.py (1398, 2016-09-19)
src\canopen_301_402\can402\ops\receive_pdo1.py (692, 2016-09-19)
src\canopen_301_402\can402\ops\set_mode.py (524, 2016-09-19)
src\canopen_301_402\can402\ops\set_target.py (1247, 2016-09-19)
... ...
Implementation of necessary subset of CanOpen 2.a to control Faulhaber Motion Controller.
Implemented Features:
- Network Management (controlling the Can301 State Machine)
- SDO expedited transfer
- EDS file loading
- PDO transfer
- CanOpen StandardDataTypes
- generic pre-defined connection set (301_v04020005_cor3.pdf pg. 86)
- 402 StateMachine
Todo:
- 402:
- Node
- read current state
- Read available Motion Profiles
- Set Motion Profile
- PDO mapping (301_v04020005_cor3.pdf pg. 93; 135; 139 for transmission type)
- complete object dictionary dump and restore
- Sync Message (to trigger pdo)
- use contents in EDS file (but how o0)
Not that important todos:
- respect inhibit times (specified as multiples of 100 microsec)
- local object dictionary prepopulated with can standard defaults
- could be used to implement a can master (device)
- datatypes in object dictionary (301_v04020005_cor3.pdf pg. 88)
- datatype coding with datatype info in object dictionary
- sdo block transfer
- specific connection-set
- overwrite standards with values in eds file
- respect restricted CAN-IDs (301_v04020005_cor3.pdf pg. 87)
- print canopen frame in human readable form (we can use EDS file for this)
近期下载者:
相关文件:
收藏者: