MICRO-EPSILON
X9751109-B060097MSC
27
7.
Serial Interfaces
The scanCONTROL sensor is equipped with two digital interfaces (RS232 and RS422/
485) via which communication can take place with the sensor from a normal PC. The
interfaces cannot be used simultaneously. The data transfer takes place in plain text
using ASCII characters. The exact documentation of the communication protocols can
be found on CD.
7.1
RS232
The RS232 module uses the RS232 standard (EIA/TIA-232-E or EIA/TIA-694) for the
serial communication.
Parameters
Bit rate:
115.2 kBaud
Data format:
8 data bits, no parity, one start bit, 2 stop bits
Max. cable length:
3 m
7.2
RS422/485
This interface is not capable of bus operation.
Parameters
Bit rate:
115.2 kBaud
Data format:
8 data bits, no parity, 2 stop bits
Max. cable length:
10 m
7.3
Pin Assignment
7.4
Digital Measurement Output
Value range
Computation of the measurement in mm from the digital value (numerical value):
scanCONTROL28x0-100:
z (mm) = ( numerical value - 32768 ) * 0.005 mm + 250 mm
x (mm) = ( numerical value - 32768 ) * 0.005 mm
scanCONTROL28x0-25:
z (mm) = ( numerical value - 32768 ) * 0.001 mm + 80 mm
x (mm) = ( numerical value - 32768 ) * 0.001 mm
For z values the reference point is the sensor edge and for x values the center line.
Serial Interfaces
1 ...
65535
16 bit
z = 0
invalid
(error)
n
i
P
2
3
2
S
R
1
2
2
3
2
S
R
T
3
2
3
2
S
R
R
4
5
D
N
G
Tab. 7.1a: RS232
Tab. 7.1b: RS422
Fig. 7.1b: 15-pole HD
subminiature connector, RS422,
view on solder pin side male
cable connector
1
5
6
9
1
5
11
15
6
10
Fig. 7.1a: 9-pole HD
subminiature connector, RS232,
view on solder pin side male
cable connector
n
i
P
2
2
4
S
R
1
2
2
4
S
R
R
2
2
2
4
S
R
R
/
3
2
2
4
S
R
T
4
2
2
4
S
R
T
/
5