EasyManua.ls Logo

YASKAWA YRC1000micro

YASKAWA YRC1000micro
77 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 Creating Application Software
3.4 Text Search
3-5
HW1484528
HW1484528
3.4 Text Search
To search for text, go to the top menu bar and click Edit > Find and
Replace (shortcut is Ctrl + f). Then, the “Find” dialog appears. When
“Find All” is selected, the cursor will not immediately go to the next
searched text. Instead, the bottom pane will change to the “Find Results”
tab to show the search results. Double-click a result in this pane to go to
the corresponding source code tab and move the cursor to the searched
text.
3.5 MotoPlus Library Files
A MotoPlus library file (*.yrcmLib) is a file containing the source code
which is already compiled. After the source code is compiled to .mpLib
format, it cannot be edited or viewed. (The library can be distributed and
used without distributing the source code.)
To create a library file, select “Create MotoPlus Library file” when creating
a new project. This library can be used by other projects, but in this case,
prepare an appropriate header file (*.h) in advance. Also, DO NOT use
mpUsrRoot() function for the library.
To use the library file in an executable project, go to the top menu bar and
click Project > Add MotoPlus library file. Then you can locate an .mpLib
file on your computer. When you select the file, it will be copied to the
current project folder along with the corresponding header file. If the
header is not present (or is named differently), it will not be copied. In this
case, you must refer to the library documentation provided by the creator
of the library. When you build your project, the compiled code from the
library will be added to the final executable object (.out).
3.6 Program Build (Compile/Link)
To compile the created source code and build either an executable object
(*.out) or a library file (*.yrcmLib), go to the top menu bar and click Build >
Build Project. This will save any changes made to the project.
The bottom pane will automatically switch to the “Output” tab during a
build attempt. The text box in this window will log the build process. The
“Build Errors” tab will display any errors or warnings given by the compiler.
If there is a fault in the source code, it will indicate the line number where it
encountered the error. To quickly go to the appropriate file and line
number, just double-click the error message. Please note that due to the
structure of C language, an error on any line could be caused by a fault in
any line above the error. If there is a fault in an include file, the error
message may not even indicate the correct file.
If the Output window indicates the build was successful, you will be able to
locate your *.out file in a folder labeled “output”. This folder will be in the
directory of your project file. If your project is set to build a library file, the
output folder will contain the *.yrcmLib file and the *.h file.
28/77

Table of Contents

Other manuals for YASKAWA YRC1000micro

Related product manuals