Following error detection and in-position detection

The "following error detection" and "in-position detection" are functions of the position control. All parameters correspond to the CiA 402 specification.
Input data
Parameter
Name
Data type
Set position
INTEGER_32
Position demand internal value
INTEGER_32
Internal set position
INTEGER_32
Following error window
UNSDIGNED_32
Following error delay
UNSIGNED_16
Position reached window
UNSIGNED_32
Position reached delay
UNSIGNED_16
Output data
Parameter
Name
Data type
Internal actual position
INTEGER_32
Actual position
INTEGER_32
Following error actual value
INTEGER_32
Control effort
INTEGER_32
CiA status word
UNSIGNED_16
 
Parameter
Address
Name / setting range / [default setting]
Information
0x6065
Following error window
0 ... [1000] ... 4294967295
Setting of the symmetrical tolerance window around the setpoint position for following error detection.
–
0 = following error detection deactivated.
 
–
> 0 = following error detection activated.
 
–
A following error is detected if the actual position is outside this tolerance window.
 
–
If the following error is detected longer than the time defined in 0x6066 in [ms], bit 13 ("following error") is set in the CiA status word (0x6041).
 
–
0x60F4 displays the current deviation of the actual position from the setpoint position.
 
0x6066
Following error delay
0 ... [0] ... 0 ms
Setting of time delay for the following error detection.
0 = the following error is evaluated without a time delay.
0x6067
Position reached window
0 ... [1000] ... 4294967295
Setting of the symmetrical tolerance window around the target position (0x607A) for the target position detection.
If the actual position is within this tolerance window longer than the time defined in 0x6068 in [ms], the target position is deemed to be reached and bit 10 ("target position reached") is set in the CiA status word (0x6041).
0x6068
Position reached delay
0 ... [0] ... 0 ms
Setting of time monitoring for the target position detection.
0 = the position in the target window is evaluated without a time delay.