Detailed Explanations Of Commands; Data Processing - Mitsubishi Electric MELSERVO-J2 Series Instruction Manual

Servo amplifier
Table of Contents

Advertisement

8. COMMUNICATION FUNCTIONS

8.12 Detailed explanations of commands

8.12.1 Data processing

When the command
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
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
ManualsNet.com
data number or the command
0
0
0
0
0
9
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
search engine
data number
2
9
8 - 15
data are sent from the master

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melservo mr-j2 c series

Table of Contents