— 9-33 —
9.3.2.2. Command Entry
l A communication command shall consist of “a command (character string) + data (if necessary) +
carriage return code (0DH)”.
l If the velocity gain is to be set to 0.5, for example, “VG0.5” should be entered by adding data of 0.5
to a VG command. The characters of this command with data are transmitted to the Driver Unit as
shown below:
Figure 9-34: Example Of VG0.5
Press the ENT key if the handy terminal
FHT11 is used.
V code (56
H
)
G code (47
H
)
0 code (30
H
)
. code (2E
H
)
5 code (35H)
Carriage return code (0DH)
l Every time a character is input, the Driver Unit echoes the character back to the terminal. (The
Driver Unit returns the same character that it receives.)
l However, the Driver Unit converts carriage return code to “carriage return code (0DH) + line feed
code (0AH),” then returns it to the terminal.
l When a carriage return code is input, the Driver Unit decodes a character string which it has
received (VG0.5 in the example above) and executes it. Therefore, a command is not executed
unless it ends with a carriage return code.
l If the Driver Unit can decode an entered command, it returns “ : ” close behind the line feed code.
If it receives an internal data readout command, etc., it returns the data before “ : ”.
Figure 9-35: Successful input example
:VG0.5
:_
Entered command.
Waiting for another command to be entered.
0D
H
5.0GV
Echo back (From Driver Unit)
:0A H0DH5.0GV
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com