HP Sander 16500C manual Instruction Syntax, Output Command, Program Message Syntax

Models: Sander 16500C

1 252
Download 252 pages 12.2 Kb
Page 20
Image 20

Introduction to Programming

Instruction Syntax

Instruction Syntax

To program the system remotely, you must have an understanding of the command format and structure. The IEEE 488.2 standard governs syntax rules pertaining to how individual elements, such as headers, separators, parameters and terminators, may be grouped together to form complete instructions. Syntax definitions are also given to show how query responses will be formatted. Figure 1-1 shows the three main syntactical parts of a typical program statement: Output Command, Device Address, and Instruction. The instruction is further broken down into three parts: Instruction header, White space, and Instruction parameters.

Figure 1-1

Program Message Syntax

Output Command

The output command depends on the language you choose to use. Throughout this guide, HP 9000 Series 300 BASIC 6.2 is used in the programming examples, except where noted. If you use another language, you will need to find the equivalents of BASIC Commands, like OUTPUT, ENTER and CLEAR in order to convert the examples. The instructions are always shown between the double quotes.

1–6

Page 20
Image 20
HP Sander 16500C manual Instruction Syntax, Output Command, Program Message Syntax