EasyManuals Logo

Mitsubishi Electric CR750-Q User Manual

Mitsubishi Electric CR750-Q
730 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
Page #617 background imageLoading...
Page #617 background image
7Appendix
Real-time external control function Appendix-597
(2) Sample program for real-time external control function
A sample program that establishes a data link using Microsoft Visual C++5.0/6.0 (hereinafter VC) is shown
below.
The procedures for creating the program are briefly explained below.
Refer to the software manuals for details on operating VC and creating the application.
1) Create new project
2) Create program sample.cpp/strdef.h
1) Create new project
Start VC, and create a new project. Set the name to Win32 Console Application.
Using the project setting, add wsock32.lib to the object/library module.
2) Create program sample.cpp/strdef.h
Newly create the header file strdef.h and source file sample.cpp.
<Notes at compiling>
Use the setup of the alignment compiler option of the structure member with the 8 bytes of initial value. After
new creation of the project of Visual C++, if the setup is used with initial value, there is no problem. Refer to
the help of Visual C++ for details.
a)Header file strdef.h
//************************************************************************************
// Real-time control sample program
// Communication packet data structure definition header file
//************************************************************************************
// strdef.h
/*************************************************************************/
/*Joint coordinate system (Set unused axis to 0)*/
/*Refer to the instruction manual enclosed */
/*with each robot for details on each element. */
/*************************************************************************/

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi Electric CR750-Q and is the answer not in the manual?

Mitsubishi Electric CR750-Q Specifications

General IconGeneral
BrandMitsubishi Electric
ModelCR750-Q
CategoryController
LanguageEnglish

Related product manuals