12. COMMUNICATION FUNCTION (MITSUBISHI ELECTRIC GENERAL-PURPOSE AC SERVO PROTOCOL)
12 - 15
12.5 Detailed explanations of commands
12.5.1 Data processing
When the master station transmits a command data No. or a c data No. + data to a slave station,
the servo amplifier returns a response or data in accordance with 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 in accordance with 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 a read data
When the display type is 0, convert the eight-character data from hexadecimal to decimal, and place a
decimal point according to the decimal point information.
When the display type is 1, use the eight-character data unchanged.
The following example indicates how to process the receive data "003000000929" given to show.
The receive data is as follows.
0 0 3 0 0 0 0 0 0 9 2 9
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
Data 32-bit length (hexadecimal representation)
(Data conversion is required as indicated in the display type.)
Since the display type is "0" in this case, convert the hexadecimal data to decimal.
00000929H
→
2345
As the decimal point position is "3", place a decimal point in the lower third digit. Hence, "23.45" is
displayed.
Summary of Contents for MR-JE-_A
Page 9: ...A 8 MEMO ...
Page 15: ...6 MEMO ...
Page 29: ...1 FUNCTIONS AND CONFIGURATION 1 14 MEMO ...
Page 139: ...4 STARTUP 4 38 MEMO ...
Page 187: ...5 PARAMETERS 5 48 MEMO ...
Page 221: ...6 NORMAL GAIN ADJUSTMENT 6 34 MEMO ...
Page 259: ...8 TROUBLESHOOTING 8 8 MEMO ...
Page 265: ...9 DIMENSIONS 9 6 MEMO ...
Page 273: ...10 CHARACTERISTICS 10 8 MEMO ...
Page 339: ...12 COMMUNICATION FUNCTION MITSUBISHI ELECTRIC GENERAL PURPOSE AC SERVO PROTOCOL 12 34 MEMO ...