
SOKKIA CORPORATION TH 16900 w. 118 Terrace Olathe, KS 66061 Tel. (913) 492-4900 Fax. (913) 492-0188 www.sokkia.com
PRODUCT SUPPORT SERVICES
TECHNICAL SUPPORT – PRODUCT WORKFLOW TWO WAY COMMUNICATION COMMANDS The SET can accept 3 standard measured angle and distance commands, 20 data output commands, 9 data input commands and 14 setting commands. These commands can be accepted in Measurement mode only. STANDARD COMMANDS • 00H
Each command needs CR-LF(0DH,0AH) or CR(0DH) at the end. <Angle data request> 1999999_1999999_1999999_[SUM]CR-LF a b c d a) b) c) d)
11H
Slope Distnce Vertical Angle Harizontal Angle Checksum
<Distance and angle data request> 1999999_1999999_1999999_[SUM]CR-LF a b c d a) b) c) d)
12H
Slope Distnce Vertical Angle Harizontal Angle Checksum
<Distance measured stop request>
Page 1 of 11
DOC. ID# Two way communication.doc
10/15/01
OUTPUT COMMANDS
A
•
These commands are used to output various data from the SET to the hast computer.
•
Each command needs CR-LF(0DH,0AH) or CR(0DH) at the end. <Instrument ID> A_SET2100, 123456, 4100, 2506, [SUM] CR-LF a b c d e f a) b) c) d) e)
B
Data identifying code Instrument name Serial number SET ROM version EDM ROM version
SET2100, SET3100, SET4100….. 6 digits 4 digits 4 digits
<Instrument parameter setting> B_0, 0, 0, -30, 0, 0, 0, 0, 0, 0, 0, [SUM] CR-LF a b c d e f g h i k l m a) Data identifying code b) Distance measurement units c) Temperature and Pressure units
d) C&R corrections
e) Prism constant f) Angle measurement units g) Angle resolution
h) Vertical Angle display i)
Vertical circle indexing
j)
Tilt angle compensation
k) Horizontal circle indexing l)
Coordinates format
2 OF 11
0: meters 1: feet 0: C°, hPa 1: C°, mmHg 2: F°, hPA 3: F°, mmHg 4: F°, inchHg 0: None 1: Applied (K=0.142) 2: Applied (K=0.20) -99 to 99(mm) 0: degree 1: gon 2: mil 0: 0.5” 1: 1.0” SET2100 0: 1.0” 1: 5.0” SET3100 0: 1.0” 1: 5.0” SET4100 0: Zenith 0° 1: Horizonatl 0° 2: Horizontaal 0+/- 90° 0: Auto 1: Manual 0: Yes 1: No 2: Vertical angle only 0: Auto 1: Manual 0: N, E, Z 1: E, N, Z
DOC. ID# Two way communication.doc
Da
10/15/01 <Instrument station coordinates> Da_1234.567, -1234.567, -9999999.999, [SUM] CR-LF a b c d a) b) c) d)
Db
Data identifying code Instrument station N coordinate Instrument station E coordinate Instrument station Z coordinate
<Distance and H angle setting-out data> Db_1234.567, 359.5959, [SUM] CR-LF a b c a) Data indentifying code b) Distance setting-out data c) Horizontal setting-out data
Dd
<Backsight station coordinates> Dd_1234.567, -1234.567, -1.999, [SUM] CR-LF a b c d a) b) c) d)
De
Data indentifying code Backsight station N coordinate Backsight station E coordinate Backsight station Z coordinate
<Instrument and target heights, T&P and ppm> De_12.345, 1.500, -20, 1015, -39, [SUM] CR-LF a b c d e f a) b) c) d) e) f)
Df
Data indentifying code Instrument height Target height Temperature Pressure ppm
<Coordinates and setting-out data> Df_1234.567, -12.345, 9.182, [SUM] CR-LF a b c d a) b) c) d)
Data indentifying code Setting-out N coordinate Setting-out E coordinate Setting-out Z coordinate
3 OF 11
DOC. ID# Two way communication.doc
Ea
10/15/01 <Slope distance, V and H angles measurement> Ea_0000, 0, 1.500, -199, 999, 89.5959, 359.5959, [SUM] CR-LF a b c d e f g h a) Data indentifying code b) Status 1234 (1) Distance units (2) Angle units (3) Vertical ange display (4) Horizontal angle display c) Always 0 d) Target height e) ppm f) Slope distance g) Zenith angle (Vertical angle) h) Horizontal angle
Eb
0: meters 0: degree 0: Zenith 0° 0: Right
1: feet 1: gon 2: mil 1: Horizontal 0° 2: Horizontal 0 +/- 90° 1: Left
<H distance, V and H angles measurement> Eb_0000, 0, 1.500, -199, 999, 89.5959, 359.5959, [SUM] CR-LF a b c d e f g h a) Data indentifying code b) Status 1234 (1) Distance units (2) Angle units (3) Vertical ange display (4) Horizontal angle display c) Always 0 d) Target height e) ppm f) Horizontal distance g) Zenith angle (Vertical angle) h) Horizontal angle
Ec
0: meters 0: degree 0: Zenith 0° 0: Right
1: feet 1: gon 2: mil 1: Horizontal 0° 2: Horizontal 0 +/- 90° 1: Left
<Height difference, V and H angles measurement> Ec_0000, 0, 1.500, -199, 999, 89.5959, 359.5959, [SUM] CR-LF a b c d e f g h a) Data indentifying code b) Status 1234 (1) Distance units (2) Angle units (3) Vertical ange display (4) Horizontal angle display c) Always 0 d) Target height e) ppm f) Horizontal distance g) Zenith angle (Vertical angle) h) Horizontal angle
0: meters 0: degree 0: Zenith 0° 0: Right
4 OF 11
1: feet 1: gon 2: mil 1: Horizontal 0° 2: Horizontal 0 +/- 90° 1: Left
DOC. ID# Two way communication.doc
Ed
10/15/01 <N,E,Z coordinate measurement> Ed_0000, 0, 1.500, -199, 123.456, 234.567, 1.234, [SUM] CR-LF a b c d e f g h a) Data indentifying code b) Status 1234 (1) Distance units (2) Angle units (3) Vertical ange display (4) Horizontal angle display c) Always 0 d) Target height e) ppm f) N coordinate g) E coordinate h) Z coordinate
Ee
0: meters 0: degree 0: Zenith 0° 0: Right
1: feet 1: gon 2: mil 1: Horizontal 0° 2: Horizontal 0 +/- 90° 1: Left
<Tilt angle measurement> Ee_0000, 0, 1.500, -199, 89.5959, 359.5959, -0.0032, -0.0216, [SUM] CR-LF a b c d e f g h i a) Data indentifying code b) Status 1234 (1) Distance units (2) Angle units (3) Vertical ange display (4) Horizontal angle display c) Always 0 d) Target height e) ppm f) Zenith angle (Vertical angle) g) Horizontal angle h) X-tilt angle i) Y-tilt angle
0: meters 0: degree 0: Zenith 0° 0: Right
5 OF 11
1: feet 1: gon 2: mil 1: Horizontal 0° 2: Horizontal 0 +/- 90° 1: Left
DOC. ID# Two way communication.doc
10/15/01
OUTPUT COMMANDS (continued) Ef
<REM measurement> Ef_0000, -299, 45.1234, 25.623, [SUM] CR-LF a b c d e a) Data indentifying code b) Status 1234 (1) Distance units (2) Angle units (3) Vertical ange display (4) Horizontal angle display c) ppm d) Zenith angle (Vertical angle) e) REM data
Eg
0: meters 0: degree 0: Zenith 0° 0: Right
1: feet 1: gon 2: mil 1: Horizontal 0° 2: Horizontal 0 +/- 90° 1: Left
<Missing line measurement> Eg_0000, -299, 123.450, 123.456, -1.234, [SUM] CR-LF a b c d e f a) Data indentifying code b) Status 1234 (1) Distance units 0: meters (2) Angle units 0: degree (3) Vertical ange display 0: Zenith 0° (4) Horizontal angle display 0: Right c) ppm d) Slope distance between the two points e) Horizontal distance between the two points f) Height difference between the two points.
Ga
1: feet 1: gon 2: mil 1: Horizontal 0° 2: Horizontal 0 +/- 90° 1: Left
<Slope distance setting-out menasurement> Ga_123.456, 999.999, [SUM] CR-LF a b c a) Data identifying code b) Slope distance setting-out data c) Measured slope distance setting-out value
Gb
<H distance setting-out measurement> Gb_123.456, 999.999, [SUM] CR-LF a b c a) Data identifying code b) Horizontal distance setting-out data c) Measured horizontal distance setting-out value
6 OF 11
DOC. ID# Two way communication.doc
10/15/01
OUTPUT COMMANDS (continued) Gc
<Height difference setting-out measurement> Gc_123.456, 999.999, [SUM] CR-LF a b c a) Data identifying code b) Height difference setting-out data c) Measured height difference setting-out value
Gd
<H angle setting-out measurement> Gd_123.456, 999.999, [SUM] CR-LF a b c a) Data identifying code b) Horizontal angle setting-out data c) Measured horizontal angle setting-out value
Ge
<Coordinate setting-out measurement> Ge_378.902, -248.908, -99.999, -278.902, -149.908, -0.003, [SUM] CR-LF a b c d e f g a) b) c) d) e) f) g)
Gf
Data identifying code N coordinate setting-out data E coordinate setting-out data Z coordinate setting-out data Measured N coordinate setting-out value Measured E coordinate setting-out value Measured Z coordinate setting-out value
<REM setting-out measurement> Gf_-453.903, 0.000, [SUM] CR-LF a b c a) Data indentifying code b) REM setting-out data c) Measured REM setting-out value
7 OF 11
DOC. ID# Two way communication.doc
10/15/01
INPUT COMMANDS
/B
•
These commands are used to input various data from the host computer to the SET.
•
Each command needs one space before the data input and CR-LF(0DH,0AH) or CR(0DH) at the end.
•
The ‘ _ ‘ symbol refers to a SPACE(20H). <Instrument parameter setting> /B_0, 0, 0, -40, 0, 0, 0, 0, 0, 0, 0, 0, [SUM] CR-LF a b c d e f g h i j k l m a) Data identifying code b) Distance measurement units c) Temperature and Pressure units
d) C&R corrections e) Prism constant f) Angle measurement units
g) Angle resolution
h) Vertical Angle display i)
Vertical circle indexing
j)
Tilt angle compensation
k) Horizontal circle indexing l)
/Da
Coordinates format
0: meters 1: feet 0: C°, hPa 1: C°, mmHg 2: F°, hPA 3: F°, mmHg 4: F°, inchHg 0: None 1: Applied (K=0.142) 2: Applied (K=0.20) -99 to 99(mm) 0: degree 1: gon 2: mil 0: 0.5” 1: 1.0” SET2100 0: 1.0” 1: 5.0” SET3100 0: 1.0” 1: 5.0” SET4100 0: Zenith 0° 1: Horizonatl 0° 2: Horizontaal 0+/- 90° 0: Auto 1: Manual 0: Yes 1: No 2: Vertical angle only 0: Auto 1: Manual 0: N, E, Z 1: E, N, Z
<Instrument station coordinates> /Da_1234.567, -1234.567, -9999999.999, [SUM] CR-LF a b c d a) b) c) d)
Data identifying code Instrument station N coordinate Instrument station E coordinate Instrument station Z coordinate
8 OF 11
DOC. ID# Two way communication.doc
10/15/01
INPUT COMMANDS (continued) /Db
<Distance and H angle setting-out data> /Db_1234.567, 359.5959, [SUM] CR-LF a b c a) Data indentifying code b) Distance setting-out data c) Horizontal setting-out data
/Dc
<Setting H angle to a required value> /Dc_359.5959, [SUM] CR-LF a b a) Data identifying code b) Required horizontal angle
/Dd
<Backsight station coordinates> /Dd_1234.567, -1234.567, -1.999, [SUM] CR-LF a b c d a) b) c) d)
/De
Data indentifying code Backsight station N coordinate Backsight station E coordinate Backsight station Z coordinate
<Instrument and target heights, T&P data> /De_12.345, 1.500, -20, 1015, [SUM] CR-LF a b c d e a) b) c) d)
/Df
Data indentifying code Instrument height Temperature Pressure
<Coordinates and setting-out data> /Df_1234.567, -12.345, 9.182, [SUM] CR-LF a b c d a) b) c) d)
Data indentifying code Setting-out N coordinate Setting-out E coordinate Setting-out Z coordinate
9 OF 11
DOC. ID# Two way communication.doc
10/15/01
INPUT COMMANDS (continued) /Dg
<Coordinate data> /Dg_1234.567, -1234.123, 12.345, 12345678, [SUM] CR-LF a b c d e a) b) c) d) e)
/Dh
Data identifying code N coordinate data E coordinate data Z coordinate data Point number
<Input feature code> /Dh_ABC, DEF,……, XYZ, [SUM] CR-LF a b ---------- up to 256 characters a) Data identifying code b) Up to 16 alhpanumeric characters per code, up to 40 codes can be input into memory
10 OF 11
DOC. ID# Two way communication.doc
10/15/01
MODE SETTING AND OTHER COMMANDS •
These setting commands can be used to perform the same operations as the SET keyboard from the host computer.
•
Each command needs CR-LF(0DH,0AH) or CR(0DH) at the end.
Xa
<Set Distance measurement mode to single & fine>
Xb
<Set Distance measurement mode to repeat & fine>
Xc
<Set Distance measurement mode to single & coarse>
Xd
<Set Distance measurement mode to repeat & coarse>
Xe
<Set Distance measurement mode to tracking>
Xh
<Set H angle to 0>
Xi
<Set Azimuth angle from Backsight and Instrument station coordinates>
Xk
<Set H angle right (HAR)>
Xl
<Set H angle left (HAL)>
Xn
<Replace the last measurement coordinates as the new Instrument station coordinates>
Xo
<Change the starting position in Missing line measurement>
Xr
<Turn on the display illumunation>
Xs
<Turn off the display illumination>
Xt
<Delete all coordinate data in the memory>
RESPONSE CODES FOR SETTING COMMANDS •
When the setting command (N) is transmitted from the host computer to the SET, the SET transmits the reception condition code to the Host computer. (ACK/NAK communication control)
O6H(ACK)
:Data communication has suceeded, request next command string
15H(NAK)
:Data communication has failed, request the same command sending
11 OF 11
DOC. ID# Two way communication.doc