Calibrating the mpm-2000 – Ocean Optics MPM-2000 User Manual

Page 30

Advertising
background image

A: RS232 ASCII Commands

22

000-10000-120-02-1209

To check if the MPM-2000 has reached the given position you can poll the actual position (POS[CR]) and
compare it with desired position.

Note:

A difference of +/-1 between the desired position and the real position can occur. This is not a

functional error.

Calibrating the MPM-2000

To calibrate the MPM-2000 Optical Multiplexer, you must write the complete program file to the
EEPROM in the MPM-2000. This means that every line included in the original file must again be
written to and stored in the EEPROM.

Caution

Do NOT change anything other than the numbers representing the channel
positions! Any other change can lead to a system malfunction.

Commands to Save a File to the EEPROM

Command

Description

Example

PROGSEQ

Defines the beginning of a Sequence program. All commands
given after PROGSEQ will be sent directly to the EEPROM until
the END command

(

Caution:

Do NOT cut the supply power to the motor during

programming).

PROGSEQ[CR]

END

Defines the end of the program. All commands given after the END

will be immediately carried out by the motor.

END[CR]

GPROGSEQ

Gets program sequence

This function returns the complete program stored in the EEPROM

GPROGSEQ[CR]

ENPROG

Starts the program

This Program command can also be saved with the EEPSAV
command. The program will then run directly after turning on the
power to the motor.

ENPROG[CR]

DIPROG

Deactivates the program

DIPROG[CR]

LR

Loads relative position

Loads new relative position

LA1000[CR]

M[CR]

Advertising