User Tools

Site Tools


eeros_architecture:control_system:available_blocks:canhandle

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

eeros_architecture:control_system:available_blocks:canhandle [2020/06/04 18:19] – created ursgrafeeros_architecture:control_system:available_blocks:canhandle [2020/06/04 18:32] (current) ursgraf
Line 1: Line 1:
 ====== CAN Handle ====== ====== CAN Handle ======
-This block sends PDO packets over a CAN bus to a Faulhaber driveThe drive itself must be initialized by SDO transfers up to the point where PDO transfer is possible. Each time the block is run by its time domain, ''sync'' message is sent followed by RPDO1 (carrying the control word) and RPDO2 (velocity). While the control word can be set by the method +This block establishes and returns socket connection to an existing CAN bus. This socket is subsequently used by a [[eeros_architecture:control_system:available_blocks:canreceivefaulhaber|]] and [[eeros_architecture:control_system:available_blocks:cansendfaulhaber|]] block.
-<code cpp> +
-setCtrl(Matrix<nofNodes,1,uint16_t>); +
-</code>  +
-the velocity is taken from its input ''vel''. \\ +
-This blocks uses the [[http://github.com/ntb-ch/canopenlib|canopenlib]]. The connection to the CAN bus must be first established through a +
eeros_architecture/control_system/available_blocks/canhandle.1591287550.txt.gz · Last modified: 2020/06/04 18:19 by ursgraf