User Tools

Site Tools


eeros_architecture:control_system:available_blocks:canreceivefaulhaber

CAN Receive Faulhaber

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 CAN Send Faulhaber 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 CAN Handle block.

eeros_architecture/control_system/available_blocks/canreceivefaulhaber.txt · Last modified: 2020/06/04 18:29 by ursgraf