We found a strange reaction of the Brake management in PPMAC.
Use of ouput 2 of Acc11e for Brake:
Motor[1].pBrakeOut = Sys.piom+$A0000C
Motor[1].BrakeOutBit = 8 +1;
Motor[1].BrakeOffDelay = 1000; // en msec.
Motor[1].BrakeOnDelay = 1000; // en msec.
Brake management OK on these conditions:
#1out0 or #1J/ --> output ON (brake OFF) + amp enable out ON
#1dkill or AmpFault --> output OFF (brake ON) + amp enable out OFF
For some reasons, when motor is killed, we want to generate an Amp Fault by, for example, putting "Motor[1].AmpFaultLevel=1"
Status motor gives correct "ampFault =true".
I this case, if we do #1out0 -->
Amp Enable output stays OFF (normal as Amp Fault), but the output goes ON (brake OFF).
Is this normal?