Communication Procedure Example - Mitsubishi Electric MELSERVO-J3 Series Handbook

Hide thumbs Also See for MELSERVO-J3 Series:
Table of Contents

Advertisement

Part 6: Common Reference Material

4.3.8 Communication procedure example

The following example reads the set value of alarm history (last alarm) from the servo amplifier of station 0.
Checksum calculation and
Addition of SOH to make up
Yes
No
3 consecutive times?
Yes
Error processing
Data item
Station No.
Command
Data No.
Start
Station No.
Data make-up
Data = [0]
addition
Checksum = 30H + 33H + 33H + 02H + 31H + 30H + 03H =
Transmission data =
transmission data
Data transmission
Data receive
No
Is there receive data?
Yes
300 ms elapsed?
3 consecutive times?
Other than error code
[A] or [a]?
No
Receive data analysis
Error processing
End
Value
0
Servo amplifier station 0
3 3
Reading command
1 0
Alarm history (last alarm)
Command
Data No.
+
3
3
+
STX
+
1 0
+
= [0] [3] [3]
STX
[1] [0]
ETX
SOH
+
0
+
No
Yes
No
Yes
100 ms after EOT transmission
6 - 81
Description
ETX
FCH
3
3
+
STX
+
1
0
+
ETX
+
Master station
Slave station
Master station
Slave station
Master station
Slave station
F
C
46H 43H

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents