8. More Advanced Function
— 8-57 —
8.9.2.2. Command Entry
Input a command in the order of Command name + Data + Carriage return (0D
H
).
There are some commands that do not have data.
For an example, send the following code to the Driver Unit to set the parameter VG (Velocity loop
proportional gain) to VG0.5.
The Driver Unit echoes back for every input of a character. (The Driver Unit echoes back the same
character it has received from the communicating terminal.)
However, the Driver Unit converts an input of the carriage return (0D
H
) to
Carriage return (0D
H)
) + Linefeed (0A
H
) and returns it to the terminal.
When the last carriage return code is input, the Driver Unit collectively decodes the character string it has
received (VG0.5 in the example above) and executes it. Therefore, a command won’t be executed unless it
ends with the carriage return code.
When the Driver Unit is ready for an input of the next command, it returns the prompt [colon
(:)] right after the linefeed code (0A
H
).