Beruflich Dokumente
Kultur Dokumente
FD/CFD controller
FlexGui
FlexGui Toolbox
Instruction manual
3rd edition
・Before attempting to operate the robot, please read through this operating manual
carefully, and comply with all the safety-related items and instructions in the text.
・The installation, operation and maintenance of this robot should be undertaken only
by those individuals who have attended one of our robot course.
・When using this robot, observe the low related with industrial robot and with
safety issues in each country.
・This operating manual must be given without fail to the individual who will be actually
operating the robot.
・Please direct any queries about parts of this operating manual which may not be
completely clear or any inquiries concerning the after-sale service of this robot to any
of the service centers listed on the back cover.
Table Of Contents
Table Of Contents
Chapter 1 Introduction
1.1 Introduction.......................................................................................................................... 1-1
Chapter 3 FlexGui
3.1 How to operate the FlexGui ................................................................................................ 3-1
3.1.1 Starting the FlexGui ........................................................................................................ 3-1
3.1.2 Creating a new screen.................................................................................................... 3-3
3.1.3 Adding a fidget ................................................................................................................ 3-3
3.1.4 Editing the fidget ............................................................................................................. 3-4
3.1.5 Deleting a fidget.............................................................................................................. 3-6
3.2 Operation screen of the FlexGui ......................................................................................... 3-7
3.2.1 Screen belt...................................................................................................................... 3-7
3.2.2 Utility screen ................................................................................................................... 3-7
1
Table Of Contents
Chapter 5 FlexGui4.0
5.1 Connection procedure for FlexGui4.0 ................................................................................. 5-1
5.1.1 Setting of the browser..................................................................................................... 5-1
5.1.2 Connection of FlexGui4.0 ............................................................................................... 5-5
5.2 Starting of FlexGui4.0.......................................................................................................... 5-7
5.2.1 Creating the project ........................................................................................................ 5-7
5.2.2 Open the existing project ................................................................................................ 5-8
5.2.3 Ending of the project....................................................................................................... 5-9
5.3 Operation procedure of FlexGui4.0................................................................................... 5-10
5.3.1 Creating the new screen............................................................................................... 5-10
5.3.2 Editing of the Fidget...................................................................................................... 5-11
5.3.3 Execution of the Fidget ................................................................................................. 5-14
5.4 Operation screen of the FlexGui4.0 .................................................................................. 5-15
5.4.1 Screen belt.................................................................................................................... 5-15
5.5 Remote connection ........................................................................................................... 5-17
5.5.1 Internet connection of the controller ............................................................................. 5-17
5.5.2 Remote connection of the FlexGui4.0 .......................................................................... 5-21
Appendix
A Fidget Overview.......................................................................................................................... 1
B Robot program............................................................................................................................ 3
NOTE
2
Chapter 1 Introduction
1.1 Introduction
FlexGui is the new user-friendly and intuitive interface for the NACHI FD/CFD controller. It runs on the robot
controller’s teach pendant and on your computer as a part of the FlexGui Toolbox development environment.
One of FlexGui’s strengths lies in its ability to abstract features and robot programs, into easy-to-understand
Fidgets. Using Fidgets such as e.g. labels, indicator lamps, progress bars, pictures, buttons and more, the
operator can easily monitor and control the robot.
Fidgets are placed on screens, which are defined by the operator. The operator can easily switch between
screens by utilizing the Screen Belt. There is great flexibility regarding the contents of the screens, enabling robot
installations to have interfaces tailored to different operations as well as the operator’s skill level.
FlexGui Toolbox (FGT) is a development environment for FlexGui. While some editing is allowed on the teach
pendant, the FlexGui Toolbox offers expanded functionality with more fidgets, scripting using JavaScript and
precision alignment of objects. FlexGui Toolbox runs on the computer, and also includes a FlexGui preview,
enabling the integrator to test his projects. When your project is ready, FlexGui Toolbox can deploy your
flexprojects to all of your FlexGui-enabled robots. The system integrator can also perform customer support
through the remote view and remote control functionality in FGT.
FlexGui4.0 is the latest graphical interface using browser. Creating screen is possible through the computer
and the devices such as Android, iPhone and Windows Phone by using Fidgets and scripts.
POINT In case of the CFD controller, the FlexGui can be used only in the Smart Teach
pendant. The Compact Teach Pendant cannot use the FlexGui.
1-1
1.2 About the software version
1-2
1.3 About the license
No
Free Not necessary
(Trial version)
CFD
FD11
- Concerning how to purchase the license files, please contact our sales persons when
purchasing the robot controllers.
- To purchase only the license files after purchasing the robot controller, the "FlexGui ID"
IMPORTANT displayed on the teach pendant is necessary. (See the following pages)
1-3
1.3 About the license
FlexGui2.4
1-4
1.3 About the license
1-5
1.3 About the license
Designated folder
¥WORK¥FlexGUI¥
The "license.dat" is generated using the FlexGui ID (unique ID) that differs from each
POINT other depending on the robot controller. Therefore, the file cannot be used in other controllers.
The "license.dat" file must be prepared respectively for the all controllers.
1 Insert an USB memory that has the "license.dat" to the FD/CFD controller.
FD controller
Open the controller's door and insert the USB memory to the USB port of the
CPU bopard. (Although there are 2 USB ports, the position does not matter.)
CFD controller
Insert the USB memory to the USB port on the front panel.
4 Press <Import>.
1-6
1.3 About the license
2 3
After selecting the copy destination folder in the area of (4), do not forget to
press [Enter]. If [Enter] is not pressed, the copy operation can not start.
(Supplement)
INFO. Concerning the file manager operation, refer to the instruction manual
"FD CONTROLLER INSTRUCTION MANUAL / BASIC OPERATIONS"
1-7
1.3 About the license
Note
1-8
Chapter 2 How to start FlexGui
This chapter describes how to start the FlexGui in the robot controller.
2.1 Configuration
The FlexGui is more convenient when communicating with the "FlexGui Toolbox" software. The FlexGui and
the Toolbox communicates using Ethernet. Therefore, the communication setting is necessary before using the
function. The setting is to be written in the "config.ini" file in the "WORK¥FlexGUI¥" folder of the robot
controller.
FD11/CFD
FD11
Ethernet
192.168.1.2
CFD
192.168.1.1
\WORK\FlexGUI\config.ini
The default setting of the "config.ini" is for FD/CFD controller stand alone use. To use the FD/CFD controller
with the FlexGui Toolbox, please modify the config.ini refering to the environment of the FlexGui Toolbox. For the
parameter of "FlexServerAddres", set the IP address of the PC in which the FlexGui Toolbox is executed.
(Concerning the IP address of the PC, please contact the network administrator.)
(Example)
<entry key="FlexServerAddress" value="demoserver.flexgui.net"/>
↓
<entry key="FlexServerAddress" value="192.168.1.1"/>
2-1
2.1Configuration
An example of config.ini
<!DOCTYPE config>
<config>
<entry key="FlexServerPort" value="16732"/>
<entry key="FlexServerAddress" value="192.168.1.1"/>
<entry key="ServerName" value="PPM Help Desk"/>
<entry key="Integrator" value="PPM AS"/>
<entry key="SharedDir" value="D:/WORK/FlexGUI/FlexGuiRoot"/>
<entry key="RobotProgramDir" value="D:/WORK/PROGRAM"/>
<entry key="NraAutoconnect" value="True"/>
<entry key="FullScreen" value="True"/>
<entry key="StartHidden" value="False"/>
<entry key="Locale" value="en"/>
<entry key="PressAndHoldMode" value="False"/>
<entry key="Width" value="640"/>
<entry key="Height" value="480"/>
<entry key="BeltItemHeight" value="80"/>
<entry key="UpdateTarget" value="D:/WORK/FlexGUI"/>
<entry key="ShowUtilityScreen" value="True"/>
<entry key="ShowNewScreen" value="True"/>
<entry key="FlexGuiName" value="FlexGui"/>
<entry key="RobotName" value="not set"/>
<entry key="UseAutoProxy" value="False"/>
<entry key="ProgramEditorEnabled" value="False"/>
<entrySet key="Backups">
<entry value="D:/WORK"/>
<entry value="D:/PLCEngine"/>
<entry value="D:/INI/RTXTCPIP.INI"/>
</entrySet>
<entrySet key="AxisPerMechanism">
<entry key="Mech1" value="6"/>
</entrySet>
</config>
2-2
2.2User Application
4 Select the "WORK¥FlexGUI¥" folder in the folder tree and then select
"FlexGui.exe" in the file list.
6 Press <Complete>.
2-3
2.2User Application
The setting items for the "User Application entry" are shown in the following table.
2-4
2.3 How to start the FlexGui
(NOTE) In either way, the FlexGui will not show on the screen. To open the FlexGui screen,
press [Enable]+[I/F] key.
Automatic start
1 Change the operator class to EXPERT.
-> R314[Enter][Enter]
2 Open <Service Utilities> - [36 User Application entry].
2-5
2.3 How to start the FlexGui
6 Press [Enter].
>>A pop-up window like the following will be displayed.
2-6
2.3 How to start the FlexGui
2-7
2.3 How to start the FlexGui
NOTE
2-8
Chapter 3 FlexGui
This section will help you get started with FlexGui on your NACHI
FD/CFD-controller.
3-1
3.1 FlexGui
POINT The screen that is displayed when "Tap to begin" is touched can be set in the
Screen Utility.
3-2
3.1 How to operate the FlexGui
1 Select the fidget from the FidgetBelt and drag & drop it to the screen.
>>The fidget is placed on the screen.
3-3
3.1 FlexGui
3-4
3.1 How to operate the FlexGui
POINT The setting content of the property differs from each other depending on the
fidget.
3-5
3.1 FlexGui
Now the programming example using the Button fidget completed. It is recommended to use the other available
fidgets to learn about the FexGui more. Concerning the FlexGui fidgets, refer to the Appendix A.
NOTE:
In case of emergency stop or special situation, the NACHI standard UI will be displayed. To display the FlexGui
again, keep pressing the [Enable] key on the teach pendant.
3-6
3.2 Operation screen of the FlexGui
Welcome
- Name
Connect
- Integrator
- Address
- Port
- FlexGui ID
3-7
3.2 Operation screen of the FlexGui
3-8
3.2 Operation screen of the FlexGui
3-9
3.2 Operation screen of the FlexGui
NOTE
3-10
Chapter 4 Getting started with FlexGui
Toolbox
4-1
4.1 Creating / closing a new FlexProject
4-2
4.1 Creating / closing a new FlexProject
To the left is the Available fidgets and the Screen contents, to the right is the
Properties-pane. Since it is the screen itself that is selected initially, the
Properties-pane displays the properties of the screen.
When designating a project that already exists, message box as below will be
displayed.
POINT
POINT Symbols and space cannot be added in the name. If "OK" cannot be pushed,
those may be the reason. In a case like that, please check the name.
4-3
4.1 Creating / closing a new FlexProject
4-4
4.2 Creating a new Screen ("Hello world")
Let's create a screen with a button that displays a message if pressed. This can be done by using one of the
FD/CFD controller's string variables. The button sets the variable, and an indicator receives the variable from the
NACHI controller system (NRA) and displays it in FlexGui.
4-5
4.2 Creating a new Screen ("Hello world")
Code can be written in either FG-SLIM, which is very similar to traditional SLIM, or
JavaScript. For the remainder of this guide, FG-SLIM wlll be used.
(For details of SLIM, refer to the instruction manual "ROBOT LANGUAGE")
4 Write the following code in the script window and click the "Save" button.
With this code, a string of "Hello World!" is set to the robot variable V1$ when the OK
button is clicked.
4-6
4.3Executing the Screen
2
Click the "FlexProject preview button" of the FlexGui Toolbox.
>>The project is executed and the following screen will be displayed.
4-7
4.4 Interacting with robot programs
To make your traditional NACHI robot programs play well together withe FlexGui, there are some aspects that
should be taken into account:
One should consider what information from the robot program is of interest for FlexGui and make them into
variables. For example; if you want to create a progress bar that is used for monitoring the progress of a loop, the
count of the loop should be assigned to a variable, so that FlexGui can read it. Depicted in the following figure is an
illustration of how FlexGui communicates with robot programs via robot variables.
Fig. 4.4-1 The relationship between the FlexGui and the robot program
As seen in the figure, robot programs may also have a case-based structure where global variables are controlling
the cases. This way, the executed sections of the robot program can be controlled by FlexGui. In this section we will
create this FlexProject to control and monitor the robot program. The guidance level of this example is lower, and
we encourgae you to play around yourself. If there are any subjects that you wish to learn more about, we
recommend taking a look in the User Manual or the FlexGui Wiki (www.flexgui.net).
This example can be done either with FD on Desk or on your FlexGui-enabled robot.
4-8
4.4 Interacting with robot programs
First, we will create the case-based robot program as depicted in the following figure. The text version of this
robot language program can be found in Appendix B.
Fig. 4.4-2 Robot program with three cases controlled by the integer variable V1%
As can be seen in this figure, the program consists of three cases, and step 1 determines which case to execute
depending on the value of the robot integer variable V1%. Within each case, we set a string variable V1$ to some
text describing what is happening and move the robot. At the end of each case we are go back step1.
Position 1-3 that are used in Appendix B for a NACHI MC70 is depicted in the figure on the next page.
Please note:
There are many ways of controlling big collections of robot programs from FlexGui. Please see the
www.flexgui.net where a main robot program is used for controlling other robot programs by a similar
principle.
4-9
4.4 Interacting with robot programs
This example is very simple as the cases only results in simple positional change of the robot. However, any
traditional NACHI robot language could be placed inside of the cases. For example the content of the cases could
be picking and placing objects or any other application.
When you have created your robot program, you are ready to create the FlexProject to control and monitor it. This
example will show three alternative ways of controlling the integer variable V1%, which governs which case is
executed.
Start FlexGui Toolbox and create our new project, as depicted in the following figure.
Depicted on this figure is a project where we can execute cases in three different ways, by either:
In addition, we will monitor wich case has been executed by reading the string variable V1$.
4-10
4.4 Interacting with robot programs
Fig. 4.4-5 Project with three ways of controlling V1% and monitoring of V1$
4-11
4.4 Interacting with robot programs
Method1 – Buttons
When you have successfully added the three first buttons, you may edit their onClickedscript by selecting them
and click "edit script" from the properties-pane.
As depicted in this figure, the script inside the first button is:
[FG-SLIM]
LETVI V1%, 1
[JavaScript]
getRobotVariable(“V1%”).value = 1;
Add a similar script to the two remaining buttons, with the only change being that you modify the value to the right of
the comma to 2 and 3 for button 2 and 3, respectively.
Method2 – ComboBox
For the next part, add a ComboBox fidget, select it and edit its list-properties as depicted in the following figure.
When you have added these values to the ComboBox, we can edit the onClicked script of the associated
"Execute Selected Case"-button to execute the correct FG-SLIM snippet depending on the value of the ComboBox
as depicted in the following figure.
4-12
4.4 Interacting with robot programs
Fig. 4.4-8 onClicked script of the button used for the ComboBox
As can be seen in this figure, we use IF-statements to make the button execute the appropriate snippet for
changing the integer variable. The IF-statements check the value of the ComboBox’s text-property by addressing its
path. To get the path to a Fidget, you can rightclick the Fidget in the Screen Contents-pane located in the lower left
in FlexGui Toolbox and select Copy Path.
[FG-SLIM]
IF (V"ComboBox/text"$="Case 1")
LETVI V1%, 1
ENDIF
IF (V"ComboBox/text"$="Case 2")
LETVI V1%, 2
ENDIF
IF (V"ComboBox/text"$="Case 3")
LETVI V1%, 3
ENDIF
[JavaScript]
If (getFidgetVariable(“ComboBox/text”).value == “Case 1”) {
getRobotVariable(“V1%”).value = 1;
}
If (getFidgetVariable(“ComboBox/text”).value == “Case 2”) {
getRobotVariable(“V1%”).value = 2;
}
If (getFidgetVariable(“ComboBox/text”).value == “Case 3”) {
getRobotVariable(“V1%”).value = 3;
}
Please note the use of V"path"$ - this is because we want to typecast the value into a string before comparing it in
the IF-statement.
4-13
4.4 Interacting with robot programs
Method3 – RadioButtons
Lastly, we can use radiobuttons to select the desired case to launch. When you have dragged the
RadioButton-fidget onto the screen, change its labelList entries by as depicted in the following figure. To make the
first radiobutton (case 1) the default selection, change the selected-property to 0. You may also adjust its height and
padding properties to suite your needs.
Now we can edit the onClicked-event of the button we want to use for executing the selected case as depicted in
the following figure.
Fig. 4.4-10 onClicked script of the button used for the RadioButton.
In the code for this button, we again address a fidgetvariable through its path. We also use a simple expression
inside a parenthesis in the LETVI-command. The expression adds 1 to the value of the RadioButton's
selected-property. This is because it's start-index is 0, and therefore if we select the first radiobutton, the expression
will yield 1, and 2 for the second and so on.
[FG-SLIM]
LETVI V1%, (V"RadioButton/selected"%+1)
[JavaScript]
getRobotVariable(“V1%”).value = getFidgetVariable(“RadioButton/selected”).intValue+1;
Please note the use of V"path"$ - this is because we want to typecast the value into a string before comparing it in
the IF-statement.
4-14
4.4 Interacting with robot programs
The <b> and </b> that encapsulates Status: denotes that the text should be bolded, while {V1$}, tells
FlexGui to insert stringvariable 1. Consequenly, when case 1 is executed and the robot program sets V1$ to
"Executing Case 1", this string label will show: "Status: Executing Case 1"
We can now try the project by clicking the -button in FlexGui Toolbox. Remember to start playback of the
program in FD on Desk and connect preview to it by clicking the button located at the top of the preview window.
You should be able to manipulate and monitor the program as in the following figure.
4-15
4.5 Uploading your FlexProject to a robot
UPLOAD FD11
CFD
DOWNLOAD
The FlexProject Explorer is a part of FlexGui Toolbox. It enables both uploading and downloading of screens and
robot programs. When a FlexGui-enabled robot is connected to your FlexGui Toolbox1 , it will be available in the
menubar of FlexGui Toolbox.
As shown in the next figure, select the FlexGui that you wish to upload your project to, and start the FlexProject
Explorer.
4-16
4.5 Uploading your FlexProject to a robot
The following figure shows FlexProject Explorer, where the local contents of FlexGui Toolbox is displayed on the
left and the contents of the connected FlexGui instance is displayed on the right. To make robot programs available
for the FlexProject Explorer, place the robot programs associated with the FlexProject inside a folder named
"Programs" inside of the projects folder.
Display the Connect screen from the teach pendant and then touch "Connect" button.
Select the Screen and the robot program and upload it to the FD/CFD controller by dragging it over to the right side
or click the ">" button. Now, the preparation to execute Flex project at FD/CFD controller is ready.
After selecting the robot program using the teach pendant, please run the robot program in the order below.
4-17
4.6 Aiming the better development
So far, the basic features of the FlexGui were introduced. However, the FlexGui has the versatility like the
followings.
For more information about the FlexGui, please access to the www.flexgui.net.
4-18
Chapter 5 FlexGui4.0
Launch Google Chrome from the start menu of the computer, and open the setting
screen.
2 Indicate the advanced settings, and open [Change proxy settings] of the network.
5-1
5.1 Connection procedure for FlexGui4.0
5-2
5.1 Connection procedure for FlexGui4.0
5 Place checks at <Web Management Tools> and <World Wide Web Services> of the
<Internet information services>.
5-3
5.1 Connection procedure for FlexGui4.0
10 Press “OK”
”.
5-4
5.1 Connection procedure for FlexGui4.0
5-5
5.1 Connection procedure for FlexGui4.0
5-6
5.2 Starting of FlexGui4.0
5-7
5.2 Starting of FlexGui4.0
5-8
5.2 Starting of FlexGui4.0
5-9
5.3 Operation procedure of FlexGui4.0
5-10
5.3 Operation procedure of FlexGui4.0
5-11
5.3 Operation procedure of FlexGui4.0
5-12
5.3 Operation procedure of FlexGui4.0
6 Next, select the screen to add the fidget, and open the [Edit mode].
⇒ Drug the Fidget from the screen belt of the right side to the screen.
7 Drug the added Fidget to the screen belt <Prosperities> of the left side.
Edit screen of the fidget indicates as below.
⇒ Input the variable value, set at procedure 5 after @ in the <Value>.
5-13
5.3 Operation procedure of FlexGui4.0
5-14
5.4 Operation screen of the FlexGui4.0
Help
5-15
5.4 Operation screen of the FlexGui4.0
Multi select
Unselect all
Undo
Redo
Copy
Cut
Paste
5-16
5.5 Remote connection
5-17
5.5 Remote connection
4 Set the IP address that is the same network as the LAN side IP address.
⇒ Please refer to the factory setting of the Wi-Fi Router for terminal, currently using
regarding with the LAN side IP address.
5 Connect ①Wi-Fi Router for LAN terminal and computer by Ethernet cable.
5-18
5.5 Remote connection
6 Launch the browser and input the LAN side IP address of the ①Wi-Fi Router for LAN
terminal to the address bar of the browser.
⇒ Refer to the factory setting of the Wi-Fi Router for terminal, currently using regarding with
the LAN side IP address.
7 Set the LAN side IP address to manual setting from [LAN setting].
⇒ Please input the IP address of the same network as the IP address, set at the controller
by referring to “2.1 Configuration”.
8 Set the information of the WAN-side Wi-Fi Router from [無線設定 (Wireless set)] ] [エ
アステーション間接続 (Connection between Air Station)] ].
9 Connect Wi-Fi Router for LAN terminal and the FD controller by Ethernet cable.
10 Check that the Wi-Fi Router for LAN terminal and the WAN-side Wi-Fi Router are
connected.
11 Enable the Wi-Fi of the computer and connect the computer and WAN-side Wi-Fi
Router.
5-19
5.5 Remote connection
12 Open the setting page of the WAN-side Wi-Fi Router, currently using.
⇒ Please refer to the document of the WAN-side Wi-Fi Router for the username and the
password.
13 By referring to “2.1 Configuration”, input the IP address of the same network as the IP
address, set at the controller for the setting of DHCP.
14 Enable the DMZ. Set the IP address of the controller to the DMZ IP address.
⇒ By referring to “2.1 Configuration”, input the IP address, which is set to the controller to
DMZ IP address.
5-20
5.5 Remote connection
5-21
5.5 Remote connection
7 If there is a check on <Connected> box then, remote connection has completed for
set connection.
5-22
Appendix
This section will guide you through the steps to create your first FlexProject
using the FlexGui Toolbox.
A Fidget Overview
Available in FlexGui
1
A Fidget Overview
Available on FlexGui4.0
2
B Robot program
B Robot program
(NOTE)
This is a source code of "Robot language" for NACHI robot controller. To run this program in the robot controller,
it is needed to "compile" this source code in the robot controller or the FD on Desk. Concerning the detailed
procedures, please refer to the instruction manual "ROBOT LANGUAGE".
3
B Robot program
NOTE
4
http://www.nachi-fujikoshi.co.jp/
South Carolina Service Center Phone: 248-305-6545 Fax: 248-305-6542 Greenville, South Carolina
Canada Branch Office Phone: 905-760-9542 Fax: 905-760-9477 89 Courtland Ave., Unit No.2, Concord, Ontario, L4K 3T4, CANADA
Phone: Fax: Unit 3, 92, Kettles Wood Drive, Woodgate Business Park,
U.K. branch
+44-0121-423-5000 +44-0121-421-7520 Birmingham B32 3DB, U.K.
Phone: Fax:
Sydney office Unit 1, 23-29 South Street, Rydalmere, N.S.W, 2116, AUSTRALIA
+61-(0)2-9898-1511 +61-(0)2-9898-1678
Phone: Fax:
Brisbane office 7/96 Gardens Dr,Willawong,QLD 4110, , AUSTRALIA
+61-(0)7-3272-4714 +61-(0)7-3272-5324