EasyManua.ls Logo

NSK EDD Megatorque Motor - Command Entry

NSK EDD Megatorque Motor
398 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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.
Press the ENT key when the Handy Terminal FHT21
is used.
V code (56
H
)
G code (47
H
)
0 code (30
H
)
. code (2E
H
)
5 code (35
H
)
Carriage return code (0D
H
)
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
).
:VG0.5
:_
Entered command.
Waiting for the next command.
Input (to Driver Unit)
0DH
5
.
0
G
V
Echo backe (from Driver Unit)
:
0AH
0DH
5
.
0
G
V

Table of Contents

Related product manuals