Programming Conventions - Newport LDS1000 User Manual

Controller for laser diode sensors
Table of Contents

Advertisement

LDS1000
The core of each command is made up of two letters. For example:
The parameters associated with the command are:
• Either the full digital values, preceding the command core. They usually
indicate the address (or the number) where the information should be
looked for. For example:
• Or the decimal digital values, using a separating dot (.), according to the
central core. They correspond to a value transmitted to the controller
to modify the parameter concerned. For example:
TM152: Launch the acquisition of 152 measurements.
The commands received by the controller are stored in a communication
buffer of 255 characters. The controller carries them out chronologically by
emptying this buffer memory.
The ASCII chains transmitted from the controller to the computer are the
following:
• Generally they start by copying a part of the message sent.
• They are followed by the value or values of the response parameter.
• Commas are used to separate (,).
For example, when the 1TP command is sent which requests the value
measured on axis 1, the controller returns the chain:
1TP-1596.3 which indicates that the value measured on axis 1 is -1596.3.
Certain commands do not generate return from the LDS1000 Controller. For
example, the SP50 command that sets the sampling period at 50 msec.
Incorrect commands create an error. Only the last error code is stored in
the memory. This code will be reset at @ (no error) when it is read again.
In every case, to find out whether the command has been correctly perfor-
med, test the status of the controller using the TB command (Reading the
error).
The list of commands recognized by the LDS1000 Controller are given later
in this manual. You are advised to read the description of a command care-
fully before using it.
10.3.2

Programming Conventions

• Access to Interface Mode is only driven by the computer (MR com-
mand).
• Access to Interface Mode is only possible if the controller is in its main
menu.
• When the controller is in Interface Mode, none of the keys on the front
panel are valid.
• The axes called Y and Z on the display correspond respectively to num-
bers 1 and 2 of the Interface Mode commands.
• The result matrices are numbered starting at 1. The first value in the
memory is marked value 1.
• The measurements transmitted by the controller have the same format
as the values displayed. They take into account the units used for the
selected sensor.
• The Interface Mode output is activated by computer (ML command).
Controller for Laser Diode Sensors
MR: Set remote mode.
42TT: Reading the measurement number 42.
37
EDH0170FE1010 – 09/98

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents