Before Programming
61
IM 767361-01E
Before Programming
Basic Programming Format
The following shows the structure of program data.
C Par Terminator
ASCII codes are used.
Example DF
2
CRLF
Command Parameter Terminator
Command
Predefined string of 1 to 3 capital letters
Parameter
Numeric values or character string (ASCII code)
Terminator
GP-IB interface
Specify CR+LF, LF, or EOI for the receive terminator.
The “DL” command is used to set the transmit terminator. The default setting
is CR+LF+EOI. For details, see page App-5.
RS-232 Communications Settings
Specify CR+LF or EOI for the receive terminator.
The “DL” command is used to set the transmit terminator. The default setting
is CR+LF.
For details, see page App-5.
Precautions when Programming
A single line can contain multiple commands. In this case, make sure that
command statements (a c parameters) are separated by a semicolon
(;).
Note
A space or tab between the command and parameter can be omitted.
How to Use the Appendix
Query Command
Query commands can easily be identified since a question mark (?) is added
to the end of the command. Data returned in response to a query command is
shown as in the example below.
Query Returned data
HD? →
HD1
Sample Program
Sample programs demonstrating the commands are given in the appendix.
Refer to page App-16.