Download Tower Crane - Alpha Control Lab
Transcript
corresponding to it stops. If the flag is set to 0 the motion continues in spite of the range limit exceeded in the encoder register. See: RailLimit, RailLimitSwitch 7.9. RailLimitSwitch Purpose: Read the state of limit switches. Synopsis: LimitSwitch = get( tcrane, ‘RailLimitSwitch’ ); Description: Reads the state of three limit switches. Returns a 1x3 vector. If an element of this vector is equal to 0 it means that the switch has been pressed. See: RailLimit, RailLimitFlag 7.10. ResetSwitchFlag Purpose: Control the auto-reset of the encoder registers. Synopsis: ResetSwitchFlag = get( tcrane, ‘ResetSwitchtFlag’ ); set( tcrane, ‘ResetSwitchFlag’, ResetSwitchFlag ); Description: See: The ResetSwitchFlag and NewResetSwitchFlag are 1x3 vectors. If an element of these vectors is equal to 1 the corresponding to it encoder register is automatically reset in the case when the corresponding to it limit switch is pressed. ResetEncoder, RailLimitSwitch 7.11. Therm Purpose: Read thermal flags of the power amplifiers. Synopsis: Therm = get( tcrane, ‘Therm’ ); Description: Returns three thermal flags of three power amplifiers. When the temperature of a power amplifier is too high the appropriate flag is set to x. See: ThermFlag 7.12. ThermFlag Purpose: Control an automatic power down of the power amplifiers. Synopsis: ThermFlag = get( tcrane, ‘ThermFlag’ ); set( tcrane, ‘ThermFlag’, NewThermFlag ); Tower Crane - User’s Manual 59