Command Entry - NSK MEGATORQUE M-ESB-YSB2020AB300 User Manual

Esb driver unit motor system
Table of Contents

Advertisement

7.3. RS-232C Communication
7.3.2. Communication Procedure

7.3.2.2. Command Entry

l A communication command shall consist of
"a command (character string) + data (if necessary) + carriage return code (0D
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 will be transmitted to the
Driver Unit as shown below.
V code (56
G code (47
0 code (30
. code
5 code (35
Carriage return code (0D
l Every time a character is input, the Driver Unit echoes the character back to the terminal. (The
Driver Unit returns the same character it received.)
l However, the Driver Unit converts carriage return code to
"carriage return code (0D
l When a carriage return code is input, the Driver Unit decodes a 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 a carriage return code.
l If the Driver Unit can decode an entered command, it returns ": (prompt)" immediately after the
line feed code.
l If it receives an internal data readout command, etc., it returns the data before ": (prompt)."
)
H
)
H
)
H
(2E
)
H
)
H
)
H
) + line feed code (0A
H
:VG0.5
:_
Input (to Driver Unit)
V
G
Echo backe (from Driver Unit)
V
G
— 7-58 —
Press the ENT key if the handy terminal
FHT11 is used.
)," then returns it to the terminal.
H
Entered command.
Waiting for the next command.
0
.
5
0D
H
0
.
5
B
B
3
3
t
t
y
y
p
p
e
e
2
3
t
y
p
e
2
3
t
y
p
e
)."
H
0D
0A
:
H
H
B
B
5
5
t
t
y
y
p
p
e
e
2
5
t
y
p
e
2
5
t
y
p
e

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents