WWW.NNC.IR
14 - 14
14. COMMUNICATION FUNCTIONS
14.12 Detailed explanations of commands
14.12.1 Data processing
When the master station transmits a command data No. or a command data No. data to a slave
station, the servo amplifier 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 according 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 display type is 0, the eight-character data is converted from hexadecimal to decimal and a
decimal point is placed according to the decimal point position information.
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.
0 0
Data 32-bit length (hexadecimal representation)
(Data conversion is required as indicated in the display type)
Display type
0: Data must be converted into decimal.
1: Data is used unchanged in hexadecimal.
Decimal point position
0: No decimal point
1: First least significant digit (normally not used)
2: Second least significant digit
3: Third least significant digit
4: Forth least significant digit
5: Fifth least significant digit
6: Sixth least significant digit
3 0 0 0 0 0 0 9 2 9
Since the display type is "0" in this case, the hexadecimal data is converted into decimal.
00000929H 2345
As the decimal point position is "3", a decimal point is placed in the third least significant digit.
Hence, "23.45" is displayed.
Summary of Contents for MR-J2S-*A
Page 13: ...WWW NNC IR A 12 MEMO ...
Page 117: ...WWW NNC IR 3 70 3 SIGNALS AND WIRING MEMO ...
Page 185: ...WWW NNC IR 7 12 7 GENERAL GAIN ADJUSTMENT MEMO ...
Page 195: ...WWW NNC IR 8 10 8 SPECIAL ADJUSTMENT FUNCTIONS MEMO ...
Page 197: ...WWW NNC IR 9 2 9 INSPECTION MEMO ...
Page 221: ...WWW NNC IR 11 10 11 OUTLINE DIMENSION DRAWINGS MEMO ...
Page 293: ...WWW NNC IR 13 64 13 OPTIONS AND AUXILIARY EQUIPMENT MEMO ...
Page 321: ...WWW NNC IR 14 28 14 COMMUNICATION FUNCTIONS MEMO ...
Page 389: ...WWW NNC IR 15 68 15 ABSOLUTE POSITION DETECTION SYSTEM MEMO ...