Position and speed informer with encoder