文件名称:莱卡全站仪接口文档
文件大小:343KB
文件格式:DOCX
更新时间:2021-10-03 09:15:22
莱卡 Leica GeoCOM
莱卡全站仪接口文档 1.5 1GEOCOM 5 1.1INTRODUCTION 5 1.2TPS1200 SYSTEM SOFTWARE 5 1.3PRINCIPLES OF GEOCOM OPERATION 6 2GENERAL CONCEPTS OF USING GEOCOM 7 2.1INTRODUCTION 7 2.2GENERAL CONCEPT OF OPERATION 7 2.3ASCII PROTOCOL 7 2.4FUNCTION CALL PROTOCOL - C/C++ 8 2.5FUNCTION CALL PROTOCOL - VBA 9 3FUNDAMENTALS OF PROGRAMMING GEOCOM 10 3.1INTRODUCTION 10 3.2ASCII PROTOCOL PROGRAMMING 10 3.3C/C++ - PROGRAMMING 12 3.4VBA - PROGRAMMING 14 3.5UNITS OF VALUES 16 3.6TPS1200 INSTRUMENT MODES OF OPERATION 16 3.7COMMON COMMUNICATION ERRORS 16 4REMARKS ON THE DESCRIPTION 19 4.1STRUCTURE OF DESCRIPTIONS 19 5COMMUNICATION SETTINGS 21 5.1USAGE 21 5.2CONSTANTS AND TYPES 21 5.3GENERAL GEOCOM FUNCTIONS 22 5.4CLIENT SPECIFIC GEOCOM FUNCTIONS 24 6ALT USER - AUS 38 6.1USAGE 38 6.2CONSTANTS AND TYPES 38 6.3FUNCTIONS 39 7AUTOMATION - AUT 43 7.1USAGE 43 7.2CANCELLING / ABORTING CURRENT FUNCTIONS 43 7.3CONSTANTS AND TYPES 43 7.4FUNCTIONS 45 8BASIC APPLICATIONS – BAP 69 8.1USAGE 69 8.2CONSTANTS AND TYPES 69 8.3FUNCTIONS 71 9BASIC MAN MACHINE INTERFACE – BMM 89 9.1USAGE 89 9.2CONSTANTS AND TYPES 89 9.3FUNCTIONS 90 10COMMUNICATIONS – COM 94 10.1USAGE 94 10.2CONSTANTS AND TYPES 94 10.3FUNCTIONS 95 11CENTRAL SERVICES – CSV 101 11.1INTRODUCTION 101 11.2USAGE 101 11.3CONSTANTS AND TYPES 101 11.4FUNCTIONS 103 12ELECTRONIC DISTANCE MEASUREMENT – EDM 113 12.1INTRODUCTION 113 12.2USAGE 113 12.3CONSTANTS AND TYPES 113 12.4FUNCTIONS 114 13FILE TRANSFER - FTR 117 13.1USAGE 117 13.2CONSTANTS AND TYPES 117 13.3FUNCTIONS 118 14IMAGE PROCESSING – IMG 127 14.1INTRODUCTION 127 14.2USAGE 127 14.3CONSTANTS AND TYPES 127 14.4FUNCTIONS 128 15MOTORISATION – MOT 131 15.1INTRODUCTION 131 15.2USAGE 131 15.3CONSTANTS AND TYPES 131 15.4FUNCTIONS 132 16SUPERVISOR – SUP 137 16.1USAGE 137 16.2CONSTANTS AND TYPES 137 16.3FUNCTIONS 138 17THEODOLITE MEASUREMENT AND CALCULATION – TMC 140 17.1INTRODUCTION 140 17.2USAGE 140 17.3CONSTANTS AND TYPES 141 17.4MEASUREMENT FUNCTIONS 144 17.5MEASUREMENT CONTROL FUNCTIONS 157 17.6DATA SETUP FUNCTIONS 160 17.7INFORMATION FUNCTIONS 177 17.8CONFIGURATION FUNCTIONS 179 18PORTING A TPS1100 APPLICATION 191 18.1INTRODUCTION 191 18.2RPC CHANGES 191 18.3DATA TYPES AND CONSTANTS CHANGES 193 18.4RETURN-CODES 193 19GEOCOM RELEASES 194 19.1 RELEASE 1.00 194 19.2 RELEASE 1.10 194 19.3 RELEASE 1.20 194 19.4 RELEASE 1.50 194 20APPENDIX 195 AReturn-Code names and return-code values 195 BHardware interface 201 B-1Serial Interface 201 B-2Debugging Utility 202 CProvided Samples 203 C-1 Program Frames 203 C-1.1 VBA Sample Program 203 C-1.2 C/C++ Sample Programs 203 C-1.3 TCC Image Grabber Sample Program 204 D List of Remote Procedure Calls (RPC) ....................................................................................................... D-205 D-1 rpc in Alphabetical order .................................................................................................................... D-205