12.07.2015 Views

spec - Local Sector 7 web page

spec - Local Sector 7 web page

spec - Local Sector 7 web page

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

30.FOURC> print motor_par(tth, "read", "RP")24000031.FOURC>results in the string "AX RP\n" being sent to the controller.Asynchronous Surface ScanningThe following commands implement a <strong>spec</strong>ial asynchronous, two-dimensional scanningmode available with newer versions of the OMS firmware. The scan is in theform of a repeating square wave, as illustrated below.----- ----- -----| | | | | |d| | | | | |y| | | | | || | | | | |o ----- ----- ---> dxThe scan starts at the point o ,as<strong>spec</strong>ified with the commands below, and continuesin the x and y directions in the range as <strong>spec</strong>ified with the commands below. Attheend of the range, the motors are returned to the starting position and the scan isrepeated.Twomotors must be configured with the mnemonics dx and dy in order for the asynchronousscanning mode to be available. When not in scanning mode, these motorsmay be moved normally.Once started, the scanning will continue until explicitly stopped either with thestop_scan command (shown below), with a ˆC typed at the keyboard or with a synccommand (which aborts the motors, but doesn’t update <strong>spec</strong>’s positions). While scanning,the wait() function will not indicate these motors are moving. The getanglescommand will, however,return the current positions of these motors.When the dx and dy motors are scanning, the remaining motors may be moved independently.motor_par(motor, "x_start", value) — Sets the starting position for the dx motor.motor_par(motor, "x_range", value) — Sets the extent of the motion in the x direction.motor_par(motor, "x_stepsize", value) — Sets the size of each step in x. The numberof steps is determined by dividing this number into the range for x.motor_par(motor, "y_start", value) — Sets the starting position for the dy motor.INTERIM WORK-IN-PROGRESS (8/16/01) NOT FOR GENERAL DISTRIBUTION HARDWARE REFERENCE 243

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!