Computer Interface 131
return (terminator). The command string has three parts, not all of which are used in every
case.
1.
Command Code: A three character code that identifies the instrument item or function
(refer to RS-232 Command Set).
2.
Command Operation: A one character code that identifies the operations as READ ‘?’,
WRITE
‘=’
, or EXECUTE (carriage return).
3.
Command Value: The type and number of ASCII characters in this part of the command
string is variable and depends on the parameter specification.
The Sonic
®
1200S/HR recognizes three types of commands: READ, WRITE, and EXECUTE.
The type of command is indicated by the command operation. To perform a read operation, the
‘?’ symbol is used. To perform a write operation, the
‘=’
symbol is used. To perform an
execute operation, a carriage return is used.
7.5
Status Reporting
After receiving a command, the Sonic
®
1200S/HR checks the string for errors. If no errors are
detected, the desired operation is executed. Upon completion of error checking or command
execution, the Sonic
®
1200S reports back to the host/terminal with a prompt. The prompts
vary with the RS-232 mode and the results of the error detection.
Prompts indicating successful completion of a command are to be used by the host/terminal as
a signal indicating that the Sonic
®
1200S/HR is ready for another command. In host mode, the
prompt is simply a carriage return (0D Hex). In terminal mode, an angle bracket
‘>’
is sent,
followed by a carriage return (0D Hex) and line feed (0A Hex).
If an error is encountered, error prompts are returned to the host/terminal. Two types of error
prompts are used to indicate BAD COMMANDS and BAD VALUES. If a bad command is
received (Command code), the Sonic
®
1200S/HR will return C? terminated with a carriage
return (and line feed for terminal mode). If a bad value is received (Command value), the
Sonic
®
1200S/HR will return V? terminated with a carriage return (and line feed for terminal
mode).
The Sonic
®
1200S/HR does NOT process a command string until a carriage return
is received.
Содержание Sonic 1200S/HR
Страница 1: ...PN 7720044 PN 7720066 March 2006 Sonic 1200S HR Ultrasonic Flaw Detector User s Manual...
Страница 8: ......
Страница 13: ...Preparation for Operation 5 1 2 Sonic 1200S HR Packages 1 2 1 Sonic 1200S Packages...
Страница 14: ...6 Chapter 1...
Страница 15: ...Preparation for Operation 7 1 2 2 Sonic 1200HR Packages...
Страница 16: ...8 Chapter 1 1 3 Sonic 1200S HR Packages 1 3 1 Sonic 1200S Packages...
Страница 17: ...Preparation for Operation 9...
Страница 18: ...10 Chapter 1 1 3 2 Sonic 1200HR Packages...
Страница 36: ...28 Chapter 2...
Страница 72: ...64 Chapter 4...
Страница 110: ...102 Chapter 5 Figure 5 37 IIW Type 1 Block Echoes Figure 5 38 IIW Type 2 Block Echoes...
Страница 119: ...Applications 111 f Calibration is now done see Figure 5 50 Figure 5 48 Figure 5 49...
Страница 134: ...126 Chapter 6...
Страница 149: ...Computer Interface 141...