Communication procedure example
The following example reads the set value of alarm history (last alarm) from the servo amplifier of station 0.
Data item
Station No.
Command
Data No.
Addition of SOH to make up
Yes
No
3 consecutive times?
Yes
Error processing
Value
0
33
10
Start
Station No.
Data make-up
Data
Checksum calculation and
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
8 COMMUNICATION FUNCTION (MITSUBISHI ELECTRIC AC SERVO PROTOCOL) [A]
Description
Servo amplifier station No. 0
Reading command
Alarm history (last alarm)
Command
Data No.
= [0] +
3
3
+
+
1 0
+
ETX
STX
= [0] [3] [3]
[1] [0]
ETX
STX
SOH
+
0
+
3
3
No
Yes
No
Yes
100 ms after EOT transmission
FCH
+
+
1
0
+
ETX
+
F C
46H 43H
STX
Master station
Slave station
Master station
Slave station
Master station
Slave station
8.3 Protocol
8
405