beautypg.com

2 status display, Communication functions – MITSUBISHI ELECTRIC MELSERVO MR-J2S- A User Manual

Page 295

background image

14 - 16

14. COMMUNICATION FUNCTIONS

14.12.2 Status display

(1) Status display data read

When the master station transmits the data No. (refer to the following table for assignment) to the
slave station, the slave station sends back the data value and data processing information.
1) Transmission

Transmit command [0][1] and the data No. corresponding to the status display item to be read.
Refer to Section 14.11.1.

2) Reply

The slave station sends back the status display data requested.

0 0

Data 32 bits long (represented in hexadecimal)
(Data conversion into display type is required)

Display type
0: Used unchanged in hexadecimal
1: Conversion into decimal required

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

(2) Status display data clear

The cumulative feedback pulse data of the status display is cleared. Send this command immediately
after reading the status display item. The data of the status display item transmitted is cleared to zero.

Command

Data No.

Data

[8][1]

[0][0]

1EA5

For example, after sending command [0][1] and data No. [8][0] and receiving the status display data,
send command [8][1], data No. [0][0] and data [1EA5] to clear the cumulative feedback pulse value to
zero.