Explanation Of Communication Data Packet - Mitsubishi Electric CR750-Q Instruction Manual

Cr750/cr751/cr760 series
Hide thumbs Also See for CR750-Q:
Table of Contents

Advertisement

7Appendix

7.1.1 Explanation of communication data packet

The structure of the communication data packet used with the real-time external control function is
explained in this section.
The same communication data packet for real-time external control is used for commanding the position
and for monitoring.
The contents differ when transmitting (commanding) from the personal computer to the controller and when
receiving (monitoring) from the controller to the personal computer.
Refer to the following communication data packet structure and section "5.2.2 Sample program for real-time
external control function", and create the application. The C language data type is used in the following
table.
Communication data packet
Command
Transmission data type des-
ignation
SendType
Appendix-588 Real-time external control function
unsigned short
Designate the validity of the real-time external command, and the
(2-byte)
end.
0 //
1 //
255// Real-time external command end
unsigned short
1) When transmitting (commanding) from the personal computer to the
(2-byte)
controller, designate the type of position data transmitted from
the personal computer.
There is no data at the first transmission.
0 //
1 //
2 //
3 //
2) When receiving (monitoring) from the controller to the personal
computer, indicate the type of position data replied from the
controller.
0 //
1 //
2 //
3 //
4 //
5 //
6 //
7 //
8 //
9 //
10 //
11 //
* It is the same as RecvType. You may use whichever.
Real-time external command invalid
Real-time external command valid
No data
XYZ data
Joint data
Motor pulse data
No data
XYZ data
Joint data
Motor pulse data
XYZ data (Position after filter process)
Joint data (Position after filter process)
Motor pulse data (Position after filter process)
XYZ data (Encoder feedback value)
Joint data (Encoder feedback value)
Motor pulse data (Encoder feedback value)
Current command [%]
Current feedback [%]

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cr750Cr751-qCr751-dCr760-dCr760-qCr750-d

Table of Contents