User Tools

Site Tools


eeros_architecture:control_system:available_blocks:canopenreceive

This is an old revision of the document!


CANopen Receive

This block receives PDO packets over a CAN bus from a Faulhaber drive. The drive itself must be initialized by SDO transfers up to the point where PDO transfer is possible. The drive will send two TPDO upon receiving a sync packet, which must be sent by a cansendfaulhaber block. Each time the block is run by its time domain, a TPDO1 (carrying the status word and actual velocity) and a TPDO2 (actual position and warnings) is received. The block has 4 output signals: status, vel, pos, warnings.
The velocity and position outputs are given in SI units, e.g. rad/s and rad. To account for encoder resolution of the actual drive together with a gearbox, it is possible to set a scaling factor with

setVelScale(Matrix<nofNodes,1,double>);
setPosScale(Matrix<nofNodes,1,double>);

This blocks uses the canopenlib. The connection to the CAN bus must be first established through a canhandle block.

eeros_architecture/control_system/available_blocks/canopenreceive.1717075349.txt.gz · Last modified: 2024/05/30 15:22 by ursgraf