Detailed Explanation Of Commands - Mitsubishi Electric MELSERVO-J2S-S061 Specifications And Instruction Manual

General purpose ac servo, built-in positioning function
Table of Contents

Advertisement

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
3 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
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.
0
0
0
0
9
2
9
66

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mr-j2s-**a-s061 series

Table of Contents