8 - 15
8. COMMUNICATION FUNCTIONS
8.12 Detailed explanations of commands
8.12.1 Data processing
When the command data number or the command data number data are sent from the master
station to a slave station, a reply or data is returned from the servo amplifier according to the purpose.
In these send data and receive data, numerical values are represented in decimal, hexadecimal, etc.
Hence, data must be processed to meet their purposes.
Follow the corresponding explanation since whether data must be processed or not and how to process
them changes with monitoring, parameters, etc.
How to process send/receive data when reading and writing data will be described below.
(1) Processing read data
For the display type of 0, eight-character data is converted from a hexadecimal number to a decimal
number and a decimal point is provided from the decimal point information.
For the display type of 1, eight-character data is used as-is.
How to process receive data "003000000929" to show the status is explained here by way of example.
Receive data is as follows:
0 0
Data 32 bits long (represented in hexadecimal)
(Data conversion into display type is required)
Display type
0: Conversion into decimal required
1: Used unchanged in hexadecimal
Decimal point position
0: No decimal point
1: Lower first digit (usually not used)
2: Lower second digit
3: Lower third digit
4: Lower fourth digit
5: Lower fifth digit
6: Lower sixth digit
3 0
9
0
0
0
0
9
2
0
As the display type is "0" in this case, the hexadecimal data is converted into a decimal number.
00000929H 2345
Since the decimal point position is "3", the decimal point is put in the third lower digit.
Hence, "23.45" appears.
Downloaded from
Содержание MELSERVO MR-J2 C Series
Страница 11: ...A 10 MEMO Downloaded from ManualsNet com search engine ...
Страница 33: ...1 16 1 FUNCTIONS AND CONFIGURATION MEMO Downloaded from ManualsNet com search engine ...
Страница 73: ...3 36 3 SIGNALS AND WIRING MEMO Downloaded from ManualsNet com search engine ...
Страница 127: ...5 18 5 PARAMETERS MEMO Downloaded from ManualsNet com search engine ...
Страница 145: ...6 18 6 SERVO CONFIGURATION SOFTWARE MEMO Downloaded from ManualsNet com search engine ...
Страница 155: ...7 10 7 DISPLAY AND OPERATION MEMO Downloaded from ManualsNet com search engine ...
Страница 189: ...8 34 8 COMMUNICATION FUNCTIONS MEMO Downloaded from ManualsNet com search engine ...
Страница 201: ...10 2 10 INSPECTION MEMO Downloaded from ManualsNet com search engine ...
Страница 211: ...11 10 11 TROUBLESHOOTING MEMO Downloaded from ManualsNet com search engine ...
Страница 219: ...12 8 12 SPECIFICATIONS MEMO Downloaded from ManualsNet com search engine ...
Страница 227: ...13 8 13 CHARACTERISTICS MEMO Downloaded from ManualsNet com search engine ...