Instruction manual

13.
COMMUNICATION FUNCTIONS
13.1
2
Detailed Explanations
of
Commands
13.1
2.1
Data processing
When the master station transmits a command
+
data
KO.
or a command
+
data
No.
+
data to a slave
station, the servo ampuler returns a reply or data according to the purpose.
When numerical values are represented in these send data and receive data, they are represented in
decimal, hexadecimal, etc.
Therefore, data must be processed accordmg
to
the application.
Since whether data must be processed or not and how to process data depend on the monitoring,
parameters, etc.,
follow
the detailed explanation
of
the corresponding command.
The following methods are how to process send and receive data when reading and writing data.
(1
)
Processing the read
data
When the &splay type
is
O?
the eight-character data is converted from hexadecimal to decimal and a
decimal point is placed accordmg to the decimal point position mformation.
When the display type
is
1,
the eight-character data
is
used unchanged.
The following example indicates how
to
process the receive data "003000000929" given to show.
The receive data is as follows.
003000000929
7-
Data 32-bit length (hexadecimal representation)
(Data conversion is required as indicated in the display type)
Display type
[O]:
Data must be converted into decimal.
[l]:
Data
is
used unchanged in hexadecimal
I
Decimal point position
[O]:
No
decimal point
[l]:
First least significant digit (normally not used)
[2]: Second least siginificant digit
[3]:
Third least siginificant digit
(41: Forth least siginificant digit
[5]:
Fifth least siginificant digit
161:
Sixth least siginificant digit
Since the display type is
"0"
in ths case, the hexadecimal data is converted into decimal.
00000929H+2345
As
the decimal point position is "3".
a
decimal point is placed in the thd least siglllficant hgit.
Hence, "23.45" is displayed.
13- 13