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.

The motor controller can only move 65,535 steps at a time. For larger moves, <strong>spec</strong>will automatically send 65,535 steps at a time until the complete move is performed.Only the up-to-three motors on the same connector can be moved simultaneously.<strong>spec</strong> prints an error message if you to try to move a motor on a one connector whilemotors on another connector are active. (The moves could be automatically queuedin software if users think such additional code development is warranted.)Note also, the commands chg_dial(mne, "lim+") and chg_dial(mne, "lim−") canbe used to start continuous moves, which can be stopped either with ˆC or the stop()function. Please beware also, there is no limit switch capability with this controller,so moves must be stopped by user intervention.Command pass through is available using the following functions.motor_par(motor, "send", cmd) — Sends the string cmd to the New Focus channelassociated with motor .motor_par(motor, "read", cmd) — Sends the string cmd to the New Focus channelassociated with motor ,asabove, and returns a string containing the response.The following <strong>spec</strong>ial commands are also available:motor_par(motor, "always_address", mode) — By default, <strong>spec</strong> currently prefixeseach command sent to the controller with an eleven-character channel-selectinstruction. Communication can be made more efficient by turning off the"always_address" feature by calling this function with mode set to 0. Withthe mode off, the channel-select instruction is only sent when needed. The reasonfor always sending the channel-select information is to avoid <strong>spec</strong> losingtrack of the current channel in the event a user manually switches the controllerto local mode.motor_par(motor, "was_local") — This command will force <strong>spec</strong> to issue a channelselectinstruction for the next command, allowing recovery after manuallyswitching the controller to local mode when the "always_address" mode is off.Newpor t (Klinger) Motion Master 2000/3000 (GPIB, Serial and PC Board)config file:RS_MM2000 = device_name baud_rate number_of_motorsRS2_MM2000 = device_name baud_rate number_of_motorsGP_MM2000 = gpib_address number_of_motorsPC_MM2000 = base_address number_of_motorsedconf devices screen:238 HARDWARE REFERENCE INTERIM WORK-IN-PROGRESS (8/16/01) NOT FOR GENERAL DISTRIBUTION

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

Saved successfully!

Ooh no, something went wrong!