EasyManua.ls Logo

NSK MEGATORQUE M-ESB-YSB2020AB300 - Command Entry

Default Icon
356 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...
— 7-58 —
B
B
3
3
t
t
y
y
p
p
e
e
B
B
5
5
t
t
y
y
p
p
e
e
7.3. RS-232C Communication
7.3.2. Communication Procedure
2
2
3
3
t
t
y
y
p
p
e
e
2
2
5
5
t
t
y
y
p
p
e
e
7.3.2.2. Command Entry
l A communication command shall consist of
“a command (character string) + data (if necessary) + carriage return code (0D
H).”
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.
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 (35
H)
Carriage return code (0D
H)
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
H) + 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 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).”
:VG0.5
:_
Entered command.
Waitin
g
for the next command.
Input (to Driver Unit)
0DH5 . 0 G V
Echo backe (from Driver Unit)
: 0AH 0DH5 . 0 G V

Table of Contents