EasyManua.ls Logo

Mitsubishi Electric CR800 Series - Explanation of Communication Data Packet

Mitsubishi Electric CR800 Series
146 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
3 Description of functions
3-17
3.3.2. 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.
Create an application referring to the communication data packet structure described in the following table and section
"4.2.2. Sample program for real-time external control function". Note that the following table shows the data types in the C
language.
(1) Communication data packet.
Name
Data type
Explanation
Command unsigned short
(2-byte)
Designate the validity of the real-time external command, and the end.
0 // Real-time external command invalid
1 // Real-time external command valid
255 // Real-time external command end
Transmission data type
designation
SendType
unsigned short
(2-byte)
1) When transmitting (commanding) from the personal computer to the
controller, designate the type of position data transmitted from the
personal computer.
There is no data at the first transmission.
0 // No data
1 // XYZ data
2 // Joint data
3 // Motor pulse data
2) When receiving (monitoring) from the controller to the personal
computer, indicate the type of position data replied from the controller.
0 // No data
1 // XYZ data
2 // Joint data
3 // Motor pulse data
4 // XYZ data (Position after filter process)
5 // Joint data (Position after filter process)
6 // Motor pulse data (Position after filter process)
7 // XYZ data (Encoder feedback value)
8 // Joint data (Encoder feedback value)
9 // Motor pulse data (Encoder feedback value)
10 // Current command [%]
11 // Current feedback [%]
* It is the same as RecvType. You may use whichever.

Table of Contents

Other manuals for Mitsubishi Electric CR800 Series

Related product manuals