beautypg.com

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

Page 326

background image

15 - 19

15. COMMUNICATION FUNCTIONS


15.12.2 Status display

(1) Status display data read

When the master station transmits the data No. to the slave station, the slave station sends back the
data value and data processing information.
(a) Transmission

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

(b) 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.