SHIMPO DAG-2000 User Manual

Page 28

Advertising
background image

DIGITAL AIR MICROMETER USERS MANUAL (Second Edition)

28

CHAPTER 7

EXTERNAL I/O FUNCTION

7.1 Serial (RS232C) communications function

(1) Outline

This product uses serial communications and is capable of outputting the measurement value and
judgement to the printer or PC.

(2) Preparation

The RS232C back side of the main body is the connection port to printer and PC.
Please connect to the main body the optional communications cable D-sub9P (OSS).

(3) RS232C Connector

Note: Please set the cable length within 15m.












(4) Serial port settings








(5) Measurement results output

Outputs the measurement value and judgment result.

① Simple command

Please transmit “D” only. Returns the output data of ② (below).

② Simple output data

Returns the data shown below:









Judgment is outputted as “-NG”, “-OK”, “OK”, “+OK”, “+NG”


(6) Data transmission method from the main body

At measurement mode, please press ENT or the measurement button (refer to 7.2 External button
input for details).

Transmits in [(5) Simple Output Data] format.

Note:

Data cannot be transmitted when master calibration is NG.

Pin No.

Signal name

1
2 RxD
3 TxD
4
5 GND
6
7 RTS
8 CTS

1
2
3
4
5

6
7
8
9

Settings name

Settings details

Bow rate

Bit/letter

Stop bit
Start bit

Parity bit

9600

8
1
1

none

Measurement value

SP

Judgment

CR

LF

20 20 31 2E

32

33

34

35

20

20

4F 4B 0D 0A

SP

SP 1 . 2 3 4 5 SP

SP

O K

CR

LF

✻ SP represents SPACE.

Letter:

ASCII code:

Example:

8 letters

3 letters

14 letters

Advertising