Error Messages; Examples Of Messages; Examples Of Programs (Quick Basic By Microsoft); Example With Rs-232-C Interface - Newport LDS1000 User Manual

Controller for laser diode sensors
Table of Contents

Advertisement

LDS1000
10.6

Error Messages

Error messages are available in a specific memory of the LDS1000
Controller, in reply to the TE or TB message sent by the interface.
Character
Reading the error message resets the error memory to @.
10.7

Examples of Messages

The chain transmitted can be the second part of a command separated by
a comma or a semi-colon.
KI100;SP1000;TM100
Acquisition of 100 points with a period of 1000 msec and an integration
constant of 100 msec.
KI0;SP5;10TK100
Acquisition of 100 points with a period of 5 msec without integration. The
acquisition is synchronized on the TRIGG input so that the measurement
number 10 is synchronous with the setting to high status of this input.
KI1000;TQ100
Acquisition of 100 points with an integration constant of 1000 msec. Each
acquisition is triggered by setting the TRIGG input from 0 to 1.
10.8

Examples of Programs (Quick Basic by Microsoft)

10.8.1

Example with RS-232-C Interface

The RS-232-C interface is used to connect the LDS1000 Controller to a com-
puter or a console.
The controller manages the RS-232-C interface like a three-wire interface:
only the send and receive lines are used as well as the mass.
This controller manages all the interface parameters that must be set at the
same values for the LDS and the computer (refer to the configuration chap-
ter).
The following parameters are selected by default:
• BAUD RATE
• MSG TERM
• WORD LENGTH : 8
• STOP BITS
• PARITY
A higher rate can be obtained with BAUD RATE = 19200 if the computer can
bear it.
The CR terminator is the basic default terminator.
Controller for Laser Diode Sensors
Description
@
No error.
A
Unknown message code.
B
Incorect axis number.
C
Parameters out of limits.
D
Execution not allowed.
O
Variable is out of range.
S
Communication time-out.
: 9600
: CR
: 1
: NONE
57
EDH0170FE1010 – 09/98

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents