7169FoGngIEhkpwxsmSOddk5CAI4z0Xt4Z3cghcNLlxxE7LQC+2wd68VWEg==
Application placement procedure on CNC
Name
Application placement procedure on CNC
Drawing
number
A-42148-00856EN
02 2024/03/05 osada menu.json was integrated into apps.json
Page
FANUC CORPORATION
Person in
Changes
Edition Date charge
1/9
Created 2023.08.31 Person in
charge osada Approved
© MyFANUC 8D9E9F12F3FA495DB303C547610FE8CC
7169FoGngIEhkpwxsmSOddk5CAI4z0Xt4Z3cghcNLlxxE7LQC+2wd68VWEg==
This document describes the procedure for deploying a screen application built with FANUC PICTURE2 to the CNC.
1.1 Build
• Select [build (B)] - [build (B)] in the menu bar.
• The dialog displays the progress of the building process.
• The [Output] foleder will be created in the folder specified when creating the project.
• The subfolder of [release] / [debug] will be created in the [Output] folder.
• The build artifact is output to the [release] / [debug] folder as "[application name].DSP"
(This document provides an example where the application name is "NewProject".).
You can change the application name in [project (P)] - [project property (J)] in the menu bar.
Name
Application placement procedure on CNC
Drawing
number
A-42148-00856EN
02 2024/03/05 osada menu.json was integrated into apps.json
Page
FANUC CORPORATION
Person in
Changes
Edition Date charge
2/9
Created 2023.08.31 Person in
charge osada Approved
© MyFANUC 8D9E9F12F3FA495DB303C547610FE8CC
7169FoGngIEhkpwxsmSOddk5CAI4z0Xt4Z3cghcNLlxxE7LQC+2wd68VWEg==
1.2 Deployment
This section describes the procedure to place the build artifacts on the CNC.
The created application will be started from the menu screen. Therefore, first you need to register the display icon on the menu
screen. This section explains how to register display icon on the menu screen, and then explains how to place build artifact.
1.2.1 Registration of the Application Icon to the Menu Screen
NOTE
In edition 03.02 of Graphic Software and edition 04.00 of FANUC PICTURE2, the menu screen configuration
file "menu.json" has been integrated into "apps.json". If “menu.json” is in the following folder of CNC, please
delete it. Please recreate "apps.json" according to this chapter.
C:¥FANUC¥iHMI2¥cnc1¥MTB¥setting
“apps.json” explained in the following procedure is obtained from the “C:¥Program Files¥FANUC¥FANUC
PICTURE2¥.Sample¥iHMI2¥cnc1¥MTB” folder.
• Open “apps.json” with text editor.
• Add the application definition to “apps.json” as below. (add the yellow filled area)
• Create the following folder on the CNC and store the modified “apps.json” in the “setting” folder.
C:¥FANUC¥iHMI2¥cnc1¥ cnc1¥MTB¥setting
※If you set the application name to something other than “NewpProject”, please change the “NewProject” part of
“NewProject” and “fp/NewProject” to the new application name.
{
"name": "manualviewer",
"options": [],
Name
Application placement procedure on CNC
Drawing
number
A-42148-00856EN
02 2024/03/05 osada menu.json was integrated into apps.json
Page
FANUC CORPORATION
Person in
Changes
Edition Date charge
3/9
Created 2023.08.31 Person in
charge osada Approved
© MyFANUC 8D9E9F12F3FA495DB303C547610FE8CC
7169FoGngIEhkpwxsmSOddk5CAI4z0Xt4Z3cghcNLlxxE7LQC+2wd68VWEg==
"file": "manualviewer",
"parameters": "",
"subjects": [],
"current": "",
"nomenu": true,
"category": "Planning",
"image": "manual-viewer.svg",
"caption": {
"en": "manualviewer",
"ja": "マニュアルビューア"
}
},
{
"name": "NewProject",
"options": [],
"file": "fp/NewProject",
"parameters": "",
"subjects": [],
"current": "",
"nomenu": false,
"category": "Machining",
"image": "manual-viewer.svg",
"caption": {
"en": "FanucPicture",
"ja": "FanucPicture"
}
}
}
• When the display icon is successfully registered, “FanucPicture” will appear in the menu screen.
Name
Application placement procedure on CNC
Drawing
number
A-42148-00856EN
02 2024/03/05 osada menu.json was integrated into apps.json
Page
FANUC CORPORATION
Person in
Changes
Edition Date charge
4/9
Created 2023.08.31 Person in
charge osada Approved
© MyFANUC 8D9E9F12F3FA495DB303C547610FE8CC
7169FoGngIEhkpwxsmSOddk5CAI4z0Xt4Z3cghcNLlxxE7LQC+2wd68VWEg==
1.2.2 How to place build artifacts
(In this document, the procedure with the application name as “NewProject” is described as an example))
• Open the [release] / [debug] folder under the [output] folder.
NewProject.DSP is being generated.
• Copy the generated “NewProject.DSP” to the USB memory.
• Please insert the USB memory into the CNC equipment.
• Select the Data I/O from the menu screen.
• Select the fourth vertical soft key of [Graphic Data] from the top on the displayed Data I/O screen.
Name
Application placement procedure on CNC
Drawing
number
A-42148-00856EN
02 2024/03/05 osada menu.json was integrated into apps.json
Page
FANUC CORPORATION
Person in
Changes
Edition Date charge
5/9
Created 2023.08.31 Person in
charge osada Approved
© MyFANUC 8D9E9F12F3FA495DB303C547610FE8CC
7169FoGngIEhkpwxsmSOddk5CAI4z0Xt4Z3cghcNLlxxE7LQC+2wd68VWEg==
• After the list on the left changes to “Graphic Data”, select “NewProject.DSP from the list on the right (Strorage).
• Select the horizontal soft key [Input].
• Select the horizontal soft key [OK] if the contents of the displayed dialog are correct.
Select the horizontal soft key [Cancel] if you want to reselect the other file.
Name
Application placement procedure on CNC
Drawing
number
A-42148-00856EN
02 2024/03/05 osada menu.json was integrated into apps.json
Page
FANUC CORPORATION
Person in
Changes
Edition Date charge
6/9
Created 2023.08.31 Person in
charge osada Approved
© MyFANUC 8D9E9F12F3FA495DB303C547610FE8CC
7169FoGngIEhkpwxsmSOddk5CAI4z0Xt4Z3cghcNLlxxE7LQC+2wd68VWEg==
• “NewProject!” will be added to the list on the left.
• Select the eighth vertical soft key [Menu] from the top to return to the menu screen.
• Select the horizontal soft key [Shutdown].
Name
Application placement procedure on CNC
Drawing
number
A-42148-00856EN
02 2024/03/05 osada menu.json was integrated into apps.json
Page
FANUC CORPORATION
Person in
Changes
Edition Date charge
7/9
Created 2023.08.31 Person in
charge osada Approved
© MyFANUC 8D9E9F12F3FA495DB303C547610FE8CC
7169FoGngIEhkpwxsmSOddk5CAI4z0Xt4Z3cghcNLlxxE7LQC+2wd68VWEg==
• Select the horizontal soft key [Restart] to reboot iHMI2.
1.2.3 How to Start the Screen App
• When you start iHMI2 and select [FanucPicture] on Menu screen, the created screen will be displayed.
Name
Application placement procedure on CNC
Drawing
number
A-42148-00856EN
02 2024/03/05 osada menu.json was integrated into apps.json
Page
FANUC CORPORATION
Person in
Changes
Edition Date charge
8/9
Created 2023.08.31 Person in
charge osada Approved
© MyFANUC 8D9E9F12F3FA495DB303C547610FE8CC
7169FoGngIEhkpwxsmSOddk5CAI4z0Xt4Z3cghcNLlxxE7LQC+2wd68VWEg==
Name
Application placement procedure on CNC
Drawing
number
A-42148-00856EN
02 2024/03/05 osada menu.json was integrated into apps.json
Page
FANUC CORPORATION
Person in
Changes
Edition Date charge
9/9
Created 2023.08.31 Person in
charge osada Approved
© MyFANUC 8D9E9F12F3FA495DB303C547610FE8CC