Nikon Communication Interface Manual · 2020. 11. 18. · Rev.4 2009-Dec-8 Modified *!BSE format...

34
Nikon Communication Interface Manual Nikon DTM Series Nikon NPL Series Nikon NPR Series Nikon Nivo Series Dec. 2009 Rev.4 © NIKON-TRIMBLE Corporation. All rights reserved. Confidential

Transcript of Nikon Communication Interface Manual · 2020. 11. 18. · Rev.4 2009-Dec-8 Modified *!BSE format...

Page 1: Nikon Communication Interface Manual · 2020. 11. 18. · Rev.4 2009-Dec-8 Modified *!BSE format Confidential. Nikon Communication Interface Manual 1. Introduction This manual explains

Nikon Communication Interface Manual

Nikon DTM Series Nikon NPL Series Nikon NPR Series Nikon Nivo Series

Dec. 2009

Rev.4

© NIKON-TRIMBLE Corporation. All rights reserved.

Confidential

Page 2: Nikon Communication Interface Manual · 2020. 11. 18. · Rev.4 2009-Dec-8 Modified *!BSE format Confidential. Nikon Communication Interface Manual 1. Introduction This manual explains

Nikon Communication Interface Manual

P2/34

History:

Rev.2 2008-Mar-19 Added $LPT, ?LPT for NPR series

Rev.3 2009-Oct-12 Added Nivo series

Rev.4 2009-Dec-8 Modified *!BSE format

Confidential

Page 3: Nikon Communication Interface Manual · 2020. 11. 18. · Rev.4 2009-Dec-8 Modified *!BSE format Confidential. Nikon Communication Interface Manual 1. Introduction This manual explains

Nikon Communication Interface Manual

1. Introduction

This manual explains how to connect Nikon Total Stations and external devices by

serial interface. About hardware and communication software necessary to the

connection are briefly described as well.

2. Interface system

The interface is directed by RS-232C. External devices must have a RS-232C port.

3. Connecter

3-1. Interface connecter

Cable side: HR10A-7R-6P Instrument side: HR10A-7R-6S

(Hirose Electric Co.) (Hirose Electric Co.)

HRS

6

4

5

1

3

2HRS

1

3

2

6

4

5

<Pin assignments other than Nivo >

No. Symbol Signal name Direction

1 RXD Receiving data* Instrument External device

2 TXD Sending data* Instrument External device

3 V Power** N/A

4 NC Not in use N/A

5 GND Ground N/A

6 NC Not in use N/A

<Pin assignment for Nivo only>

No. Symbol Signal name Direction

1 RXD Receiving data* Instrument External device

2 TXD Sending data* Instrument External device

3 NC Not in use N/A

4 V Power** N/A

5 GND Ground N/A

6 NC Not in use N/A

* Name of the signal is from its action looking at the instrument.

** “Power” is a connecter to provide electricity to the instrument. It has nothing to do

with the communication.

(RXD) (TXD)

High level input voltage: 2.4V≦ High level output voltage: 5~15V/3.5~5.0V

Low level input voltage: 0.6V≧ Low level output voltage: -15~-5V/0~1.5V

P3/34

Confidential

Page 4: Nikon Communication Interface Manual · 2020. 11. 18. · Rev.4 2009-Dec-8 Modified *!BSE format Confidential. Nikon Communication Interface Manual 1. Introduction This manual explains

Nikon Communication Interface Manual

!!!CAUTION!!!

- Connection to the instrument side must follow the pin assignment above.

Misconnection may result in malfunctioning.

- By connecting RS-232C communication signal from external device and GND

to the pin #1,#2, and #5 on instrument side, the external device can be

download/upload data to the instrument.

- Electricity can be provided through pin #3 and #5 on the instrument, even if

the clip-on battery is mounted. The rated apparent power is DC7.2-11V (4.5

V to 5.2 V for Nivo only), Max 1A. Not to use the out-of-range power; it may

result in malfunctioning.

3-2. Connecter on external devices (in case of connection cable)

25 Pin

131

14 25

Alignment looking at the pin side of the plug

No. Symbol Signal name Direction

2 TXD Sending data* Instrument External device

3 RXD Receiving data* Instrument External device

4, 5 CTS, RTS (connected inside)

6, 20 DSR, DTR (connected inside)

7 GND Ground N/A

* Name of the signal is from its action looking at the external device.

9 Pin

9 6

1 5

Alignment looking at the hole side of the plug

No. Symbol Signal name Direction

2 RXD Receiving data* Instrument External device

3 TXD Sending data* Instrument External device

4, 6 DSR, DTR (connected inside)

7, 8 CTS, RTS (connected inside)

5 GND Ground N/A

* Name of the signal is from its action looking at the external device.

P4/34

Confidential

Page 5: Nikon Communication Interface Manual · 2020. 11. 18. · Rev.4 2009-Dec-8 Modified *!BSE format Confidential. Nikon Communication Interface Manual 1. Introduction This manual explains

Nikon Communication Interface Manual

P5/34

4. Electrical Characteristics

a) Synchronous Method : ASYNC

b) Communication Method : Full Duplex

c) Signal logic : Negative True (1: ≦0.8V, 0: 2.4V≧)

d) Signal level : ±9V, standard

d) Baud rate : 1200/2400/4800/9600/19200/38400

e) Stop bit : 1 or 2 bit

f) Data length : 7 or 8 bit

g) Parity : None/even/odd

5. Nikon Communication commands

5-1. Protocol

“Protocol” is a set of rules applied to the communication in order to receive/send data securely.

It is independent from contents of receiving/sending data.

<Basic Protocol> +0 +1 +2 +3 --- +n +n+1 +n+2 +n+3 +n+4

SOH

(01h)

Sender

code

Receiver

code

STX

(02h)

Command or

data character

ETX

(03h)

BCCEOT (04h)

CR (0dh)

LF (0ah)

Header Code Contents Chk Trailer

- SOH (01h): Header; Start of the communication

- Sender/Receiver codes: T: Instrument (Total Station)

R: Data Recorder

C: Other external device Ex.) When sending data from an external device to the instrument, the code

becomes ‘CT’. If outputting data from instrument to an external device, it is ‘TC’.

- Contents:

<Command/Data Protocol>

SOH

(01h)

Sender

code

Receiver

code

STX

(02h)

Command/Data string

ETX(03h)

BCCEOT(04h)

CR (0dh)

LF (0ah)

STX (02h): Start of the command or data string

ETX (03h): End of the command or data string

* ASCII characters should be used in “Command/Data string”

<Control-code (ACK/NAK) Protocol>

SOH

(01h)

Sender

code

Receiver

code

ACK or

NAK BCC

EOT

(04h)

CR

(0dh)

LF

(0ah)

ACK = 06h: Permission of communication or success in transmission.

NAK = 15h: Failure in transmission (= request for re-send)

* ACK/NAK control-code doesn’t need STX and ETX.

Confidential

Page 6: Nikon Communication Interface Manual · 2020. 11. 18. · Rev.4 2009-Dec-8 Modified *!BSE format Confidential. Nikon Communication Interface Manual 1. Introduction This manual explains

Nikon Communication Interface Manual

- BCC: consists of 1-byte characters.

BCC= (S MOD 40h) + 20h (h = hex)

“S” in above formulae is the lower one byte of the total sum from “Sender

code” to “ETX” (=before BCC). “BCC” can be any value between 20h and

5Fh

* Compare the BCC in the received data and the calculated value.

If they are the same, the communication was successfully done.

- EOT: Trailer; End of the communication

The “CR/LF” is added at the end.

EOT = 04h

CR = 0dh

LF = 0ah

5-2. Procedures

- When instrument receives a block of data, BCC is checked and ACK is to be returned if the

block was successfully received. NAK is to be returned if an error is reported.

- If a NAK is received by the instrument, then the last block is to be resent by the instrument,

however, the count of NAK is not checked by the instrument, therefore, it is

recommendable to stop sending data by external devices side in such a case in order to

avoid any trouble which may be triggered in the hardware.

- No reply (ACK) is required to ACK/NAK.

・Receiving Success <A> <B>

Command/Data Block-X

ACK

(END) ・Receiving Error

P6/34

(Resend the same block)

(END)

Command/Data Block-X

Command/Data Block-X

ACK

NAK

Confidential

Page 7: Nikon Communication Interface Manual · 2020. 11. 18. · Rev.4 2009-Dec-8 Modified *!BSE format Confidential. Nikon Communication Interface Manual 1. Introduction This manual explains

Nikon Communication Interface Manual

P7/34

5-3. Commands/Data format

Three types of commands are available;

a) Remote control command: Change function. Most commands do not follow any data output.

b) Data set command: Set instrument settings such as temperature, pressure etc. No data output follows.

c) Data output command: Output measured data, setting data etc. Follows data output.

Keyword

Remote control command “$”

Data set command “!”

Data output command: “?”

Each command consists of a keyword, three characters. Parameters are added when necessary.

Keyword($/!/?)

Char-1 Char-2 Char-3 Parameter…

An asterisk is added in front of the keyword when the extended command is to be used.

* Keyword

($/!/?) Char-1 Char-2 Char-3 Parameter…

Confidential

Page 8: Nikon Communication Interface Manual · 2020. 11. 18. · Rev.4 2009-Dec-8 Modified *!BSE format Confidential. Nikon Communication Interface Manual 1. Introduction This manual explains

Nikon Communication Interface Manual

P8/34

5-4. Command list

a) Remote control commands

Command Remarks

$MSR Taking a distance measurement in Precise mode.

Resolution and average of current settings are used in the measurement.

When the “Data output after MSR” feature is set to ON, the measured data is to be

output in the specified format.

$TRK Taking a distance measurement in Normal mode.

Resolution and average of current settings are used in the measurement.

When the “Data output after MSR” feature is set to ON, the measured data is to be

output in the specified format.

$HTR Initiate continuous (tracking) distance measurements. (AVE=0)

Resolution is fixed to COARSE mode.

When the “Data output after MSR” feature is set to ON, the measured data is to be

output in the specified format.

$SHV Change displays. The same function as the “DSP” key on the instrument.

$RHA Reset horizontal angle to zero.

$BZR Beep for “n” x 50msec. (“n” = Length of the sound; 1~9)

$DON Set “output SD after each measurement” feature ON.

$DNX Set “output SD/HA/VA after each measurement” feature ON.

$DOF Cancel $DON and $DNX command.

$DSN Set “output SD after each measurement” feature ON. After this command, SD from

the very first measurement is to be output and “$DOF” is set automatically.

$DSX Set “output SD/HA/VA after each measurement” feature ON. After this command,

SD/HA/VA from the very first measurement is to be output and “$DOF” is set

automatically.

$HAN Change the display on the instrument to the basic measurement screen (BMS).

$ANG Change the display on the instrument to the BMS.

$REC Output the measured data (PT/HT /SD/HA/VA) with 7-digit PT.

$COF Turn the Lumi-Guide OFF.

$CON Turn the Lumi-Guide ON.

$LPT Turn the Laser pointer ON or OFF.

*$REC Output the measured data (PT/HT /SD/HA/VA) with 16-digit PT.

b) Data Set commands

Command Remarks

!AVE Set an average count of the measurement

!PNO Set a default point number/name

!PSM Set the prism constant

!T-P Set the current temperature and pressure

!HAN Set the horizontal angle (by 7 digits)

!CND Set a set of initial settings on the instrument

Confidential

Page 9: Nikon Communication Interface Manual · 2020. 11. 18. · Rev.4 2009-Dec-8 Modified *!BSE format Confidential. Nikon Communication Interface Manual 1. Introduction This manual explains

Nikon Communication Interface Manual

P9/34

!BSE Set station coordinate data (HI & Stn-XYZ) and HT.

!SOD Set a set of stakeout data (by HA+HD) and jump to the Stakeout screen

!SOC Set a set of stakeout data (by 9-digit coordinates) and jump to the Stakeout screen

!TGT Set the type of measuring target (Prism/Sheet or Prism/N-Prism)

*!PNO Set a point number. (16-digit PT)

*!HAN Set the current horizontal angle (by 8 digits)

*!SOC Set a set of stakeout data (by 12-digit coordinates) and jump to the Stakeout screen

*!BSE Set station coordinate data (HI & Stn-XYZ) and HT. (by 12-digit coordinate)

*!H-T Set a height of target. (by 7 digits)

C) Data Output Commands

Command Remarks

?CND Output a set of initial settings on the instrument

?VAN Output the current vertical angle (by 9 digits)

?HAN Output the current horizontal angle (clockwise; by 9 digits)

?HRV Output the current horizontal angle (counter-clockwise; by 9 digits).

?SDS Output the current slope distance

?HDS Output the horizontal distance

?VDS Output the vertical distance

?PSM Output the current prism constant value

?PNO Output the current default point number/name (in 7 digits)

?T-P Output the current temperature and pressure

?BAT Output the current battery level

?AVE Output the average count of measurement

?BSE Output the current station coordinate (HT/HI/Stn-XYZ) on the instrument

?CDR Output a coordinate

?SOD Output a set of stakeout data (by HA+HD)

?SOC Output a set of stakeout data (by 9-digit Coordinate)

?LPT Output the status of the Laser pointer.

*?PNO Output the current default point number/name (16-digit PT)

*?BAT Output the current battery level (in 16 levels)

*?CDR Output coordinates (in 12-digit)

*?SOC Output a set of stakeout data (by 12-digit coordinates)

*?BSE Output the current station coordinate(HT/HI/Stn-XYZ) (in 12-digit coordinate)

*?H-T Output the height of target (in 7 digits)

Confidential

Page 10: Nikon Communication Interface Manual · 2020. 11. 18. · Rev.4 2009-Dec-8 Modified *!BSE format Confidential. Nikon Communication Interface Manual 1. Introduction This manual explains

Nikon Communication Interface Manual

P10/34

5-5. Format of commands

a) Remote control command

$MSR

Input None

Output None

Remarks Taking a distance measurement in Precise mode.

Resolution and average of current settings are used in the measurement.

When the “Data output after MSR” feature is set to ON, the measured data is to be

output in the specified format.

$TRK

Input None

Output None

Remarks Taking a distance measurement in Normal mode.

Resolution and average of current settings are used in the measurement.

When the “Data output after MSR” feature is set to ON, the measured data is to be

output in the specified format.

$HTR

Input None

Output None

Remarks Initiate continuous distance measurements. (AVE=0)

Resolution is fixed to COARSE mode.

When the “Data output after MSR” feature is set to ON, the measured data is to be

output in the specified format.

$SHV

Input None

Output None

Remarks Change display. (Same as [DSP] key on the instrument.)

$RHA

Input None

Output None

Remarks Reset the horizontal angle to zero.

$BZR

Input + 0 : Length (1 to 9)

Output None

Remarks $BZRn; Beep a tone for “Length” x 50 msec.

Confidential

Page 11: Nikon Communication Interface Manual · 2020. 11. 18. · Rev.4 2009-Dec-8 Modified *!BSE format Confidential. Nikon Communication Interface Manual 1. Introduction This manual explains

Nikon Communication Interface Manual

P11/34

$DON

Input None

Output None

After receiving this command, output SD in the following format upon every

measurement (initiated by $MSR).

+ 0 : " "

+ 1 : "S"

+ 2 : "D"

+ 3 : ":"

Remarks

+ 4-12 : Slope distance data (9-digit distance type)

$DNX

Input None

Output None

After receiving this command, output HA/VA/SD in the following format upon each

measurement (initiated by $MSR).

+ 0 : " "

+ 1 : "S"

+ 2 : "D"

+ 3 : ":"

+ 4 - 12 : Slope distance data (9-digit distance type)

+ 13 : " "

+ 14 : "H"

+ 15 : "A"

+ 16 : Tilt sensor ON: ":" Tilt sensor OFF: "#"

Single tilt sensor model: fixed to ":"

+

17 -

25 : Horizontal angle data (9-digit angle type)

+ 26 : " "

+ 27 : "V"

+ 28 : "A"

+ 29 : Tilt sensor ON: ":" Tilt sensor OFF: "#"

Remarks

+

30 -

38 : Vertical angle data (9-digit angle type)

$DOF

Input None

Output None

Remarks Cancel the $DON/$DNX (data output upon every measurement).

Confidential

Page 12: Nikon Communication Interface Manual · 2020. 11. 18. · Rev.4 2009-Dec-8 Modified *!BSE format Confidential. Nikon Communication Interface Manual 1. Introduction This manual explains

Nikon Communication Interface Manual

P12/34

$DSN

Input None

Output None

Remarks Set “output SD after each measurement” feature ON. After this command, SD from

the very first measurement (initiated by $MSR) is to be output and “$DOF” is set

automatically.

$DSX

Input None

Output None

Remarks Set “output SD/HA/VA after each measurement” feature ON. After this command,

SD/HA/VA from the very first measurement (initiated by $MSR) is to be output and

“$DOF” is set automatically.

$HAN

Input None

Output None

Remarks Return (=change the screen on the instrument) to the BMS.

$ANG

Input None

Output None

Remarks Return (=change the screen on the instrument) to the BMS.

Confidential

Page 13: Nikon Communication Interface Manual · 2020. 11. 18. · Rev.4 2009-Dec-8 Modified *!BSE format Confidential. Nikon Communication Interface Manual 1. Introduction This manual explains

Nikon Communication Interface Manual

P13/34

$REC

Input None

Output + 0 : " "

+ 1 : "P"

+ 2 : "N"

+ 3 : ":"

+ 4 - 10 : Point number (7 digits)

+ 11 : " "

+ 12 : "S"

+ 13 : "D"

+ 14 : ":"

+

15 -

23 Slope distance data (9-digit distance type)

+ 24 : " "

+ 25 : "H"

+ 26 : "A"

+ 27 : Tilt sensor ON: ":" Tilt sensor OFF: "#"

: Single tilt sensor model: fixed to ":"

+

28 -

36 : Horizontal angle data (9-digit angle type)

+ 37 : " "

+ 38 : "V"

+ 39 : "A"

+ 40 : Tilt sensor ON: ":" Tilt sensor OFF: "#"

+

41 -

49 : Vertical angle data (9-digit angle type)

+ 50 : " "

+ 51 : "H"

+ 52 : "T"

+ 53 : ":"

+

54 -

62 : Height of target (9-digit distance type)

Remarks Output the measured data with 7-digit PT.

Confidential

Page 14: Nikon Communication Interface Manual · 2020. 11. 18. · Rev.4 2009-Dec-8 Modified *!BSE format Confidential. Nikon Communication Interface Manual 1. Introduction This manual explains

Nikon Communication Interface Manual

P14/34

$COF

Input None

Output None

Remarks Turn the Lumi-Guide OFF.

$CON

Input None

Output None

Remarks Turn the Lumi-Guide ON.

$LPT

Input +0 : “0” OFF

: “1” ON

Output None

Remark Turn the Laser pointer ON or OFF.

Laser pointer turn OFF when the input parameter +0 is “0”.

Laser pointer turn ON when the input parameter +0 is “1”.

*Only the NPR series is effective to this command.

Confidential

Page 15: Nikon Communication Interface Manual · 2020. 11. 18. · Rev.4 2009-Dec-8 Modified *!BSE format Confidential. Nikon Communication Interface Manual 1. Introduction This manual explains

Nikon Communication Interface Manual

P15/34

*$REC

Input None

+ 0 : " "

+ 1 : "P"

+ 2 : "N"

+ 3 : ":"

+ 4 - 19 : Point number (16 digits)

+ 20 : " "

+ 21 : "S"

+ 22 : "D"

+ 23 : ":"

+

24 -

32 Slope distance data (9 digits distance type)

+ 33 : " "

+ 34 : "H"

+ 35 : "A"

+ 36 : Tilt sensor ON: ":" Tilt sensor OFF: "#"

: Single tilt sensor model: fixed to ":"

+

37 -

45 : Horizontal angle data (9-digit angle type)

+ 46 : " "

+ 47 : "V"

+ 48 : "A"

+ 49 : Tilt sensor ON: ":" Tilt sensor OFF: "#"

+

50 -

58 : Vertical angle data (9-digit angle type)

+ 59 : " "

+ 60 : "H"

+ 61 : "T"

+ 62 : ":"

Output

+

63 -

71 : Height of target (9 digits)

Remarks Output the measured data with 16-digit PT.

Confidential

Page 16: Nikon Communication Interface Manual · 2020. 11. 18. · Rev.4 2009-Dec-8 Modified *!BSE format Confidential. Nikon Communication Interface Manual 1. Introduction This manual explains

Nikon Communication Interface Manual

P16/34

b) Data set command

!AVE

Input + 0 - 1 : Number of averaging measurement (“00” – “99”)

Output None

Remarks Set an average count of the measurement. It is set to [MSR] (or [MSR1]) key only.

!PNO

Input + 0 - 6 : Point number (7 digits)

Output None

Remarks Set a default point number/name (7-digit PT)

!PSM

Input + 0 - 3 : Prism constant ("-999" - "999")

Output None

Remarks Set the prism constant. It is set to [MSR] (or [MSR1]) key only.

!T-P

Input + 0 - 2 : Air temperature

+ 3 : " "

+ 4 - 7 : Air pressure

Output None

Remarks Set the current temperature and pressure.

!HAN

Input + 0 - 6 : Horizontal angle (7 digits)

Output None

Remarks Set the horizontal angle. (in 7 digits)

Confidential

Page 17: Nikon Communication Interface Manual · 2020. 11. 18. · Rev.4 2009-Dec-8 Modified *!BSE format Confidential. Nikon Communication Interface Manual 1. Introduction This manual explains

Nikon Communication Interface Manual

P17/34

!CND

+ 0 : Tilt sensor : "O": OFF, "I": ON

+ 1 : Don’t care

+ 2 - 3 : Time of main power cut timer

+ 4 - 5 : Time of EDM power cut timer

+ 6 : Don’t care

+ 7 : Don’t care

+ 8 : Angle resolution: H: high, C: normal, L: low

+

9

: Temp./Press. unit

hPa mmHg inchHg

゚ C "2" "0" "1"

゚ F "5" "3" "4"

+ 10 : Distance unit M: Meter, N:International-Feet, F:US-Feet

+ 11 : Angle unit D: DMS, G: GON, M: MIL

+ 12 : Vertical zero position: V: Zenith, H: Horizon, C: Compass

+ 13 : Coordinates axis: X: NEZ order, Y: ENZ order

+ 14 : Coordinates label: X: XYZ label, N: NEZ (or ENZ) label

+ 15 : C&R correction: O: OFF, I: ON

+ 16 : Don’t care

+ 17 : Don’t care

+ 18 : Distance resolution: S: High precision, L: Low precision

Input

+ 19 : Don’t care

Output None

Remarks Set a set of initial settings on the instrument

There is no command for C&R coefficient.

!BSE

+ 0 - 5 : Height of target (6-digit distance type)

+ 6 : " "

+ 7 - 12 : Height of instrument (6-digit distance type)

+ 13 : " "

+

14 -

22 : X-coordinate (9-digit distance type)

+ 23 : " "

+

24 -

32 : Y-coordinate (9-digit distance type)

+ 33 : " "

Input

+

34 -

42 : Z-coordinate (9-digit distance type)

Output None

Confidential

Page 18: Nikon Communication Interface Manual · 2020. 11. 18. · Rev.4 2009-Dec-8 Modified *!BSE format Confidential. Nikon Communication Interface Manual 1. Introduction This manual explains

Nikon Communication Interface Manual

P18/34

Remarks Set station coordinate data (HI & Stn-XYZ) and HT.

Confidential

Page 19: Nikon Communication Interface Manual · 2020. 11. 18. · Rev.4 2009-Dec-8 Modified *!BSE format Confidential. Nikon Communication Interface Manual 1. Introduction This manual explains

Nikon Communication Interface Manual

P19/34

!SOD

+ 0 - 8 : Height difference (9-digit distance type)

+ 9 : " "

+

10 -

17 : Horizontal angle (8-digit angle type)

+ 18 : " "

Input

+

19 -

27 : Z coordinate (9-digit distance type)

Output None

Remarks Set a set of stakeout data (by HA+HD). Upon receiving this command, it jumps to the

Stakeout observation screen as well.

!SOC

+ 0 - 8 : X coordinate (9-digit distance type)

+ 9 : " "

+

10 -

18 : Y coordinate (9-digit distance type)

+ 19 : " "

Input

+

20 -

28 : Z coordinate (9-digit distance type)

Output None

Remarks Set a set of stakeout data (by 9-digit coordinates). Upon receiving this command, it

jumps to the Stakeout observation screen as well.

!TGT

Input + 0 : P: prism, R: reflector sheet, N: reflectorless mode

Output None

Remarks Set the measuring target (Prism or Ref-sheet/Non-Prism).

DTM-500/501/502//350/330/352/332 can be set to “P” or “R”

NPL-350/352/332 can be se to “P” or “N”

*!PNO

Input + 0 - 15 : Point number (16 digits)

Output None

Remarks Set a point number. (16-digit PT)

*!HAN

Input + 0 - 7 : Horizontal angle (8-digit angle type)

Output None

Remarks Set the horizontal angle. (in 8 digits)

Confidential

Page 20: Nikon Communication Interface Manual · 2020. 11. 18. · Rev.4 2009-Dec-8 Modified *!BSE format Confidential. Nikon Communication Interface Manual 1. Introduction This manual explains

Nikon Communication Interface Manual

P20/34

*!SOC

+ 0 - 11 : X coordinate (12-digit distance type)

+ 12 : " "

+

13 -

24 : Y coordinate (12-digit distance type)

+ 25 : " "

Input

+

26 -

37 : Z coordinate (12-digit distance type)

Output None

Remarks Set a set of stakeout data (in 12-digit coordinates) and jump to the Stakeout screen.

*!BSE

+ 0 - 6 :Height of target (7-digit distance type)

7 :" "

+ 8 - 19 :X-coordinate (12-digit distance type)

+ 20 :" "

+ 21 - 32 :Y-coordinate (12-digit distance type)

+ 33 :" "

Input

+ 34 - 45 :Z-coordinate (12-digit distance type)

Output None

Remarks Set station coordinate data (HI & Stn-XYZ) and HT. (in 12-digit coordinates)

*!H-T

Input + 0 - 6 : Height of target (7-digit distance type)

Output None

Remarks Set a height of target. (in 7 digits)

Confidential

Page 21: Nikon Communication Interface Manual · 2020. 11. 18. · Rev.4 2009-Dec-8 Modified *!BSE format Confidential. Nikon Communication Interface Manual 1. Introduction This manual explains

Nikon Communication Interface Manual

P21/34

c) Data output command

?CND

Input None

+ 0 : "C"

+ 1 : "N"

+ 2 : "D"

+ 3 : ":"

+ 4 : Tilt sensor: O: OFF I: ON

+ 5 : Fixed as "O"

+ 6 - 7 : Set time of main power cut timer

+ 8 - 9 : Set time of EDM power cut timer

+ 10 : Fixed as "R"

+ 11 : Fixed as "S"

+ 12 : Angle resolution: H: High C: Normal L: Low

+

13 :

Temp./Press. unit

hPa mmHg inchHg

゚ C "2" "0" "1"

゚ F "5" "3" "4"

+ 14 : Distance unit M: Meter, N:International-Feet, F:US-Feet

+ 15 : Angle unit D: DMS, G: GON, M: MIL

+ 16 : Vertical zero position: V: Zenith H: Horizon C: Compass

+ 17 : Coordinates order: X: NEZ order Y: ENZ order

+ 18 : Coordinates label: X: XYZ label N: NEZ(or ENZ) label

+ 19 : C&R correction: O: OFF I: ON

+ 20 : Fixed as "R"

+ 21 : Language : E: English K: Japanese

+ 22 : Distance resolution: S: High L: Low

Output

+ 23 : Fixed as "O"

Remarks Output a set of initial settings on the instrument

?VAN

Input None

+ 0 : " "

+ 1 : "V"

+ 2 : "A"

+ 3 : Tilt sensor ON: ":", Tilt sensor OFF: "#"

Output

+ 4 - 12 : Vertical angle (9-digit angle type)

Remarks Output the current vertical angle (in 9 digits)

Confidential

Page 22: Nikon Communication Interface Manual · 2020. 11. 18. · Rev.4 2009-Dec-8 Modified *!BSE format Confidential. Nikon Communication Interface Manual 1. Introduction This manual explains

Nikon Communication Interface Manual

P22/34

?HAN

Input None

+ 0 : " "

+ 1 : "H"

+ 2 : "A"

+ 3 : Tilt sensor ON: ":", Tilt sensor OFF: "#"

Single tilt sensor model: fixed to ":"

Output

+ 4 - 12 : Horizontal angle (clockwise, 9-digit angle type)

Remarks Output the current horizontal angle in clockwise reading (in 9 digits)

?HRV

Input None

+ 0 : " "

+ 1 : "H"

+ 2 : "R"

+ 3 : Tilt sensor ON: ":", Tilt sensor OFF: "#"

Single tilt sensor model: fixed to ":"

Output

+ 4 - 12 : Horizontal angle (counter-clockwise, 9-digit angle type)

Remarks Output the current horizontal angle in counter-clockwise reading (in 9 digits)

?SDS

Input None

+ 0 : " "

+ 1 : "S"

+ 2 : "D"

+ 3 : ":"

Output

+ 4 - 12 : Slope distance (9-digit distance type)

Remarks Output the current slope distance (in 9 digits)

?HDS

Input None

+ 0 : " "

+ 1 : "H"

+ 2 : "D"

+ 3 : ":"

Output

+ 4 - 12 : Horizontal distance (9-digit distance type)

Remarks Output the current horizontal distance (in 9 digits)

Confidential

Page 23: Nikon Communication Interface Manual · 2020. 11. 18. · Rev.4 2009-Dec-8 Modified *!BSE format Confidential. Nikon Communication Interface Manual 1. Introduction This manual explains

Nikon Communication Interface Manual

P23/34

?VDS

Input None

+ 0 : " "

+ 1 : "V"

+ 2 : "D"

+ 3 : ":"

Output

+ 4 - 12 : Vertical distance (9-digit distance type)

Remarks Output the current vertical distance (in 9 digits)

?PSM

Input None

+ 0 : "P"

+ 1 : "S"

+ 2 : "M"

+ 3 : ":"

Output

+ 4 - 7 : Prism constant (-999 to 999 mm)

Remarks Output the current prism constant value

?PNO

Input None

+ 0 : "P"

+ 1 : "N"

+ 2 : "O"

+ 3 : ":"

Output

+ 4 - 10 : Point number (7 digits)

Remarks Output the current default point number/name (in 7 digits)

?T-P

Input None

+ 0 : "T"

+ 1 : "M"

+ 2 : "P"

+ 3 : ":"

+ 4 - 6 : Temperature

+ 7 : "P"

+ 8 : "R"

+ 9 : "S"

+ 10 : ":"

Output

+ 11 - 14 : Pressure

Remarks Output the current temperature and pressure.

Confidential

Page 24: Nikon Communication Interface Manual · 2020. 11. 18. · Rev.4 2009-Dec-8 Modified *!BSE format Confidential. Nikon Communication Interface Manual 1. Introduction This manual explains

Nikon Communication Interface Manual

P24/34

?BAT

Input None

+ 0 : "B"

+ 1 : "A"

+ 2 : "T"

+ 3 : ":"

Output

+ 4 : 0 - 5

Remarks Output the current battery level

?AVE

Input None

+ 0 : " "

+ 1 : "A"

+ 2 : "V"

+ 3 : ":"

+ 4 : "0"

Output

+ 5 - 6 : Count of measurements to take an average

Remarks Output the current AVE count

Confidential

Page 25: Nikon Communication Interface Manual · 2020. 11. 18. · Rev.4 2009-Dec-8 Modified *!BSE format Confidential. Nikon Communication Interface Manual 1. Introduction This manual explains

Nikon Communication Interface Manual

P25/34

?BSE

Input None

+ 0 : " "

+ 1 : "H"

+ 2 : "T"

+ 3 : ":"

+ 4 - 12 : Target height (9-digit distance type)

+ 13 : " "

+ 14 : "H"

+ 15 : "I"

+ 16 : ":"

+ 17 - 25 : Instrument height (7-digit distance type)

+ 26 : " "

+ 27 : "X"

+ 28 : "B"

+ 29 : ":"

+ 30 - 38 : X-coordinate (9-digit distance type)

+ 39 : " "

+ 40 : "Y"

+ 41 : "B"

+ 42 : ":"

+ 43 - 51 : Y-coordinate (9-digit distance type)

+ 52 : " "

+ 53 : "Z"

+ 54 : "B"

+ 55 : ":"

Output

+ 56 - 64 : Z coordinate (9-digit distance type)

Remarks Output the current station coordinate (HT/HI/Stn-XYZ) on the instrument

Confidential

Page 26: Nikon Communication Interface Manual · 2020. 11. 18. · Rev.4 2009-Dec-8 Modified *!BSE format Confidential. Nikon Communication Interface Manual 1. Introduction This manual explains

Nikon Communication Interface Manual

P26/34

?CDR

Input None

+ 0 : " "

+ 1 : "C"

+ 2 : "X"

+ 3 : ":"

+ 4 - 12 : X coordinate (9-digit distance type)

+ 13 : " "

+ 14 : "C"

+ 15 : "Y"

+ 16 : ":"

+ 17 - 25 : Y coordinate (9-digit distance type)

+ 26 : " "

+ 27 : "C"

+ 28 : "Z"

+ 29 : ":"

Output

+ 30 - 38 : Z coordinate (9-digit distance type)

Remarks Output coordinates in 9 digits.

?SOD

Input None

+ 0 : " "

+ 1 : "S"

+ 2 : "V"

+ 3 : ":"

+ 4 - 12 : Height difference (9-digit distance type)

+ 13 : " "

+ 14 : "S"

+ 15 : "A"

+ 16 : ":"

+ 17 - 24 : Included angle difference (8-digit angle type)

+ 25 : " "

+ 26 : "S"

+ 27 : "H"

+ 28 : ":"

Output

+ 29 - 37 : Difference of horizontal distance

Remarks Output a set of stakeout data (by HA+HD)

Confidential

Page 27: Nikon Communication Interface Manual · 2020. 11. 18. · Rev.4 2009-Dec-8 Modified *!BSE format Confidential. Nikon Communication Interface Manual 1. Introduction This manual explains

Nikon Communication Interface Manual

P27/34

?SOC

Input None

+ 0 : " "

+ 1 : "S"

+ 2 :

+ 3 : ":"

+ 4 - 12 : X-coordinate (9-digit distance type)

+ 13 : " "

+ 14 : "S"

+ 15 : "Y"

+ 16 : ":"

+ 17 - 25 : Y-coordinate (9-digit distance type)

+ 26 : " "

+ 27 : "S"

+ 28 : "Z"

+ 29 : ":"

Output

+ 30 - 38 : Z-coordinate (9-digit distance type)

Remarks Output a set of stakeout data (by 9-digit Coordinate)

?LPT

Input None

Output +0 : “L”

+1 : “P”

+2 : “T”

+3 : “:”

+4 : “0” OFF , “1” ON

Remark Output the current Laser pointer status.

Return the output parameter +4 to “0” when the Laser pointer is OFF.

Return the output parameter +4 to “1” when the Laser pointer is ON.

*Only the NPR series is effective to this command.

Confidential

Page 28: Nikon Communication Interface Manual · 2020. 11. 18. · Rev.4 2009-Dec-8 Modified *!BSE format Confidential. Nikon Communication Interface Manual 1. Introduction This manual explains

Nikon Communication Interface Manual

P28/34

*?PNO

Input None

+ 0 : "P"

+ 1 : "N"

+ 2 : "O"

+ 3 : ":"

Output

+ 4 - 19 : Point number (16 digits)

Remarks Output the current default point number/name (16-digit PT)

*?BAT

Input None

+ 0 : "B"

+ 1 : "A"

+ 2 : "T"

+ 3 : ":"

Output

+ 4 - 5 : "00" - "16"

Remarks Output the current battery level (in 16 levels)

*?CDR

Input None

+ 0 : " "

+ 1 : "C"

+ 2 : "X"

+ 3 : ":"

+ 4 - 15 : X-coordinate (12-digit distance type)

+ 16 : " "

+ 17 : "C"

+ 18 : "Y"

+ 19 : ":"

+ 20 - 31 : Y-coordinate (12-digit distance type)

+ 32 : " "

+ 33 : "C"

+ 34 : "Z"

+ 35 : ":"

Output

+ 36 - 47 : Z-coordinate (12-digit distance type)

Remarks Output coordinates (in 12-digit)

Confidential

Page 29: Nikon Communication Interface Manual · 2020. 11. 18. · Rev.4 2009-Dec-8 Modified *!BSE format Confidential. Nikon Communication Interface Manual 1. Introduction This manual explains

Nikon Communication Interface Manual

P29/34

*?SOC

Input None

+ 0 : " "

+ 1 : "S"

+ 2 : "X"

+ 3 : ":"

+ 4 - 15 : X-coordinate (12-digit distance type)

+ 16 : " "

+ 17 : "S"

+ 18 : "Y"

+ 19 : ":"

+ 20 - 31 : Y-coordinate (12-digit distance type)

+ 32 : " "

+ 33 : "S"

+ 34 : "Z"

+ 35 : ":"

Output

+ 36 - 47 : Z-coordinate (12-digit distance type)

Remarks Output a set of stakeout data (by 12-digit coordinates)

Confidential

Page 30: Nikon Communication Interface Manual · 2020. 11. 18. · Rev.4 2009-Dec-8 Modified *!BSE format Confidential. Nikon Communication Interface Manual 1. Introduction This manual explains

Nikon Communication Interface Manual

P30/34

*?BSE

Input None

+ 0 : " "

+ 1 : "H"

+ 2 : "I"

+ 3 : ":"

+ 4 - 10 : Instrument height (7-digit distance type)

+ 11 : " "

+ 12 : "X"

+ 13 : "B"

+ 14 : ":"

+ 15 - 26 : X-coordinate (12-digit distance type)

+ 27 : " "

+ 28 : "Y"

+ 29 : "B"

+ 30 : ":"

+ 31 42 : Y-coordinate (12-digit distance type)

+ 43 : " "

+ 44 : "Z"

+ 45 : "B"

+ 46 : ":"

Output

+ 47 - 58 : Z-coordinate (12-digit distance type)

Remarks Output the current station coordinate(HT/HI/Stn-XYZ) (in 12-digit coordinate)

*?H-T

Input None

+ 0 : " "

+ 1 : "H"

+ 2 : "T"

+ 3 : ":"

Output

+ 4 - 10 : Target height (7-digit distance type)

Remarks Output the height of target (in 7 digits)

Confidential

Page 31: Nikon Communication Interface Manual · 2020. 11. 18. · Rev.4 2009-Dec-8 Modified *!BSE format Confidential. Nikon Communication Interface Manual 1. Introduction This manual explains

Nikon Communication Interface Manual

P31/34

5-6. Data format Details

1) Angle data format

<9-digit type>

Units Format

Degree fDDDMMSSS

DDD: degree, MM: minute, SSS: 0.1 second

Gon fNNNDDDDD

NNN: integer part, DDDDD: decimal part (5 decimal places)

Mil fNNNNDDDD

NNNN: integer part, DDDD: decimal part (4 decimal places)

* f: sign, negative shows “-“ , positive shows “0”

<8-digit type>

Degree fDDDMMSS

DDD: degree, MM: minute, SSS: 1 second

Gon fNNNDDDD

NNN: integer part, DDDD: decimal part(4 decimal places)

Mil fNNNNDDD

NNNN: integer part, DDD: decimal part(3 decimal places)

* f: sign, negative shows “-“ , positive shows “0”

<7-digit type>

Degree DDDMMSS

DDD: degree, MM: minute, SSS: 1 second

Gon NNNDDDD

NNN: integer part, DDDD: decimal part(4 decimal places)

Mil NNNNDDD

NNNN: integer part, DDD: decimal part(3 decimal places)

2) Distance data format (Unit: meter)

<12-digit type>

Units Format

Meters f NNNNNNNDDDD

NNNNNNN: integer part, DDDD: decimal part(4 decimal places)

Feet fNNNNNNNNDDD

NNNNNNNN: integer part, DDD: decimal part(3 decimal places)

* f: sign, negative shows “-“ , positive shows “0”

<9-digit type>

Meters f NNNNDDDD

NNNN: integer part, DDDD: decimal part(4 decimal places)

Feet fNNNNNDDD

NNNNN: integer part, DDD: decimal part(3 decimal places)

Confidential

Page 32: Nikon Communication Interface Manual · 2020. 11. 18. · Rev.4 2009-Dec-8 Modified *!BSE format Confidential. Nikon Communication Interface Manual 1. Introduction This manual explains

Nikon Communication Interface Manual

P32/34

* f: sign, negative shows “-“ , positive shows “0”

<7-digit type>

Units Format

Meters f NNDDDD

NN: integer part, DDDD: decimal part(4 decimal places)

Feet fNNNDDD

NNN: integer part, DDD: decimal part(3 decimal places)

* f: sign, negative shows “-“ , positive shows “0”

<6-digit type>

Meters f NDDDD

NNNN: integer part, DDDD: decimal part(4 decimal places)

Feet fNNDDD

NN: integer part, DDD: decimal part(3 decimal places)

* f: sign, negative shows “-“ , positive shows “0”

3) Temperature data format

Units Format

Centigrade/Fahrenhei

t

fNN

NN: integer

*f: sign (negative shows “-“, positive shows “0”)

4) Pressure data format (unit hPa)

Units Format

hPa/mmHg NNNN

NNNN: integer

inHg NNND

NNN: integer part, D: decimal part(1 decimal places)

Confidential

Page 33: Nikon Communication Interface Manual · 2020. 11. 18. · Rev.4 2009-Dec-8 Modified *!BSE format Confidential. Nikon Communication Interface Manual 1. Introduction This manual explains

Nikon Communication Interface Manual

P33/34

6. Communication for SET type Data Recorder

There are three commands prepared for SET.

a) START command (11H): When an instrument receives the START command (11H) from

SET data recorder, it starts measuring and sends SD, VA, HA for every measurement until

receiving END command (12H).

b) END command (12H) : Cancel the START command.

c) DATA command (00H) : When an instrument receives the DATA command (00H), it

sends the latest data of SD, VA, HA regardless of current situation.

* In case of EDM OFF, DTM-500 sends the last measured data of SD, VA, HA after it receives

START or DATA command.

Confidential

Page 34: Nikon Communication Interface Manual · 2020. 11. 18. · Rev.4 2009-Dec-8 Modified *!BSE format Confidential. Nikon Communication Interface Manual 1. Introduction This manual explains

Nikon Communication Interface Manual

7. SET2Way Emulation

Following commands are supported by Nikon DTM-502/501/350/330/352/332 ,

NPL-350/352/332 and Nivo M series.

Command 501/500/350/330 502/352/332 Note

% Change mode to Theodolite mode O O

An exit from HA setout (Gd)

Jumps to the BMS

/B Set Instrument’s parameter settings ACK O Prism const set on MSR key

/Da Set Instrument’s coordinates - O

/Db Set Distance and HA setout data ACK O Jumps to the Stakeout screen

/Dc Set HA to the requested value O O

/Dd Set Coordinates of Backsight point - O

/De Set HI, HT and T&P data ACK O

/Df Set Coordinates for setout data - O

/Dg Set Coordinate data - -

A Output Instrument ID O O

B Output Instrument’s parameter settings O O

Db Output Distance and HA setout data - O

De Output HI, HT, T&P and ppm - O Different from ppm(Nikon)

Ea SD/VA/HA measurement O O

Ec Tilt angle measurement - -

Ed N, E and Z coordinate measurement - O

Ee Get HA, VA and tilt (XY) data O O

Gb HD set-out measurement - O

Gd HA set-out measurement ACK O Jumps to the Stakeout screen

Gf SET 2 way, setout VD ACK O Jumps to the Stakeout screen

Xa Single fine measure - O

Xb Repeat fine measure, until <12h> - O

Xc Single coarse measure - O

Xd

Xe Repeat coarse measure, until <12h> - O

Xf

Xg Change mode to Theodolite mode ACK ACK

Jumps to the BMS

Xi Calculate backsight direction - O

Xk Set HA clockwise (HAR) ACK ACK

Xl Delete all coordinates in memory - -

O: Supported

- : Not supported

ACK: Return ACK only

P34/34

Confidential