Tango Server for checking if a movement is allowed before performing it. If in the device server of a motor the property FlagUseCollisionsSensor is set to 1, when a movement is set the motor will connect to the CollisionsSensor device given in his property CollisionsSensorDS (in case this connection is still not done) and will send to it the command CheckCollision with three arguments: name of the motor device, beamline ( given in the property CollisionsSensorBL) and new position to be set. Only if the return of this function is 0 (movement allowed by the restrictions set in the CollisionsSensor for the movement of this motor) the movement will be performed. The checks done in the CheckCollision function are hardcoded for any motor and for any beamline. Due to the serialization of the Tango requests, the CheckCollision command can not read data from the motor device calling it. In case data from this motor is needed for checking the move condition, these data have to be send by the motor to attributes of the CollisionsSensor device implemented only for this purpose. The OmsVme58 motor class has a property that activates the send of data to the CollisionsSensor by writing in these attributes.