As I said, first make sure the drive is in CIA 402 operation enable mode.
The cia402 component will make the drive go to operation-enable when you set cia402.0.enable true.
There should be a line that looks like this in your hal file
net x-enable <= joint.0.amp-enable-out => cia402.0.enable
If it doesn't go to operation-enable, check cia402.0.stat-op-enable in halshow,
you need to check the statusword and the controlword, and consult the manual
for reasons why the drive doesn't want to go operation enabled.