40
4 Functional Description
4.5 Special functions of the error connection
The error connection (fault pin) can be configured as input or output for different tasks:
Command Function
Description
ERROUT
Error Output
Fault pin as error output
ENCOUT
Encoder Output
Fault pin as pulse output (not MCDC):
DIGOUT
Digital Output
Fault pin as digital output. The output is set to low
level.
DIRIN
Direction Input
Fault pin as rotational direction input
REFIN
Reference Input
Fault pin as reference or limit switch input
The REFIN and DIRIN functions have already been explained in the relevant chapters.
Fault pin as error output:
In ERROUT mode the output is set as soon as one of the following errors occurs:
One of the set current limitation values (LPC, LCC) is exceeded
Set maximum permissible speed deviation (DEV) is exceeded
Overvoltage detected
Maximum coil or MOSFET temperature exceeded
In order to hide the transient occurrence of errors during the acceleration phase, for example, an
error delay can be set which specifies how long an error must be present before it is displayed at the
error output:
Command Function
Description
DCE
Delayed Current Error
Delayed error output for ERROUT in 1/100 sec.
Example:
Wait 2 seconds before displaying error: DCE200
If one of the above errors occurs, automatic notification with an “r” can be implemented by setting
“Notify Error”, provided that ANSW1 or ANSW2 is set:
Command Argument
Function
Description
NE
0-1
Notify Error
Error notification:
1: An “r” is returned if an error occurs
0: No error notification
Fault pin as pulse output (not for MCDC):
In the ENCOUT mode the fault pin is used as pulse output, which outputs an adjustable number of
pulses per revolution. The pulses are derived from the Hall sensor signals of the BL motors and are
limited to 4000 pulses per second.
Command Function
Description
LPN
Load Pulse Number
Preset pulse number for ENCOUT.
Value: 1 to 255
Example:
Output 16 pulses per revolution at the fault pin:
LPN16
In the case of 5000 rpm, 5000/60 16 = 1333 pulses per second are output.
For speeds that would generate more than the maximum possible pulse number at the set LPN
value, the maximum number is output. The set pulses are precisely achieved, but the timing does
not necessarily have to exactly agree (delays possible). Position determination via pulse counting is
therefore possible, provided that no change occurs in the direction of rotation and the maximum
possible pulse number is not exceeded.
Fault pin as digital output:
In DIGOUT mode, the error connection can be used as universal digital output. The digital output
can be set or deleted via the following commands.