A-42146-00042en - 27 Fanuc Pi̇cture
A-42146-00042en - 27 Fanuc Pi̇cture
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 1/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
TABLE OF CONTENTS
1 OVERVIEW ··········································································· 10
1.1 INSTALLER CHANGE ····················································································· 10
1.2 FP CONTROL ································································································ 10
1.3 RUBY SCRIPT ································································································ 11
1.4 LIBRARY FUNCTIONS CAN BE USED FROM RUBY SCRIPT ································ 12
1.5 ASYNCHRONOUS EXECUTION OF RUBY SCRIPT ············································· 12
1.6 IMPROVE OF SCREEN CALL FUNCTION ·························································· 13
1.7 COMBINED APPLICATION IN STANDARD DISPLAY UNIT ···································· 13
1.8 Expansion of the maximum number of simultaneous executions of the
FANUC PICTURE for iHMI ··············································································· 13
1.9 Floating Display Function ··············································································· 13
1.10 Script Displaying Button ················································································ 14
1.11 Expansion of FP controls supporting to the Multi-language Character Type functions14
1.12 IMAGE FILE EDITOR improvements ································································· 14
1.13 Offsetting Function of CNC memory area of FANUC PICTURE for iHMI ················· 14
1.14 Improvements of the operability when adding FP screens ·································· 14
1.15 FANUC Series 30i-B CPU-G ············································································ 15
1.16 Improvements of selection status retention of Control ······································· 15
1.17 Use memory card of display unit with PC function ············································· 16
1.18 Project variable management function of FANUC PICTURE for iHMI ················· 16
1.19 FP Screen Transferring Function for CNC GUIDE ··············································· 16
1.20 Collective screen bitmap output function ························································· 17
1.21 About image files ·························································································· 17
1.22 Image quality setting of display image with Automatic screen enlarged function ··· 17
1.23 REMARKS ···································································································· 18
1.23.1 About compatibility with FANUC PICTURE earlier than 8.0 ··················································· 18
1.23.2 About check of version ································································································ 19
1.23.3 About memory consumption ·························································································· 19
1.23.4 About compatibility of Edition 8.0 or later. ········································································· 19
1.23.5 Compatibility with Multi-language Character Type function enabled project created by edition 9.4
or earlier. ················································································································· 20
1.23.6 Setting of CNC system ································································································· 20
2 INSTALLER ··········································································· 21
2.1 INSTALLATION PROCEDURE ·········································································· 21
3 FP CONTROL ········································································ 22
3.1 ADDITION OF FP CONTROL············································································ 22
3.1.1 Check Box Control ····································································································· 26
3.1.1.1 Function ············································································································ 26
3.1.1.2 Diagram ············································································································ 26
3.1.1.3 Icon design········································································································· 26
3.1.1.4 Operation ·········································································································· 27
3.1.1.5 Properties ·········································································································· 27
3.1.1.6 List display ········································································································ 36
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 2/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 3/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 4/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 5/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 6/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 7/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 8/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 9/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
1 OVERVIEW
This section provides an overview of the functions added to FANUC PICTURE as well as functions that were
improved.
Refer to FANUC PICTURE MANUAL (Edition 06.2 to less than 08.0)(A-40712) in regard to specifications,
bug fixes and restrictions that are common in Edition 06.2 to less than 08.0.
In FANUC PICTURE edition 8.0 or later, there are the following changes.
① Screnns for FS0i/0i Mate-D can not be created.
② The extension of the project file is changed.
( The project created in ealier than 8.0 edition can be used by converting. )
③ There is no compatibility for FP Driver.
( If only FP Driver is updated to edition 8.0 or later, an error screen will be displayed. )
When you use the project created in the past as it is, please use FANUC PICTURE earlier than 8.0 edition. The
latest FANUC PICTURE ealier than 8.0 edition is included in the installation disk. When installing, please choose
which to use and install.
FANUC PICTURE
Installation CD
FANUC PICTURE
( 8.0 or later )
FANUC PICTURE
( earlier than 8.0 )
1.2 FP CONTROL
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 10/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Additionally, the following functions were added to support flexible screen design.
■ Design customization function (Refer to: "3.1 DESIGN CUSTOMIZATION")
- Function for customizing FP control image file
Additionally, the following functional improvements are made and the convenience of property setting of FP
control is improved.
■ Improvement of property setting of FP control. (Refer to: "3.3 IMPROVEMENT OF PROPERTY SETTING
OF FP CONTROL")
- Display property setting values as eigenvalues
- Change the control property from the script
In addition to FP script, generic script (mruby) is now available.This allows for processes such as the following
to be written in generic scripts in addition to processes that can be performed with FP scripts.In this
specification, mruby script is described as Ruby script.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 11/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
mruby version: 1. 2. 0
For details, refer to Chapter 5, "LIBRARY FUNCTIONS CAN BE USED FROM RUBY SCRIPT"
Ruby scripts are normally executed during FP control processing (drawing, action, etc.), timer processing, and
event processing such as screen transitions. However, ruby script processing can be executed as a separate
process by using this function. This enables asynchronous execution of various control processing (drawing,
action, etc.), timer processing, and event processing such as screen transitions, without having to stop the
process until the Ruby script ends.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 12/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
When displaying the FANUC PICTURE screen from the home screen, it is possible to designate and display a
specific screen, but in addition to its specification, the following specifications are now possible.
- Displaying the custom screen of written screen number in specified PMC area
- Displaying the latest custom screen
There is a change in part of the development environment construction procedure concerning creation of
combinated application.
For details, refer to “Chapter 9 Expansion of the maximum number of simultaneous executions of the FANUC
PICTURE for iHMI”.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 13/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
For details, refer to "Chapter 12 FP controls supporting to the Multi-language Character Type function".
The details, refer to “Chapter 15 Improvements of the operability when adding screens”.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 14/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Available edition:
FANUC PICTURE(A08B-9010-J518#ZZ11) 09.9 or later
For details, refer to the following sections and Appendix A “Initial state setting operation in conjunction with
PMC signals”.
- Check box control : Section 3.1.1.5 "Properties" – [Action] tab
Section 3.1.1.6 "List display"
Section 3.1.1.7 "Batch editing"
- Radio button control : Section 3.1.2.5 "Properties" – [Action] tab
Section 3.1.2.6 "List display"
Section 3.1.2.7 "Batch editing"
- Combo box control : Section 3.1.5.5 "Properties" – [Action] tab
Section 3.1.5.6 "List display"
Section 3.1.5.7 "Batch editing"
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 15/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Available edition:
FANUC PICTURE (A08B-9010-J518#ZZ11) 09.9 or later
For detail, refer to Section 17 “Use memory card of display unit with PC function”.
Available edition:
FANUC PICTURE (A08B-9010-J518#ZZ11) 10.1 or later
For detail, refer to “18 Project variable management function of FANUC PICTURE for iHMI”.
In this manual, “CNC GUIDE” refers to CNC GUIDE and CNC GUIDE2, unless concurrently listed.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 16/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Available edition:
FANUC PICTURE (A08B-9010-J518#ZZ11) 10.3 or later
Available edition:
- FANUC PICTURE (A08B-9010-J518#ZZ11) 10.3 or later
Available edition:
FANUC PICTURE (A08B-9010-J518#ZZ11) 10.6 or later
For details, refer to “Chapter 22 Image quality setting of display image with Automatic screen enlarged
function”.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 17/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
1.23 REMARKS
Project file
(earlier than 8.0)
MEM file
(earlier than 8.0)
MEM file
(8.0 or later)
NOTE
1. Project after conversion can not be restored. Please obtain backup in advance.
2. When converting a project of unsupported model ( FS0i/0i Mate-D etc. ), please
change the setting of the project to a supported model beforehand and execute the
conversion with FANUC PICTURE 8.0 or later.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 18/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
If updating only FP Driver, in FANUC PICTURE edition 8.0 or later, an error screen is displayed with the
following conbination and FANUC PICTURE does not work.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 19/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
iHMI/Standard display
・Screen data of edition 9.4 or earlier ⇔ FP driver of edition 9.5 or later
The screen data created with a previous edition can be updated by opening it with FP Editor of a newer edition.
In addition, if updating only the FP driver to version 9.7 or later with screen data that using the FpSetProperty
function with the FP editor edition 9.6 or earlier, the FpSetProperty function may return an error (Invalid object
ID).
See “Chapter 12 FP controls supporting to the Multi-language Character Type function" for more details about
Multi-language Character Type function.
* It is recommended to backup the applicable project before opening it by edition 9.5 or later.
iHMI mode
CNC system CNC model
30i/31i/32i-A/B, 35i-B, 0i-F, 30i/31i/32i-B Plus, 0i-F Plus, Series 30i/31i/32i/35i-B
Power Motion i-A Plus Series 30i/31i/32-iB Plus
Series 0i-F Plus
Power Motion i-A Plus
Power Motion i-A Power Motion i-A
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 20/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
2 INSTALLER
1. When inserting the installation CD, the following dialog box will be displayed automatically.
NOTE
If it is not displayed automatically, open the Explorer window, select the DVD
drive, and run AutoRun.exe in the top folder.
(The Administrator authority is necessary.)
2. Select the edition you want to install and press the <OK> button.
3. The installation wizard is displayed. Follow the message and proceed with installation.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 21/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
3 FP CONTROL
Icons
FP control icons displayed on the toolbar are displayed in the following order.
For details about FP control, refer to the description of each control.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 22/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 23/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 24/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 25/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
Because the key set to [Operation Mode Switching Key] takes precedence over
the [Shortcut Key] of each control, do not set the same key. When the same key
is set, the [Shortcut Key] of each control doesn't operate.
3.1.1.1 Function
The check box is a control for selecting an item by putting a check mark in the box.
A caption is displayed next to the check box. To change the state of the check box (select or clear the check
box), touch the check box control or enter the corresponding key.
3.1.1.2 Diagram
Specify centered, left aligned, or right aligned in the text area as the caption layout.
Unless the caption is centered, you can specify X- and Y-coordinates.
Text area
Check mark
area (caption area)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 26/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
3.1.1.4 Operation
To change the state of the check box, perform one of the following operations:
- Touch the check box control.
- Press the shortcut key allocated to the check box.
- Press the <INPUT> key with the focus on the check box.
The state of the check box cannot be changed when the control is disabled, after the disable signal is received, or
when the interlock is engaged.
The PMC area (1 bit) can be allocated to the check box.
If the PMC area is allocated, data is written into the PMC area allocated to the check box when the user changes
the state of the check box.
3.1.1.5 Properties
Tab configuration
Table 3.1.1.5 (a) List of Tabs
Item Description
General Used to specify the position and size of the check box.
Character Used to specify the position, color, and text of the caption in the text area.
Action Used to specify the initial status, allocation to the PMC area, interlock, and shortcut key.
Focus Used to specify the focus number and how to move the focus.
Image Used to specify the image when the control is disabled and the image at usual times.
NoAction Image Used to specify the allocation of the PMC area and the image for the disable signal.
Interlock Image Used to specify the image for when the interlock is engaged.
[General] tab
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 27/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
X User entry Numerical value Specify the X-coordinate with reference to the left top
- of the check box.
(Display starting position)
Y User entry Numerical value Specify the Y-coordinate with reference to the left top
- of the check box.
(Display starting position)
Width User entry Numerical value - Width of the check box.
Height User entry Numerical value - Height of the check box.
[Character] tab
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 28/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Action] tab
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 29/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 30/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
InterlockPMCBit Selection Refer to "Table First This setting item is enabled with the following
3.1 (b) Common candidate settings:
Setting Items." [Interlock]: ON
[Symbol]: OFF
Symbol Check box ON/OFF OFF Select this check box to use symbols.
Symbol selection Entry or Arbitrary Blank This setting item is enabled with the following
selection settings:
[Interlock]: ON
[Symbol]: ON
NOTE
The PMC signal allocated in [External output] retains the status before the
interlock. Therefore, the status before the interlock is displayed at recovery from
the interlock.
[Focus] tab
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 31/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Image] tab
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 32/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 33/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 34/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 35/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Pattern 1
[Action] tab: OFF
[Interlock] on the [Action] tab: ON
Pattern 2
[NoAction] on the [Action] tab: ON
[Interlock] on the [Action] tab: ON
[NoAction Signal] on the [NoAction Image] tab:
OFF
For details about the item display conditions, refer to "Table 3.1.1.6 (b) List of Item Display Conditions."
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 36/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 37/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Item name Settings tab Setting item Specification Item display conditions
External output Action - PMC Path Refer to "Table 3.1 (b) No.5
Signal - PMC Area Common Setting Items."
- Address
- Bit
Interlock Action 0:OFF 1:ON
Interlock signal Action Symbol No.6
symbol flag
Interlock signal Action Symbol selection No.7
symbol
Interlock signal Action - PMC Path Refer to "Table 3.1 (b) No.8
- InterlockPMCArea Common Setting Items."
- InterlockPMCAddress
- InterlockPMCBit
Focus is available Focus 0:OFF 1:ON
Number of focus Focus Numerical value Arbitrary (The initial value No.24
index is 0.)
Don't move focus Focus 0:OFF 1:ON No.24
to the next control
after data input
operation.
Appoint Focus 0:OFF 1:ON No.24
movement index
Focusing up Focus Numerical value Arbitrary (The initial value No.25
is 0.)
Focusing down Focus Numerical value Arbitrary (The initial value No.25
is 0.)
Focusing left Focus Numerical value Arbitrary (The initial value No.25
is 0.)
Focusing right Focus Numerical value Arbitrary (The initial value No.25
is 0.)
Button Size Image 0: Small 1: Medium 2: Large
Position Image 0: Left 1: Right
No action image Image Mask Image File No.13
file name
No action image Image Style Style number No.13
style
Image File Name Image No. 14 or No. 15
Style Image Style number No. 14 or No. 15
Check Color Image
Check Back Color Image
Border Color1 Image
Border Color2 Image
Background color Image
Focus Color Image
Check ON Image 0:OFF 1:ON No. 20, No. 21, No. 22
Preview or No. 23
Focus Preview Image 0:OFF 1:ON No. 20, No. 21, No. 22
or No. 23
No action signal NoAction Image 0:OFF 1:ON No.16
No action image NoAction Image Mask Image File No.15
file name
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 38/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Item name Settings tab Setting item Specification Item display conditions
No action signal NoAction Image Style No.15
style
No action Check NoAction Image Color of check mark No.15
Color when disabled
No action Check NoAction Image Background color of check No.15
Back Color mark when disabled
No action border NoAction Image Border color 1 when the No.15
color1 control is disabled
No action border NoAction Image Border color 2 when the No.15
color2 control is disabled
No action signal NoAction Image Symbol 0:0FF 1:ON No.15
symbol flag
No action signal NoAction Image Symbol selection No.17
symbol
No action signal NoAction Image - PMC path when the Refer to "Table 3.1 (b) No.18
PMC control is disabled Common Setting Items."
- PMC area when the
control is disabled
- PMC address when
the control is disabled
- PMC bit when the
control is disabled
No action signal NoAction Image Preview of the check 0:0FF 1:ON No.15
Check ON Preview mark
No action signal NoAction Image Preview 0:0FF 1:ON No.15
preview
Interlock image Interlock Image Display 0:OFF 1:ON No. 9 or No. 10
display
Interlock image Interlock Image Image File Name No. 11 or No. 12
file name
Interlock image Interlock Image Style Style number No. 11 or No. 12
style
Interlock Check Interlock Image Check Color No. 11 or No. 12
Color
Interlock Check Interlock Image Check Back Color No. 11 or No. 12
Back Color
Interlock border Interlock Image Border Color1 No. 11 or No. 12
color 1
Interlock border Interlock Image Border Color2 No. 11 or No. 12
color 2
Interlock Back Interlock Image Back Color No. 11 or No. 12
Color
Interlock Check Interlock Image Preview of the check 0:OFF 1:ON No. 11 or No. 12
ON Preview mark
Interlock preview Interlock Image Preview 0:OFF 1:ON No. 11 or No. 19
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 39/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 40/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
<Edition 9.9 or later>
1. If "PMC" in [Init state] is selected, [External output] is turned on.
2. If [External output] is turned off when "PMC" is selected in [Init state], [Init state] is
turned off.
The following table shows the setting items on each tab that are the same as those in the list display. The
property names other than the items shown below are the same as those in the list display.
Table 3.1.1.7 (a) List of Differences for the Same Setting Items
Item name (list display) Property name (batch editing)
Shortcut Key Shortcut Key
Shortcut key code
NOTE
The output result of the property list output by the screen bitmap batch output function
is also the same as the setting value of “Table 3.1.1.7(b) Setting value of [Init state] in
Batch editing” in the above table.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 41/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
3.1.1.8 Message
The specific message displayed when setting this control is shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 42/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
3.1.2.1 Function
The radio button control is used to select only one choice from multiple options.
You can group controls linked on the same screen by setting the [GroupNo] property.
3.1.2.2 Diagram
You can select a large, medium or small radio button. You can select left aligned or right aligned as the display
position. The height of the control is automatically centered.
The default size is "small." If the created control is smaller than the small size, the size is automatically set to small.
3.1.2.4 Operation
Whether the radio button is selected or not is managed in the dynamic memory in the FP driver.
4 bytes are allocated from the output PMC address on the [Action] tab and the selection status of up to 32
buttons is output.
4 bytes are allocated according to the No. in the group set to the laid out radio button.
If you change the PMC status from an external application or tool, the selection status changes.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 43/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
0
B is selected.
Other buttons are deselected. Control information
The property design and output destination PMC must be the same within the group.
When you change control settings, the same settings are applied to other controls in the group.
The properties of the control whose group No. is changed apply to the controls with the new group No.
The applied properties are shown in the following table.
Table 3.1.2.4 (a) Properties Applied When the Group No. Is Changed
Tab Setting item
Action PMC Path
OutPMCArea
OutPMCAddress
Symbol
Symbol selection
Image Button Size
Button Position
Mask Image File
Style
Image File Name
Style
Back Color
Border Color
Outer Frame Color
ON Color
OFF Color
NoAction Image File Name
Image Style
Back Color
Border Color
Outer Frame Color
State Color
Interlock Image File Name
Style
Back Color
Border Color
Outer Frame Color
State Color
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 44/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
3.1.2.5 Properties
Tab configuration
Table 3.1.2.5 (a) List of Tabs
Item Description
General Used to specify the position and size of the radio box.
Character Used to specify the position, color, and text of the caption in the text area.
Action Used to specify the initial status, allocation to the PMC area, interlock, and shortcut key.
Focus Used to specify the focus number and how to move the focus.
Image Used to specify the image when the control is disabled and the image at usual times.
NoAction Image Used to specify the allocation of the PMC area and the image for the disable signal.
Interlock Image Used to specify the image for when the interlock is engaged.
[General] tab
X User entry Numerical value - No Specify a value smaller than the screen size.
Y User entry Numerical value - No Specify a value smaller than the screen size.
Width User entry Numerical value - No Specify a value smaller than the screen size
starting from [X].
Height User entry Numerical value - No Specify a value smaller than the screen size
starting from [Y].
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 45/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Character] tab
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 46/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Action] tab
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 47/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 48/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
The PMC signal allocated in [Output] retains the status from before the interlock
engaged. Therefore, the same status as before the interlock engaged is
displayed upon recovery from the interlock.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 49/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Focus] tab
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 50/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Image] tab
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 51/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Pattern 2
[NoAction] on the [Action] tab: ON
[NoAction Signal] on the [NoAction
Image] tab: ON
Style Selection Arbitrary First style in Yes Select a style from those in the
the Fig file specified Fig file.
Pattern 2
[NoAction] on the [Action] tab: ON
[NoAction Signal] on the [NoAction
Image] tab: ON
Back Color Palette Color Gray Yes Select a color from the color selection
selection (192.192.19 dialog.
2)
Border Palette Color Black Yes Select a color from the color selection
Color selection dialog.
Circle border (This applies to both the
inner and outer circles.)
Outer Palette Color Gray Yes Select a color from the color selection
Frame selection (192.192.19 dialog.
Color 2)
ON Color Palette Color Green Yes Select a color from the color selection
selection (0.128.0) dialog.
OFF Color Palette Color Black Yes Select a color from the color selection
selection dialog.
ON Preview Check box ON/OFF OFF
*There is a preview button on the iHMI mode.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 52/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 53/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 54/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Pattern 2
[NoAction] on the [Action] tab: ON
[Interlock] on the [Action] tab: ON
The list display items are shown in "Table 3.1.2.6 (a) List Display Items."
Note that the description is omitted in the following cases:
- The item name is the same as the setting item.
- The setting value is the same as that on the [Property] tab.
For details about the item display conditions, refer to "Table 3.1.2.6 (b) List of Item Display Conditions."
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 55/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Item name Settings tab Setting item Specification Item display conditions
Width General
Height General
No use Character 0:OFF 1:ON
multi-language
Multi-language Character Multi-language key No. No.1
key -1
Arrangement Character Center Left Aligned
Left Aligned
Right Aligned
Text offset Character X No.2
posX
Text offset Character Y No.2
posY
Character Character Refer to "Table 3.1 (b)
Type Common Setting Items."
Caption color Character
Disable Color Character
Lock Color Character
Focus caption Character
color
Caption Character When the multi-language keys are
used, the same number of captions
as that of keys are displayed.
No action Action 0:OFF 1:ON
Group no. Action
Group index Action
Init Status Action ON OFF-
OFF
PMC(*)
* ”PMC” is valid at
Edition 9.9 or later
Shortcut Key Action - Shortcut Key 0:OFF
- Shortcut key selection Other settings: Refer to
"Table 3.1 (b) Common
Setting Items."
Out PMC Action Symbol 0:OFF 1:ON
symbol flag
Out PMC Action Symbol selection No.3
symbol
Out PMC Action - PMC Path Refer to "Table 3.1 (b) No.4
- OutPMCArea Common Setting
- OutPMCAddress Items."
Interlock Action 0:OFF 1:ON
Interlock Action Symbol 0:OFF 1:ON No.5
signal symbol
flag
Interlock Action Symbol selection No.6
signal symbol
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 56/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Item name Settings tab Setting item Specification Item display conditions
Interlock Action - PMC Path Refer to "Table 3.1 (b) No.7
signal - InterlockPMCArea Common Setting
- InterlockPMCAddress Items."
- InterlockPMCBit
Interlock Interlock Display 0:OFF 1:ON No. 8 or No. 9
image display Image
Interlock Interlock Image File Name No. 10 or No. 11
image file name Image
Interlock Interlock Style Style number No. 10 or No. 11
image style Image
Interlock Back Interlock Back Color No. 10 or No. 11
Color Image
Interlock Interlock Border Color No. 10 or No. 11
Border Color Image
Interlock Outer Interlock Outer Frame Color No. 10 or No. 11
Frame Color Image
Interlock state Interlock State Color No. 10 or No. 11
color Image
Interlock Interlock Preview 0:OFF 1:ON No. 10 or No. 11
preview Image
Focus is Focus 0:OFF 1:ON
available
Number of Focus Numerical value Arbitrary (The initial No.19
focus value is 0.)
Index
Don't move Focus 0:OFF 1:ON No.19
focus to the
next control
after data
input
operation.
Appoint Focus 0:OFF 1:ON No.19
movement
index
Focusing up Focus Numerical value Arbitrary (The initial No.20
value is 0.)
Focusing left Focus Numerical value Arbitrary (The initial No.20
value is 0.)
Focusing right Focus Numerical value Arbitrary (The initial No.20
value is 0.)
Focusing Focus Numerical value Arbitrary (The initial No.20
down value is 0.)
Button Size Image 0: Small
1: Medium
2: Large
Position Image 0: Left
1: Right
No action Image Mask Image File No.12
image file
name
No action Image Style Style number No.12
image style
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 57/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Item name Settings tab Setting item Specification Item display conditions
Image File Image No. 13 or No. 14
Name
Style Image Style number No. 13 or No. 14
Background Image
color
Border Color Image
Outer Frame Image
Color
ON Color Image
OFF Color Image
ON Preview Image 0:OFF 1:ON
No action NoAction 0:OFF 1:ON No.15
signal Image
No action NoAction Mask Image File No.16
signal image Image
file name
No action NoAction Style Style number No.16
signal style Image
No action NoAction Back Color No.16
Back Color Image
No action NoAction Border Color No.16
Border color Image
No action NoAction Outer Frame Color No.16
Outer Frame Image
Color
No action NoAction State Color No.16
State Color Image
No action NoAction Symbol 0:OFF 1:ON No.16
signal symbol Image
flag
No action NoAction Symbol selection No.17
signal symbol Image
No action NoAction - PMC Path Refer to "Table 3.1 (b) No.18
signal PMC Image - PMC Area Common Setting
- Address Items."
- Bit
No action NoAction Preview 0:OFF 1:ON No.16
signal preview Image
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 58/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
The following table shows the setting items on each tab that are the same as those in the list display.
The property names other than the items shown below are the same as those in the list display.
Table 3.1.2.7 (a) List of Differences for the Same Setting Items
Item name (list display) Property name (batch editing)
Shortcut Key Shortcut Key
Shortcut key code
*Group Nos. and the settings in "Table 3.1.2.7 (a) Properties Applied When the Group No. Is Changed" cannot
be edited in batch.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 59/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
PMC 2
NOTE
The output result of the property list output by the screen bitmap batch output
function is also the same as "Table 3.1.2.7 (b) Value of [Init Status] in batch
editing screen ".
3.1.2.8 Message
The specific message displayed when setting this control is shown below..
Table 3.1.2.8 (a) List of Messages
Cause Timing Message
A group No. is changed to an - When the property When the group No. is changed, the following items are
existing group No. tab is switched also changed. Are you sure you want to continue?
- When [Apply] is - Output PMC
selected - Image
- When [OK] is - NoAction Image
selected - Interlock Image
When PMC is set to "Init When generating a MEM If using PMC as "Init Status", set all "Init Status" in the
Status", there is a radio file same group to PMC.
button control in the same
group that is set to other
than PMC.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 60/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
3.1.3.1 Function
The list box control lists registered items from which the user can select multiple options.
3.1.3.2 Diagram
A AAAAAAAAAA
B BBBBBBBBBB
CCC
DDDD
EEEEEE
Fig. 3.1.3.2 (a) Images of List Boxes
3.1.3.4 Operation
Status management
Specify the first PMC address to synchronize the item selection status in the list box with the PMC. Items
are allocated to the bits of the address in order.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 61/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Operation
Once the list box operation mode is enabled, you can operate the list box.
End the list box operation mode before operating other controls.
The following description when "TAB key" is set to [Operation Mode Switch Key].
(a) Move the focus with the MDI key to select the list box and press the <TAB> key to change the
list box to the operation mode.
(b) If you can click the list box with the mouse or touch it on the screen, click or touch the list box to
directly start the list box operation mode.
(a) Press the <TAB> key while the list box operation mode is active to end it.
You can move the focus to another control by operating the MDI key.
(b) Click outside the list box with the mouse or, if possible, touch outside the list box on the screen
to end the list box operation mode. After the list box operation mode ends, there is no focus.
(a) Procedure 1 (operation by moving the focus with the MDI key)
(i) Move the focus to the list box by using the MDI key.
(ii) Press the <TAB> key to switch the list box operation mode.
Press the <TAB> key to switch the list box between the operation mode and the non-operation
mode.
(iii) You can now operate the list box.
(iv) End the list box operation mode by using the <TAB> key.
(v) Switch the focus to another control by using the MDI key.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 62/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Focus on another
control
List box
Focus
Focus on another
control
(b) Procedure 2 (clicking the list box with the mouse or touching it on the touch panel)
(i) Click or touch the list box to start the list box operation mode.
(ii) Click or touch outside the list box to end the list box operation mode.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 63/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
State
The focus is on another The focus is in a list box.
control. Non-operation mode Operation mode
is enabled. mode is enabled.
Outside the list The focus is removed The focus is removed
-
box from the list box. from the list box.
The focus is moved to
<Up> key The focus is moved. The focus is moved. the row above the
current one.
The focus is moved to
<Dn> key The focus is moved. The focus is moved. the row below the
current one.
<Right> key The focus is moved. The focus is moved. -
Key operations
(5) Relationship between the item list and the list box
In the list box display in the item list, as many items as possible are displayed in the list box from the
first display item.
Item list EEEE
EEEE
AAAA FFFF
BBBB GGGG
CCCC HHHH
DDDD Up button
First display List box
EEEE
item FFFF Selected row
GGGG EEEE
EEEE
HHHH FFFF
IIII GGGG
Deselected row
JJJJ HHHH
KKKK
LLLL Focus row
MMMM Down button
NOTE
When the item on the focus row is selected, the text is displayed in the selected
color.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 64/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
- If the item specified as the first display item is at the beginning of the item list
AAAA
BBBB
CCCC AAAA
EEEE
DDDD BBBB The gauge is
EEEE CCCC positioned at
FFFF the top.
DDDD
GGGG
HHHH
IIII
JJJJ
KKKK
LLLL
- If the item specified as the first display item is at the middle of the item list
AAAA
BBBB
CCCC
DDDD EEEE
EEEE FFFF
The gauge is
FFFF GGGG
positioned at
GGGG HHHH the middle.
HHHH
IIII
JJJJ
KKKK
LLLL
- If the item specified as the first display item is at the bottom of the item list
AAAA
BBBB
CCCC
IIII
EEEE
DDDD
EEEE JJJJ
KKKK The gauge is
FFFF
LLLL positioned at
GGGG
the bottom.
HHHH
IIII
JJJJ
KKKK
LLLL
Fig. 3.1.3.4 (c) Display Position of Scroll Bar
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 65/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
EEEE
EEEE DDDD
Press the Up button
FFFF or <Up> key. EEEE
EEEE
GGGG FFFF
HHHH GGGG
Fig. 3.1.3.4 (d) Operation of the Up Button or <Up> Key
EEEE
EEEE Press the Down FFFF
FFFF button or <Dn> key. GGGG
GGGG HHHH
HHHH IIII
Fig. 3.1.3.4 (e) Operation of the Down Button or <Dn> Key
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 66/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
EEEE
EEEE AAAA
EEEE
Press the <PgUp> key.
FFFF BBBB
GGGG CCCC
HHHH DDDD
AAAA AAAA
BBBB BBBB
CCCC CCCC
DDDD DDDD
EEEE EEEE
FFFF FFFF
GGGG GGGG
HHHH HHHH
IIII IIII
JJJJ JJJJ
KKKK
KKKK
LLLL
LLLL
MMMM
MMMM
AAAA AAAA
BBBB BBBB
CCCC CCCC
DDDD DDDD
EEEE EEEE
FFFF FFFF
GGGG GGGG
HHHH HHHH
IIII IIII
JJJJ JJJJ
KKKK KKKK
LLLL LLLL
MMMM MMMM
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 67/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
EEEE EEEE
FFFF FFFF
GGGG GGGG
Press the HHHH
HHHH
<INPUT> key.
(Deselection color) (Selection color)
Fig. 3.1.3.4 (h) Change in the Text Color Depending on the Status
(b) Switching the selection status by clicking the mouse or touching the screen
(i) When you select the item row of which selection status you want to change by left-clicking it
with the mouse or touching it on the screen, the focus moves to the row of the clicked or touched
item and the selection status of that item is switched.
(ii) If you click or touch the same item row again, only the selection status of the item row is
switched but the focus row remains unchanged.
(13) Addition and deletion in the item list in the list box
You can add and delete items via the Ruby script.
However, note that the maximum number of items that can be added is the number of items that can
be registered.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 68/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
AAAA
BBBB Registered
CCCC
DDDD
Empty
AAAA
BBBB
CCCC Added to the end of
DDDD the item list.
GGGG
AAAA
BBBB AAAA
CCCC BBBB
CCCC
DDDD
DDDD
EEEE
Delete
"CCCC."
AAAA
BBBB AAAA
DDDD BBBB
EEEE DDDD
EEEE
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 69/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
3.1.3.5 Properties
Tab configuration
[General] tab
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 70/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Character] tab
Fig. 3.1.3.5 (b) Properties Page - [Character] Tab (Left: Standard Monitor mode, Right: iHMImode)
[Action] tab
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 71/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 72/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
The PMC signal allocated in [Status management PMC] retains the status from
before the interlock was engaged. Therefore, the status from before the interlock
engaged is displayed upon recovery from the interlock.
Table 3.1.3.5 (e) List of Items on the Itemxml File Edit Screen
Item Description
Add row Adds a row.
Insert Row Inserts a row.
Delete row Deletes a row.
Import Import a CSV file.
Export Export data in CSV format.
Add sheet Adds a sheet for multi-language settings.
Rename sheet Renames a sheet.
Delete sheet Deletes a sheet.
No use multi-language Select this check box when you do not need multi-language display
switching. For example, when using characters that do not depend
on the display language.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 73/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Check char Checks all the message sentences to make sure that strings in the
message do not contain characters that cannot be displayed with the
character type set with the character property of the control.
Item Displays the message to be displayed in the list box.
OK button Displays File Explorer and saves edits in the itemxml file format. If
there are empty rows between items, an error message appears. (A
row only containing spaces is considered an empty row.)
Cancel Discards edits.
- Import
A tab-separated CSV file can be imported.
The CSV file that contains the multi-language key that matches that on the sheet is imported.
Because files are imported row by row, the file with the most rows in the language used is imported.
If there are more data items to be imported than empty rows, the file is not imported.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 74/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Example)
Screen CSV file
English Chinese English Chinese
A 1 E 3
B 2 F 4
C G
D H
English Chinese
A 1
B 2
C
D
E 3
F 4
G
H
[Focus] tab
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 75/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Image] tab
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 76/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 77/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 78/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
The setting items that can be edited in the list display are shown in "Table 3.1.3.6 (a) List of Properties in the
List Display."
The setting tabs and setting items are the corresponding tab names and item names on the Property screen.
For details about the item display conditions, refer to "Table 3.1.3.6 (b) List of Item Display Conditions."
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 79/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 80/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 81/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 82/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
You can display the setting items on each tab. The property names are the same as those in the list display.
3.1.3.8 Message
3.1.4.1 Function
The message box is a dialog box that displays a message to the user.
The message box appears in the foreground of the screen in operation and prompts the user to respond by
selecting a button.
NOTE
The screen size is nessesary to set the following size or larger if the message
screen is used.
Width : 494 Height : 220
3.1.4.2 Image
The message box size is large or small. The large or small size is automatically applied depending on the
number of characters in the title and message.
The display position is at the center of the user-created screen.
Select an icon from the provided five types.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 83/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Fig. 3.1.4.2 (a) Small Message Box Fig. 3.1.4.2 (b) Small Message Box
(Standard Monitor version) (iHMI version)
3.1.4.3 Operation
The message box can be called and displayed as a FP function (MsgBoxShow function) from a Ruby script.
The displayed message box cannot be moved. (It cannot be dragged on the touch panel, either.)
While the message box is displayed, custom screens other than the message box cannot be operated.
To close the message box, press a button. (Touch a button or press the allocated shortcut key.)
If the number of the Ruby script is specified as an argument of MsgBoxShow function, the script is executed
when the message box is closed by pressing the button.
While the message box is displayed, you can switch to another screen (such as the maintenance screen).
Multiple message boxes do not appear at the same time. Only one message box appears at a time.
Once a message box appears, another message box cannot appear until the displayed message box is closed.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 84/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
When switching to another screen while displaying the message box and returning
to the same custom screen again, whether the message box is displayed or not is
the same as switching to another screen while displaying the popup screen. Refer
to FANUC PICTURE Specification (Edition 06.2 to less than 08.0) APPENDIX D,
"Switching screens while displaying Popup screen" for more detail.
When closing the message box by switching screens, even if the number of the
Ruby script is specified as an argument of MsgBoxShow function, the script is NOT
executed. Close the message box by the button on it to execute the script.
Character specifications
- The character type of all the displayed text (title name, message, and button text) is fixed to the default
(ANK).
- The title must be one row. If the title string contains a line feed code, only the text before the code is
displayed.
- When the number of characters in the title or body exceeds the maximum number of characters for the
small size, the large message box is displayed.
- The number of characters that can be displayed in the standard monitor version is shown in the following
tables.( In iHMI version, the number of characters that can be displayed depends on the setting of character
type "ANK".)
Table 3.1.4.3 (a) Specifications of the Number of Displayed Characters In the Standard Monitor Version
When Using Small Characters
(One Character = One Byte)
Size Button type Title Body
Small size One-button 32 characters x 1 row 16 characters x 3 rows
Two-button 36 characters x 1 row 20 characters x 3 rows
Three-button 52 characters x 1 row 32 characters x 3 rows
Large size Common 60 characters x 1 row 40 characters x 5 rows
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 85/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 3.1.4.3 (b) Specifications of the Number of Displayed Characters In the Standard Monitor Version
When Using Big Characters
(One Character = One Byte)
Size Button type Title Body
Small size One-button 16 characters x 1 row 8 characters x 2 rows
Two-button 18 characters x 1 row 10 characters x 2 rows
Three-button 26 characters x 1 row 16 characters x 2 rows
Large size Common 30 characters x 1 row 20 characters x 3 rows
NOTE
A double-byte character takes up 2 bytes.
- Even if you do not insert line feed codes, line feeds are automatically inserted if text exceeds the horizontal
limit of characters.
- If the number of rows exceeds the limit of the small size after you insert line feed codes or line feeds are
automatically inserted, the large size display is used. If the number of rows exceeds the limit of the large
size, text is displayed until the maximum number of rows for the large size.
- If the last byte in each row is the first byte of a double-byte character, that last byte is displayed as the
double-byte character on a new row. If the current row is the last display row, that character is not
displayed.
Fig. 3.1.4.3 (b) Screen Using Big Fig. 3.1.4.3 (c) Screen Using Small
Characters Characters
2 1
4
3
5
6
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 86/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 3.1.4.4 (b) List of Components that the User Can Define (Adjust) in the Message Box
Component Display position Size Multi-language Color Script
No Yes (six options)
Message
No (automatic - - (Refer to the next
box
selection) section.)
Title bar No No - Yes No
Yes (three options)
Title No - Yes Yes
(left, center or right)
Background - - - Yes No
Yes (five options)
Icon No No - - (Refer to the next
section.)
Yes (three options)
Message No - Yes Yes
(left, center or right)
Button (text) No No Yes Yes No
Button
No - - Yes (*1) No
(background)
*1) When this setting is ON, Border Color1 and Border Color2 are switched and output.
1 1 OK
OK
2 2
Cancel
Stop
3 3 Retry
Ignore
Yes
4 3 No
Cancel
Yes
5 2
No
Retry
6 2
Cancel
*The initial display names of buttons are those in the English version.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 87/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
The background color is applied to the gray part of the icon image.
3.1.4.5 Properties
Overall configuration
Message boxes consist of the [Button] and [Template] tabs.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 88/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
When you select the above command, the message box dialog appears, displaying the [Button] tab.
[Button] tab
The following items can be specified on the [Button] tab.
Fig. 3.1.4.5 (b) Conceptual Image of the [Button] Tab (Standard Monitor mode)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 89/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Fig. 3.1.4.5 (c) Conceptual Image of the [Button] Tab (iHMI mode)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 90/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Template] tab
The following items can be specified on the [Template] tab.
Fig. 3.1.4.5 (d) Conceptual Image of the [Template] Tab (Standard Monitor mode)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 91/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Fig. 3.1.4.5 (e) Conceptual Image of the [Template] Tab (iHMI mode)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 92/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Fig. 3.1.4.5 (f) Conceptual Image of When a Button Is Selected in the Message Box
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 93/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
3.1.4.6 Function
This section describes the specifications of the FP functions for message boxes.
[Function]
MsgBoxShow
[Arguments]
This function has the following arguments.
Table 3.1.4.6 (a) Arguments of the MsgBoxShow Function
Name Type Description
msg String Message to be displayed
type Numerical value ButtonType1 to 6 (*1)
title String Title text to be displayed
icon Numerical value Icon type 1 to 5 (*2)
scrptnum Numerical value Number of the Ruby script that is executed when the button is pressed
[Returns]
This function has the following return values.
Table 3.1.4.6 (b) Value to Be Stored in the Return Value of the MsgBoxShow Function
Type Description
Numerical Execution result
value 0: Display request succeeded.
-1: Display request failed.
[Description]
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 94/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
If a button is pressed, one of the following values is stored in MESSAGE_VAL depending on the pressed button.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 95/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
The message box is drawn at the forefront of the custom screen when the MsgBoxShow function is called.
When a button in the displayed message box (including an allocated shortcut key) is pressed, the message box
closes (end of operation).
3.1.4.8 Messages
The specific messages displayed when setting this control are shown below.
3.1.5.1 Function
The combo box control lists registered items from which the user can select only one option.
When you select a combo box in the normal mode, the item list is displayed. When the list of registered items
pops up at the center of the screen, the items can be selected. The selected item is displayed in the combo box in
the normal mode.
3.1.5.2 Diagram
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 96/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
(3) The selected item is displayed. Specify the initially displayed item in Property.
Blank is displayed if the item list is not set up. The combo box operation mode cannot be switched.
*-1 is set to the status management PMC.
If an invalid value is set to the item list, the first item in the item list is initially displayed.
AAAAAA
Fig. 3.1.5.2 (a) Image of a Combo Box in Normal Mode
AAAAAAAAAA
BBBBBBBBBB
CCC
DDDD
EEEEEE
Fig. 3.1.5.2 (b) Conceptual Image of a Combo Box in List Mode
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 97/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Fig. 3.1.5.2 (c) Conceptual Image of Combo Boxes with the Minimum Setting, Normal Mode (Left) and List Mode
(Right)
Fig. 3.1.5.2 (d) Conceptual Image of Combo Boxes with the Maximum Setting, Normal Mode (Left) and List Mode
(Right)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 98/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
3.1.5.4 Operation
Status management
Specify the first PMC address to synchronize the item selection status in the combo box with the PMC. Item
indices are allocated from the address in order.
The system reserves 2 bytes as the status management area.
NOTE
The item index value specified in the status management PMC signal exceeds
the number of items that can be registered, the value of PMC memory is cleared
and the first item is selected.
Operation
Once the combo box operation mode is enabled, you can operate the combo box.
When the combo box operation mode is enabled, the list of registered items pops up at the center of the
screen.
End the combo box operation mode before operating other controls.
Tap outside the item list pop-up or press the <INPUT> key to end the combo box operation mode and close
the item list pop-up. When you end the mode after selecting an item, the selected item is applied to the
combo box.
(a) Move the focus using the MDI key to select the combo box and press the operation mode switch
key to change the combo box to the operation mode. The user sets any desired operation mode
switch key on the project setting screen. For details, refer to "Changes to the project settings
screen" in "Common setting items."
(b) When you can click the combo box with the mouse or touch it on the screen, click or touch the
combo box to directly start the combo box operation mode.
(a) Tap outside the item list pop-up or press the <INPUT> key in the combo box operation mode to
end the combo box operation mode. After that, you can move the focus to another control with
the MDI key.
(a) Procedure 1 (when moving the focus with the MDI key)
(i) Move the focus to the combo box by using the MDI key.
(ii) To switch to the combo box operation mode, press the operation mode switch key.
(iii) You can operate the combo box when the item list pop-up appears.
(iv) End the combo box operation mode with the <INPUT> key.
(v) Switch the focus to another control by using the MDI key.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 99/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Focus on another
control
<INPUT> key
(b) Procedure 2 (clicking the combo box with the mouse or touching it on the touch panel)
(i) Touch the combo box to start the combo box operation mode.
(ii) To end the combo box operation mode, touch an item or touch outside the item list pop-up.
Combo box -
mode is enabled. mode is enabled.
The focus is moved to the
Up button - - row above the current
one.
The focus is moved to the
Down button - - row below the current
one.
Another item is selected.
Then, the combo box
Item row - -
non-operation mode is
enabled.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 100/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Status
Focus on the combo box
Focus on another control
Non-operation mode Operation mode
The combo box
Outside the combo The focus is removed
- non-operation mode is
box from the combo box.
enabled.
The focus is moved to the
<Up> key The focus is moved. The focus is moved. row above the current
one.
The focus is moved to the
<Dn> key The focus is moved. The focus is moved. row below the current
one.
Key operations
(5) Relationship between the item list and the combo box
The first five items from the first display item in the combo box display are displayed in the item list.
(For the conceptual image, refer to the list box control diagram titled "Item List and Display.")
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 101/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
(iii) After you press the <INPUT> key, the combo box non-operation mode is enabled and the
pop-up closes.
(If an item is selected when the combo box non-operation mode is enabled, it is displayed
in the combo box.)
When the "Don't move the focus to the next control after inputting data." property is
disabled, the focus moves to the next control.
(b) Switching the selection status by clicking the mouse or touching the screen
(i) When you select the item row you want to select by left-clicking it with the mouse or
touching it on the screen, the focus moves to the row of the touched item and that item is
selected.
(If the focus is already on that row, the item is selected and the focus remains there. If an
item is already selected, the currently selected item is deselected.)
(ii) After you touch the item row, the combo box non-operation mode is enabled and the
pop-up closes.
(If an item is selected when the combo box non-operation mode is enabled, it is displayed
in the combo box.)
(13) Addition and deletion in the item list in the combo box
You can add and delete items via Ruby scripts.
However, items can no longer be added once the number of items that can be registered is reached.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 102/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
3.1.5.5 Properties
Overall configuration
The properties of combo box control are displayed on the following tabs.
[General] tab
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 103/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Character] tab
Fig. 3.1.5.5 (b) Properties Page - [Character] Tab (Left: Standard Monitor mode, Right: iHMI mode)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 104/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Action] tab
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 105/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 106/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Focus] tab
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 107/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Image] tab
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 108/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 109/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 110/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 111/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
The setting items that can be edited in the list display are shown in "Table 3.1.5.6 (a) List of Properties in the
List Display."
The setting tabs and setting items are the corresponding tab and item names on the Property screen.
For details about the item display conditions, refer to "Table 3.1.5.6 (b) List of Item Display Conditions."
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 112/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 113/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 114/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 115/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
You can display the setting items on each tab. The property names are the same as those in the list display.
Table 3.1.5.7 (a) Values in [Default Item is acquired from PMC] in the batch editing screen
Default Item is acquired Value to set
from PMC
OFF 0
ON 1
NOTE
The output result of the property list output by the screen bitmap batch output
function is also the same as the setting value of “Table 3.1.5.7(a) Values in
[Default Item is acquired from PMC] in the batch editing screen” in the above
table.
3.1.5.8 Message
3.1.6.1 Function
The pie graph control acquires data from the PMC register or P code macro variable and displays the component
ratio of up to eight data items in a pie graph.
3.1.6.2 Diagram
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 116/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Fig. 3.1.6.2 (a) Display Image of Pie Graph Controls (Left: without Scale, Right: with Scale)
The graph title, description of data, scale numbers and other items are not displayed on the pie graph control.
To display these items, use a label or other control.
3.1.6.4 Operation
Data display
The component ratio of specified data items is calculated and a pie graph is drawn.
Data items 1 to 8 are displayed clockwise in the specified order.
Select whether to read data from the PMC signal or the P code macro variable.
Fig. 3.1.6.4 (a) Display Example of When the Component Ratio Cannot Be Displayed
Update
The timings with which the graph display is updated and data is written are adjusted using the following two
signals.
- Display request signal
- Display response signal
Allocate any desired PMC signal or P code macro variable to the above signals.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 117/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
1. Data is written when the value of the display request signal matches that of the display response signal.
2. After data writing is complete, the display request signal is inverted so that the display response signal
does not match the display request signal.
3. The pie graph control monitors the display request signal and display response signal and updates the
display when their values are different.
4. After the display is updated, the pie graph control inverts the display response signal to match it to the
display request signal.
F
Fig. 3.1.6.4 (b) Flow of Display Update
NOTE
The display is not updated if the drawing update speed of the FANUC PICTURE
driver is exceeded.
3.1.6.5 Properties
Overall configurationThe properties of pie graph control are displayed on the following tabs.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 118/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[General] tab
[Action] tab
Fig. 3.1.6.5 (b) Properties Page - [Action] Tab (Left Figure: PMC, Right Figure: P Code Macro Variable)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 119/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 3.1.6.5 (d) List of Properties in Display Request Signal on the [Action] Tab
Setting item Entry type Specification Initial value Remarks
PMC Path Selection Refer to "Table 3.1 First This setting item is editable only when [0: PMC]
(b) Common candidate is selected for [Data Kind].
Setting Items."
PMC Area Selection Refer to "Table 3.1 First This setting item is editable only when [0: PMC]
(b) Common candidate is selected for [Data Kind].
Setting Items."
Address User entry Numerical value 0 This setting item is editable only when [0: PMC]
is selected for [Data Kind].
Bit Selection 0 –7 0 This setting item is editable only when [0: PMC]
is selected for [Data Kind].
Symbol Check box ON / OFF OFF This setting item is editable only when [0: PMC]
is selected for [Data Kind].
Symbol Selection Any Blank This setting item is editable only when [0: PMC]
selection is selected for [Data Kind].
Variable User entry From 10000 to 10000 This setting item is editable only when [1: P
Number 89999 code macro variable] is selected for [Data Kind].
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 120/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 3.1.6.5 (e) List of Properties in Display Response Signal on the [Action] Tab
Setting item Entry type Specification Initial value Remarks
PMC Path Selection Refer to "Table 3.1 First This setting item is editable only when [0: PMC]
(b) Common candidate is selected for [Data Kind].
Setting Items."
PMC Area Selection Refer to "Table 3.1 First This setting item is editable only when [0: PMC]
(b) Common candidate is selected for [Data Kind].
Setting Items."
Address User entry Numerical value 0 This setting item is editable only when [0: PMC]
is selected for [Data Kind].
Bit Selection 0 –7 0 This setting item is editable only when [0: PMC]
is selected for [Data Kind].
Symbol Check box ON / OFF OFF This setting item is editable only when [0: PMC]
is selected for [Data Kind].
Symbol Selection Any Blank This setting item is editable only when [0: PMC]
selection is selected for [Data Kind].
Variable User entry From 10000 to 10000 This setting item is editable only when [1: P
Number 89999 code macro variable] is selected for [Data Kind].
Table 3.1.6.5 (f) List of Properties for Individual Edit on the [Action] Tab
Setting item Entry type Specification Initial value Remarks
Data: Selection Data 1 to Data 8 Data 1 Select the data you want to edit.
Use this Data. Check box ON / OFF OFF Select this check box to use the data in the pie
graph.
PMC Path Selection Refer to "Table 3.1 First Select the PMC path that contains the selected
(b) Common candidate data.
Setting Items." This setting item is displayed only when [0:
PMC] is selected for [Data Kind].
PMC Area Selection Refer to "Table 3.1 First Select the PMC area that contains the selected
(b) Common candidate data.
Setting Items." This setting item is displayed only when [0:
PMC] is selected for [Data Kind].
Address User entry Numerical value 0 Enter the PMC address for the selected data.
This setting item is displayed only when [0:
PMC] is selected for [Data Kind].
Data Type Selection 0: 1 byte 0: 1 byte This setting item is displayed only when [0:
1: 2 byte PMC] is selected for [Data Kind].
2: 4 byte
Symbol Check box ON / OFF OFF This setting item is displayed only when [0:
PMC] is selected for [Data Kind].
Symbol Selection Any Blank This setting item is displayed only when [0:
selection PMC] is selected for [Data Kind].
Variable User entry From 10000 to 10000 This setting item is displayed only when [1: P
Number 89999 code macro variable] is selected for [Data Kind].
Table 3.1.6.5 (g) List of Properties for Batch Edit on the [Action] Tab
Setting item Entry type Specification Initial value Remarks
Number of Data: Selection 1 –8 1 Select the first address (variable number).
PMC Path Selection Refer to "Table 3.1 First Select the PMC path for the first address of
(b) Common candidate [Data Kind].
Setting Items." This setting item is displayed only when [0:
PMC] is selected for [Data Kind].
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 121/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
The PMC address and variable number of each data setting is controlled as follows.
Batch Edit
99999 (maximum PMC address) - ("Number of data items" × "Data type" byte count)
89999 (maximum variable number) - ("Number of data items")
[Image] tab
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 122/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
The setting items that can be edited in the list display are shown below.
The setting tabs and setting items are the corresponding tab and item names on the Property screen.
For details about the item display conditions, refer to "Table 3.1.6.6 (b) List of Item Display Conditions."
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 123/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 124/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 125/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 126/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
3.1.7.1 Function
This control acquires data from the PMC register or P code macro variable and displays multiple data items in a
bar graph.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 127/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
3.1.7.2 Diagram
The graph width is automatically calculated from the control width and display interval.
If the display area cannot be ensured, the graph is not displayed.
The coordinate axes of the extended bar graph control can be displayed inside or outside the graph.
Vertical or horizontal can be selected for the display orientation of the bar graph.
The scale is displayed along the vertical axis in the vertical display and along the horizontal axis in the
horizontal display.
The graph title, description of data, scale numbers and other items are not displayed on the extended bar graph
control.
To display these items, use a label or other control.
Fig. 3.1.7.2 (a) Display Image of Extended Bar Graph Controls (Left: When the Coordinate Axes Are Displayed
Inside, Right: When the Coordinate Axes Are Displayed Outside)
Fig. 3.1.7.3 (a) Icon Design (Left: Existing Graph Control, Right: Bar Graph Control)
3.1.7.4 Operation
Data display
- Select whether to read data from the PMC signal or the P code macro variable.
- The bar graph data consists of series and categories.
Up 32 data items (the number of series × the number of categories) can be displayed.
Up to eight series can be specified.
- The data display method can be selected from the set display and the stacked display.
In the set display, data in each category is displayed next to each other.
In the stacked display, data is stacked in the positive direction along the coordinate axis from series 1 in
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 128/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
each category.
Negative data is not displayed in the stacked display.
Category
Series 1
Series 2
Series 3
Series 3
Series 2
Series 1
Fig. 3.1.7.4 (a) Display Methods of Extended Bar Graph Control (Left: Set Display, Right: Stacked Display)
- The graph is displayed showing the minimum value at the bottom of the axis and the maximum value at the
top of the axis.
Data below the minimum value is not displayed.
When the display method is stacked display, the minimum value is 0.
Update
Set the following two signals to adjust the timings with which the graph display is updated and data is written.
- Display request signal
- Display response signal
Allocate any desired PMC signal or P code macro variable to the above signals.
The flow of data writing and updating the display is as follows.
1. Data is written when the value of the display request signal matches that of the display response signal.
2. After data writing is complete, the display request signal is inverted so that the display response signal
does not match the display request signal.
3. The bar graph control monitors the display request signal and display response signal and updates the
display when their values are different.
4. After the display is updated, the bar graph control inverts the display response signal to match it to the
display request signal.
The flow from 1 to 4 is shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 129/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
The display is not updated if the drawing update speed of the FANUC PICTURE
driver is exceeded.
3.1.7.5 Properties
Overall configurationThe properties of extended bar graph control are displayed on the following tabs.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 130/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[General] tab
[Action] tab
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 131/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Fig. 3.1.7.5 (b) Properties Page - [Action] Tab (Left Figure: PMC, Right Figure: P Code Macro Variable)
- Batch Edit
You can specify consecutive areas that correspond to the product of the number of categories and the
number of series by specifying the first address or the first variable number of the areas saved as display
data.
Example) When specifying 4 as the number of series, 3 as the number of categories, D100 as the first
address, and 2 bytes as the data type
The area from D100 to D123 (2 bytes × 12 (series x categories)) is reserved as the storage area.
Areas for the categories are reserved in order from Series 1 without spaces.
Specified address: D100
Series 1 Series 2 Series 3 Series 4
Category 1 Category 2 Category 3 Category 1 Category 2 Category 3 Category 1 Category 2 Category 3 Category 1 Category 2 Category 3
Fig. 3.1.7.5 (c) Conceptual Image of Reserving Areas When Editing Data in Batch
Table 3.1.7.5 (d) List of Properties in Display Request Signal on the [Action] Tab
Setting item Entry type Specification Initial value Remarks
PMC Path Selection Refer to "Table 3.1 First This setting item is editable only when [0: PMC]
(b) Common candidate is selected for [Data Kind].
Setting Items."
PMC Area Selection Refer to "Table 3.1 First This setting item is editable only when [0: PMC]
(b) Common candidate is selected for [Data Kind].
Setting Items."
Address User entry Numerical value 0 This setting item is editable only when [0: PMC]
is selected for [Data Kind].
Bit Selection 0 –7 0 This setting item is editable only when [0: PMC]
is selected for [Data Kind].
Symbol Check box ON / OFF OFF This setting item is editable only when [0: PMC]
is selected for [Data Kind].
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 132/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 3.1.7.5 (e) List of Properties in Display Response Signal on the [Action] Tab
Setting item Entry type Specification Initial value Remarks
PMC Path Selection Refer to "Table 3.1 First This setting item is editable only when [0: PMC]
(b) Common candidate is selected for [Data Kind].
Setting Items."
PMC Area Selection Refer to "Table 3.1 First This setting item is editable only when [0: PMC]
(b) Common candidate is selected for [Data Kind].
Setting Items."
Address User entry Numerical value 0 This setting item is editable only when [0: PMC]
is selected for [Data Kind].
Bit Selection 0 –7 0 This setting item is editable only when [0: PMC]
is selected for [Data Kind].
Symbol Check box ON / OFF OFF This setting item is editable only when [0: PMC]
is selected for [Data Kind].
Symbol Selection Any Blank This setting item is editable only when [0: PMC]
selection is selected for [Data Kind].
Variable User entry From 10000 to 10000 This setting item is editable only when [1: P
Number 89999 code macro variable] is selected for [Data Kind].
Table 3.1.7.5 (f) List of Coordinate Axis Properties on the [Action] Tab
Setting item Entry type Specification Initial value Remarks
Number of ticks User entry 0 –100 4
per division
Display Interval User entry 0 –250 100 Enter the graph display width as a ratio to the
graph width.
Max. value User entry -2147483648 - 100 When you select [1: Stacked Display] for
2147483647 [Display Method], enter a value greater than 0.
Min. value User entry -2147483648 - 0 This setting item is editable only when [0: Set
2147483647 Display] is selected for [Display Method].
Table 3.1.7.5 (g) List of Display Data Properties on the [Action] Tab
Setting item Entry type Specification Initial value Remarks
Series Count Selection 1 –8 1
Category Count Selection 1 –32 1 You can select any value as long as the
product of [Category Count] and [Series Count]
does not exceed 32.
When you change [Series Count] , the initial
value is selected.
Table 3.1.7.5 (h) List of Properties for Series Edit on the [Action] Tab
Setting item Entry type Specification Initial value Remarks
Series Selection 1 –8 1
PMC Path Selection Refer to "Table 3.1 First This setting item is editable only when [0: PMC]
(b) Common candidate is selected for [Data Kind].
Setting Items."
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 133/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 3.1.7.5 (i) List of Properties for Batch Edit on the [Action] Tab
Setting item Entry type Specification Initial value Remarks
PMC Path Selection Refer to "Table 3.1 First This setting item is editable only when [0: PMC]
(b) Common candidate is selected for [Data Kind].
Setting Items."
PMC Area Selection Refer to "Table 3.1 First This setting item is editable only when [0: PMC]
(b) Common candidate is selected for [Data Kind].
Setting Items."
Address User entry 0 - 99999 0 This setting item is editable only when [0: PMC]
is selected for [Data Kind].
Data Type Selection 0: 1 byte 0: 1 byte This setting item is displayed only when [0:
1: 2 byte PMC] is selected for [Data Kind].
2: 4 byte
Symbol Check box ON / OFF OFF This setting item is editable only when [0: PMC]
is selected for [Data Kind].
Symbol Selection Any Blank This setting item is editable only when [0: PMC]
selection is selected for [Data Kind].
Variable User entry From 10000 to 10000 This setting item is editable only when [1: P
Number 89999 code macro variable] is selected for [Data Kind].
NOTE
The PMC address and variable number of each data setting is controlled as follows.
- Series Edit
99999 (maximum PMC address) - ("Number of categories" × "Data type" byte count)
16000 (maximum variable number) - ("Number of categories")
89999 (maximum number) - "Number of categories"
- Batch Edit
99999 (maximum PMC address) - ("Number of categories" × "Number of series"
× "Data type" byte count)
89999 (maximum variable number) - ("Number of categories" × "Number of series")
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 134/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
- Sample display
An image for eight series in one category is displayed.
The settings in "Display Method" on the action tab and "Direction" on the [Image] tab are applied.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 135/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Image] tab
The setting items that can be edited in the list display are shown below.
The setting tabs and setting items are the corresponding tab and item names on the Property screen.
For details about the item display conditions, refer to "Table 3.1.7.6 (b) List of Item Display Conditions."
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 136/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Item name Settings tab Setting item Specification Item display conditions
Height General Height -
Data Kind Action Data Kind 0: PMC -
1: P code macro variable
Graph Display Action Display Method 0: Set Display -
Method 1: Stacked Display
Script Used Action Script 0: OFF 1: ON -
Flag
Script Action Script entry No. 1
Display Action Symbol 0: OFF 1: ON No. 2
Request
symbol flag
Display Action Symbol selection No. 3
Request
symbol
Display Action PMC Path No. 4
Request PMC PMC Area
Address
Bit
Display Action Variable Number No. 5
Request
Variable
Number
Display Action Symbol 0: OFF 1: ON No. 2
Response
symbol flag
Display Action Symbol selection No. 6
Response
symbol
Display Action PMC Path No. 7
Response PMC PMC Area
Address
Bit
Display Action Variable Number No. 5
Response
Variable
Number
Display data Action Series Edit 0: Series Edit -
setting Batch Edit 1: Batch Edit
Number of tics Action Number of ticks 0 –100 -
per division per division
Display Interval Action Display Interval 0 –250 -
Max. value Action Max. value -2147483648 - 2147483647
Min. value Action Min. value -2147483648 - 2147483647 No. 8
Category Count Action Category Count 1 –n -
n is the maximum number for
which the product of the number
of series and the number of
categories does not exceed 32.
Series Count Action Series Count 1 –8 -
Batch Edit Action Symbol 0: OFF 1: ON No. 9
Symbol flag
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 137/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Item name Settings tab Setting item Specification Item display conditions
Batch Edit Action Symbol selection No. 10
Symbol
Batch Edit First Action PMC Path Refer to "Table 3.1 (b) Common No. 11
PMC PMC Area Setting Items."
Address
Batch Edit Data Action Data Type Refer to "Table 3.1 (b) Common No. 9
Type Setting Items."
Batch Edit First Action Variable Number Any No. 12
Variable
Number
Series 1 Action Symbol 0: OFF 1: ON No. 13
Symbol flag
Series 1 Action Symbol selection No. 14
Symbol
Series 1 Action PMC Path Refer to "Table 3.1 (b) Common No. 15
First PMC PMC Area Setting Items."
Address
Series 1 Action Data Type Refer to "Table 3.1 (b) Common No. 13
Data Type Setting Items."
Series 1 Action Variable Number Refer to "Table 3.1 (b) Common No. 16
First Variable Setting Items."
number
Series 2 Action Symbol 0: OFF 1: ON No. 13
Symbol flag
Series 2 Action Symbol selection No. 14
Symbol
Series 2 Action PMC Path Refer to "Table 3.1 (b) Common No. 15
First PMC PMC Area Setting Items."
Address
Series 2 Action Data Type Refer to "Table 3.1 (b) Common No. 13
Data Type Setting Items."
Series 2 Action Variable Number Refer to "Table 3.1 (b) Common No. 16
First Variable Setting Items."
number
Series 3 Action Symbol 0: OFF 1: ON No. 13
Symbol flag
Series 3 Action Symbol selection No. 14
Symbol
Series 3 Action PMC Path Refer to "Table 3.1 (b) Common No. 15
First PMC PMC Area Setting Items."
Address
Series 3 Action Data Type Refer to "Table 3.1 (b) Common No. 13
Data Type Setting Items."
Series 3 Action Variable Number Refer to "Table 3.1 (b) Common No. 16
First variable Setting Items."
number
Series 4 Action Symbol 0: OFF 1: ON No. 13
Symbol flag
Series 4 Action Symbol selection No. 14
Symbol
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 138/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Item name Settings tab Setting item Specification Item display conditions
Series 4 Action PMC Path Refer to "Table 3.1 (b) Common No. 15
First PMC PMC Area Setting Items."
Address
Series 4 Action Data Type Refer to "Table 3.1 (b) Common No. 13
Data Type Setting Items."
Series 4 Action Variable Number Refer to "Table 3.1 (b) Common No. 16
First Variable Setting Items."
number
Series 5 Action Symbol 0: OFF 1: ON No. 13
Symbol flag
Series 5 Action Symbol selection No. 14
Symbol
Series 5 Action PMC Path Refer to "Table 3.1 (b) Common No. 15
First PMC PMC Area Setting Items."
Address
Series 5 Action Data Type Refer to "Table 3.1 (b) Common No. 13
Data Type Setting Items."
Series 5 Action Variable Number Refer to "Table 3.1 (b) Common No. 16
First variable Setting Items."
number
Series 6 Action Symbol 0: OFF 1: ON No. 13
Symbol flag
Series 6 Action Symbol selection No. 14
Symbol
Series 6 Action PMC Path Refer to "Table 3.1 (b) Common No. 15
First PMC PMC Area Setting Items."
Address
Series 6 Action Data Type Refer to "Table 3.1 (b) Common No. 13
Data Type Setting Items."
Series 6 Action Variable Number Refer to "Table 3.1 (b) Common No. 16
First Variable Setting Items."
number
Series 7 Action Symbol 0: OFF 1: ON No. 13
Symbol flag
Series 7 Action Symbol selection No. 14
Symbol
Series 7 Action PMC Path Refer to "Table 3.1 (b) Common No. 15
First PMC PMC Area Setting Items."
Address
Series 7 Action Data Type Refer to "Table 3.1 (b) Common No. 13
Data Type Setting Items."
Series 7 Action Variable Number Refer to "Table 3.1 (b) Common No. 16
First Variable Setting Items."
number
Series 8 Action Symbol 0: OFF 1: ON No. 13
Symbol flag
Series 8 Action Symbol selection No. 14
Symbol
Series 8 Action PMC Path Refer to "Table 3.1 (b) Common No. 15
First PMC PMC Area Setting Items."
Address
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 139/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Item name Settings tab Setting item Specification Item display conditions
Series 8 Action Data Type Refer to "Table 3.1 (b) Common No. 13
Data Type Setting Items."
Series 8 Action Variable Number Refer to "Table 3.1 (b) Common No. 16
First Variable Setting Items."
number
Series 1 Color Data Color Series 1 -
Series 2 Color Data Color Series 2 -
Series 3 Color Data Color Series 3 -
Series 4 Color Data Color Series 4 -
Series 5 Color Data Color Series 5 -
Series 6 Color Data Color Series 6 -
Series 7 Color Data Color Series 7 -
Series 8 Color Data Color Series 8 -
Image file Image Image File Name -
name
Style Image Style -
Graph Display Image Direction 0: Vertical -
Direction 1: Horizontal
Background Image Back Color -
Color
Graduations Image Graduations Back -
Back Color Color
Graduations Image Graduations Color -
Color
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 140/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 141/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
The functions to edit FP control image files and the [Image File List] screen have been added.
The [Image File List] screen has the following functions.
Table 3.2.1 (a) List of Functions on the [Image File List] Screen
Function Description
Listing image files and - The file name list displays image file names. The shape list displays the shapes
shapes selected in the file name list.
- The files directly below the image file storage folder (Figure folder) are
collectively displayed.
Creating a shape - Selecting [New...] from [Shape operations] opens the [Make new shape] dialog
box. When you enter a shape name and select [OK], the image file edit screen
appears.
Adding a shape - Selecting [Entry...] from [Shape operations] opens the [Select additional shape]
dialog box. When you select an image file name and shape and select [OK],
the shape is added to the image file selected in the image file list.
Deleting a shape - Selecting [Delete] from [Shape operations] deletes the shape from the selected
image file.
Editing a shape - Selecting [Edit] from [Shape operations] displays the shape in the selected
image file on the image file edit screen. You can also double-click a shape to
display it on the image file edit screen.
Copying a shape - Selecting [Copy] from [Shape operations] opens the [Make copied shape]
dialog box. When you enter a shape name and select [OK], the selected shape
is copied and saved under the entered file name.
Creating a file - Selecting [New...] from [File] opens the [Make new file] dialog box. When you
enter a file name and select [OK], the image file edit screen appears.
Adding a file - Selecting [Entry...] from [File] opens the file selection dialog box, where you
can add an external image file.
Deleting a file - Selecting [Delete] from [File] deletes the selected image file.
Copying a file - Selecting [Copy] from [File] opens the [Make copied file] dialog box. When you
enter a file name and select [OK], the selected image file is saved under the
entered file name.
NOTE
1 The design customization function applies to image files directly below the image
file storage folder (Figure folder). If you want to edit the created project or screen
data on another PC, copy the Figure folder as well.
2 If the shape is customized with the design customization function, the property of
the control that set the shape cannot be changed by the FpSetProperty function.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 142/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
When you select [Edit image file] from the [Project] menu, the [Image File List] screen appears.
The [Image File List] screen displays the image files directly below the image file storage folder (Figure folder).
The image file list in the left part of the screen displays the "file names" of the image files. The shape list in the
right part of the screen displays the "shapes" in the image file selected in the image file list.
The image file list can display up to 1000 image files.
The shape list can display up to 255 shapes.
When you select an image file in the image file list and select [Shape operations] > [New...] from the menu, the
[Make new shape] dialog box appears.
For the items in the [Make new shape] dialog box, refer to "Table 3.2.1.2 (a) List of Items in the [Make new
shape] Dialog Box."
[New...] cannot be selected unless an image file is selected.
-
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 143/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 3.2.1.2 (a) List of Items in the [Make new shape] Dialog Box
Setting item Entry type Specification Initial value Note
Shape Name User entry Arbitrary (up to Blank Enter a name for the shape you want to create.
200 characters)
OK button - - - Closes the dialog box and displays the image file edit
screen.
× button - - - Closes the dialog box.
When you enter a shape name in the [Make new shape] dialog box and select [OK], the shape is created under
the entered shape name and the image file edit screen appears.
When you select [OK], the shape name is checked. If there are any errors, an error dialog box appears.
For the messages in the error dialog box, refer to "Table 3.2.1.2 (b) List of Error Messages That May Appear at
Shape Name Check."
For the image file edit screen, refer to "3.2.2 Image File Edit Screen."
Table 3.2.1.2 (b) List of Error Messages That May Appear at Shape Name Check
Cause Timing Message
The shape name contains When [OK] is selected The shape name contains
characters that cannot be unsupported characters.
used in the file name. (Refer to "Table 3.1.1.2 (c)
Restrictions on Shape Names.")
Editing failed when you tried When [OK] is selected Failed to create the shape.
to add a shape.
You tried to add a shape When [New...] is selected No more shapes can be added.
though there were already from [Shape operations]
255 shapes.
When you select an image file in the image file list and select [Shape operations] > [Entry...] from the menu, the
[Select additional shape] dialog box appears.
[Entry...] cannot be selected unless an image file is selected.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 144/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 3.2.1.3 (a) List of Items in the [Select additional shape] Dialog Box
Setting item Entry type Specification Initial value Note
ImageFile - - Blank Displays the full path of the selected image file.
Image file selection - - - Selecting […] opens the file selection dialog box.
Shape selection Selection - First shape The shapes in the specified image file are
registered in the combo box.
Preview - - - Displays the sample of the selected shape.
OK button - - - Closes the dialog box and adds the selected
shape to the image file.
× button - - - Closes the dialog box.
When you select an image file and shape and select [OK], the shape is added to the file selected in the image file
list.
If there are any errors, an error dialog box appears when you select the image file or shape.
For the messages in the error dialog box, refer to "Table 3.2.1.3 (b) List of Error Messages That May Appear at
Shape Selection."
Table 3.2.1.3 (b) List of Error Messages That May Appear at Shape Selection
Cause Timing Message
The image file is opened using When [OK] is selected Failed to add the shape.
an external editor or other tool.
You tried to add a shape though When [Entry...] is selected No more shapes can be
there were already 255 shapes. from [Shape operations] added.
When you select an image file in the image file list, select a shape in the shape list, and select [Shape
operations] > [Delete] from the menu, the deletion confirmation dialog box appears.
You can also display the deletion confirmation dialog box by pressing the <DEL> key instead of using the
menu.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 145/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
When you select [OK] in the deletion confirmation dialog box, the selected shape is deleted from the image file.
If you try to delete a shape from the file opened using an external editor, the deletion error dialog box appears.
For the messages in the error dialog box, refer to "Table 3.2.1.4 (a) List of Messages That May Appear at File
Deletion."
When you select an image file in the image file list, select a shape in the shape list, and select [Shape
operations] > [Edit] from the menu, the shapes in the selected image file are displayed in the image file edit
screen.
You can also display a shape in the selected image file on the image file edit screen by double-clicking it in the
shape list instead of using the menu.
Double-clicking a listed shape displays the shape in the selected image file on the image file edit screen.
Double-clicking a shape preview in the [Control Properties] window on the FANUC PICTURE side also
displays the image file edit screen.
Table 3.2.1.5 (a) List of Messages That May Appear at Shape Editing
Cause Timing Message
The edit tool failed to start. When [Edit] is selected from The edit tool failed to start.
[Shape operations]
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 146/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
When you select an image file in the image file list, select a shape in the shape list, and select [Shape
operations] > [Copy] from the menu, the [Make copied shape] dialog box appears.
When you enter a shape name and select [OK], the selected shape is saved under the entered shape name.
You can also make a copy by selecting a shape, pressing the <Ctrl> + <C> keys, and then pressing the <Ctrl> +
<V> keys.
Table 3.2.1.6 (a) List of Items in the [Make copied shape] Dialog Box
Setting item Entry type Specification Initial value Note
Shape Name User entry Arbitrary (up to Blank Enter a name for the shape you want to copy.
200 characters)
OK button - - - The shape in the selected image file is saved under
the entered shape name.
× button - - - Closes the dialog box.
When you enter a shape name and select [OK] in the [Make copied shape] dialog box, the selected shape is
copied and saved under the entered shape name.
When you select [OK], the shape name is checked. If there are any errors, an error dialog box appears. For the
messages in the error dialog box, refer to "Table 3.2.1.6 (b) List of Error Messages That May Appear at Shape
Name Check."
Table 3.2.1.6 (b) List of Error Messages that may appear at Shape Name Check
Cause Timing Message
The shape name contains When [OK] is selected The shape name contains
characters that cannot be unsupported characters.
used in the file name. (Refer to "Table 3.1.1.2 (c)
Restrictions on Shape Names.")
The image file is opened When [OK] is selected The currently edited shape cannot
using an external editor or be copied.
other tool.
You tried to add a shape When [Copy] is selected from No more shapes can be added.
though there were already [Shape operations]
255 shapes.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 147/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
The menu bar on the [Image File List] screen is shown below.
Fig. 3.2.1.7 (a) Menu Bar on the [Image File List] Screen
The menu configuration is shown in "Table 3.2.1.7 (a) List of Functions on the Menu Bar."
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 148/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Selecting [File] > [New...] from the menu on the [Image File List] screen opens the [Make new file] dialog box.
For the items in the [Make new file] dialog box, refer to "Table 3.2.1.8 (a) List of Items in the [Make new file]
Dialog Box."
Table 3.2.1.8 (a) List of Items in the [Make new file] Dialog Box
Setting item Entry type Specification Initial value Note
File name User entry Arbitrary (up to Blank Enter a name for the image file you want to create.
59 characters)
OK button - - - Closes the dialog box and creates an image file
under the entered file name.
× button - - - Closes the dialog box.
When you enter an image file name in the [Make new file] dialog box and select [OK], an image file is created
under the entered file name.
When you select [OK], the image file name is checked. If there are any errors, an error dialog box appears. For
the messages in the error dialog box, refer to "Table 3.2.1.8 (b) List of Error Messages That May Appear at
Image File Name Check."
Table 3.2.1.8 (b) List of Error Messages that may appear at Image File Name Check
Cause Timing Message
The image file name is the same When [OK] is selected The file name the same as the
as an already registered file name. image file name exists.
The image file name contains When [OK] is selected The image file name contains
characters that cannot be used in unsupported characters.
the file name. (Refer to "Table 3.2.1.8 (c)
Restrictions on Image File Names.")
The image file name including the When [OK] is selected The image file name including the
path exceeds 256 characters. path exceeds 256 characters.
The number of image files When [New...] is selected No more files can be added.
exceeds 1000. from [File]
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 149/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Selecting [File] > [Entry...] from the menu on the [Image File List] screen opens the file selection dialog box.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 150/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Errors
When you select [OK] in an error dialog box, the file will not be added and you will return to the [Image File
List] screen.
For the messages in the error dialog box, refer to "Table 3.2.1.9 (b) List of Messages That May Appear at
Addition."
When you select an image file in the list on the [Image File List] screen and select [File] > [Delete] from the
menu, the deletion confirmation dialog box appears.
When you select [OK] in the deletion confirmation dialog box, the selected image file is deleted.
If you try to delete a file opened using an external editor, the deletion error dialog box appears. For the messages
in the error dialog box, refer to "Table 3.2.1.10 (a) List of Messages That May Appear at File Deletion."
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 151/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
When you select an image file in the list on the [Image File List] screen and select [File] > [Copy] from the
menu, the [Make copied shape] dialog box appears.
When you enter a file name and select [OK], the selected image file is saved under the entered file name.
Table 3.2.1.11 (a) List of Items in the [Make copied shape] Dialog Box
Setting item Entry type Specification Initial value Note
File name User entry Arbitrary (up to Blank Enter a name for the image file you want to copy.
59 characters)
OK button - - - Saves the selected image file under the entered file
name.
× button - - - Closes the dialog box.
When you enter an image file name in the [Make copied shape] dialog box and select [OK], the selected image
file is saved under the entered file name.
When you select [OK], the image file name is checked. If there are any errors, an error dialog box appears.
For the messages in the error dialog box, refer to "Table 3.2.1.11 (b) List of Error Messages That May Appear at
Image File Name Check."
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 152/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 3.2.1.11 (b) List of Error Messages That May Appear at Image File Name Check
Cause Timing Message
The image file name is the When [OK] is selected The file name the same as the
same as an already image file name exists.
registered file name.
The image file name contains When [OK] is selected The image file name contains
characters that cannot be unsupported characters.
used in the file name. (Refer to "Table 3.1.1.8 (c)
Restrictions on Image File Names.")
The number of image files When [Copy] is selected from No more files can be added.
exceeds 1000. [File]
The image file name including When [OK] is selected The image file name including the
the path exceeds 256 path exceeds 256 characters.
characters.
Copy of an image file is failed. When [OK] is selected Failed to copy the image file.
The image file edit screen to edit control image files is added.
The configuration of the image file edit screen is shown in "Table 3.2.2 (a) Configuration List of the Image File
Edit Screen."
You can change whether to display the toolbar, control bar, configuration tree, or properties on the screen and
their display positions.
Table 3.2.2 (a) Configuration List of the Image File Edit Screen
Function Description
Menu bar The file, edit, and display menus are displayed for each function.
Toolbar The icons for some functions on the menu bar are displayed.
Control bar The icons for controls are displayed.
Configuration tree The commands making up the shape are displayed in the tree view.
Drawing area A control is displayed according to the commands.
Properties Used to display and specify detailed control settings.
Refer to "Table 3.2.2 (b) List of Editable shapes" about editable shapes.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 153/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
When editing image file is selected, this screen starts up.If the shape you want to edit contains errors, an error
dialog box appears at the time of starting this screen
For the messages on the error screen, refer to "Table 3.2.2.1 (a) List of Error Messages That May Appear at
Startup."
Table 3.2.2.1 (a) List of Error Messages That May Appear at Startup
Cause Timing Message
The selected shape contains When the Image File Editor is The processing is aborted because the
uneditable commands or started target shape contains commands out of
properties. the target or format errors.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 154/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
The menu bar and toolbar are displayed at the top of the image file edit screen.
The icons for some functions on the menu bar are displayed on the toolbar.
Each configuration is shown in "Table 3.2.2.2 (b) List of Functions on the Menu Bar."
If there are any errors, an error dialog box appears when [File] > [Save] is selected from the menu on the image
file edit screen or when [OK] is selected in the save confirmation dialog box.
For the messages in the error dialog box, refer to "Table 3.2.2.2 (a) List of Error Messages That May Appear at
Saving."
Table 3.2.2.2 (a) List of Error Messages That May Appear at Saving
Cause Timing Message
The coordinate parameter When you try to save the The parameter contains an error
contains an error value. parameter value and cannot be saved.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 155/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 156/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 3.2.2.2 (c) List of Items in the [Select additional shape] Dialog Box
Setting item Entry type Specification Initial value Note
ImageFile - - Blank Displays the full path of the selected image file.
Image file selection - - - Selecting […] opens the file selection dialog box.
Shape Selection - First shape The shapes in the specified image file are
registered in the combo box.
Preview - - - Displays the sample of the selected shape.
OK button - - - Closes the dialog box and updates the
configuration tree and drawing area.
× button - - - Closes the dialog box.
When you select a shape and select [OK], the shape in the image file is registered and the configuration tree
and drawing area are updated.
If there are any errors, an error dialog box appears when you select [OK]. For the messages in the error dialog
box, refer to "Table 3.2.2.2 (d) List of Error Messages That May Appear at Added Shape Selection."
Table 3.2.2.2 (d) List of Error Messages That May Appear at Added Shape Selection
Cause Timing Message
The selected shape contains When [OK] is selected The shape could not be inserted
uneditable commands. because the target shape contains
commands out of the target or
format errors.
The control bar is displayed at the top of the image file edit screen.
The icons for available functions are displayed on the control bar.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 157/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
The functions of the icons on the control bar are shown in "Table 3.2.2.3 (a) List of Functions on the Control
Bar."
Select the control icon you want to draw and draw it in the drawing area.
After drawing, the configuration tree and property list are updated.
When using the P (Fill) command, the color pallet appears when you select the drawing position.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 158/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
The controls in the drawing area are displayed in the drawing order regarding the selected shape name as the
parent node. (The top is the back side.)
When you select a child node, the relevant control is selected and the property list is updated.
Right-clicking a node displays a menu. For details about menus, refer to "Table 3.2.2.4 (a) List of Menus in the
Configuration Tree."
If you move or delete a child node, the drawing area is updated.
When you select [Insert comment] or [Edit comment], the [Enter comment] dialog box appears.
A comment is inserted on the selected control. [Edit comment] cannot be selected when you select an item other
than the comment.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 159/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 3.2.2.4 (b) List of the Items in the [Enter comment] Dialog Box
Setting item Entry type Specification Initial value Note
Comment User entry Arbitrary Blank Enter a comment.
The maximum number of characters you can enter is 199.
OK button - - - Closes the dialog box and updates the configuration tree.
× button - - - Closes the dialog box.
When you enter a comment in the [Enter comment] dialog box and select [OK], the entered comment is
registered in the configuration tree and the configuration tree is updated.
The comment is checked when you select [OK]. If there are any errors, an error dialog box appears.
For the messages in the error dialog box, refer to "Table 3.2.2.4 (c) List of Error Messages That May Appear at
Comment Check."
Table 3.2.2.4 (c) List of Error Messages That May Appear at Comment Check
Cause Timing Message
You tried to register a comment that When [OK] is selected The comment can contain up
contains 200 or more characters. to 199 characters.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 160/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
The center part of the image file edit screen is the drawing area.
In the drawing area, the controls selected on the control bar are drawn.
The controls are drawn according to the order in the configuration tree.
Select the control you want to draw from the control bar and draw it, adjusting the drawing size by dragging.
You can select the drawn control by clicking it to adjust the position or size.
When you select a control, the property list in the right part of the screen is updated.
Right-clicking in the drawing area displays a menu. The menu items in the drawing area are shown in "Table
3.2.2.5 (a) List of Menus in the Drawing Area."
When you perform an operation such as addition, deletion, resizing or reposition of control or relocation
between levels, the configuration tree and property list are updated.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 161/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
The property list is displayed in the right part of the image file edit screen.
The property list displays the properties of the selected control.
[Property] displays the setting values related to the currently selected control.
The displayed setting items differ depending on the control.
The setting items are shown in "Table 3.2.2.6 (a) List of Line Figure Commands" and "Table 3.2.2.6 (b) List of
Surface Figure Commands."
*The setting value between parentheses is the value without scaling.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 162/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Command
Item Specification Function
L R R2 A C C2 I O
specification
Yes Yes Yes Yes 0 to Y-coordinate of Specify the Y-coordinate of the
Y-coordinate of start end point drawing start point.
point *For L, 0 to 10000
(500)
Yes Yes Yes Yes Left top Specify the reference point for
Right top specifying dot coordinates at the
End reference point
Bottom right end point.
Bottom left
X-coordinate of end Yes Yes Yes Yes Specified Specify whether to use scaling at
point - coordinates Not specified the X-coordinate of the end point.
specification
Yes Yes Yes Yes X-coordinate of Specify the X-coordinate of the
start point to 10000 drawing end point.
X-coordinate of end
(500)
point
*For L, 0 to 10000
(500)
Y-coordinate of end Yes Yes Yes Yes Specified Specify whether to use scaling at
point - coordinates Not specified the Y-coordinate of the end point.
specification
Yes Yes Yes Yes Y-coordinate of Specify the Y-coordinate of the
start point to 10000 drawing end point.
Y-coordinate of end
(500)
point
*For L, 0 to 10000
(500)
X-coordinate of Yes Yes Yes Specified Specify whether to use scaling at
center - coordinates Not specified the X-coordinate of the center.
specification
X-coordinate of Yes Yes Yes 0 to 10000 (500) Specify the X-coordinate of the
center center.
Y-coordinate of Yes Yes Yes Specified Specify whether to use scaling at
center - coordinates Not specified the Y-coordinate of the center.
specification
Y-coordinate of center Yes Yes Yes 0 to 10000 (500) Specify the Y-coordinate of the center.
Radius - coordinates Yes Yes Specified Specify whether to use the circle
specification Not specified radius scaling.
Yes Yes 0 to 5000 (250) Specify the radius of circle.
Radius *For A, 0 to 10000
(500)
Radius in the Yes Yes Specified Specify whether to use the scaling
horizontal direction - Not specified for the radius in the horizontal
coordinates direction.
specification
Yes Yes 0 to 5000 (250) Specify the radius in the lateral
Radius in the *For O, 0 to direction.
horizontal direction X-coordinate of the
end point
Radius in the vertical Yes Yes Specified Specify whether to use the scaling
direction - coordinates Not specified for the radius in the vertical
specification direction.
Radius in the Yes Yes 0 to 5000 (250) Specify the deformation in the
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 163/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Command
Item Specification Function
L R R2 A C C2 I O
vertical direction *For O, 0 to longitudinal direction.
coordinate of the
end point
Yes None Subtracts 1 from the coordinates of
Top section the start and end points according
Border adjustment Bottom section to the setting value.
Left section
Right section
Start angle Yes 0 to 3600 Specify the start angle.
End angle Yes 0 to 3600 Specify the end angle.
Yes ON Prevents collapse of round corners
Arc equivalence flag
OFF due to the control form.
Yes Fixed Fits the image display to the
Expansion/contracti
Expanded/ rectangle.
on mode
contracted
Yes File selection Specify the name of the image file
dialog box you want to display.
*Files that contain spaces are not
File name
displayed.
*The files must be saved in
FigureEx¥img.
Yes Yes Yes Yes Yes Solid line Specify the type of the line you want
Broken line to draw.
Dotted line
Line type
Dashed-dotted line
Dashed-two dotted
line
Line color Yes Yes Yes Yes Yes Yes Color pallet Specify the line color.
Yes Yes Yes Yes Yes Yes none Specify the name of the property of
BackColor which line color you want to
BorderColor replace.
Properties BorderColor1
BorderColor2
MainColor
NAColor
Width Yes 1 to 500 Specify the border width in dots.
Line color 1 Yes Color pallet Specify the color.
Line color 2 Yes Color pallet Specify the color.
Yes none Specify the name of the property of
BackColor which line color 1 you want to
BorderColor replace.
Property 1 BorderColor1
BorderColor2
MainColor
NAColor
Yes none Specify the name of the property of
BackColor which line color 2 you want to
BorderColor replace.
Property 2
BorderColor1
BorderColor2
MainColor
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 164/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Command
Item Specification Function
L R R2 A C C2 I O
NAColor
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 165/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Command
Item Specification Function
r r2 a c c2 Yg Im O rb P
Y-coordinate of Yes Yes Yes Specified Specify whether to use
center - Not specified scaling at the Y-coordinate of
coordinates the center.
specification
Y-coordinate of Yes Yes Yes 0 to 10000 (500) Specify the Y-coordinate of
center the center.
Radius - Yes Yes Specified Specify whether to use the
coordinates Not specified circle radius scaling.
specification
Yes Yes 0 to 5000 (250) Specify the radius of circle.
Radius *For a, 0 to 10000
(500)
Radius in the Yes Yes Yes Specified Specify whether to use the
horizontal Not specified scaling for the radius in the
direction - horizontal direction.
coordinates
specification
Yes Yes Yes 0 to 5000 (250) Specify the radius in the
Radius in the
*For Yg and O, 0 to lateral direction.
horizontal
X-coordinate of the
direction
end point
Radius in the Yes Yes Yes Specified Specify whether to use the
vertical direction Not specified scaling for the radius in the
- coordinates horizontal direction.
specification
Yes Yes Yes 0 to 5000 (250) Specify the deformation in the
Radius in the *For Yg and O, 0 to longitudinal direction.
vertical direction Y-coordinate of the
end point
Start angle Yes 0 to 3600 Specify the start angle.
End angle Yes 0 to 3600 Specify the end angle.
Arc equivalence Yes ON Prevents collapse of round
flag OFF corners due to the control form.
Expansion/ Yes Fixed Fits the image display to the
contraction mode Expanded/contracted rectangle.
Yes File selection dialog Specify the name of the
box image file you want to display.
*Files that contain spaces are
File name
not displayed.
*The files must be saved in
FigureEx¥img.
Yes 1 to 250 Specify the border width in
Width
dots.
Yes Yes Specify whether there is the
Left top
None corner at the left top.
Yes Yes Specify whether there is the
Right top
None corner at the right top.
Yes Yes Specify whether there is the
Bottom left
None corner at the bottom left.
Yes Yes Specify whether there is the
Bottom right
None corner at the bottom right.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 166/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Command
Item Specification Function
r r2 a c c2 Yg Im O rb P
Border Color Yes Color pallet Specify the color.
Surface color Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Color pallet Specify the color.
Yes Yes Yes Yes Yes Yes Yes Yes Yes none Specify the name of the
BackColor property of which surface
BorderColor color you want to replace.
Properties BorderColor1
BorderColor2
MainColor
NAColor
Yes Yes Yes Yes Yes Yes Specify whether to use
Gradation
None gradation.
X-coordinate of Yes Yes Specified Specify whether to use
gradation start Not specified scaling at the X-coordinate of
point - coordinates the gradation start point.
specification
X-coordinate of Yes Yes Left end to right end Specify the X-coordinate of
gradation start of circle the gradation start point.
point
Y-coordinate of Yes Yes Specified Specify whether to use
gradation start Not specified scaling at the Y-coordinate of
point - coordinates the gradation start point.
specification
Y-coordinate of Yes Yes Top end to bottom Specify the Y-coordinate of
gradation start end of circle the gradation start point.
point
Yes Yes Yes Yes Yes Yes Top down Specify the gradation pattern.
Left to right
Left top to bottom
Pattern right
Right top to bottom
left
Fill
Brightness at the Yes Yes Yes Yes Yes Yes 0 to 100 Specify the starting
start point concentration of the gradation.
Brightness at the Yes Yes Yes Yes Yes Yes 0 to 100 Specify the ending
end point concentration of the gradation.
When you click the following value columns, the color pallet is displayed:
Line color, line color 1, line color 2, surface color, and border color
In the following value columns, the pull-down menu displays options.
Start reference point, end reference point, reference point, each type of coordinates specification item,
border adjustment, line orientation, arc equivalence flag, expansion/contraction mode, line type, property,
property 1, property 2, left top, right top, bottom left, bottom right, and gradation
In the following value columns, the file selection dialog box appears.
File name
If an invalid value is entered, the value is returned to the value before entry.
[Fill], a setting value in [Pattern], only applies to commands c and c2.
The horizontal direction radius and vertical direction radius of the Yg and O commands are automatically
adjusted to the maximum size of rectangle.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 167/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
3.3.1.1 Function
As on the property setting screen, the setting value in the property list is displayed as the name.
Select the value for the item whose name is displayed list from the pull-down menu.
3.3.1.3 Diagram
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 168/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Fig. 3.3.1.3 (a) Display Image of Relevant Items and Corresponding Setting Values in the Property List
Fig. 3.3.1.3 (b) Image of Changing the Value of a Name Display Item in the Pull-down Menu
3.3.1.4 Operation
This section describes the display operation in the property list for each relevant item on the property setting
screen.
3.3.2.1 Function
You can change property values of FP control from a Ruby script. You can also view or operate the state of
controls from a Ruby script.
- For the relevant items, refer to "Table 3.3.2.3 (h) List of Property Change Operation Names."
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 169/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
3.3.2.2 Operation
Changes to the settings of each control are reflected when the control is redrawn at the drawing cycle after the
Ruby script operation ends.
NOTE
1 In FANUC PICTURE 8.0 or later (iHMI version), all characters in the rectangle
are deleted when redrawing the control to enable caption change. Therefore, if
control overlaps, the caption may not be displayed depending on the placement
order. In that case, place the control with the caption on the front.
2 In standard display, changing the character control's properties changes the
background color of the character control to the screen background color.
3 If you change the properties of "text color" or "background color" with the focus on
the radio button and check box, the display will be temporarily without focus.
4 Do not change the property for color when setting "Use 7 colors" in Lamp,
Number or string, Number entry display, and Numeric keypad entry.
5 The display-changed control by changing the settings of it is displayed on the
foreground even though this control was arranged on the background of other
controls.
6 If the shape is customized with the design customization function, the property of
the control that set the shape cannot be changed by the FpSetProperty function.
7 Properties of FP controls on FP screens that are not displayed cannot be
acquired or changed. In this case, the result of the return value is -11 (Other
error). However, properties can be acquired or changed only when all of the
following conditions are met.
- The FP screen which was already displayed after starting the FP driver.
- The FP screen for which "Free Memory" is turned off in the base screen tab of
Screen Structure Definition Control.
- FP parameter No.6 "The function to save the used quantity of D-RAM" is 0
(disabled).
3.3.2.3 Function
This section describes the specifications of FP function for setting the properties.
[Function]
FpSetProperty
[Arguments]
This function has the following arguments.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 170/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Returns]
This function has the following return values.
Table 3.3.2.3 (b) Value to Be Stored in the Return Value of the FpSetProperty Function
Type Description
Numerical Result
value For details, refer to "Table 3.3.2.3 (c) Details of Result."
[Description]
Changes the property of the specified control.
[Example]
When specifying the ON caption text on Button 1 on Screen 1
ret = FpSetProperty( 1, “FPButton1”, SET_ONCAPTION, “New button name”, 0 )
- This section describes the specifications of the functions for acquiring the properties added as FP functions.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 171/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
FpGetPropertyValue
[Arguments]
This function has the following arguments.
[Returns]
An array that contains n + 1 elements (n: Number of acquired values. 0 in case of error.) is returned as the
return value.
This function has the following return values.
Table 3.3.2.3 (e) Value to Be Stored in the Return Value of the FpGetPropertyValue Function
Element Type Description
1st element Numerical Result
value For details, refer to "Table 3.3.2.3 (c) Details of Result."
2nd and Numerical Acquired value
subsequent value Status of check box/selection status of radio button/index of list box/index of
elements combo box
[Description]
Acquires the status of the specified control in the numerical format.
Only the check box, radio button, list box, or combo box only can be specified.
[Example]
- When acquiring the status of the radio button in Group number 1 on Screen 2
statusList = FpGetPropertyValue( 2, “RadioGroup1”, GET_RADIOSTATE)
if statusList[0] == 0 then
#Any radio button is not selected.
elsif statusList[0] > 0 then
radioState = statusList[1]
else
errcode = statusList[0]
end
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 172/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
errcode = statusList[0]
end
[Function]
FpGetPropertyStr
[Arguments]
This function has the following arguments.
[Returns]
Details of the return values are as shown below.
Table 3.3.2.3 (g) Value to Be Stored in the Return Value of the FpGetPropertyStr Function
Type Description
String Element string in the list box
The result is set to the first three characters as the string.
For details of the result, refer to "Table 3.3.2.3 (c) Details of Result."
(Example)
When the result is normal, the return value is "000 Element string in the list box."
When the result is the invalid screen No., the return value is "-01."
[Description]
Acquires the setting value of the specified control in the string format.
Only the list box or combo box only can be specified.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 173/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Example]
- When acquiring the string selected in List box 1 on Screen 1
strdata = FpGetPropertyStr( 1, “FPListBox1”, GET_SELSTR, 0 );
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 174/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
(element string)
Screen switch Yes Yes No Yes Yes No Yes Yes No No Yes Yes No No No No No No No No No No No No No
Button Yes Yes No Yes Yes No Yes Yes No No Yes Yes No No No No No No No No No No No No No
Framed button Yes Yes No Yes Yes No Yes Yes No No Yes Yes No No No No No No No No No No No No No
Button with image Yes Yes No Yes Yes No Yes Yes No No Yes Yes No No No No No No No No No No No No No
Lamp Yes Yes No Yes Yes No Yes Yes Yes No Yes Yes No No No No No No No No No No No No No
Lamp with image No No No No No No No No Yes Yes Yes Yes No No No No No No No No No No No No No
Image No No No No No No No No No No No No No No No No No No No No No No No No No
Screen switch
Yes Yes No Yes Yes No Yes Yes No No Yes Yes No No No No No No No No No No No No No
button with image
Label Yes No No Yes No No No No Yes No Yes Yes No No No No No No No No No No No No No
Number or string No No No Yes No No No No Yes No Yes Yes No No No No No No No No No No No No No
PMC string No No No Yes Yes No Yes No Yes No Yes Yes No No No No No No No No No No No No No
Number entry
No No No Yes Yes No Yes Yes No No Yes Yes Yes Yes No No No No No No No No No No No
display
Key in No No No Yes No No No No Yes No Yes Yes No No No No No No No No No No No No No
Numeric keypad
No No No Yes Yes No Yes Yes No No Yes Yes Yes Yes No No No No No No No No No No No
entry
MDI key No No No Yes Yes No Yes Yes No No Yes Yes No No No No No No No No No No No No No
Keyboard No No No Yes Yes No Yes Yes No No Yes Yes No No No No No No No No No No No No No
Clock No No No Yes No No No No Yes No Yes Yes No No No No No No No No No No No No No
Message No No No No No No No No Yes No Yes Yes No No No No No No No No No No No No No
Text No No No No No No No No Yes No Yes Yes No No No No No No No No No No No No No
Combined
No No No No No No No No Yes No Yes Yes No No No No No No No No No No No No No
message
History message No No No No No No No No Yes No Yes Yes No No No No No No No No No No No No No
Text Yes No No Yes No No No No No No No No No No No No No No No No No No No No No
Meter No No No No No No No No Yes No Yes Yes Yes Yes No No No No No No No No No No No
Graph No No No No No No No No Yes No Yes Yes Yes Yes No No No No No No No No No No No
Line graph No No No No No No No No No No No No Yes Yes No No No No No No No No No No No
Bar graph No No No No No No No No No No No No Yes Yes No No No No No No No No No No No
Pie graph No No No No No No No No No No No No No No No No No No No No No No No No No
Line No No No No No No No No No No Yes No No No No No No No No No No No No No No
Rectangle No No No No No No No No Yes No No No No No No No No No No No No No No No No
Arc No No No No No No No No No No Yes No No No No No No No No No No No No No No
Circle No No No No No No No No Yes No No No No No No No No No No No No No No No No
Ellipse No No No No No No No No Yes No No No No No No No No No No No No No No No No
Radio button No No Yes No No Yes Yes Yes Yes No Yes Yes No No No No No No No No No No Yes No No
Check box No No Yes No No Yes Yes Yes Yes No Yes Yes No No No No No No No No No Yes No No No
List box No No No Yes Yes No Yes Yes No No Yes Yes No No Yes Yes Yes Yes Yes Yes Yes No No Yes Yes
Combo box No No No Yes Yes No Yes Yes No No Yes Yes No No Yes Yes Yes Yes Yes Yes Yes No No Yes Yes
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 175/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
In the table, "Yes" indicates that the operation is possible and "No" indicates that the operation is not possible.
When specifying a color from the Ruby script, use the rgb code. (For example, specify "FF0000" for red. The
color is subtracted to a similar color of 256 colors in the NC machine.)
For changes to the caption, the language string specified with the [Setting value] argument is displayed in the
language code of the multi-language key set on the NC. (Set the language string that corresponds to the
multi-language key at the time of setting on the script.)
In the project using the multi-language display function, “Element addition” and ”Element deletion (index
specification)” are applied only to the displaying language.
NOTE
1 Number entry with the numerical keypad and the background color for the MDI
key are out of the operation target.
2 If no character is set in the caption of the control to be changed, the caption
cannot be changed.
3 FpSetProperty will return -6 (Invalid setting value) and no element will be added if
the character strings to be added by “Element addition” under any of the following
conditions.
- Contains line feed code (¥r or ¥n)
- 1020 bytes or more
- Only null character
4 For the following controls that have captions for both ON and OFF, even if “On
caption is copied onto Off caption” (*) in the property page [Character] tab of the
FP editor is checked, "SET_ONCAPTION (ON caption setting)" operation can
only set the ON caption.
If you would also like to set the OFF caption, please also perform the
"SET_OFFCAPTION (OFF caption setting)" operation.
- Screen Switch Control
- Screen Switch Control with image
- Lamp Control
- Button Control
- Button Control with image
- Framed Button Control
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 176/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Control Property name on the editor Property change operation name Note
Lamp ON caption ON caption setting
OFF caption OFF caption setting
ON text color ON text color setting
OFF text color OFF text color setting
ON state color On state color setting
OFF state color Off state color setting
Back Color Image background color setting
Border Color1 Image border color 1 setting
Border Color2 Image border color 2 setting
Lamp with image Back Color Image background color setting
State Color State color setting
Border Color1 Image border color 1 setting
Border Color2 Image border color 2 setting
Label Caption ON caption setting
Text color ON text color setting
Back Color Image background color setting
Border Color1 Image border color 1 setting
Border Color2 Image border color 2 setting
Number or string Text color ON text color setting
Key in Back Color Image background color setting
Border Color1 Image border color 1 setting
Border Color2 Image border color 2 setting
PMC string Focus text color ON text color setting
OFF text color OFF text color setting
Focus Color On state color setting
Back Color Image background color setting
Border Color1 Image border color 1 setting
Border Color2 Image border color 2 setting
Number entry display Check text color ON text color setting
Numeric keypad entry OFF text color OFF text color setting
Check state color On state color setting
OFF state color Off state color setting
Border Color1 Image border color 1 setting
Border Color2 Image border color 2 setting
Max. value Maximum value setting
Min. value Minimum value setting
MDI key ON text color ON text color setting
Keyboard OFF text color OFF text color setting
ON state color On state color setting
OFF state color Off state color setting
Border Color1 Image border color 1 setting
Border Color2 Image border color 2 setting
Clock Text color ON text color setting
Back Color Image background color setting
Border Color1 Image border color 1 setting
Border Color2 Image border color 2 setting
Message Back Color Image background color setting
Text Border Color1 Image border color 1 setting
Combined message Border Color2 Image border color 2 setting
History message
Text Caption ON caption setting
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 177/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Control Property name on the editor Property change operation name Note
Text color ON text color setting
Meter Back Color Image background color setting
Graph Border Color1 Image border color 1 setting
Border Color2 Image border color 2 setting
Max. value Maximum value setting
Min. value Minimum value setting
Line graph Max. value Maximum value setting
Bar graph Min. value Minimum value setting
Pie graph - - N/A
Line Border Color1 Image border color 1 setting
Arc
Rectangle Back Color Image background color setting
Circle
Ellipse
Radio button Caption Caption setting
Text color Text color setting
ON state color On state color setting
OFF state color Off state color setting
Back Color Image background color setting
Border Color Image border color 1 setting
Outer Frame Color Image border color 2 setting
Check box Caption Caption setting
Text color Text color setting
Check Color On state color setting
Check Back Color Off state color setting
Back Color Image background color setting
Border Color1 Image border color 1 setting
Border Color2 Image border color 2 setting
List box Selected Color ON text color setting
Combo box Unselected Color OFF text color setting
Selected Back Color On state color setting
Unselected Back Color Off state color setting
Border Color Image border color 1 setting
Scroll border color Image border color 2 setting
Scroll ON state color On state color 2 setting
Scroll OFF state color Off state color 2 setting
Scroll background color Image background color 2 setting
Scroll button color Button color setting
Scroll bar color Bar color setting
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 178/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
4 RUBY SCRIPT
The Script List screen of the FP Editor has been changed as a result of the function addition of the Ruby script.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 179/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Ruby script files and FP script files that are registered in a project are all displayed on the [Script List] screen.
The script number, type, file name, and script name of each script file are displayed on the [Script List] screen.
For changes to the list display of scripts, refer to "Table 4.1.1.1 (a) Changes to List Display of Scripts."
For a project, you can register up to a total of 1,000 Ruby script files and FP script files.
4.1.1.2 New
Selecting [New...] on the [Script List] screen opens the [Make new file] dialog box.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 180/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
For the items in the [Make new file] dialog box, refer to "Table 4.1.1.2 (a) List of Items in the [Make new file]
Dialog Box."
If 1,000 script files have already been registered, [New...] is not available.
Table 4.1.1.2 (a) List of Items in the [Make new file] Dialog Box
Setting item Entry type Setting value Initial value Remarks
RubyScript/FPScript Selection ON/OFF RubyScript is Select RubyScript or FPScript to make a new
selected script.
ScriptNumber User entry Numerical An unused Enter a number for the script you want to
value number is create.
entered The maximum number you can enter is 999.
automatically. Script numbers are mandatory.
ScriptName User entry Optional Blank Enter a name for the script you want to create.
The maximum number of characters you can
enter is 20.
OK button - - - Closes the Make new file dialog box and opens
the Script Editor.
× button - - - Closes the [Make new file] dialog box.
Use the RubyScript and FPScript radio buttons to select the type of script you want to create, enter the script
number and script name, and select [OK] to open the Script Editor.
For details on the Script Editor, refer to "Section 4.1.2 Enhancement of Script Editor Functions."
When you select [OK], the script number and the script name are checked. If there are any errors, an error
dialog box appears.
If you specify the same script file name as one that has been removed from the list, a dialog box appears asking
whether you want to overwrite the script. (Fig. 4.1.1.2 (b) Script Overwrite Confirmation Dialog Box)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 181/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
4.1.1.3 Entry
Selecting [Entry...] in the [Script List] opens the [Open] dialog box.
If 1,000 script files have already been registered, you cannot select [Entry...].
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 182/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 4.1.1.3 (b) List of Items in the [Save Script] Dialog Box
Setting item Entry type Setting value Initial value Remarks
ScriptNumber User entry Numerical An unused number is Enter the number of the script you want to save.
value entered automatically. The maximum number you can enter is 999.
Script numbers are mandatory.
ScriptName User entry Optional Enter a name for the script you want to create.
(up to 20 characters)
For details on script names, refer to "Table
4.1.1.2 (a) List of Items in the [Make new file]
Dialog Box" under "New."
Save button - - Closes the [Save Script] dialog box and
saves the script.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 183/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
When you select [Save] in the [Save Script] dialog box, the script number, script name, number of lines, and
number of characters are checked. If there are any errors, an error dialog box appears.
When you click [OK] in the error dialog box, you will return to the [Save Script] dialog box.
4.1.1.4 Remove
Selecting [Remove...] on the [Script List] screen opens a dialog box confirming whether you want to remove the
script ("Fig. 4.1.1.4 (a) Remove Confirmation Dialog Box").
When you select [OK] in the remove confirmation dialog box, the script files with check boxes selected under
the Number item are removed.
If you select a script file that is registered for startup, the delete error dialog box appears ("Fig. 4.1.1.4 (b)
Delete Error Dialog Box").
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 184/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
4.1.1.5 Edit
Selecting [Edit...] on the [Script List] screen displays the selected script files under the Number item in the
Script Editor.
You can also double-click a script file displayed in the list to display the file in the Script Editor.
You can also display the script file in the script editor by clicking the Script Displaying Button in the property
list.
(For the Script Displaying Button, see “Chapter 12 Script One Shot Displaying Function”.)
Selecting [Check syntax...] on the [Script List] screen checks the syntax of the selected Ruby scripts and FP
scripts under the Number item.
For details, refer to "Section 4.1.4 Syntax Check."
Startup registration
Selecting [Register...] under the [Startup] group on the [Script List] screen opens a dialog box for confirming
whether you want to register the script file for startup. ("Fig. 4.1.1.7 (a) Startup Registration Confirmation
Dialog Box)
When you select [OK] in the startup registration confirmation dialog box, the script files with check boxes
selected under the Number item are registered for startup.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 185/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 186/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
To use a script as a timer script, you need to register the script as a timer script
and then write the set_handler function in the script or control.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 187/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 4.1.2 (a) Enhancement contents list in FP Scripts and Ruby Scripts
Expanded/Added Function FP Script Ruby Script
Addition of the Menu Bar
Expansion of the UNDO Function and REDO Function
Change in the Way Script Number/Name is Changed
Restricting the Number of Script Description Lines ×
Adding Search/Replace Functions
Adding the Symbol Setting Menu
Adding the FP Function Input Assistance Function (*) (*)
Adding the Multi-language Text Setting Function ×
*In the dialog box, the functions that are available for either FP scripts or Ruby scripts are shown in a function
list.
The appearance of the Script Editor has been changed and now all operations can be performed from the menu bar.
Some operations can also be performed with shortcut keys.
For details on each item in the dialog box, refer to "[File] menu", "[Edit] menu", and "[Tool] menu."
[File] menu
The [File] menu has been added to the Script Editor.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 188/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
For details on each menu item, refer to "Table 4.1.2.1 (b) List of [File] Menu Items."
[Edit] menu
The [Edit] menu has been added to the Script Editor.
For details on each menu item, refer to "Table 4.1.2.1 (c) List of [Edit] Menu Items."
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 189/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Tools] menu
The [Tools] menu has been added to the Script Editor.
For details on each menu item, refer to "Table 4.1.2.1 (d) List of [Tools] Menu Items."
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 190/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
The UNDO function and the REDO function have been expanded.
The UNDO function and the REDO function, which previously supported only a single operation, now support
multiple operations.
The UNDO function and the REDO function can be used from the following shortcut keys.Shortcut key
assignment for the UNDO function: <Ctrl> + <Z>
Shortcut key assignment for the REDO function: <Ctrl> + <U>
The script number/name can be changed from the [Change of ScriptName] dialog box, which is displayed by
selecting [File] > [Change of ScriptName] from the menu bar of the Script Editor.
For details on each item in the dialog, refer to "Table 4.1.2.3 (a) List of Items in the [Change of ScriptName]
Dialog Box."
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 191/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 4.1.2.3 (a) List of Items in the [Change of ScriptName] Dialog Box
Setting item Entry type Setting value Initial value Description
ScriptNumber User entry Numerical Script number Enter if you want to change the script number.
value before change The maximum number you can enter is 999.
Entry is required.
ScriptName User entry Optional Script name Enter if you want to change the script name.
before change Entry is optional.
With Ruby scripts, the name entered becomes
the file name. If a prohibited character is
entered, an error dialog box is displayed when
[OK] is selected.
For script naming rules, refer to "4.1.1.3 Entry."
OK button - - - Changes the script number/name and closes
the dialog box.
For the behavior when there is a duplicate script
number/name, refer to "4.1.1.3 Entry."
Cancel button - - - Closes the dialog box without changing the
script number/name.
× button - - - Closes the dialog box without changing the
script number/name.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 192/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 4.1.2.3 (c) Ruby Script Behavior When Changing the Script Name
Changes Name before Same name Ruby script behavior
the change after the change
Set name No No Creates a file using the script name
Creates a file and deletes the original file
Example) RBS0000.rb Sample.rb
Yes Duplicate file name error
Change Yes No Creates a file using the script name
name Creates a file and deletes the original file
Example) Sample.rb Sample2.rb
Yes Duplicate file name error
Delete Yes No Create a file with a file name based on the script
name number, and delete the original file
Example) Sample.rb RBS0000.rb
Yes (Note) Sequential number assigned to file name
Example) Sample.rb RBS0000_(2).rb
If a file with the same name as the name after the change exists in the destination folder for saving, the script
overwrite confirmation dialog box is displayed. For details, see "4.1.1.2 New," "Fig. 4.1.1.2 (b) Script Overwrite
Confirmation Dialog."
NOTE
Deleting the file name automatically changes the file name in Ruby script.
If a file with the same name already exists, a number is assigned.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 193/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
With FP scripts, when the number of script lines exceed 101, a warning message appears on the status bar.
When the number of script lines exceed 201, an error dialog box appears.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 194/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Search Function
Select [Edit] > [Search] from the menu bar of the Script Editor to display the [Search] dialog box. ("Fig. 4.1.2.5
(a) [Search] Dialog Box")
For items in the [Search] dialog box, refer to "Table 4.1.2.5 (a) List of Items in the [Search] Dialog Box."
- Enter the search string in the combo box of the [Search] dialog box and select [Backward] or [Forward] to
start the search.
- Selecting [Backward] searches upward from the current cursor position, while selecting [Forward] searches
downward.
- If there is a search string that matches completely, the cursor moves to that string and the string is selected.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 195/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
- If there are no matching strings, the search result dialog box is displayed. (Fig. 4.1.2.5 (c) "Search Result
Dialog Box (No Matching Strings)")
Fig. 4.1.2.5 (c) Search Result Dialog Box (No Matching Strings)
- If the search is repeated and has been completed to the end in the specified direction, a continue search
confirmation dialog box appears. ("Fig. 4.1.2.5 (d) Continue Search Confirmation Dialog Box")
Selecting [Yes] in the continue search confirmation dialog searches the area that has not yet been searched.
- If a search was performed by selecting the [Backward] button,
the search is performed from the end of the file to the position of the cursor when [Backward] was
selected.
- If a search was performed by selecting [Forward],
the search is performed from the beginning of the file to the position of the cursor when [Forward]
was selected.
Select [No] in the continue search confirmation dialog to close the dialog box and return to the Script
Editor.
- When search is continued and the search advances to the position of the cursor when the search began, the
continued search result dialog box is displayed. ("Fig. 4.1.2.5 (e) Continued Search Result Dialog Box")
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 196/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Replacement Function
Select [Edit] > [Replace] from the menu bar of the Script Editor to display the [Replace] dialog box. ("Fig.
4.1.2.5 (f) [Replace] Dialog Box")
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 197/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
- If there is a matching string, the replace string is selected. Selecting [Replace] in this state replaces the
replace string with what is specified in "To:."
- After replacing the string, the string search is performed toward the end of the file. If there is a string that
matches, the replace string is selected.
- When [Replace all] is selected, all matching strings in the file are replaced with the string in "To:." When
the replacement is complete, the replacement result dialog box appears. ("Fig. 4.1.2.5 (g) Replacement
Result Dialog Box")
For information on the search function, see "Adding Search/Replace Functions," "Search Function."
- The "Replace" dialog box can be displayed using the shortcut key.
Assigned key: <Ctrl> + <H>
- When a search has run to the end in the specified direction after selecting [Replace], a continue search
confirmation dialog box appears. ("Fig. 4.1.2.5 (d) Continue Search Confirmation Dialog")
Selecting [Yes] in the continue search confirmation dialog searches the area that has not yet been searched.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 198/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Selecting [Tool] > [Symbol] from the menu bar of the Script Editor displays the [PMC] and [Symbol] menus.
As in the case of the [File] menu of the FP Editor, selecting them displays the PMC symbol list dialog box and
constant symbol list dialog box and the symbols can be edited.
Select [Script] > [FP function input] from the menu bar of the Script Editor to display the [FP Function Input
Assistance] dialog box. ("Fig. 4.1.2.7 (a) [FP Function Input Assistance] Dialog Box")
For items in the [FP Function Input Assistance] dialog box, refer to "Table 4.1.2.7 (a) [FP Function Input
Assistance] Dialog Box Setting Items."
Table 4.1.2.7 (a) [FP Function Input Assistance] Dialog Box Setting Items
Setting item Entry type Setting value Initial value Description
FP Function Selection - No selection FP functions available in the target script file are
List displayed. When an FP function is selected, the function
is automatically entered in the FP function edit box.
FP function User entry Optional Blank Edit box for editing the FP function.
Description - - Blank Description of the function selected in the FP Function
List list box is displayed.
OK button - The function in the FP function edit box is inserted in the
Script Editor cursor position, and the [FP Function Input
Assistance] dialog box closes after the insertion.
Cancel button - Closes the [FP Function Input Assistance] dialog box.
× button - Closes the [FP Function Input Assistance] dialog box.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 199/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
When an FP function is selected from the [FP Function List] list box in the [FP Function Input Assistance]
dialog box, a template for the function is automatically entered in the FP function edit box. Description of the
selected FP function is displayed in the [Description] list box.
The FP function edit box can be edited freely.
When [OK] is selected, the content of the FP function edit box is inserted in the Script Editor cursor position,
and the [FP Function Input Assistance] dialog box closes.
Selecting [Cancel] discards the edited content and the [FP Function Input Assistance] dialog box closes.
The functions available in the FP script and Ruby script being edited are listed in the [FP Function List].
Select [Tool] > [Multi-language text setting] from the menu bar of the Script Editor to display the
[Multi-language Text Setting] dialog box. ("Fig. 4.1.2.8 (a) [Multi-language Text Setting] Dialog Box")
In the [Multi-language Text Setting] dialog box, multi-language text used in the Ruby script file can be
specified.
For the items, refer to "Table 4.1.2.8 (a) List of Items in the [Multi-language Text Setting] Dialog Box."
Multi-language text allows the text of multiple languages to be specified for any string specified by the user in
the script file.
By allowing multi-language texts to be specified, appropriate strings for the language can be used when the
language is switched.
Table 4.1.2.8 (a) List of Items in the [Multi-language Text Setting] Dialog Box
Setting item Entry type Setting value Initial value Description
Add row - - - The [Add row] dialog box is displayed. (Fig. 4.1.2.8 (b)
button [Add Row] Dialog Box)
Use this dialog box to add a record at the bottom.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 200/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
1 If no multi-language key is set, the [Multi-language Text Setting] in the menu of
the Script Editor cannot be used.
2 Multi-language key operations cannot be performed using the [Multi-language
Text Setting] dialog box. Multi-language key setting must be performed using the
"Multi-language setting sheet" in the "Setting of Project dialog box" as before.
3 If the multi-language key is deleted, the settings will be deleted.
4 If entry exceeds the maximum number of bytes that can be specified, the entry
beyond the maximum bytes will be invalid.
Text ID
Text ID is an index for multi-language text that can be specified by the user.
By setting the corresponding multi-language text for the text ID, strings corresponding to the language specified
in the system can be used.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 201/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
- Selecting [Add row] displays the [Add row] dialog box. ("Fig. 4.1.2.8 (b) [Add row] Dialog Box")
Entering the number of rows and selecting [OK] adds a blank row at the bottom of the text edit data sheet.
If the entered numerical value results in the number of rows exceeding 65535 rows after the addition, an
error dialog box is displayed.
Select [Cancel] or [×] to return to the [Multi-language Text Setting] dialog box.
- Selecting [Insert row] displays the [Insert Row] dialog box. ("Fig. 4.1.2.8 (c) [Insert Row] Dialog Box")
Entering a number of rows and selecting [OK] inserts blank rows above the cursor position of the text edit
data sheet.
If the entered numerical value results in the number of rows exceeding 65535 rows after the insertion, an
error dialog box is displayed. Select [Cancel] or [×] to return to the [Multi-language Text Setting] dialog
box.
- Selecting [Delete row] displays the row deletion confirmation dialog box. ("Fig. 4.1.2.8 (d) Row Deletion
Confirmation Dialog Box")
Select [Yes] to delete the row where the cursor is positioned.
Select [No] to return to the [Multi-language Text Setting] dialog box.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 202/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
- Selecting [Import] displays the [Open] dialog box. ("Fig. 4.1.2.8 (e) [Open] Dialog Box")
Selecting a CSV format file from the [Open] dialog box adds the file to the text edit data sheet if the
character code is Unicode (with BOM).
If an error occurs during the import, an error dialog box appears.
Selecting [Cancel] or [×] closes the [Open] dialog box.
- Selecting [Export] displays the [Save As] dialog box. ("Fig. 4.1.2.8 (f) [Save As] Dialog Box")
Selecting "Save" after editing the file name in the [Save As] dialog box saves the content of the text edit
data sheet as a CSV format file (character code).
Selecting [Cancel] or [×] closes the [Save As] dialog box.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 203/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
- Selecting [Search] displays the [Search] dialog box. ("Fig. 4.1.2.8 (g) [Search] Dialog Box")
This dialog box behaves similar to the search function for Script Editor. For details, refer to "4.1.2.5
Adding Search/Replace Functions."
- Selecting [Check char] checks the character specified in the multi-language text to see if it is a displayable
character code.
- If no row is selected, the check is performed on whether the character code is displayable with the
ANK character type.
If a character type other than ANK is specified with the character type button, the following dialog
box is displayed. When [OK] is selected, character code check is performed after ANK is specified
for the content of the character type button.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 204/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
- If a row is selected, the check is performed on whether the character code is displayable with the
character type specified with the button.
If a character code that is not displayable was specified, an error dialog box appears and the background of
all error cells turn gray.
[Function]
LangCaption
[Syntax with arguments]
LangCaption( textid , mltlanguse )
[Arguments]
The arguments of this function are as shown below.
Table 4.1.2.8 (d) Value to Be Stored in the Return Value of the LangCaption Function
Type Description
String When using multi-language input (mltlanguse = true), a string corresponding to the language specified in the
system (*)
When not using multi-language input (mltlanguse = false), a string corresponding to the language with "*" on
the language key in the multi-language text input dialog box
If the text ID specified for the argument textid does not exist, "textid not found" is specified as the return value.
* If there is no multi-language key corresponding to the language specified in the system, the string
corresponding to the default language set for the multi-language key will be the return value.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 205/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Description]
Calls the multi-language text specified in advance.
[Example]
msgText = LangCaption(“ErrorMessage1”, true);
titleText = LangCaption(“ErrorTitle1”, true);
MsgBoxShow( msgText, 0, titleText);
Or
* Since the MsgBoxShow function displays the string for the 1st argument, the string corresponding to the
language specified in the system can be displayed by using the LangCaption function.
To open a project created in a edition of FANUC PICTURE that is older than edition 8.0 (old FP) in FP edition
8.0 or later (new FP), it is necessary to convert the project.
NOTE
Conversion from FP script to Ruby script is only to help creation.Therefore,
please confirm the contents after conversion and confirm the operation.
FP script is supported after edition 8.0. Conversion to Ruby script is not
mandatory, so implement it as necessary.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 206/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
FP script
The timing and processing for conversion of FP scripts and projects are as follows.
The flow of conversion is as follows. ("Fig. 4.1.3 (b) Flowchart up to the completion of conversion")
For the details of each process, refer to "4.1.3.1 Conversion of a Project" and later.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 207/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Start
No
Convert the project
Yes
(1) Change the name of the function for calling a script from control
(2) Change the argument specification method for FP functions
(3) Change the extension of the project
No
Convert the scripts
Yes
End
When an old FP project is opened, the confirmation wizard for conversion of the project appears.
The project will be converted when you follow the steps in the wizard. (Refer to "4.1.3.1 Conversion of a
Project.")
After the project conversion is completed, you can move on to conversion of scripts.
When moving on to conversion of scripts, the wizard closes and the conversion confirmation dialog box
appears.
In the conversion confirmation dialog box, all the FP scripts registered in the projects are displayed, and you can
convert all the selected scripts into Ruby scripts.
The converted FP script files remain in the original files. (Refer to "4.1.3.2 Conversion of Scripts.")
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 208/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
You can convert scripts by opening the project. Otherwise, you can convert them later by selecting [Project] >
[Convert to Ruby script...] on the Menu bar and then converting them.
After [Convert to Ruby script...] is selected, the conversion confirmation dialog appears.
In addition, project conversion is performed when importing a screen created with an old FP editor into a new
FP editor. For information on the conversion of projects, refer to "4.1.3.1 Conversion of a Project."
In addition, conversion of the project is also performed when the following procedures are performed to import
a screen into the FP editor.
- When [Project] > [Add screen ...] is selected from the Menu bar
- When [File] > [Screen], and then [Open] is selected from the Menu bar
- When [Open] is selected from the Menu bar
- When a file is dragged and dropped onto the editor
At this time, the following procedures are performed for the selected folder.
- The name of the function for calling a script from control is changed.
- The argument specification method for FP functions is changed.
When opening a screen file by dragging and dropping it on a place other than the project window of the editor, a
dialog box such as that shown below appears ("Fig. 4.1.3.1 (a) Screen file conversion confirmation dialog box
displayed when dragged and dropped").
If you select [Yes] in this dialog box, conversion of the screen file will be performed and the target screen will
open.
In addition, when it is necessary to convert a project, the project conversion wizard appears.
For details, refer to "Project wizard."
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 209/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Fig. 4.1.3.1 (a) Screen file conversion confirmation dialog box displayed when dragged and dropped
NOTE
In FANUC PICTURE 8.0 or later (iHMI version), all characters in the rectangle
are deleted when redrawing the control to enable caption change. Therefore, if
control overlaps, the caption may not be displayed depending on the placement
order. In that case, place the control with the caption on the front.
Fig. 4.1.3.1 (b) Project conversion wizard (before the conversion starts)
NOTE
The converted file can not be restored. Please obtain backup in advance.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 210/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Fig. 4.1.3.1 (c) Project conversion wizard (after the conversion is completed)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 211/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
When the conversion target is a screen file, the following dialog box appears and the screen file becomes
operable with the editor.
Changing the name of the function for calling scripts from control
In old FP projects, only FP scripts could be called, so the call functions were specified by "FP_Script + script
no.", as in "FP_Script[100_…]."
In new FP projects, both Ruby scripts and FP scripts are called using the same FP function "script", so the call
function has been changed to be specified by "script+script no.", as in "script("script no.", …)".
For this reason, if the call function is specified by "FP_script[100_…]," an error occurs during MEM file
creation.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 212/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Fig. 4.1.3.1 (g) Example of the change of the function for calling scripts from control
Fig. 4.1.3.1 (h) Example of the change of argument specification method for functions
NOTE
1. When performing the conversion, square brackets of “Easy setting of macro
variable” are also converted to round brackets. An error occurs when making
the MEM file, so please correct them with square brackets.
2. Since the arguments of only FP function “str_keyinput” are specified in the
form of “(Argument 1_Argument 2)”, changing from “,”(comma) to “_” manually
is needed after the conversion.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 213/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
When script conversion is performed, the conversion confirmation dialog box appears.
The following conversion processing is performed for the FP scripts selected in the conversion confirmation
dialog box.
- The FP script syntaxes are changed.
- A mark is added to GOTO statements and labels.
- The extension is changed to "rb" when the conversion is completed.
- The debug information is deleted.
NOTE
Conversion from FP script to Ruby script is only to help creation.Therefore,
please confirm the contents after conversion and confirm the operation.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 214/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 4.1.3.2 (b) Dialog box display timing and relations between each operation
Display timing Title OK processing Cancellation processing Displayed list
When an old FP Converted to When you select scripts Starts FANUC PICTURE All the FP scripts
project is opened Ruby script and click [OK], the script without converting the registered in the old
files will be converted. scripts. FP project
When no scripts are If clicked during the
selected, you cannot click conversion, the conversion
[OK]. is stopped and the scripts
are restored to the state
before conversion.
When you select Returns to the original All the FP scripts
[Convert to Ruby screen without performing registered in the
script...] the conversion. new FP project
If clicked during the
conversion, the conversion
is stopped and the scripts
are restored to the state
before conversion.
When the conversion is successfully completed, the following dialog box appears.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 215/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
If the conversion fails, the following dialog box appears. The conversion processing is stopped and the same
processing as the cancellation processing is performed.
Fig. 4.1.3.2 (d) Example of the changes from a FP script to a Ruby script
In the conversion processing from an FP script to a Ruby script, there are "syntaxes not requiring conversion"
and "syntaxes requiring conversion."
The syntaxes not requiring conversion are as follows.
(1) Those that have the same meaning in FP scripts and Ruby scripts
(2) Those that are unique to FP scripts but can be used in Ruby scripts without modification
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 216/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
(4) Those that are written differently but have the same meaning in FP scripts and Ruby scripts
(5) Those that have a different meaning in Ruby scripts when written in the description method for FP scripts
(6) Those that are not necessary in Ruby scripts
For (1), operators, etc., fall under this category. Conversion processing is not performed for these syntaxes.
Fig. 4.1.3.2 (e) Example in which the same syntax can be used in FP scripts and Ruby scripts (operator)
Table 4.1.3.2 (c) Syntaxes that can be used without modification in FP scripts and Ruby scripts
Category 1 Category 2 Syntax Description
Operators Arithmetic operators + Addition
- Subtraction
* Multiplication
/ Division
% Remainder of division
= Assignment operator
Comparison operator && Logical AND
|| Logical OR
! Logical NOT
> Less than
< Greater than
<= Less than or equal to
>= Greater than or equal to
!= Not equal to
== Equal to
Bitwise operator << Bit shift right
>> Bit shift left
| Bitwise OR
& Bitwise AND
^ Exclusive OR
Operator command () Operator command
Numerical Decimal numbers NN Decimal numerical value
values Hexadecimal number 0xNN Hexadecimal numerical value
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 217/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
0 Numbers at the beginning are treated as decimal numbers in FP Script, but in
Ruby Script it is treated as octal numbers. Please note that automatic conversion
can not be done on this point.
For example:
If it is described as 0101, it becomes decimal number 101 in FP Script, but in
Ruby Script it becomes 101 of octal number, and when converted to decimal
number it becomes 65.
For (2), symbol variables, etc., fall under this category. Conversion processing is not performed for these
syntaxes.
Fig. 4.1.3.2 (f) Example of syntaxes that are unique to FP scripts but can be used in Ruby scripts without
modification (symbol variable)
Variables and constants that fall under this category are as follows.
Table 4.1.3.2 (d) Syntaxes that are unique to FP scripts but can be used in Ruby scripts without modification
Category 1 Category 2 Syntax Meaning
Variables/constants Symbol variables :temp: Symbol variables
Input variables INPUT_BVAL Byte type input variable
INPUT_WVAL Word type input variable
INPUT_LVAL Long type input variable
INPUT_UBVAL Unsigned byte type input variable
INPUT_UWVAL Unsigned word type input variable
INPUT_ULVAL Unsigned long type input variable
INPUT_DVAL Floating point type input variable
READ_VAL Long type input variable
(Only from line graph control)
Variables/constants Display variables DISP_VAL Floating point type display variable
Argument reference ARG[0~4] Signed
variables long type argument reference variable
Constants for PI The ratio of the circumference of a circle
arithmetic operation to its diameter
NAN Not-a-number (used in association with
FP functions)
HUGE_VAL Variable displayed when an overflow
occurs (used in association with FP
functions)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 218/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
For (3), "macro variables" and "function call" fall under this category. The conversion processing is performed,
and the syntaxes are replaced by the applicable syntaxes.
Although custom macro variables and program macro variables were specified by "#..." in FP scripts, they are
specified by comments in Ruby scripts; therefore, they are converted. After the conversion, they are specified by
"#[...]".
As the method to pass arguments for calling functions, they were specified in the form of "[Argument 1_
Argument 2_ Argument 3]" in FP functions. However, after the conversion processing, they are specified in the
form of "Argument 1, Argument 2, Argument 3" according to the Ruby script description rules.
Fig. 4.1.3.2 (g) Example in which a syntax unique to FP scripts requires conversion before being used in Ruby
scripts (function call)
Table 4.1.3.2 (e) Syntaxes unique to FP scripts requiring conversion before being used in a Ruby script
Syntax Before conversion After conversion
Macro variable #[100], #100 #[100]
FP function wdpmc[9_500_0] wdpmc(9,500,0)
User function usr_pmc[3_101_2] usr_pmc(3,101,2)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 219/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
In FP script, even wrong descriptions that enclose arguments of FP function and
user function in parentheses, sometimes worked correctly. However, conversion
is not done normally because it is not in the correct format.
For (4), comment statements, etc., fall under this category. The conversion processing is performed, and the
syntaxes are replaced by the applicable syntaxes.
Fig. 4.1.3.2 (h) Example of syntaxes that are written differently but have the same meaning in FP scripts and Ruby
scripts
Table 4.1.3.2 (f) Syntaxes that are written differently but have the same meaning in FP scripts and Ruby scripts
Syntax Before conversion After conversion
Comment // #
Return command RETURN return
If statement if(decision statement 1){ if(decision statement 1) then
Processing statement 1 Processing statement 1
}else if(decision statement 2){ elsif(decision statement 2) then
Processing statement 2 Processing statement 2
}else{ else
Processing statement 3 Processing statement 3
} end
NOTE
Ruby script error might occur due to the way of using “return” in ruby script. Please refer
to “4.1.10 Return Execution” for details.
For (5), temporary variables fall under this category. The conversion processing is performed, and the syntaxes
are replaced by those that perform the same processing.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 220/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Fig. 4.1.3.2 (i) Example of syntaxes that have a different meaning in Ruby scripts when written in the description
method for FP scripts (temporary variables)
Table 4.1.3.2 (g) Syntaxes that have a different meaning in Ruby scripts when written in the description method for
FP scripts
Syntax Before conversion After conversion
Byte type temporary variable BVAL[0~9] BVAL0,BVAL2,,BVAL9
Word type temporary variable WVAL[0~9] WVAL0,WVAL2,,WVAL9
Long type temporary variable LVAL[0~9] LVAL0,LVAL2,,LVAL9
Unsigned byte type temporary variable UBVAL[0~9] UBVAL0,UBVAL2,,UBVAL9
Unsigned word type temporary variable UWVAL[0~9] UWVAL0,UWVAL2,,UWVAL9
Unsigned long type temporary variable ULVAL[0~9] ULVAL0,ULVAL2,,ULVAL9
* ".to_f" is added to the right side.
Floating point type temporary variable DVAL[0~9] DVAL0,DVAL2,,DVAL9
* ".to_f" is added to the right side.
For (6), the semicolons at the end of lines fall under this category. They are removed in Ruby scripts as they are
not necessary.
If two or more statements are described on one line, the semicolon between them is not deleted.
Fig. 4.1.3.2 (j) Example of syntaxes that are unnecessary in Ruby scripts (semicolon at the end of a line)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 221/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Fig. 4.1.3.2 (k) Example in which replacement is impossible and a mark is added (jump command)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 222/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
The syntax check function is provided as a tool to help with the development of Ruby scripts.
For the timing and target files of syntax check, refer to "Table 4.1.4 (a) Timing of syntax check and files
targeted by it."
If no errors are found as a result of the syntax check, the syntax check result OK dialog box appears. ("Fig. 4.1.4
(a) Ruby script syntax check result OK dialog box")
If any errors are found as a result of the syntax check, the syntax check result error dialog box appears. ("Fig.
4.1.4 (b) Ruby script syntax check result error dialog box")
Fig. 4.1.4 (a) Ruby script syntax check result OK dialog box
Fig. 4.1.4 (b) Ruby script syntax check result error dialog
If you select "Yes" in the syntax check result error dialog box, the error log file appears in a separate window.
To perform a syntax check from the Script Editor, select [Check syntax...] from the Script Editor menu.
For the content of the syntax check, refer to "4.1.4.2 Content of the Syntax Check."
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 223/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
All the buttons on the Script Editor are disabled while the syntax check is being executed.
(For the Script Editor, refer to "4.1.2 Enhancement of Script Editor Functions.")
The following are examples of cases in which a syntax check error occurs.
- A closing bracket is missing or an if statement is not closed.
- The string specified in a here document is not described.
- A double-byte space is in a portion other than a comment.
- Four or more symbols (@, =, etc.) appear consecutively.
- A variable name starts with a number.
NOTE
The following content will not cause a syntax check error due to the specification
of Ruby.
- An unknown function is described.
- A new line is started in the middle of a function name or variable name.
- The number of arguments of a function definition is incorrect.
For the syntaxes of Ruby scripts, refer to the references, etc. for Ruby scripts.
With the addition of Ruby scripts, certain symbols can no longer be used in a PMC symbol name or constant
symbol name.
If use the symbol with unavailable characters in script, error occurs when making the mem file.
For unavailable characters, refer to “Table 4.1.5 (a) Symbol name specifications (Script)”.
There are available characters for symbol in function of controls even in unavailable characters for symbol in
scripts.
For available characters for symbol in function of controls, Refer to ”Table 4.1.5(b) Symbol name
specifications(Control)”.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 224/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
You can create the MEM file by selecting [OK] in the MEM file creation dialog.
Select [OK].
Error check
MEM file creation processing
MEM file
If an FP function listed in "Table 4.1.6 (a) List of FP functions that cannot be used in a timed script" is used in a
timed script, an error log will be output.
The MEM file creation failure dialog box appears. Select [Yes] to display the error log content.
Table 4.1.6 (a) List of FP functions that cannot be used in a timed script
Function name Description
rdproginfo Reads the program information
skip Reads the skip position of a controlled axis
srvdelay Reads the servo delay amount of a controlled axis
accdecdly Reads the acceleration/deceleration delay amount for a controlled axis
statinfo Reads CNC status information
rdtofs Reads tool offset amount
rdzofs Reads work zero offset
rdparam Reads parameter
rdset Reads setting parameter
rdpitchr Reads pitch error compensation data
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 225/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 226/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 227/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
The same debug function as that for the FP script is provided in Ruby script as a tool to help with script
development.
In this subsection, only the differences from the debugging function of FP script are described.
When debugging Ruby scripts, select "Specified steps of specified scripts" for "Break occurs at:" and set the
breakpoints and break conditions.
If you select "First and last step of all scripts" or "All steps of all scripts," debugging of Ruby scripts cannot be
performed. For FP scripts, debugging can be performed with any break type settings, as before.
In the [Debug settings] dialog box, you can set breakpoints in Ruby scripts, as well as in FP scripts.
For the [Debug settings] dialog box, refer to "Fig. 4.1.7.2 (a) [Debug settings] dialog box (scripts other than
timed scripts)" and "Fig. 4.1.7.2 (b) [Debug settings] dialog box (timed scripts)."
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 228/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Fig. 4.1.7.2 (a) [Debug settings] dialog box (scripts other than timed scripts)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 229/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 4.1.7.2 (a) Changes made to the [Debug setting] dialog box
Location Before change After change
- The display also includes Ruby scripts and
- FP scripts are displayed in order of
Contents of the script list displays them in order of script number.
script number.
(Refer to "Contents of Script List."
Display contents of the - All the scripts registered as timed scripts in the
- All the FP scripts with script numbers
script list on the [Timed Script List are displayed.
900 to 999 are displayed.
script] tab (Refer to "Contents of Script List."
- FP script: Set by the step address
Setting breakpoints - Set by the step address. - Ruby script: Set by the line number
(Refer to "Breakpoint setting.")
- The contents set in Ruby scripts are also
displayed.
- The contents set in FP scripts are - The Display Variable field has been added.
Contents of the debug list
displayed. This field is blank for FP scripts as display variables
cannot be set for FP scripts.
(Refer to "Contents of the debug list.")
[Debug operation signal] - Only WORD type and DWORD type symbols
- All registered symbols are displayed.
combo box on the [Script are displayed.
- Editable.
called from object] tab - Not editable.
[Debug operation signal]
- All registered symbols are displayed. - Only WORD type symbols are displayed.
combo box on the [Timed
- Editable. - Not editable.
script] tab
Settings for [Variable - The font used for displaying temporary variables
(No setting item)
display language setting] can be set by each multi-language key.
[Debug setting file - All registered symbols are displayed. - Only WORD type symbols are displayed.
operation] combo box - Editable. - Not editable.
Contents of the script list
Ruby scripts are displayed in addition to FP scripts.
Scripts are displayed in order of script number, as in the case of the Script List dialog box.
On the [Timed script] tab, all the scripts registered as timed scripts are displayed in the script list.
Setting breakpoints
In FP scripts, breakpoints are set by the step addresses. In Ruby scripts, they are set by line numbers including
comment lines and blank lines.
NOTE
Breaks do not occur if a comment line or blank line is specified as a breakpoint.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 230/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Debug operation signal / Debug setting file operation signal combo box
In the [Debug operation signal]/[Debug setting file operation signal] combo box, where all the symbols
registered in FP Script, only WORD type symbols are displayed in Ruby Script.
DWORD type symbols are also displayed only in the [Debug operation signal] combo box, which is displayed
when the [Script called from object] tab is selected.
These combo boxes cannot be edited.
Changes made to the debug screen for Ruby scripts depending on the debug
operation signal setting
When performing step execution when debugging Ruby scripts, create the debug setting file by setting a
DWORD type symbol for the debug operation signal.
When using this debug setting file, the [STEP] button appears in the debug window when debugging Ruby
scripts.
For information on the debug window, refer to "Debug Window and Log Output ."
For detailed information on the debug operation signal, refer to "4.1.7.5 Extension of the Debug Signal."
When breakpoints in Ruby scripts are enabled and a WORD type symbol is set as the debug operation signal, a
warning appears when [Output debug setting file...] is selected in the [Debug setting] dialog box.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 231/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 4.1.7.2 (b) Output content of the new warning displayed at the time of debug setting file output
Warning message Output timing How to cancel the Target script
warning
Ruby script STEP execution When the break Set a DWORD type Only for Ruby
cannot be performed points in the Ruby symbol as the debug scripts
because the debug script set as the operation signal.
operation signal symbol in script called from
the script called from object object are enabled
is WORD. and a WORD type
symbol is set as the
debug operation
signal.
To set the break conditions, double-click the target line of the step list of the break list in the [Debug settings]
dialog box to display the [Break detail settings] dialog box.
The script type is displayed in the title of this dialog box.
For Ruby scripts, temporary variables to be output during the debug execution can be specified in addition to the
break conditions.
Fig. 4.1.7.3 (a) [Break detail settings] dialog box (Ruby script)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 232/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 4.1.7.3 (a) Changes made to the [Break detail settings] dialog box
Location FP script Ruby script
Specification of [Condition of
Specify inside the ( ) separated by commas.
arguments]
[Debug target enable signal] Only BOOL type symbols are displayed.
combo box Not editable.
Up to 10 variables to be output by the CNC
Specification of temporary Cannot be specified (same as the previous
can be specified.
variables ([Display variable]) dialog box).
*It is not required to specify these variables.
Fig. 4.1.7.3 (b) The debug setting file output error dialog boxes
Debug window
When the specified break conditions are satisfied, the debug window is displayed if the log file output signal is
0 and the debug target is something other than timer scripts.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 233/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Fig. 4.1.7.4 (a) Debug window in the "Small(14inch)" font (extension signal ON)
Fig. 4.1.7.4 (b) Debug window in the "Small(14inch)" font (extension signal OFF)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 234/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Fig. 4.1.7.4 (c) Debug window in the "Big(9inch)" font (extension signal ON) - Page 1
Fig. 4.1.7.4 (d) Debug window in the "Big(9inch)" font (extension signal ON) - Page 2
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 235/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Fig. 4.1.7.4 (e) Debug window in the "Big(9inch)" font (extension signal OFF) - Page 1
Fig. 4.1.7.4 (f) Debug window in the "Big(9inch)" font (extension signal OFF) - Page 2
Table 4.1.7.4 (a) List of differences between the debug window contents
Displayed content FP script Ruby script
Item name at the beginning FPS# RBS#
Execution history or Line number 65535 is displayed for the debug information after
step address
breakpoints execution of the last line.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 236/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 237/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
The output of the log file is the same as the content displayed in the "Small(14inch)" font.
Unicode is used as the character code.
Table 4.1.7.4 (b) Types and log file names for Ruby scripts
Script type Log file name (*)
FP script: FPSxxx.nnn
Other than timer scripts
Ruby script: RBSxxx.nnn
FP script: TFPSxxx.nnn
Timer scripts
Ruby script: TRBSxxx.nnn
xxx: Script number
nnn: The extension is a three-digit serial number combining numbers starting from 000 and alphabetical
letters.
Each time the break condition is satisfied, a separate log file is output.
When a file with the same name already exists or the log file could not be output to the memory card, the
information of the first line of the first three items (FPS#... or RBS#…) is retained without outputting the file,
and the debug processing is continued.
When using the extension signal for the debug operation signal, the debug operation signal is extended to the
DWORD type.
The content of the extended range is as follows.
No change has been made to the content of the first and second byte of the debug operation signal.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 238/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
#7 #6 #5 #4 #3 #2 #1 #0
3rd byte STEP
(Input signal) -
Upper stage: Signal for the screen display scripts
Lower stage: Signal for timer-activated scripts
The following changes were made to the [Create project] and [Open project] menu items.
Extension
The new FP Editor supports the following extensions.
Open error
If an attempt is made to use FP Editor to open an unsupported project, an open error occurs and the following
dialog is shown. In this case, the project cannot be opened.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 239/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
- Formats for FP function symbols are shown below. If the format is not followed, an error occurs.
Table 4.1.9 (a) FP Function Symbol Formats for the New FANUC PICTURE
Location used Symbol format Example Value format Example value
symbol
FP script End it with “[“ TEST[ - Only one “[“ exists rdpmc[5_100_
- Arguments are separated with ”_”
Ruby script End it with “(“ TEST( - Only one “(“ exists rdpmc(5,100,
control action - Arguments are separated with ”,”
- If an FP function symbol is already registered at the time of project conversion, the FP function symbol is
additionally registered in the format for Ruby script control action.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 240/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
FP function for reading and writing character strings and character string variables
In Ruby scripts, FP functions (rdstr, wrstr) for reading and writing character strings and character string
variables (SVAL0 to SVAL9) can be used.
This allows character strings stored in the PMC area, P-CODE variable, or key-in buffer to be read with Ruby
scripts by using the FP function for reading character strings (rdstr). Once the character strings are edited within
the Ruby script, the character string can be stored in the PMC area, P-CODE variable, or key-in buffer again by
using the FP function for writing character strings (wrstr). Additionally, edited character strings can be
displayed in the numerical value character string display control.
There were no changes to the function specifications for the FP functions for reading and writing character
strings. For details, refer to FANUC PICTURE MANUAL (Edition 06.2 to less than 08.0)(A-40712).
The following syntaxes can be used in Ruby scripts using the FP functions for reading and writing character
strings and character string variables.
Syntaxes that are normally supported in Ruby script but that return an error (there is code that cannot be used in
the program) when creating MEM in Ruby script using the FP functions for reading and writing character
strings and character string variables, and response examples are shown below.
Table4.1.9 (c) Examples of Ruby Script Syntaxes that Return a Script Error
Syntax Description Examples of responses to errors
SVAL0 += "123" Write the script by omitting the "store the Do not omit this part.
character string resulting from adding "123" SVAL0 = SVAL0 + "123"
to the current content of the character string
variable SVAL0 in SVAL0."
DISP_VAL = temp.to_s + "123" Store the character string resulting from Store temp.to_s + "123" in SVAL1
adding "123" to the content stored in the and store SVAL1 in DISP_VAL.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 241/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
If a character string-type temporary variable other than character string variables SVAL0
to 9 is stored in DISP_VAL, an error is returned when the script is executed.
Syntax example)
temp=”123”
DISP_VAL=temp
Character string variables are SVAL0 to SVAL9 in Ruby script. If they were described as SVAL[0] to SVAL[9]
in an FP script, they are converted to SVAL0 to SVAL9.
NOTE
SVAL0 to SVAL9 are reserved words indicating "character string variables." Therefore,
they cannot be used in Ruby scripts as constants.
Normally, Ruby scripts can handle character strings. SVAL0 to 9 exist so that compatibility with FP script
syntaxes is maintained when conversion to a Ruby script is performed. For Ruby scripts, we recommend the
following usage when reflecting character strings in the control using the FP functions for reading or writing
character strings (rdstr, wrstr).
[Examples of use in Ruby script]
Overview: Periodically reflect the character string written in the PMC in the label control caption.
1 Place the label control "FPLabel1" on the screen. The screen on which it was placed is screen 1.
2 Create a script to read the character string from the key-in buffer control, save it in the PMC, and register it
to start from button control.
Syntax example)
wrstr(105, 1000, 0, 50, 400, 99, 0) # Read characters from key-in buffer and write 50 bytes from R1000
3 Read the character string saved in the PMC, create a script to change the label control caption, and register
it as a startup script so that it starts up periodically as a timer-activated script.
Syntax example)
str = rdstr(105, 1000, 0, 50, 99, 0) # Read 50 bytes from R1000 to variable str.
FpSetProperty(1, "FPLabel1", SET_ONCAPTION, str, 0) # Change the caption for "FPLabel1" on screen
1 to the content of the variable str
NOTE
The way of handling the line feed code and the character code that can be used are the
same as in FANUC PICTURE MANUAL (Edition 06.2 to less than 08.0)(A-40712) Chapter
24 "Function for handling the string in FP script".
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 242/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
4.1.10 Remarks
Devide by zero
In ruby script, division by zero causes a system alarm or application error. Please be careful.
Return Execution
In ruby script, the script execution error occurs if “return” is executed without being functionalized and so on.
Please consider one of the following measures when you use “return”.
A) Functionalization (converting to submethod)
B) Replacing “return” with “break”
# writing R1100
wrpmc(5,1000,2,ret)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 243/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Measures]
A) Functionalization (converting to submethod)
# functionalization (converting to submethod)
def dataProc
# reading R1000
ret = rdpmc(5,1000,2)
# writing R1100
wrpmc(5,1000,2,ret)
end
# main
dataProc()
# reading R1000
ret = rdpmc(5,1000,2)
# checking value
if( ret == 0 ) then
break
end
# writing R1100
wrpmc(5,1000,2,ret)
end
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 244/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Refer to the following list of functions to find out whether or not an FP function can be used in a Ruby script.
NOTE
1 For function specifications and compatible models, see "FANUC PICTURE
OPERATOR'S MANUAL (B-66284EN_09.pdf)."
2 If an error occurs in the function call from a Ruby script, a pop-up is not displayed within
the function, but the information about the error is returned with the return value of the
function. When creating a Ruby script, implement the error handling based on the return
value of the function.
Control
Startup
Timer
script
script
script
script
Event
script
script
Ruby
FP
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 245/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Control
Startup
Timer
script
script
script
script
Event
script
script
Ruby
FP
16. rdtofs Reads tool offset amount ×
17. rdzofs Reads work zero offset ×
18. rdparam Reads parameter ×
19. rdset Reads setting parameter ×
20. rdpitchr Reads pitch error compensation data ×
21. diagnoss Reads diagnostics data ×
22. adcnv Reads A/D conversion data
23. rdgrpid Reads tool life management data (tool ×
group number)
24. rdngrp Reads tool life management data ×
(number of tool groups)
25. rdntool Reads tool life management data ×
(number of tools)
26. rdlife Reads tool life management data (tool life) ×
27. rdcount Reads tool life management data (tool ×
life counter)
28. rd1length Reads tool life management data (tool ×
length compensation number 1)
29. rd2length Reads tool life management data (tool ×
length compensation number 2)
30. rd1radius Reads tool life management data (tool ×
radius compensation number 1)
31. rd2radius Reads tool life management data (tool ×
radius compensation number 2)
32. t1info Reads tool life management data (tool ×
information 1)
33. t2info Reads tool life management data (tool ×
information 2)
34. toolnum Reads tool life management data (tool ×
number)
35. setpath Writes path index (multi-path system) ×
36. rdpmacro Reads P-CODE variable × × × × × ×
37. wrpmacro Writes P-CODE variable × × × × × ×
38. loadtorq Reads abnormal load torque (estimated
load torque) data
39. getpath Reads path index (multi-path system) ×
40. wrtofs Writes tool offset amount ×
41. wrset Writes setting parameter ×
42. rdmacro Reads custom macro variable × × × × × ×
43. wrmacro Writes custom macro variable × × × × × ×
44. rdmodal Reads modal data ×
45. rdopmsg Reads operator's message × ×
46. rdprgdir Reads program directory × ×
47. progdel Deletes specified program ×
48. progsrch Searches specified program ×
49. rdexecprog Reads the program being executed × ×
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 246/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Control
Startup
Timer
script
script
script
script
Event
script
script
Ruby
FP
50. rdncstats Reads CNC status information (2) ×
51. rdmemsize Reads D-RAM memory usage ×
52. GetDrvVersion Reads FP driver version ×
53. idrdtofs2 Reads tool offset amount (specified × × × × × ×
indirectly)
54. idwrtofs Writes tool offset amount (specified × × × × × ×
indirectly)
55. idrdmac Reads custom macro variable × × × × × ×
(specified indirectly)
56. idwrmac Writes custom macro variable × × × × × ×
(specified indirectly)
57. idprogdel Deletes specified program (specified × × × × × ×
indirectly)
58. idprogsrch Searches specified program (specified × × × × × ×
indirectly)
59. idrdset2 Reads setting parameter (specified × × × × × ×
indirectly)
60. idwrset Writes setting parameter (specified × × × × × ×
indirectly)
61. idrdpmac2 Reads P-CODE variable (specified × × × × × ×
indirectly)
62. idwrpmac2 Writes P-CODE variable (specified × × × × × ×
indirectly)
63. absolute2 Reads the absolute position of a ×
controlled axis (type 2)
64. relative2 Reads the relative position of a ×
controlled axis (type 2)
65. settimer Presets the calendar/clock × × ×
66. rdalminfo Reads the CNC alarm × ×
67. msghis Reads the history message display data ×
68. rdprgdir2 Reads program directory (2) × ×
69. setrdprgtop Increments/decrements the rdprgdir2 × × ×
display pointer
70. copyval Copies the variable data × × × × × ×
71. movrlap Reads manual overlapped motion value ×
72. rdopmsg2 Reads operator's message (2) × ×
73. setproperty Reads/sets the control property ×
74. GetFPinfo Reads the FANUC PICTURE edition ×
75. swscreen Switches the screen × ×
76. rdcursor Reads the cursor number × ×
77. wrcursor Writes the cursor number × × ×
78. acts2 Reads actual spindle speed (S) (2)
79. actf3 Reads the actual feed rate (F) of a × × ×
controlled axis (3)
80. absolute3 Reads the absolute position of a × × ×
controlled axis (type 3)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 247/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Control
Startup
Timer
script
script
script
script
Event
script
script
Ruby
FP
81. machine3 Reads the machine position of a × × ×
controlled axis (type 3)
82. relative3 Reads the relative position of a × × ×
controlled axis (type 3)
83. distance3 Reads the distance-yet-to-go of a × × ×
controlled axis (type 3)
84. skip3 Reads the skip position of a controlled × × ×
axis (type 3)
85. srvdelay3 Reads the servo delay amount of a × × ×
controlled axis (type 3)
86. accdecdly3 Reads the acceleration/deceleration × × ×
delay amount for a controlled axis (type 3)
87. rdtofs3 Reads tool offset amount (type 3) × × ×
88. rdzofs3 Reads work zero offset (type 3) × × ×
89. movrlap3 Reads manual overlapped motion value × × ×
(type 3)
90. swpath Switches the CNC/PMC path
91. rdspload Reads information about the load on
the serial spindle
92. fetchtool Fetches the tool management data
93. rdtool Reads the tool management data
94. unfetchtool Releases the tool management data
95. wrtool Writes the tool management data ×
96. deltool Deletes the tool management data ×
97. scroll Scrolls the message ×
98. chgtxtmsg Inputs/outputs text messages ×
99. wrparam Writes parameters ×
Control
Startup
Timer
script
script
script
script
Event
script
script
Ruby
FP
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 248/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Control
Startup
Timer
script
script
script
script
Event
script
script
Ruby
FP
9. rdpmcbr Reads the PMC arbitrary bit length ×
10. wrpmcbr Writes the PMC arbitrary bit length ×
Control
Startup
Timer
script
script
script
script
Event
script
script
Ruby
FP
1. idxrdval Reads the array type record variable data ×
2. idxrdvalb Reads the array type record variable bit data ×
3. idxwrval Writes the array type record variable data ×
4. idxwrvalb Writes the array type record variable bit data ×
5. idxmvval Copies the array type record variable data ×
6. idxwridx Writes the array index number ×
7. idxrdvalbr2 Reads the array type record variable ×
arbitrary bit data
8. idxwrvalbr2 Writes the array type record variable ×
arbitrary bit data
[Script-specific FP Functions]
Table4.2.1 (d) List of Script-specific FP Functions
No API name Description Script Script call
. usability
Control
Startup
Timer
script
script
script
script
Event
script
script
Ruby
FP
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 249/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Control
Startup
Timer
script
script
script
script
Event
script
script
Ruby
FP
16. exp Calculates an exponential function ×
17. fabs Calculates the absolute value of a ×
floating-point number
18. floor Discards decimal places ×
19. fmod Calculates the remainder of a ×
floating-point number
20. frexp_mantissa Reads the mantissa part of a ×
floating-point number
21. frexp_exponent Reads the exponent part of a ×
floating-point number
22. ldexp Calculates the product of 2 raised to a power ×
23. log Calculates the natural logarithm ×
24. log10 Calculates the common logarithm ×
25. modf_integer Reads the integer part of a floating-point ×
number
26. modf_decimal Reads the fractional part of a ×
floating-point number
27. pow Calculates the power ×
28. sin Calculates the sine ×
29. sinh Calculates the hyperbolic sine ×
30. sqrt Calculates the square root ×
31. tan Calculates the tangent ×
32. tanh Calculates the hyperbolic tangent ×
33. set_handler Executes the FP script after every
specified time period
34. remove_handler Remove the FP script number setting set
in set_handler
35. settenkeypos Changes the ten key display position ×
36. rdstr Function for reading strings
37. wrstr Function for writing strings
38. str_keyinput * Inputs keys × × × ×
39. sleep Stops tasks for a specific time period (msec)
* str_keyinput can only be used in FANUC PICTURE for iHMI version. For the function specification, refer to
"Section 1.3 ADDING THE FP FUNCTION" of "FANUC PICTURE for iHMI Virtual MDI/Machine
Operator’s Panel Template Specification (A-41700E)".
If specifying directly to control, use “_” as a delimiter of arguments instead of “,” (comma).
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 250/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Control
Startup
Timer
script
script
script
script
Event
script
script
Ruby
FP
1. MsgBoxShow Function for showing the message box ×
2. FpSetProperty Function for setting a property ×
3. FpGetProperty Function for reading a property (reading ×
Value numerical values)
4. FpGetProperty Function for reading a property (reading ×
Str strings)
5. LangCaption Reads strings corresponding to the ×
language set by the system
4.3.1 Overview
FP driver is equipped with mruby, which is under MIT license. Therefore, the "copyright notice and this license
display" for mruby must be shown to the user.
In the FANUC PICTURE, "copyright notice and this license display" can be displayed by default, but if "No
setting" is selected for the License Key Code, the license screen will not be displayed. In this case, "copyright
notice and this license display" for mruby must be performed separately to meet the conditions of the MIT
license.
4.3.2 Diagram
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 251/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 252/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
4.3.3 Operation
Selecting the license screen display key (set value) multiple times (set value) consecutively within 3 seconds
displays the license display screen.
The license screen will not be displayed while the message box is displayed.
NOTE
When switching to another screen while displaying the license display screen and
returning to the same custom screen again, whether the license display screen is
displayed or not is the same as switching to another screen while displaying the popup
screen. Refer to FANUC PICTURE Specification (Edition 06.2 to less than 08.0)
APPENDIX D, "Switching screens while displaying Popup screen" for more detail.
4.3.4 Properties
The setting for displaying the license display screen is described below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 253/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
1. If "No setting" is selected for the License Key Code, the license screen will not
be displayed. In this case, "copyright notice and this license display" for mruby
must be performed separately to meet the conditions of the MIT license.
2. The license screen size is nessesary to set the following size or larger if the
screen is displayed.
Width : 546 Height : 310
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 254/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
The following library functions can be used in Ruby script. The library function list is shown from the next
chapter.
NOTE
Ruby script error might occur if “Example” described in "5.3 FUNCTION REFERENCE"
including “return” is executed as it is. Please refer to "4.1.10 Return Execution" for details.
Event script
Start up
display
Control
script
script
iHMI
PMi-A
PMi-A
Non
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 255/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Timer script
Event script
Start up
display
Control
script
script
iHMI
PMi-A
PMi-A
Non
1.9 cnc_rdsrvtsa Reads servo data TSA × ×
Note
1.10 cnc_rdsrvtcmd Reads servo data TCMD × ×
Note
NOTE
Not available in Series 30i/31i/32i-A
Timer script
Event script
display
Start up
Control
script
script
iHMI
PMi-A
PMi-A
Non
cnc_vrfstart Starts output of NC program to be
2.1
compared.
2.2 cnc_verify Outputs NC program to be compared.
cnc_vrfend Stops output of NC program to be
2.3
compared.
2.4 cnc_seqsrch Searches for a sequence number.
cnc_rdpdf_drive Reads program storage drive
2.5
information.
2.6 cnc_rdpdf_inf Reads program storage file information.
2.7 cnc_rdpdf_curdir Reads current directory information.
2.8 cnc_wrpdf_curdir Sets current directory.
2.9 cnc_rdpdf_subdir Reads subdirectory information.
2.10 cnc_rdpdf_alldir Reads file list information.
2.11 cnc_pdf_add Creates a directory or file.
2.12 cnc_pdf_del Deletes a directory or file.
2.13 cnc_pdf_rename Renames a directory or file.
2.14 cnc_pdf_slctmain Selects the main program.
2.15 cnc_wrpdf_attr Changes attributes of a folder or file.
cnc_rdpdf_subdirn Gets the number of folders and files in
2.16
the specified directory.
2.17 cnc_pdf_rdmain Gets the main program information.
cnc_dwnstart4 Starts output of NC program to be
2.18
registered (4).
2.19 cnc_download4 Outputs NC program to be registered (4).
cnc_dwnend4 Stops output of NC program to be
2.20
registered (4).
2.21 cnc_upstart4 Starts reading NC program (4).
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 256/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Timer script
Event script
display
Start up
Control
script
script
iHMI
PMi-A
PMi-A
Non
2.22 cnc_upload4 Reads NC program (4).
2.23 cnc_upend4 Stops reading NC program (4).
cnc_exeprgname Reads name of the program being
2.24
executed.
cnc_exeprgname2 Reads name of the program being
2.25
executed (full path format).
2.26 cnc_wrmdiprog Writes the MDI program.
cnc_rdmdipntr Reads the execution pointer for MDI
2.27
operation.
cnc_wrmdipntr Writes the execution pointer for MDI
2.28
operation.
2.29 cnc_rdpdf_line Reads a program line by line.
2.30 cnc_wrpdf_line Writes a program line by line.
2.31 cnc_pdf_delline Deletes a program line by line.
2.32 cnc_pdf_rdactpt Gets the program execution pointer.
2.33 cnc_pdf_wractpt Sets the program execution pointer.
2.34 cnc_saveprog_start Starts saving the NC program.
2.35 cnc_saveprog_end Ends saving the NC program.
cnc_file_cpmv_st Start copying arbitrary files / folders
2.36 ×
art Note
cnc_file_cpmv_po Get the result of copying arbitrary files /
2.37 ×
ll folders Note
cnc_file_cpmv_en End of copying arbitrary files / folders
2.38 ×
d Note
cnc_file_cpmv_re Resume copying arbitrary files / folders
2.39 ×
start Note
NOTE
Not available in Series 30i/31i/32i-A
[List of functions related to CNC window library data files for NC]
O = available × = not available
No. API name Description Applicable Script call
equipment
Standard
Event script
Timer script
display
Start up
Control
script
script
iHMI
PMi-A
PMi-A
Non
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 257/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Event script
Timer script
display
Start up
Control
script
script
iHMI
PMi-A
PMi-A
Non
3.4 cnc_wrwkcdshft Writes workpiece coordinate system shift.
3.5 cnc_rdpitchinfo Reads pitch error compensation data
information
3.6 cnc_rdmacroinfo Reads custom macro variable
information.
3.7 cnc_rdparanum Reads the minimum parameter number,
maximum parameter number, and total
number of parameters.
3.8 cnc_rdsetnum Reads the minimum setting parameter
number, maximum setting parameter
number, and total number of setting
parameters.
3.9 cnc_rdtofsinfo2 Reads tool offset information (2).
[List of functions related to CNC window library tool life management data]
O = available × = not available
No. API name Description Applicable Script call
equipment
Standard
Timer script
Event script
display
Start up
Control
script
script
iHMI
PMi-A
PMi-A
Non
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 258/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Timer script
Event script
display
Start up
Control
script
script
iHMI
PMi-A
PMi-A
Non
data 1) (2).
cnc_wr2tlifedata Writes tool life management data (tool
4.10
data 2).
cnc_wrgrpinfo Writes tool life management data (tool
4.11
group information).
cnc_wrgrpinfo2 Writes tool life management data (tool
4.12
group information 2).
cnc_wrgrpinfo3 Writes tool life management data (tool
4.13
group information 3).
cnc_deltlifegrp Deletes tool life management data (tool
4.14
group information).
Timer script
Event script
Start up
display
Control
script
script
iHMI
PMi-A
PMi-A
Non
cnc_regtool_f2 Registers tool management data as a
5.1 new entry (when customization data
items 21 to 40 are used).
cnc_wrtool_f2 Writes tool management data (when
5.2 customization data items 21 to 40 are
used).
cnc_regmagazine Registers magazine management data
5.3
as a new entry.
5.4 cnc_delmagazine Deletes magazine management data.
5.5 cnc_rdmagazine Reads magazine management data.
cnc_wrmagazine Writes individual items in magazine
5.6
management data.
5.7 cnc_wrtoolgeom_tlm Writes tool geometry data. ×
5.8 cnc_rdtoolgeom_tlm Reads tool geometry data. ×
5.9 cnc_rdtlgeomsize_ext Reads the tool geometry size data. ×
cnc_wrtlgeomsize_ext Writes/Deletes the tool geometry size ×
5.10
data.
5.11 cnc_rdmag_property Reads the magazine property data. ×
5.12 cnc_wrmag_property Writes the magazine property data. ×
5.13 cnc_delmag_property Deletes the magazine property data. ×
5.14 cnc_rdpot_property Reads the pot property data. ×
5.15 cnc_wrpot_property Writes the pot property data. ×
5.16 cnc_delpot_property Deletes the pot property data. ×
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 259/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Timer script
Event script
Start up
display
Control
script
script
iHMI
PMi-A
PMi-A
Non
5.17 cnc_tool_move Moves the tool data. ×
cnc_btlfpotsrh Searches the free pot for the oversize ×
5.18
tool.
Control script
Timer script
Event script
display
Start up
script
iHMI
PMi-A
PMi-A
Non
6.1 cnc_stopophis Stops history data sampling.
6.2 cnc_startophis Resumes history data sampling.
cnc_rdophisno Reads the number of operation history
6.3
data items.
6.4 cnc_clearophis Clears history data.
cnc_rdalmhisno Reads the number of alarm history data
6.5
items.
cnc_rdomhisno Reads the number of external operator's
6.6
message history data items.
cnc_rdalmhisno3 Reading the number of alarm history
6.7
data items (3)
6.8 cnc_rdalmhistry4 Reading alarm history data (4)
cnc_rdomhistry2 Reading external operator’s message
6.9
history data (2)
Event script
display
Start up
Control
script
script
iHMI
PMi-A
PMi-A
Non
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 260/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Timer script
Event script
display
Start up
Control
script
script
iHMI
PMi-A
PMi-A
Non
7.6 cnc_dsremove Deletes a file.
cnc_rddsdevinfo Gets memory device information on the
7.7
data server.
7.8 cnc_dsrename Changes a folder name or file name.
7.9 cnc_dscopyfile Copies a file on the data server.
Timer script
Event script
display
Start up
Control
script
script
iHMI
PMi-A
PMi-A
Non
cnc_getfigure Reads the maximum number of
8.1 significant figures and the number of
decimal places.
cnc_rdsyssoft3 Reads the series and version of the
8.2
CNC system software (3).
8.3 cnc_rddiaginfo Reads the diagnostics data information.
Reads the minimum diagnostics data
cnc_rddiagnum number, maximum diagnostics data
8.4
number, and total number of diagnostics
data items.
cnc_rdsyshard Reads CNC hardware configuration
8.5
information.
8.6 cnc_sysinfo_ex Reads CNC system information (2).
8.7 cnc_rdalmmsg Reads all alarm messages at once.
8.8 cnc_getdtailerr Gets CNC error details.
8.9 cnc_statinfo2 Reads CNC status information (2).
8.10 cnc_rdcncid Reads the CNC identification number.
cnc_mcdp_create Creating a new program storage file
8.11 ×
(FANUCPRG.BIN) Note
cnc_mcdp_mount Program storage memory card
8.12 ×
installation recognition Note
cnc_mcdp_unmount Cancellation of program storage
8.13 ×
memory card installation recognition Note
cnc_mcdp_mountch Checking the recognition status of the
8.14 ×
k program storage memory card Note
8.15 cnc_rdope_lvl Acquiring the current operation level
8.16 cnc_prot_pswinp Setting/changing the operation level
8.17 cnc_prot_pswcan Changing the operation level to a level
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 261/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Timer script
Event script
display
Start up
Control
script
script
iHMI
PMi-A
PMi-A
Non
from 0 to 3
cnc_rdprt_lvl Acquiring the change protection
8.18 level/output protection level of each data
item
cnc_wrprt_lvl Changing the change protection
8.19 level/output protection level of each data
item
cnc_rdprt_data Acquiring the use permission information
8.20
of each data item
8.21 cnc_diagnosr Reads diagnostic data (range specified)
NOTE
Not available in Series 30i/31i/32i-A
Timer script
Event script
display
Start up
Control
script
script
iHMI
PMi-A
PMi-A
Non
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 262/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Timer script
Event script
display
Start up
Control
script
script
iHMI
PMi-A
PMi-A
Non
9.13 pmc_wrprmstart Starts writing parameters. ×
9.14 pmc_wrpmcparam Writes parameters. ×
9.15 pmc_wrprmend Ends writing parameters. ×
9.16 pmc_getdtailerr Gets PMC error details.
Timer script
Event script
display
Start up
Control
script
script
iHMI
PMi-A
PMi-A
Non
10.1 aux_file_mount Mounts memory card/USB memory. ×
10.2 aux_file_unmount Unmounts memory card/USB memory. ×
10.3 aux_file_memcinfo Gets memory card information. ×
10.4 aux_file_usbinfo Gets the state of the USB memory. ×
_dos_findfirst32 Finds the first file whose attributes ×
10.5 match the specified ones (supports up to
32 characters for file names).
_dos_findnext32 Finds the next file whose attributes ×
10.6 match the specified ones (supports up to
32 characters for file names).
Event script
Start up
display
Control
script
script
iHMI
PMi-A
PMi-A
Non
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 263/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Timer script
Event script
Start up
display
Control
script
script
iHMI
PMi-A
PMi-A
Non
communication buffer.
rs_buffer Tests or manipulates the
11.7
communication buffer.
rs_status Gets the status of the communication
11.8
line and buffer.
11.9 rs_wait Waits for a communication event.
Timer script
Event script
display
Start up
Control
script
script
iHMI
PMi-A
PMi-A
Non
12.1 aux_from_open Opens the specified F-ROM file. ×
12.2 aux_from_close Closes the F-ROM file. ×
12.3 aux_from_select Selects data in the F-ROM file. ×
12.4 aux_from_moveptr Moves the read pointer. ×
12.5 aux_from_read Reads data from the F-ROM file. ×
aux_from_getdir Reads directory information of a F-ROM ×
12.6
file.
12.7 aux_from_getinfo Reads F-ROM file information. ×
12.8 aux_from_getc Reads a character from the F-ROM file. ×
12.9 aux_from_gets Reads a line from the F-ROM file. ×
Event script
display
Start up
Control
script
script
iHMI
PMi-A
PMi-A
Non
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 264/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Timer script
Event script
display
Start up
Control
script
script
iHMI
PMi-A
PMi-A
Non
13.5 eth_get Receives data from the host. ×
eth_getclose Closes the communication line opened ×
13.6
in the reception mode.
13.7 eth_open_ftp Opens the FTP communication line. × ×
13.8 eth_put_ftp Transmits data to the host. × ×
13.9 eth_get_ftp Receives data from the host. × ×
13.10 eth_close_ftp Closes the FTP communication line. × ×
eth_rdparam Reads parameters for the Ethernet ×
13.11
function.
eth_wrparam Writes parameters for the Ethernet ×
13.12
function.
13.13 eth_rddsmode Reads the mode of the data server. ×
13.14 eth_wrdsmode Changes the mode of the data server. ×
eth_rdhost Reads the connection host number of ×
13.15
the Ethernet function.
eth_wrhost Sets the connection host number of the ×
13.16
Ethernet function.
13.17 eth_comopen Opens the communication line. ×
13.18 eth_comclose Closes the communication line. ×
13.19 eth_comsend Sends data. ×
13.20 eth_comrecv Receives data. ×
eth_comstatus Reads the status of the communication ×
13.21
line.
13.22 eth_put_ftp2 Transmits data to the host (2). × ×
13.23 eth_get_ftp2 Receives data from the host (2). × ×
Control
script
script
iHMI
PMi-A
PMi-A
Non
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 265/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Timer script
Event script
display
Start up
Control
script
script
iHMI
PMi-A
PMi-A
Non
14.9 ctime Converts the time to a string.
gmtime Converts the time to Greenwich mean
14.10
time.
14.11 localtime Converts the time to local time.
difftime Computes the difference between two
14.12
times.
Timer script
Event script
Start up
display
Control
script
script
iHMI
PMi-A
PMi-A
Non
_dos_findfirst Finds the first file whose attributes match ×
15.1
the specified ones.
_dos_findnext Finds the next file whose attributes ×
15.2
match the specified ones.
15.3 findfirstfile Finds the specified file. × ×
findnextfile Finds the next instance of the specified × ×
15.4
file.
15.5 findclose Closes the handle for finding files. × ×
15.6 _dos_getdiskfree Acquires disk information. ×
15.7 getdiskfree Acquires disk information. × ×
15.8 _chdrive Changes the current drive.
15.9 _getdrive Acquires the current drive.
15.10 chdir Changes the current directory.
15.11 getcwd Acquires the current directory.
cabs Calculates the absolute value of a
15.12
complex number.
hypot Calculates the square root of the sum of
15.13
two squares.
15.14 close Closes a file.
15.15 creat Creates a file.
lseek Moves the file pointer to a specified
15.16
position.
15.17 mkdir Creates a new directory.
15.18 open Opens a file.
15.19 read Reads data from a file.
15.20 rmdir Deletes a directory.
tell Acquires the current position of the file
15.21
pointer.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 266/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Timer script
Event script
Start up
display
Control
script
script
iHMI
PMi-A
PMi-A
Non
15.22 write Writes data to a file.
Timer script
Event script
Start up
display
Control
script
script
iHMI
PMi-A
PMi-A
Non
16.1 StatusDisplay Display iHMI common status. × ×
16.2 ScreenLock Lock / Unlock the screen switch × ×
16.3 ExecuteApp Execute the iHMI application × ×
Start up
Control
display
script
script
script
script
Timer
Event
iHMI
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 267/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Standard
Start up
Control
display
script
script
script
script
Timer
Event
iHMI
length Returns the number of
7. members of the
structure.
to_a It returns the value of
8. the member of the
structure in an array.
values It returns the value of
9. the member of the
structure in an array.
to_h Returns the member
10. name and value pair as
Hash.
values_at Return an array of the
value of the member
11.
specified by the
argument.
each Repeat for each
12. member of the
structure.
each_pair Repeat execution of
block with argument of
13. member name and
value pair of structure
as argument.
select Get elements that
14. match the condition
expression
inspect Returns the contents of
15. the structure as a
human-readable string
16. mruby-numeric-ex chr Retrieve the first letter.
t div Arithmetic operator.
17.
Returns the quotient.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 268/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
CAUTION
1 Use sufficient care when you write NC data which can influence how the machine
works. There is a possibility that the NC may run with settings from the wrong NC
data. In this case, it may cause unexpected machine behavior, and tools,
machines or workpieces may be damaged.
You have to make sure that writing the NC data is safe and correct when doing so
as it can influence how the machine works.
The NC data that can influence how the machine works is as follows. It may not
all be listed below after new applications or functions are released.
4 Make no guarantees about return values and retrieved data when execute not
available functions.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 269/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 270/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 271/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
cnc_rddynamic
[Syntax with arguments]
cnc_rddynamic(axis)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (2) Value to be stored in the return value of the cnc_rddynamic function
Element Type Description
1st element Numerical value Return value of the function
EW_OK
Normal termination
EW_LENGTH
Data block length error
EW_ATTRIB
A value other than values from 1 to the maximum controlled axis
number or -1 has been specified for the axis number.
2nd element Array of 8 Dynamic data that has been read
elements For details on the value, refer to the following table "Values to be stored
in read dynamic data."
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 272/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (4) Values to be stored in the coordinate information (for each data type)
Element Type Meaning
1st Array of m elements Coordinate information (absolute coordinates)
element (1) For each axis: m = 1 For details on the value, refer to the
(2) For all axes as axis number: m = Maximum following table "Values to be stored in the
axis number coordinate information."
(Data for the current controlled axes is
valid.)
2nd Array of m elements Coordinate information (machine coordinates)
element
3rd Array of m elements Coordinate information (relative coordinates)
element
4th Array of m elements Coordinate information (distance to go)
element
The image of the return value that will actually be returned is as follows.
(1) When 1 is specified for the axis number (For each axis)
[
0, # Return value of the function (0 = EW_OK)
[ # Dynamic data that has been read
1, # Axis number
0, # Alarm status
0, # Number of the program being executed
3, # Program number of the main program
0, # Sequence number
0, # Actual feed rate
0, # Actual spindle speed
[ # Coordinate information (for each data type)
[-2182005], # Coordinate information (absolute coordinates,
coordinates where the number of elements is 1)
[0], # Coordinate information (machine coordinates, same as
above)
[0], # Coordinate information (relative coordinates, same as
above)
[0] # Coordinate information (distance to go, same as above)
]
]
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 273/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
]
(2) When -1 is specified for the axis number (For all axes as axis number)
[
0, # Return value of the function (0 = EW_OK)
[ # Dynamic data that has been read
-1, # Axis number
0, # Alarm status
0, # Number of the program being executed
3, # Program number of the main program
0, # Sequence number
0, # Actual feed rate
0, # Actual spindle speed
[ # Coordinate information (for each data type)
[-2182005, 3233365, 1232230, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ..., 0],
# Coordinate information (absolute coordinates,
coordinates of the number of elements = maximum
number of controlled axes)
# (Data for the current controlled axes is valid.)
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ..., 0],
# Coordinate information (machine coordinates, same as
above)
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ..., 0],
# Coordinate information (relative coordinates, same as
above)
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ..., 0]
# Coordinate information (distance to go, same as above)
]
]
]
[Description]
Reads different kinds of data that changes with the operation of the NC program at the same time.
This function is used for getting data to display the current position screen or the monitoring screen, etc.
Relationship between read dynamic data and the functions used for reading individually is as follows.
Table 5.3 (6) Relationship between read dynamic data and the functions used for reading individually
Data Function used for reading individually
Axis number None
Alarm status alarm
Number of the program being executed rdprgnum
Program number of the main program rdprgnum
Sequence number rdseqnum
Actual feed rate actf
Actual spindle speed acts
Absolute position data of controlled axis absolute
Machine position data of controlled axis machine
Relative position data of controlled axis relative
Distance to go of controlled axis distance
The formats of each data item are the same as those shown in "Function used for reading individually".
[Example]
When -1 is specified as the axis number (axis) and dynamic data for all axes as axis number are read
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 274/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
ret= cnc_rddynamic(-1)
[Function]
cnc_wrrelpos
[Syntax with arguments]
cnc_wrrelpos(preset)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 275/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Type Description
NC execution rejected.
[Description]
Presets (resets) the relative position of the axis specified for the first element of the preset data.
[Example]
(1) When 1 is specified as the axis number and 20000 is set as the preset value at the relative position of
the first axis
data=Array.new(1,20000) # Creates an array of the value to be preset (for each axis)
(number of elements = 1, preset value = 20000).
ret=cnc_wrrelpos(preset)
if ret != EW_OK then # ret: Return value of the function
MsgBoxShow("ERROR",0)
end
(2) When -1 is specified as the axis number and the relative positions of the 1st to maximum controlled
axis number are all set at once
MAX_AXIS=32 # When the maximum number of controlled axes is 32.
data=Array.new(MAX_AXIS,0) # Creates an array of the values to be preset (for each axis)
(number of elements = MAX_AXIS, preset value = 0).
data[0]=20000 # Specifies 20000 as the preset value for the 1st axis (data[0]).
data[1]=30000 # Specifies 30000 as the preset value for the 2nd axis (data[1]).
data[2]=30000 # Specifies 30000 as the preset value for the 3rd axis (data[2]).
data[3]=10000 # Specifies 10000 as the preset value for the 4th axis (data[3]).
data[4]=10000 # Specifies 10000 as the preset value for the 5th axis (data[4]).
# 0 (origin of the relative position) is specified as the preset value for axes other than
the 1st to 5th axes.
preset = Array.new # Creates an array of the preset data.
preset.push(-1) # 1st element (preset[0]): Axis number = -1
preset.push(data) # 2nd element (preset[1]): Array of the values to be preset
ret=cnc_wrrelpos(preset)
if ret != EW_OK then # ret: Return value of the function
MsgBoxShow("ERROR",0)
end
[Function]
cnc_exaxisname2
[Syntax with arguments]
cnc_exaxisname2(type, absolute, num)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 276/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (11) Value to be stored in the return value of the cnc_exaxisname2 function
Element Type Description
1st Numerical value Execution result
element EW_OK
Normal termination
EW_LENGTH
The number of axes (num) is 0 or less.
EW_ATTRIB
Data attribute error. The specified data type (type) is invalid.
2nd Numerical value The number of axes actually read is set.
element When a value larger than the current number of axes is specified in the
num argument
The number of currently valid axes actually read is set.
When a value smaller than the number of valid axes is specified in the
num argument
As many data items as the specified number of axes are read, and the
number of axes specified in the num argument is set.
3rd Array of n Array of axis names (up to three characters)
element elements (n = The acquired axis name is in the form of an ASCII string.
number of axes
actually acquired)
[Description]
This function reads as many controlled axis and spindle axis names as specified in (num), starting with the
first axis.
This function allows the user to specify whether to acquire information from only the current path in the
CNC or from the entire CNC.
In the absolute argument, whether the information acquisition is limited to the current path (relative) or is
performed through the entire CNC (absolute) can be specified.
[Example]
When the controlled axis name and relative axis are specified and 6 is set as the number of axes to acquire
the axis name
ret = cnc_exaxisname2( 0, 0, 6 )
if ret[0] != 0 then
msg_txt = “ERROR(“ + ret[0].to_s + ")¥n"
MsgBoxShow( msg_txt, 0 )
end
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 277/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
cnc_rdaxisdata
[Syntax with arguments]
cnc_rdaxisdata(cls, type, num, len)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 278/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Return]
For this function, the return value is an array of 3 elements.
Details of the return values are as shown below.
Table 5.3 (13) Value to be stored in the return value of the cnc_rdaxisdata function
Element Type Description
1st element Numerical Execution result
value EW_OK
Normal termination
EW_LENGTH
Error in the data block length. Alternatively, the number of axes (len) is 0 or
less.
EW_NUMBER
Data attribute error. The specified data class (cls) is invalid.
EW_ATTRIB
Data attribute error. The specified data type (type) is invalid.
Alternatively, the number of types (num) exceeds 4.
EW_NOOPT
A required option is not provided.
2nd element Numerical The number of axes actually read is set.
value
3rd element Array of n Array of various axis- and spindle-related data
elements Array of as many data items as the number of axes specified by "num × len"
For details on the value, refer to the following table "Various axis- and
spindle-related data."
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 279/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Specify the class of data to be read in the cls argument, and specify the type of data to be read in a short
array (type[]).
The number of arrays is specified in the num argument. Up to four types of data can be read at a time. If an
attempt is made to read more than four types of data, the EW_ATTRIB error results.
The number of axes to be read is specified in the (len) argument. According to the value of data class cls,
(len) is set as follows:
1. When cls is set to a coordinate value (=1), servo (=2), or spindle (=3)
Data for as many axes as specified in (len), starting with the first axis is read.
After the function is executed, if (len) is greater than the number of currently valid axes, the number
of actual axes is set to the 2nd element of the return value.
If (len) is smaller than the number of currently valid axes, data for as many axes as specified in (len)
is read.
2. When cls is set to the selected spindle (=4) or speed (=5)
Data for one axis is read at all times.
However, if no spindle is selected when the selected spindle is specified, 0 is set to the 2nd element of
the return value.
The read data are stored in the array of the 3rd element of the return value.
The read data is stored in units of the size specified in (len) in the order specified in type[] as follows:
(* 3rd element of the return value: Described as axdata)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 280/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Even if the number specified in (len) is smaller than the actual number of axes, data is stored according to
the value specified in (len) when the function is called.
[Function]
cnc_rd5axmandt
[Syntax with arguments]
cnc_rd5axmandt()
[Arguments]
None
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (15) Value to be stored in the return value of the cnc_rd5axmandt function
Element Type Description
1st element Numerical Execution result
value EW_OK
Normal termination
EW_NOOPT
No options
Related option: Three-dimensional manual feed function
2nd element Array of 14 Machine axis travel distance in three-dimensional manual feed of each controlled axis
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 281/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Various types of information items are stored in the 2nd element array of the return value.
The unit of the machine axis travel distance is the same as for that of absolute coordinates.
The units of td, r1, r2, vr, h1, and h2 differ depending on the value of parameter No. 19697.
The unit for the absolute coordinates of the corresponding axis that is set for type1, type2, or type3 is used.
ret = cnc_rd5axmandt()
if ret[0] != 0 then
msg_txt = “ERROR(“ + ret[0].to_s + ")¥n"
MsgBoxShow( msg_txt, 0 )
end
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 282/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
cnc_rd5axovrlap
[Syntax with arguments]
cnc_rd5axovrlap(axis)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (19) Value to be stored in the return value of the cnc_rd5axovrlap function
Element Type Description
1st Numerical Execution result
element value EW_OK
Normal termination
EW_ATTRIB
The specified axis is invalid.
EW_NOOPT
No options. Related option: - Three-dimensional manual feed function
2nd Array of 2 Machine axis travel distance in three-dimensional manual feed of each controlled axis
element elements For details on the value, refer to the following table "Information on machine
axis travel distance in three-dimensional manual feed."
Table 5.3 (20) Machine axis travel distance in three-dimensional manual feed
Element Type Description
1st Numerical value Axis number
element
2nd Numerical value Array of machine axis travel distance data
element array with number of n = Maximum axis number when specification of all axes (-1) is made for
elements n (n = See axis (Data for the current controlled axes is valid).
the Description n = 1 when specification of one axis (1 to m (m: current number of
column.) controlled axes)) is made for axis.
[Description]
Reads the machine axis travel distance in three-dimensional manual feed.
Specify one of the values from 1 to the maximum controlled axis number for each axis or -1 for all axes as
axis number in "axis".
[Example]
When specifying all axes to acquire the machine axis travel distance in three-dimensional manual feed
ret = cnc_rd5axovrlap( -1 )
if ret[0] != 0 then
msg_txt = “ERROR(“ + ret[0].to_s + ")¥n"
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 283/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
MsgBoxShow( msg_txt, 0 )
end
[Function]
cnc_clr5axpls
[Syntax with arguments]
cnc_clr5axpls(type)
[Arguments]
The arguments of this function are as shown below.
CAUTION
Use sufficient care when you clear the three-dimensional manual feed pulses.
There is a possibility that the NC may run with the wrong three-dimensional
manual feed pulses. In this case, it may cause unexpected machine behavior,
and tools, machines or workpieces may be damaged. You have to make sure that
clearing the three-dimensional manual feed pulses is safe and correct when
doing so.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 284/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
cnc_rdsrvspeed
[Syntax with arguments]
cnc_rdsrvspeed()
[Arguments]
None
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
[Description]
This function reads the servo tuning actual speed.
[Example]
MAX_AXIS=32 # When the maximum number of controlled axes is 32.
ret = cnc_rdsrvspeed()
if ret[0] != EW_OK then
msg_txt = “ERROR(“ + ret[0].to_s + ")¥n"
MsgBoxShow( msg_txt, 0 )
else
for i in 0..(MAX_AXIS-1) do
no = 100 + i
#[no] = ret[1][i]
end
end
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 285/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
cnc_rdsrvtsa
[Syntax with arguments]
cnc_ rdsrvtsa ()
[Arguments]
None
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
[Description]
This function reads the value of servo data TSA.
[Example]
MAX_AXIS=32 # When the maximum number of controlled axes is 32.
ret = cnc_rdsrvtsa()
if ret[0] != EW_OK then
msg_txt = “ERROR(“ + ret[0].to_s + ")¥n"
MsgBoxShow( msg_txt, 0 )
else
for i in 0..(MAX_AXIS-1) do
no = 100 + i
#[no] = ret[1][i]
end
end
[Available CNC]
FANUC Series 30i/31i/32i -MODEL B : STEP1 series Edition 23.0 or later
FANUC Series 35i-MODEL B : STEP2 series Edition 01.0 or later
FANUC Series 30i/31i/32i -MODEL B Plus : since the first Edition
FANUC Series 0i-MODEL F : since the first Edition
FANUC Series 0i-MODEL F Plus : since the first Edition
1.10 Reads servo data TCMD
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 286/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
cnc_rdsrvtcmd
[Syntax with arguments]
cnc_rdsrvtcmd()
[Arguments]
None
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
[Description]
This function reads the value of servo data TCMD.
[Example]
MAX_AXIS=32 # When the maximum number of controlled axes is 32.
ret = cnc_rdsrvtcmd()
if ret[0] != EW_OK then
msg_txt = “ERROR(“ + ret[0].to_s + ")¥n"
MsgBoxShow( msg_txt, 0 )
else
for i in 0..(MAX_AXIS-1) do
no = 100 + i
#[no] = ret[1][i]
end
end
[Available CNC]
FANUC Series 30i/31i/32i -MODEL B : STEP1 series Edition 23.0 or later
FANUC Series 35i-MODEL B : STEP2 series Edition 01.0 or later
FANUC Series 30i/31i/32i -MODEL B Plus : since the first Edition
FANUC Series 0i-MODEL F : since the first Edition
FANUC Series 0i-MODEL F Plus : since the first Edition
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 287/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
cnc_vrfstart
[Syntax with arguments]
cnc_vrfstart()
[Arguments]
None
[Return]
Details of the return values are as shown below.
Table 5.3 (26) Value to be stored in the return value of the cnc_vrfstart function
Type Description
Numerical Return value of the function
value EW_OK
Normal termination
EW_BUSY
Start command for output of NC program to be compared has been rejected.
This code is returned under one of the following conditions.
- The CNC is performing other command processing (downloading, collating, uploading, or
program number list reading).
- Background editing is in progress or the MDI mode has been entered.
- Alarm PW0000 or alarm PS0101 is issued.
[Description]
It is possible to compare an NC program already registered with the CNC and a program that is output by
the application program.
This function requests CNC to start comparing the NC programs.
[Example]
Refer to example of "Output NC program to be compared (cnc_verify function)."
[Function]
cnc_verify
[Syntax with arguments]
cnc_verify(data, number)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 288/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (28) Value to be stored in the return value of the cnc_verify function
Type Description
Numerical Return value of the function
value EW_OK
Normal termination
EW_FUNC
The start-up procedure for output of the NC program to be compared has not been
completed on the CNC, or no start-up command has been issued.
EW_LENGTH
The specified data length is invalid.
EW_DATA
Incorrect NC program data. This code is returned under one of the following conditions.
- A difference was detected during the comparison process.
- The program on the CNC that is to be compared has been selected in the foreground.
- A character that cannot be used in NC programs has been detected.
- When TV check is enabled, a block that includes odd characters (including "LF" at the end
of the block) is detected.
[Description]
Outputs the NC program to be compared with one already registered with the CNC.
If data cannot be output because the CNC data processing is delayed, this function waits in the library until
data can be output.
Moreover, "Stopping output NC program to be compared. (cnc_vrfend function)" is returned as an error of
the data for several-times before the end.
The following shows the comparison procedure.
data = "¥nO1234¥nG1F0.3W10.¥nM30¥n%"
number = 27
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 289/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
ret = cnc_vrfstart()
if ret == EW_OK then
ret = cnc_verify(data, number)
end
cnc_vrfend()
[Function]
cnc_vrfend
Table 5.3 (29) Value to be stored in the return value of the cnc_vrfend function
Type Description
Numerical value Return value of the function
EW_OK
Normal termination
EW_FUNC
The start-up procedure for output of the NC program to be compared has not been
completed on the CNC, or no start-up command has been issued.
EW_DATA
The previously output NC program data is incorrect. This code is returned under one of
the following conditions.
- A difference was detected during the comparison process.
- The program on the CNC that is to be compared has been selected in the
foreground.
- A character that cannot be used in NC programs has been detected.
- When TV check is enabled, a block that includes odd characters (including "LF" at
the end of the block) is detected.
[Description]
Sends notification of the end of the comparison of the NC programs to the CNC.
'%' must be output as NC program data before calling this function.
An error (such as EW_DATA or EW_OVRFLOW) in the cnc_verify function may be returned by this
function.
Control is not returned from this function until the registration of data output by the cnc_verify function is
completed.
Control is not returned from this function until the CNC comparison process completes.
The comparison process is completed even if the return code is not 0.
[Example]
Refer to example of "Output NC program to be compared (cnc_verify function)."
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 290/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
cnc_seqsrch
[Syntax with arguments]
cnc_seqsrch(seq_no)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (31) Value to be stored in the return value of the cnc_seqsrch function
Type Description
Numerical Return value of the function
value EW_OK
Normal termination
EW_DATA
The specified sequence number does not exist.
EW_MODE
CNC mode error
The function can only be used in MEM mode.
EW_REJECT
CNC processing is rejected.
- Being edited
- No machining program is registered.
[Description]
Searches the machining program currently selected in the CNC for the sequence number specified by
"seq_no".
[Function]
cnc_rdpdf_drive
[Syntax with arguments]
cnc_rdpdf_drive()
[Arguments]
None
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (32) Value to be stored in the return value of the cnc_rdpdf_drive function
Element Type Description
1st Numerical Execution result
element value EW_OK
Normal termination
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 291/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
ret_values = cnc_rdpdf_drive()
if ret_values [0] == EW_OK then
array = ret[1] # Program storage drive information
drive_name = array[1] # Drive name string
if array[0] > 0 then
MsgBoxShow(drive_name[0], 0) # First drive name string that has been read
end
end
[Function]
cnc_rdpdf_inf
[Syntax with arguments]
cnc_rdpdf_ inf(drive, size_kind)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 292/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (35) Value to be stored in the return value of the cnc_rdpdf_inf function
Element Type Description
1st Numerical Execution result
element value EW_OK
Normal termination
EW_DATA
The drive specified by the data "drive" does not exist.
2nd Array Program storage drive information
element For details on the value, refer to the following table "Values to be stored in program
storage drive information."
[Function]
cnc_rdpdf_curdir
[Syntax with arguments]
cnc_rdpdf_curdir(dir_kind)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 293/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (38) Value to be stored in the return value of the cnc_rdpdf_curdir function
Element Type Description
1st element Numerical Return value of the function
value EW_OK
Normal termination
EW_ATTRIB
Incorrect data "dir_kind".
2nd element String Information of the acquired current directory
String of the read current directory drive + directory
Up to 210 characters can be used.
If a problem has occurred, null characters are set.
[Description]
Reads current directory information.
When editing (including background editing) on the CNC, the execution of this function is placed in the
wait state.
[Example]
When the foreground current directory information is read
dir_kind = 1
ret = cnc_rdpdf_curdir(dir_kind)
#[100] = ret[0].to_i
MsgBoxShow(ret[1],0)
[Function]
cnc_wrpdf_curdir
[Syntax with arguments]
cnc_wrpdf_curdir(dir_kind, dir_name)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (40) Value to be stored in the return value of the cnc_wrpdf_curdir function
Type Description
Numerical Return value of the function
value EW_OK
Normal termination
EW_ATTRIB
Incorrect data "dir_kind".
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 294/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Type Description
EW_DATA
The directory specified by the data "dir_name" does not exist.
EW_REJECT
CNC processing is rejected.
[Description]
Sets the current directory.
When editing (including background editing) on the CNC, the execution of this function is placed in the
wait state.
[Function]
cnc_rdpdf_subdir
[Syntax with arguments]
cnc_rdpdf_subdir(num_dir, path, req_num)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 295/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (42) Value to be stored in the return value of the cnc_rdpdf_subdir function
Element Type Description
1st element Numerical value Execution result
EW_OK
Normal termination
EW_BUSY
The CNC is in use.
EW_NUMBER
Data error
No subfolder for the required entry number (req_num) exists.
EW_DATA
Data error
Incorrect format for the path name character string "path".
EW_PROT
Protect
The specified directory cannot be displayed.
EW_REJECT
CNC processing is rejected.
EW_LENGTH
“Maximum number of subdirectories to be read” is not 1 to 128.
2nd element Numerical value Number of subdirectories that have actually been read
3rd element Array of n Subdirectory information
elements (n = Subdirectory information for the number of “Number of subdirectories that
number of have actually been read” is stored in an array.
subdirectories For details on the value, refer to the following table "Values to be stored in
that have the subdirectory information."
actually been
read)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 296/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
cnc_rdpdf_alldir
[Syntax with arguments]
cnc_rdpdf_alldir(num_prog, path, req_num, size_kind, type)
[Arguments]
The arguments of this function are as shown below.
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 297/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (45) Value to be stored in the return value of the cnc_rdpdf_alldir function
Element Type Description
1st element Numerical Execution result
value EW_OK
Normal termination
EW_BUSY
The CNC is in use.
EW_NUMBER
Data number error
No subdirectory for the required entry number (req_num) exists.
EW_ATTRIB
The specified size output method (size_kind) or type of program list (type)
is invalid.
EW_DATA
The path name character string (path) data is invalid.
EW_REJECT
CNC processing is rejected.
EW_LENGTH
“Maximum number of programs to be read” is not 1 to 128.
2nd element Numerical Number of programs that have actually been read
value
3rd element Array of n Directory list information
elements Directory list information for the number of “Number of programs that have
(n = actually been read” is stored in an array.
number of For details on the value, refer to the following table "Values to be stored in the
programs directory list information."
that have
actually
been read)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 298/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 299/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
cnc_pdf_add
[Syntax with arguments]
cnc_pdf_add(file_path)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (48) Value to be stored in the return value of the cnc_pdf_add function
Type Description
Nume Return value of the function
rical EW_OK
value Normal termination
EW_DATA
Data error
To get more detailed information on this return value, execute cnc_getdtailerr function.
The following is set in "Detail status" in the return value array:
1: File or directory name format error
2: The specified directory name is not found.
3: The maximum allowable number of registered files is exceeded.
4: The same file name is already present.
5: The specified file or directory name is selected by the NC.
EW_PROT
Write protection
The specified file or directory is write-protected.
EW_OVRFLOW
Memory overflow
File or folder creation is impossible because of insufficient memory space.
[Description]
Creates a directory or file in a specified directory.
When editing (including background editing) on the CNC, the execution of this function is placed in the
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 300/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
wait state.
The directory or file cannot be created in the following cases:
- A file with an existing number or name
- A directory with an existing name
- Directory in write-protected attribute
CAUTION
Use sufficient care when you write the NC program. There is a possibility that the
NC may run the wrong NC program.
In this case, it may cause unexpected machine behavior, and tools, machines or
workpieces may be damaged.
You have to make sure that writing the NC program is safe and correct when
doing so.
[Function]
cnc_pdf_del
[Syntax with arguments]
cnc_pdf_del(file_path)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 301/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (50) Value to be stored in the return value of the cnc_pdf_del function
Type Description
Numerical Return value of the function
value EW_OK
Normal termination
EW_DATA
Data error
To get more detailed information on this return value, execute cnc_getdtailerr function.
The following is set in "Detail status" in the return value array:
1: File or directory name format error
2: The specified directory name is not found.
5: The specified file or directory name is selected by the NC. Alternatively, when a directory
is deleted, the directory is not empty.
EW_PROT
Write protection
The specified file or directory is write-protected.
EW_REJECT
CNC processing is rejected.
The NC is operating.
[Description]
Deletes a directory or file in a specified directory.
When editing (including background editing) on the CNC, the execution of this function is placed in the
wait state.
The directory or file cannot be deleted in the following cases:
- The specified file is being used for operation or is selected in the foreground.
- The specified file is protected.
- The specified directory is selected as the current directory.
- The specified directory is not empty.
CAUTION
Use sufficient care when you delete the NC program. There is a possibility that
the NC may run the wrong NC program. In this case, it may cause unexpected
machine behavior, and tools, machines or workpieces may be damaged.
You have to make sure that deleting the NC program is safe and correct when
doing so.
[Function]
cnc_pdf_rename
[Syntax with arguments]
cnc_pdf_rename(file_path, after_name)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 302/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (52) Value to be stored in the return value of the cnc_pdf_rename function
Type Description
Numerical Return value of the function
value EW_OK
Normal termination
EW_DATA
Data error
To get more detailed information on this return value, execute cnc_getdtailerr function.
The following is set in "Detail status" in the return value array:
1: File or directory name format error
2: The specified directory name is not found.
4: The same file name is already present.
5: The specified file or directory name is selected by the NC.
EW_PROT
Write protection
The specified file or directory is write-protected.
EW_REJECT
CNC processing is rejected.
- The CNC is operating.
- The emergency stop state is engaged.
[Description]
Renames a directory or file in a specified directory.
When editing (including background editing) on the CNC, the execution of this function is placed in the
wait state.
The directory or file cannot be renamed in the following cases:
- The specified file is being used for operation or is selected in the foreground.
- The specified file is protected.
- The specified directory is selected as the current directory or a directory above the current directory.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 303/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
CAUTION
Use sufficient care when you write the NC program. There is a possibility that the
NC may run the wrong NC program.
In this case, it may cause unexpected machine behavior, and tools, machines or
workpieces may be damaged.
You have to make sure that writing the NC program is safe and correct when
doing so.
[Function]
cnc_pdf_slctmain
[Syntax with arguments]
cnc_pdf_slctmain(file_path)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (54) Value to be stored in the return value of the cnc_pdf_slctmain function
Type Description
Numerical Return value of the function
value EW_OK
Normal termination
EW_DATA
Data error
To get more detailed information on this return value, execute cnc_getdtailerr function.
The following is set in "Detail status" in the return value array:
1: File or folder name format error
2: The specified folder name is not found.
EW_MODE
CNC mode error
This function can be used only in the EDIT/MEM mode.
[Description]
Selects a file in a specified folder as the main program.
When editing (including background editing) on the CNC, the execution of this function is placed in the
wait state.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 304/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Example]
When the program "//CNC_MEM/USER/PATH1/O1234" is set as the main program
ret = cnc_pdf_slctmain("//CNC_MEM/USER/PATH1/O1234")
if ret != EW_OK then
MsgBoxShow("ERROR",0)
end
[Function]
cnc_wrpdf_attr
[Syntax with arguments]
cnc_wrpdf_attr(file_path, slct, attr)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 305/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (56) Value to be stored in the return value of the cnc_wrpdf_attr function
Type Description
Numerical Return value of the function
value EW_OK
Normal termination
EW_DATA
Data error
To get more detailed information on this return value, execute cnc_getdtailerr function.
The following is set in "Detail status" in the return value array:
1: File or directory name format error
2: The specified directory name is not found.
5: The specified file or directory name is selected by the NC.
EW_PROT
Write protection
The specified file or directory is write-protected.
Alternatively, the file or directory is protected with a protection level.
EW_REJECT
CNC processing is rejected.
[Description]
Changes the attribute of a directory or file in the specified directory.
When editing (including background editing) on the CNC, the execution of this function is placed in the
wait state.
When a specified directory is selected as the current directory, its attribute cannot be changed.
When changing the change protection level or output protection level, set all three of the relevant bits in
slct to 1.
[Example]
When the attribute of the "//CNC_MEM/USER/PATH1/O0001" file is changed to "Editing/display disable
attribute"
2.16 Getting the number of folders and files in the specified directory
[Function]
cnc_rdpdf_subdirn
[Syntax with arguments]
cnc_rdpdf_subdirn(dir_name)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 306/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table5.3 (58) Value to be stored in the return value of the cnc_rdpdf_subdirn function
Element Type Description
1st element Numerical Execution result
value EW_OK
Normal termination
EW_DATA
Data error
To get more detailed information on this return value, execute
cnc_getdtailerr function.
The following is set in "Detail status" in the return value array:
1: File or directory name format error
2: The specified directory name is not found.
EW_REJECT
CNC processing is rejected.
The NC is operating.
2nd element Array List of the number of directories/files
For details on the value, refer to the following table "List of the number of
directories/files."
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 307/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
cnc_pdf_rdmain
[Syntax with arguments]
cnc_pdf_rdmain()
[Arguments]
None
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (60) Value to be stored in the return value of the cnc_pdf_rdmain function
Element Type Description
1st element Numeric Return value of the function
al value EW_OK
Normal termination
EW_REJECT
CNC processing is rejected.
2nd element String Main program information that has been acquired
It is a string of the current drive + folder.
Up to 242 characters can be used.
If a problem has occurred, null characters are set.
[Description]
Reads information about the file currently selected as the main program.
[Example]
When the main program name is output to the message box
ret = cnc_pdf_rdmain()
if ret[0] == EW_OK then
msg_txt = "Program name:" + ret[1]
MsgBoxShow(msg_txt,0)
end
[Function]
cnc_dwnstart4
[Syntax with arguments]
cnc_dwnstart4(type, file_name)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 308/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (62) Value to be stored in the return value of the cnc_dwnstart4 function
Type Description
Numerical Return value of the function
value EW_OK
Normal termination
EW_BUSY
Start command for output of NC program to be compared has been rejected.
Cnc_dwnstart4 function (cnc_vrfstart function) has already been executed.
Use cnc_dwnend4 function (cnc_vrfend function) to end the previous output operation.
EW_ATTRIB
The specified type is invalid.
EW_DATA
The data is incorrect.
To get more detailed information on this return value, execute the cnc_getdtailerr function.
The following is set in "Detail status" in the return value array:
1: Folder name error
EW_NOOPT
A required option is not provided.
When a custom macro variable, work origin offset, or pitch error data is registered, an option
is required.
EW_PARAM
CNC parameter error
When parameter data is registered, parameter writing must be enabled by setting.
EW_MODE
The mode of the CNC is incorrect.
- When registering tool offset or custom macro variable data, set the emergency stop state.
- When registering parameter, pitch error, or work origin offset data, set the emergency stop
state.
- When background editing (NC program) is being performed in the CNC, end the
background editing.
EW_REJECT
CNC processing is rejected.
The CNC is operating. Registration of data except NC programs is not permitted during
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 309/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Type Description
operation.
EW_ALARM
Alarm state
Alarm PW0000 is issued in the CNC. Cancel the alarm in the CNC.
[Description]
Requests the CNC to start registering (downloading) NC data (such as an NC program, tool offsets, or
parameters).
(This function must be executed before downloading is performed.)
If the cnc_download4 or cnc_dwnend4 function is executed without executing this function, EW_FUNC is
returned.
The basic downloading procedure is shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 310/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
CAUTION
Use sufficient care when you write the NC data which can influence how the
machine works. There is a possibility that the NC may run with values from the
wrong NC data. In this case, it may cause unexpected machine behavior, and
tools, machines or workpieces may be damaged.
You have to make sure that writing the NC data is safe and correct when doing so
as it can influence how the machine works.
The NC data that can influence how the machine works is as follows. It may not
all be listed below after new applications or functions are released.
[Function]
cnc_download4
[Syntax with arguments]
cnc_download4(length, data)
[Arguments]
Table 5.3 (63) Arguments of the cnc_download4 function
Name Type Description
length Numerical value Number of characters of the NC data to be output
data Numerical value NC program to be output
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (64) Value to be stored in the return value of the cnc_download4 function
Element Type Description
1st element Numerical Return value of the function
value EW_OK
Normal termination
EW_RESET
The CNC has been reset.
Call the cnc_dwnend4 function.
EW_FUNC
The start processing for outputting the NC program to be registered has
not been completed in the CNC or the cnc_dwnstart4 function has not
been executed.
EW_LENGTH
The specified data length is invalid. A negative value is specified as the
number of output characters.
EW_DATA
The data is incorrect.
To get more detailed information on this return value, execute the
cnc_getdtailerr function.
The following is set in "Detail status" in the return value array:
1: Syntax error in NC data
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 311/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
type = 0
file_name = "//CNC_MEM/USER/PATH1/"
length = 27
data = "¥nO1234¥nG1F0.3W10.¥nM30¥n%"
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 312/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
#[101] = ret2[1].to_i # Number of characters of the NC data that has actually been output
end
CAUTION
Use sufficient care when you write the NC data which can influence how the
machine works. There is a possibility that the NC may run with values from the
wrong NC data. In this case, it may cause unexpected machine behavior, and
tools, machines or workpieces may be damaged.
You have to make sure that writing the NC data is safe and correct when doing so
as it can influence how the machine works.
The NC data that can influence how the machine works is as follows. It may not
all be listed below after new applications or functions are released.
[Function]
cnc_dwnend4
[Syntax with arguments]
cnc_dwnend4()
[Arguments]
None
[Return]
Details of the return values are as shown below.
Table 5.3 (65) Value to be stored in the return value of the cnc_dwnend4 function
Type Description
Numerical Return value of the function
value EW_OK
Normal termination
EW_FUNC
The start processing for outputting the NC program to be registered has not been
completed in the CNC or the cnc_dwnstart4 function has not been executed.
EW_DATA
The data is incorrect.
To get more detailed information on this return value, execute the cnc_getdtailerr function.
The following is set in "Detail status" in the return value array:
1: Syntax error in NC data
2: When the TV check is enabled, a block that consists of an odd number of characters
(including LF at the end of the block) is detected.
3: The maximum allowable number of registered NC programs has been exceeded.
4: The same program number has already been registered.
5: The same program number is selected by the NC.
EW_PROT
Write protection is applied.
CNC parameters (protection or encryption of programs in the eight or nine thousands) are
write-protected. For the timing of the occurrence of this error, see [Description].
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 313/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Type Description
EW_OVRFLOW
The part program storage area of the CNC becomes full, so data cannot be registered any
more.
For the timing of the occurrence of this error, see [Description].
[Description]
Notifies the CNC of the end of NC data registration. (This function must be used after downloading ends.)
An error (such as EW_DATA or EW_OVRFLOW) in the cnc_download4 function may be returned by this
function.
Control is not returned from this function until the registration of data output by the cnc_download4
function is completed.
[Example]
Refer to the example of "Output NC program to be registered (4) (cnc_download4 function)."
CAUTION
Use sufficient care when you write the NC data which can influence how the
machine works. There is a possibility that the NC may run with values from the
wrong NC data. In this case, it may cause unexpected machine behavior, and
tools, machines or workpieces may be damaged.
You have to make sure that writing the NC data is safe and correct when doing so
as it can influence how the machine works.
The NC data that can influence how the machine works is as follows. It may not
all be listed below after new applications or functions are released.
[Function]
cnc_upstart4
[Syntax with arguments]
cnc_upstart4(type, file_name)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 314/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Return]
Details of the return values are as shown below.
Table 5.3 (67) Value to be stored in the return value of the cnc_upstart4 function
Type Description
Numerical Return value of the function
value EW_OK
Normal termination
EW_BUSY
Start command for output of NC program to be compared has been rejected.
Cnc_upstart4 function has already been executed. Use cnc_upend4 function to end the
previous output operation.
EW_ATTRIB
The specified type is invalid.
EW_DATA
The data is incorrect.
To get more detailed information on this return value, execute the cnc_getdtailerr function.
The following is set in "Detail status" in the return value array:
1: File or folder name error
EW_NOOPT
A required option is not provided.
When a custom macro variable, work origin offset, or pitch error data is registered, an option
is required.
EW_MODE
The mode of the CNC is incorrect.
Set the CNC mode to something other than the MDI mode.
End background editing in the CNC.
EW_REJECT
CNC processing is rejected.
The CNC is operating. Reading data other than NC programs is not permitted during
operation.
EW_ALARM
Alarm state
Alarm PW0000 is issued in the CNC. Cancel the alarm in the CNC.
[Description]
Requests the CNC to start reading (uploading) NC data (such as an NC program, tool offsets, or
parameters) specified with a path name and file name. (This function must be executed before
downloading is performed.)
If the cnc_upload4 function or cnc_upend4 function is executed without executing this function,
EW_FUNC is returned.
The basic uploading procedure is shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 315/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Specify a program with a folder and a file name. So, it is impossible to upload more than one program by
specifying a range. When data is to be read from a memory card or data server, the full path of a program
name must be set in the 'file_name' argument of the cnc_upstart4 function.
To access a data server, specify and execute the function as shown in the following example:
Example) Read program O1234:
ret = cnc_upstart4(0, "//DATA_SV/O1234") ;
[Example]
Refer to the example of "Reading NC program (4) (cnc_upload4 function)."
[Function]
cnc_upload4
[Syntax with arguments]
cnc_upload4(length)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 316/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (69) Value to be stored in the return value of the cnc_upload4 function
Element Type Description
1st element Numerical Return value of the function
value EW_OK
Normal termination
EW_RESET
The CNC has been reset. Call the cnc_upend4 function.
EW_FUNC
The start processing for outputting the NC program to be registered has not
been completed in the CNC or the cnc_upstart4 function has not been
executed.
EW_LENGTH
The specified data length is invalid.
The specified number of NC data characters to be read (length) is less than
256.
EW_DATA
The data is incorrect.
To get more detailed information on this return value, execute the
cnc_getdtailerr function.
The following is set in "Detail status" in the return value array:
2: No program is registered within a specified range.
3: The NC program area is corrupt.
EW_PROT
Write protection is applied.
CNC parameters (protection or encryption of programs in the eight or nine
thousands) are read-protected. For the timing of the occurrence of this
error, see [Description].
EW_BUFFER
The buffer is empty. Retry.
For the timing of the occurrence of this error, see [Description].
2nd element String Number of NC data characters that have actually been read
After the end of a read operation, the number of characters actually read is set
again.
3rd element Numerical NC data that has actually been read
value
[Description]
Reads (uploads) NC data.
This function inputs as many characters as specified in length. When the CNC data processing is delayed,
and data that can be read is shorter than the specified number of characters, the data that can be read is read,
and the number of characters of the read data is set in the second place in the list.
The actually read data is stored in the third place in the list of the return value. If even one character cannot
be read, EW_BUFFER is returned as the return value to the first place in the list. When this value is
returned, the function must be called again.
Because priority is given to the speed of data transfer to the CNC, an error (such as EW_DATA) is
generally returned with a delay. This means that an error output at a certain point in time is sometimes due
to data that was output in several data output operations preceding that point. An error that occurs in
several data output operations preceding the end of the function is returned by the cnc_upend4 function.
When read, NC data ends with '%'. Use this character, '%', as the condition for ending a read operation.
When an attempt is made to perform a read operation after '%' is received, the function ends with an error
(EW_RESET).
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 317/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
type = 0
file_name = "//CNC_MEM/USER/PATH1/O1234"
length = 256
cnc_upend4()
#[100] = ret2[0].to_i # Execution result
#[101] = ret2[1].to_i # Number of NC program characters that have actually been read
MsgBoxShow(ret2[2].to_s, 0) # NC program that has actually been read
[Function]
cnc_upend4
[Syntax with arguments]
cnc_upend4()
[Arguments]
None
[Return]
Details of the return values are as shown below.
Table 5.3 (70) Value to be stored in the return value of the cnc_upend4 function
Type Description
Numerical Return value of the function
value EW_OK
Normal termination
EW_FUNC
The start processing for outputting the NC program to be registered has not been
completed in the CNC or the cnc_upstart4 function has not been executed.
EW_DATA
The data is incorrect.
To get more detailed information on this return value, execute the cnc_getdtailerr function.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 318/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Type Description
The following is set in "Detail status" in the return value array:
2: No program is registered within a specified range.
3: The NC program area is corrupt.
EW_PROT
Write protection is applied.
CNC parameters (protection or encryption of programs in the eight or nine thousands) are
write-protected.
For the timing of the occurrence of this error, see [Description].
[Description]
Posts the end of reading (uploading) of NC data. (This function must be executed after uploading.)
An error (such as EW_DATA) in the cnc_upload4 function may be returned by this function.
[Example]
Refer to the example of "Reading NC program (4) (cnc_upload4 function)."
[Function]
cnc_exeprgname
[Syntax with arguments]
cnc_exeprgname()
[Arguments]
None
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (71) Value to be stored in the return value of the cnc_exeprgname function
Element Type Description
1st element Numerical Execution result
value EW_OK
Normal termination
EW_FUNC
Not available
2nd element Array Name of program being executed
For details on the value, refer to the following table "Name of program being
executed."
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 319/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
- Storage of the "Name of program being executed" array for programs other than O-number programs:
1st element (string): An ASCII code indicating a program name such as "ABC" is stored.
2nd element (numerical value): Binary data indicating an 0 is stored.
[Example]
When the name of the program being executed and program number are acquired
ret_values = cnc_exeprgname() # Executes reading of the name of the program being executed.
2.25 Reading the name of the program being executed (full path format)
[Function]
cnc_exeprgname2
[Syntax with arguments]
cnc_exeprgname2()
[Arguments]
None
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (73) Value to be stored in the return value of the cnc_exeprgname2 function
Element Type Description
1st element Numerical Return value of the function
value EW_OK
Normal termination
EW_FUNC
Not available
2nd element String Full path of the name of the program being executed
Up to 256 characters can be used.
[Description]
Reads the name of a machining program currently selected in the CNC in the full path format.
A program name consists of up to 256 characters and is stored in the second place in the list.
- O-number programs:
"//CNC_MEM/USER/PATH1/O123"
- Programs other than O-number programs:
"//CNC_MEM/USER/PATH1/ABC"
[Example]
When the name of a machining program currently selected in the CNC is acquired in the full path format
ret = cnc_exeprgname2()
#[100] = ret[0].to_i # Execution result
MsgBoxShow(ret[1].to_i, 0) # Number of characters of the NC data that has actually been output
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 320/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
cnc_wrmdiprog
[Syntax with arguments]
cnc_wrmdiprog(length, data)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (75) Value to be stored in the return value of the cnc_wrmdiprog function
Type Description
Numerical Return value of the function
value EW_OK
Normal termination
EW_LENGTH
The number of characters in the MDI program (length) is invalid.
EW_DATA
A character that is unavailable for NC programs is detected.
EW_MODE
The function is executed in an unavailable CNC mode.
Set the CNC mode to MDI.
EW_REJECT
MDI operation is being executed or the CNC is in the emergency stop status.
[Description]
Writes an MDI program to the CNC. This function must be used in the MDI mode.
The written data format is shown below.
MDI program data registered to the CNC is an ASCII code string in the following format:
LF Block1 LF Block2 LF ... LF %
[Example]
- MDI program
M03 S2000 ;
G28 U0 W0 ;
T0101 ;
G00 X35.0 Z-10.0 ;
length = 45
data = "¥nM03S2000¥nG28U0W0¥nT0101¥nG00X35.0Z-10.0¥n%"
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 321/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
CAUTION
Use sufficient care when you write the MDI program. There is a possibility that the
NC may run with the wrong MDI program. In this case, it may cause unexpected
machine behavior, and tools, machines or workpieces may be damaged.
You have to make sure that writing the MDI program is safe and correct when
doing so.
[Function]
cnc_rdmdipntr
[Syntax with arguments]
cnc_rdmdipntr()
[Arguments]
None
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (76) Value to be stored in the return value of the cnc_rdmdipntr function
Element Type Description
1st element Numerical Execution result
value EW_OK
Normal termination
EW_MODE
The function is executed in an unavailable CNC mode.
Set the CNC mode to MDI.
2nd element Array Execution pointer information
For details on the value, refer to the following table "Execution pointer
information."
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 322/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Example]
When the execution pointer for MDI operation is acquired
ret_values = cnc_ rdmdipntr() # Executes reading of the execution pointer for MDI operation.
[Function]
cnc_wrmdipntr
[Syntax with arguments]
cnc_wrmdipntr(crntpntr)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (79) Value to be stored in the return value of the cnc_wrmdipntr function
Type Description
Numerical Return value of the function
value EW_OK
Normal termination
EW_DATA
The specified execution start block pointer (crntpntr) is invalid.
EW_MODE
The function is executed in an unavailable CNC mode.
Set the CNC mode to MDI.
EW_REJECT
MDI operation is being executed or the CNC is in the emergency stop status.
[Description]
Specifies the execution pointer for MDI operation. (The pointer cannot be directly manipulated while a
program is being executed.)
Before executing this function, register an MDI program using the cnc_wrmdiprog function.
This function must be used in the MDI mode.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 323/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
CAUTION
Use sufficient care when you write the execution pointer for MDI operation. There
is a possibility that the NC may run with the wrong execution pointer for MDI
operation. In this case, it may cause unexpected machine behavior, and tools,
machines or workpieces may be damaged.
You have to make sure that writing the execution pointer for MDI operation is safe
and correct when doing so.
[Function]
cnc_rdpdf_line
[Syntax with arguments]
cnc_rdpdf_line(prog_name, line_no, line_len, data_len)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (80) Arguments of the cnc_rdpdf_line function
Name Type Description
prog_name String Program path with drive-name + path-name + file-name.
When prog_name data is "" (null character), the name of the last
accessed program is assumed to be specified.
The drive name of the memory card is "//MEMCARD/".
The drive name of the data server is "//DATA_SV/".
Specify the following paths for the program folder of the CNC memory.
Path 1: "//CNC_MEM/USER/PATH1/"
:
Patch 10: "//CNC_MEM/USER/PATH10/”
For an MDI program, specify "MDI".
line_no Numerical Line number from which reading starts
value For the first line of the program, specify 0.
If the specified number exceeds the number of registered lines, an error
(EW_DATA) is returned.
line_len Numerical Number of lines to be read in the program
value
data_len Numerical Number of characters to be read in the program
value
[Return]
For this function, the return value is an array of 4 elements.
Details of the return values are as shown below.
Table 5.3 (81) Value to be stored in the return value of the cnc_rdpdf_line function
Element Type Description
1st element Numerical Return value of the function
value EW_OK
Normal termination
EW_BUSY
Busy
- During the execution of a search.
EW_DATA
Data error
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 324/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
This function attempts to read the number of lines in the program as is specified by (line_len). However, if
the number of characters that is specified for (data_len) is reached, the function stops reading the program.
When the end of the line (EOB (‘¥n’)) is not read, the line is not counted as having been read, however.
Example) If you want to read lines 1 to 3 of the following program, you must specify at least 33 for the
number of characters to be read. If a value of 30 is specified for the number of characters to be read, a
value of 2 is set for the number of read lines because line 3 cannot be read to the end. However, the return
value is 30 (characters).
O1234 ;
N001 G01 X0. F100 ;
N002 X20. ;
N003 X50. ;
N004 X80. ;
N005 M30 ;
%
The following table shows the relationships between each CNC mode and target program (MDI program,
selected program, and unselected program):
Table 5.3 (82) CNC modes and target programs
MDI mode Other modes
MDI program ×
Selected program
Unselected program
: Can be executed. ×: Cannot be executed (EW_MODE is returned).
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 325/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
When this function is executed for an MDI program or selected program, the execution pointer goes to the
beginning of the line specified for line_no in the following cases:
- When an MDI program is specified in the MDI mode
- When the selected program is specified in the EDIT mode
- When the selected program is specified in the TJOG/THND mode with a playback option
[Example]
When 30 characters between the 1st and 3rd lines of the program "//CNC_MEM/USER/PATH1/O1234"
are read.
ret = cnc_rdpdf_line("//CNC_MEM/USER/PATH1/O1234",1,3,30)
if ret[0] == EW_OK then
msg_txt = "Contents to be read:" + ret[1] + "¥n" + "Lines to be read:" + ret[2].to_s + "¥n" + "Number
of characters to be read:" + ret[3].to_s
MsgBoxShow(msg_txt,0)
end
[Function]
cnc_wrpdf_line
[Syntax with arguments]
cnc_wrpdf_line( prog_name, line_no, prog_data, data_len)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 326/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (84) Value to be stored in the return value of the cnc_wrpdf_line function
Type Description
Numerical Return value of the function
value EW_OK
Normal termination
EW_BUSY
Busy
- During the execution of a search.
EW_DATA
Data error
To get more detailed information on this return value, execute the cnc_getdtailerr function.
The following is set to "Detail status" of the return value array:
1: Program path (prog_name) error.
2: Write start line number (line_no) error.
3: Error in the number of characters to be written (data_len).
4: An attempt was made to change the O number at the beginning.
5: The first character of the string is invalid.
6: An error occurred during deletion of the write start line.
7: An error occurred during writing.
EW_PROT
Write protection
- CNC parameters No. 8000 to No. 8999 or No. 9000 to No. 9999 (for protection or
encryption) are write-protected.
EW_OVRFLOW
Memory overflow
- There is insufficient unused space on the NC. Allocate the required space.
EW_MODE
CNC mode error.
EW_REJECT
CNC processing is rejected.
- During MDI or background editing.
[Description]
Writes the specified program line by line.
The file name on the first line cannot be changed. If an attempt is made to rewrite the file name, an error
(EW_DATA) is returned.
The following table shows the relationships between each CNC mode and target program (MDI program,
selected program, or unselected program):
Table 5.3 (85) CNC modes and target programs
EDIT mode MDI mode Other modes
MDI program × ×
Selected program × ×
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 327/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Unselected program
: Can be executed. ×: Cannot be executed (EW_MODE is returned).
When a playback option is enabled, TJOG/THND mode is assumed to be the same as EDIT mode.
Even when the OP signal is set to 1, this function can be executed if the STL signal is set to 0 (in statuses
such as feed hold stopped or single block stopped).
When this function is executed for an MDI program or selected program, the execution pointer goes to the
beginning of the line specified for line_no in the following cases:
- When an MDI program is specified in the MDI mode
- When the selected program is specified in the EDIT mode
- When the selected program is specified in the TJOG/THND mode with a playback option
CAUTION
Use sufficient care when you write the NC program. There is a possibility that the
NC may run the wrong NC program. In this case, it may cause unexpected
machine behavior, and tools, machines or workpieces may be damaged.
You have to make sure that writing the NC program is safe and correct when
doing so.
[Example]
When "TEST" is written on the 2nd line of the program "//CNC_MEM/USER/PATH1/O1234"
ret = cnc_wrpdf_line("//CNC_MEM/USER/PATH1/O1234",2,"TEST",4)
if ret != EW_OK then
MsgBoxShow("ERROR",0)
end
[Function]
cnc_pdf_delline
[Syntax with arguments]
cnc_pdf_delline( prog_name, line_no, line_len)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 328/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Return]
Details of the return values are as shown below.
Table 5.3 (87) Value to be stored in the return value of the cnc_pdf_delline function
Type Description
Numerical Return value of the function
value EW_OK
Normal termination
EW_BUSY
Busy
- During the execution of a search.
EW_DATA
Data error
To get more detailed information on this return value, execute the cnc_getdtailerr function.
The following is set to "Detail status" of the return value array:
1: Program path (prog_name) error.
2: Deletion start line number (line_no) error.
3: Error in the number of lines to be deleted (line_len).
EW_PROT
Write protection
- CNC parameters No. 8000 to No. 8999 or No. 9000 to No. 9999 (for protection or
encryption) are write-protected.
EW_MODE
CNC mode error.
EW_REJECT
CNC processing is rejected.
- The emergency stop is engaged.
[Description]
Deletes the specified program line by line.
When the number of the line containing the file name ("Oxxxx" or "<xxxx>") is specified for the deletion
start line number, the data following the file name to the end of the line ('¥n') is deleted, but the file name is
not deleted.
Example)
Deletes the following program line by line:
O1234(TEST PROGRAM) ;
G010. F100 ;
X20. ;
M30 ;
%
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 329/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
When three lines starting from line 0 in the program are deleted, the result is:
O1234 M30 ;
%
The following table shows the relationships between each CNC mode and target program (MDI program,
selected program, or unselected program):
Table 5.3 (88) CNC modes and target programs
EDIT mode MDI mode Other modes
MDI program × ×
Selected program × ×
Unselected program
: Can be executed. ×: Cannot be executed (EW_MODE is returned).
When a playback option is enabled, TJOG/THND mode is assumed to be the same as EDIT mode.
Even when the OP signal is set to 1, this function can be executed if the STL signal is set to 0 (in statuses
such as feed hold stopped or single block stopped).
When this function is executed for an MDI program or selected program, the execution pointer goes to the
beginning of the line specified for line_no in the following cases:
- When an MDI program is specified in the MDI mode
- When the selected program is specified in the EDIT mode
- When the selected program is specified in the TJOG/THND mode with a playback option
CAUTION
Use sufficient care when you write the NC program. There is a possibility that the
NC may run the wrong NC program. In this case, it may cause unexpected
machine behavior, and tools, machines or workpieces may be damaged.
You have to make sure that writing the NC program is safe and correct when
doing so.
[Example]
When lines 0 to 3 of the program "//CNC_MEM/USER/PATH1/O1234" are deleted
ret = cnc_pdf_delline("//CNC_MEM/USER/PATH1/O1234",0,4)
if ret != EW_OK then
MsgBoxShow("ERROR",0)
end
[Function]
cnc_pdf_rdactpt
[Syntax with arguments]
cnc_pdf_rdactpt()
[Arguments]
None
[Return]
For this function, the return value is an array of 3 elements.
Details of the return values are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 330/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (89) Value to be stored in the return value of the cnc_pdf_rdactpt function
Element Type Description
1st element Numerical Return value of the function
value EW_OK
Normal termination
EW_MODE
CNC mode error
- The function is executed in a mode other than the MDI, MEM,
EDIT, TJOG, or THND mode.
EW_REJECT
Pointer get processing is rejected.
Incorrect parameter number "number".
- Currently, the target program does not exist.
- The CNC is performing DNC or M198 operation.
- The STL signal is on.
- The emergency stop is engaged.
2nd element String Current program name
When an MDI program is executed, "MDI" is set.
3rd element Numerical Number of the first block of the program
value If a problem has occurred, -1 is set.
[Description]
Gets the current program name and block number in the MDI or MEM mode and EDIT, TJOG, or THND
mode.
The following restrictions apply to execution of this function:
- During DNC or M198 operation, EW_REJECT is returned.
- When the STL signal is on, EW_REJECT is returned.
- When the program is buffered, the number of the block following the buffered block is obtained.
[Example]
When the current program name and block number are obtained and then displayed in the message box
ret = cnc_pdf_rdactpt()
if ret[0] == EW_OK then
msg_txt = "Program name:" + ret[1] + "n" + "Block number:" + ret[2].to_s
MsgBoxShow(msg_txt,0)
end
[Function]
cnc_pdf_wractpt
[Syntax with arguments]
cnc_pdf_wractpt(prog_name, type, blk_no)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 331/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
The following table shows values of the absolute pointer and relative pointer when the execution block is
"X20. Z15.;".
Table 5.3 (91) Method for specifying the absolute pointer and relative pointer
Selected NC command program Absolute pointer Relative pointer
01234 0 -3
G00 X0. Z0.; 1 -2
G01 X10. Z5. F100. ; 2 -1
X20. Z15.; 3 0
X35.; 4 1
Z20; 5 2
M30; 6 3
% 7 4
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (92) Value to be stored in the return value of the cnc_pdf_wractpt function
Element Type Description
1st element Numerical Return value of the function
value EW_OK
Normal termination
EW_ATTRIB
Data attribute error
- An invalid value is specified for type.
EW_DATA
Data error
- The specified program name is invalid or does not exist.
- The specified block number is invalid or does not exist.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 332/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
When a block has been buffered, the buffered block is executed before the block number set with this
function is executed.
CAUTION
Use sufficient care when you write the NC program. There is a possibility that the
NC may run the wrong NC program. In this case, it may cause unexpected
machine behavior, and tools, machines or workpieces may be damaged.
You have to make sure that writing the NC program is safe and correct when
doing so.
[Example]
When 2 is set as the absolute pointer
ret = cnc_pdf_wractpt("//CNC_MEM/USER/PATH1/O1234",0,2)
if (ret[0] != EW_OK ) then
MsgBoxShow(ret[0].to_s,0) # Error display
end
[Function]
cnc_saveprog_start
[Syntax with arguments]
cnc_saveprog_start()
[Arguments]
None
[Return]
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 333/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (93) Value to be stored in the return value of the cnc_saveprog_start function
Type Description
Numer Return value of the function
ical EW_OK
value Normal termination
EW_REJECT
CNC processing is rejected.
The cnc_saveprog_start function has been executed. Finish saving NC programs to nonvolatile
memory by using the cnc_saveprog_end function.
[Description]
Saving NC programs to nonvolatile memory is started when High-speed program management is valid (bit
7 (HPM) of parameter No.11354 is 1).
Although saving NC programs to nonvolatile memory can only be executed when all paths are in EDIT
mode, this function returns "EW_OK" even if one of the paths is not in EDIT mode.
If the NC program is not saved to nonvolatile memory because it is in the wrong operation mode or
because of mistaken parameter settings, the value corresponding to the result of saving the NC program is
set in the second place of the list as the return value of the cnc_saveprog_end function.
The procedure for saving NC programs to nonvolatile memory is shown below.
For details about High-speed program management, refer to the "OPERATOR'S MANUAL (Common to
Lathe System/Machining Center System) (B-64484EN, B-64604EN) III.11.16 HIGH-SPEED PROGRAM
MANAGEMENT "
CAUTION
Use sufficient care when you write the NC program. There is a possibility that the
NC may run the wrong NC program. In this case, it may cause unexpected
machine behavior, and tools, machines or workpieces may be damaged.
You have to make sure that writing the NC program is safe and correct when
doing so.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 334/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
cnc_saveprog_end
[Syntax with arguments]
cnc_saveprog_end()
[Arguments]
None
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (94) Value to be stored in the return value of the cnc_saveprog_end function
Element Type Description
1st Numerical Return value of the function
element value EW_OK
Normal termination
EW_BUSY
In a Busy state.
An NC program is being saved to nonvolatile memory.
EW_FUNC
The cnc_saveprog_start function has not been executed.
2nd Numerical Result of saving an NC program to nonvolatile memory
element value If the first return value of this function is "EW_OK", the following values
corresponding to the NC program being saved to nonvolatile memory are set.
EW_OK Saving the NC program has completed normally.
EW_PARAM Parameter error
EW_MODE CNC mode error
EW_REJECT CNC processing is rejected. (If this function cannot be executed
by the CNC, the return value is this error.)
[Description]
Ends saving the NC program to nonvolatile memory.
If an NC program is being saved to nonvolatile memory, "EW_BUSY" is returned as the return value to
the first place in the list. Execute this function repeatedly until the NC program is completely saved to the
nonvolatile memory.
Once the NC program has been saved to nonvolatile memory, "EW_OK" is set to both the first place and
second place in the return value list.
If a value other than "EW_OK" is set to the second place of the list, saving the NC program to the
nonvolatile memory has failed. Confirm the settings of the CNC (for example, operation mode and
parameter settings), execute the cnc_saveprog_start function again, and retry saving the NC program to the
nonvolatile memory.
CAUTION
If the power supply of the CNC is interrupted while saving an NC program to
nonvolatile memory, alarm (PS0519) is displayed the next time the power supply
is turned, and all NC programs are cleared.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 335/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
cnc_file_cpmv_start
[Syntax with arguments]
cnc_file_cpmv_start (cpmv_mode, src_path, dst_path, attribute)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 336/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Return]
Details of the return values are as shown below.
Table 5.3 (96) Value to be stored in the return value of the cnc_file_cpmv_start function
Type Description
Numer Execution result
ical EW_OK
value Normal termination
EW_BUSY
Busy
- The cnc_file_cpmv_start function or cnc_file_cpmv_restart function has already been executed.
Use the cnc_file_cpmv_end function to end the previous copy process.
- Other users are accessing the same data window. Try again.
EW_ATTRIB
Incorrect data attribute
EW_VERSION
CNC / PMC and library version mismatch
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 337/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Description]
Starts copying arbitrary files / folders between I / O devices.
This function exits without waiting for the copy to complete.
When this function is executed, execute the cnc_file_cpmv_poll function to get the processing result until
the cnc_file_cpmv_poll function returns other than EW_BUSY.
After that, be sure to execute cnc_file_cpmv_end and exit.
Fig. 5.3 (e) Overall flow of copy processing using this function
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 338/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
You can get the result of the copy process by using the cnc_file_cpmv_poll function.
Copying is in progress while EW_BUSY is returned. Continue calling until EW_OK.
When the cnc_file_cpmv_poll function returns EW_OK, the result of the copy process is set in the
argument result.
If result is CPMV_SUCCESS, the copy process is successful.
Call the cnc_file_cpmv_end function to end the copy process.
If result is CPMV_ER_OVERLAPPED, the copy process is interrupted because a file with the same name
as the copy source exists in the copy destination. In this case, use the cnc_file_cpmv_restart function to
overwrite, skip, or select to restart the copy process.
If result is anything other than CPMV_SUCCESS, CPMV_ER_OVERLAPPED, the copy process has
failed completely or partially. Call the cnc_file_cpmv_end function to end the copy process.
dst
src
CNC_MEM MEMCARD DATA_SV USB_MEM
CNC_MEM - - - *
MEMCARD - - - *
DATA_SV - - - O
USB_MEM - - O -
O: Copy of file/folder is available.
- :Copy of file/folder is not available.
* : Only copy of file is available.
[Example]
When copying O0001 file of the data server device to a USB memory.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 339/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
ret = ret_values[0].to_i
result = ret_values [1].to_i
error_path = ret_values [2].to_s
sleep(10)
if ret == -1.to_i then # EW_BUSY
Msg = " Copy processing by cnc_file_cpmv_start function is being executed. "
elsif ret == 1.to_i then # EW_FUNC
Msg = " cnc_file_cpmv_start function not called."
end
if result == 3.to_i then # CPMV_ER_OVERLAPPE (if a file name with the same name exists)
ret_value = cnc_file_cpmv_restart(1) # Overwrite execution
if ret_value == -1.to_i then # EW_BUSY
Msg = " cnc_file_cpmv_start function or cnc_file_cpmv_restart function is already executed. "
elsif ret_value == 1.to_i then # EW_FUNC
Msg = " cnc_file_cpmv_start function is not called."
elsif ret_value == 4.to_i then # EW_ATTRIB
Msg = " Incorrect data attributes."
end
sleep(10)
end
end
ret_value = cnc_file_cpmv_end()
if ret_value == 1.to_i then # EW_FUNC
Msg = " cnc_file_cpmv_start function is not called."
end
end
[Available CNC]
FANUC Series 30i/31i/32i -MODEL B : STEP1 series Edition 30.0 or later
FANUC Series 30i -MODEL B Plus : since the first Edition
FANUC Series 0i-MODEL F : since the first Edition
FANUC Series 0i-MODEL F Plus : since the first Edition
Copy between USB memory (USB_MEM) and CNC built-in memory device (CNC_MEM) is available
with the following edition.
FANUC Series 30i/31i/32i -MODEL B : STEP2 series Edition 43.0 or later
FANUC Series 30i -MODEL B Plus : Edition 08.0 or later
FANUC Series 0i-MODEL F : STEP2 series Edition 36.0 or later
FANUC Series 0i-MODEL F Plus : Edition 17.0 or later
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 340/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
It can be used when all systems are in EDIT mode or in the emergency stop state.
Copy is not performed if the following conditions are met:
- When the copy destination folder has the edit prohibition attribute
- When the copy source file / folder is protected for the following reasons
- Parameters NE8 / NE9
- Display prohibited attribute
- Protected by 8-level data protection function
- BG editing program
- When the copy source or copy destination files is the main program or the running program
- When the copy destination folder is a subfolder of the copy source folder
When you specify a folder as the copy source, you cannot copy any of the files and folders in that
folder that meet the following conditions.
- When the copy source and copy destination files / folders are protected for the following reasons
- Parameters NE8 / NE9
- Display prohibited attribute
- Protected by 8-level data protection function
- If there is a BG editing program under the folder or subfolder you are trying to overwrite
- When the copy source or copy destination program has a higher protection level than the
operation level in 8-level data protection.
- When the copy source or copy destination file is the main program or the running program.
- When copying, the depth of the folder path after copying exceeds the depth of the folder path
allowed by the device.
- When the source folder exists in the initial state (USER, MTB1, etc.)
If you copy “//DATA_SV/DIR1/WORK1/A/” including folders / files that cannot be copied under
“//USB_MEM/DIR1/WORK1/” as shown below, the folders under folder A If C is protected, only the
files / folders before folder C are copied, and copying of the files / folders after folder C are
interrupted.
Do not copy
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 341/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
cnc_file_cpmv_poll
[Syntax with arguments]
cnc_file_cpmv_poll()
[Arguments]
None
[Return]
For this function, the return value is an array of 3 elements.
Details of the return values are as shown below.
CPMV_ER_FORMAT (1)
File / folder name format is incorrect, could not copy.
If you specify a USB memory path that does not exist, this error occurs.
CPMV_ER_NOT_EXIST (2)
The specified file / folder cannot be found, could not copy.
If you specify a data server path that does not exist, this error occurs.
CPMV_ER_OVERLAPPED (3)
A file with the same name as the copy source has already been registered in
the copy destination, copy process is interrupted.
Stop copying, or overwriting / skipping with cnc_file_cpmv_restart function to
continue.
CPMV_ER_HIERARCHICAL (4)
The hierarchy of the folder tree after copying exceeds the maximum value,
could not copy all files / folders.
CPMV_ER_SUBFOLDER (5)
The copy destination folder is the copy source folder
Therefore, it could not be copied.
CPMV_ER_MAINPRG (6)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 342/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
CPMV_ER_MAINPROG_IN_FLDR (7)
The main program was included in the folder specified as the copy destination,
and it was not possible to copy all files / folders.
.
CPMV_ER_PROT_PROG (8)
The copy destination or copy source folder / file was protected for one of the
following reasons and could not be copied.
- Parameters NE8 / NE9
- Edit prohibited attribute
- Display prohibited attribute
- Protected by 8-level data protection function
- BG editing program
CPMV_ER_PROT_PROG_IN_FLDR (9)
Protected folders / files are included in the folder specified as copy source or
copy destination, could not copy all files / folders.
CPMV_ER_MEMORY_OVER (10)
All files / folders could not be copied due to lack of free space.
CPMV_ER_EXECPROG (11)
The program under operation was specified as the copy destination and could
not be copied.
CPMV_ER_EXECPROG_IN_FLDR (12)
The program being operated was included in the folder specified as the copy
destination, could not copy all files / folders.
CPMV_ER_REGSTRY_NUM_OVER (13)
Could not copy all files / folders because the number of registrations was
exceeded.
CPMV_SUCCESS_SKIP(16)
Copied while skipping files / folders with the same name.
CPMV_ER_SAMEPATH(17)
Could not copy because the copy source and copy destination are the same.
CPMV_ER_DEVBUSY(18)
Could not copy because the input / output device of the copy source or copy
destination is in use.
CPMV_ER_DEVINVALID(19)
Could not copy because the input / output device of the copy cource or copy
destination cannot be used.
CPMV_ER_VERSION(20)
Could not copy because the version of the control software for the input /
output device is not supported.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 343/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
CPMV_ER_MODE(21)
Copy was interrupted because it was copyed while operating or CNC mode
was changed to other than EDIT mode or emergency stop while copying.
Copying is possible between the data server and the USB memory only when
the entire system is in EDIT mode, or in the emergency stop state and not in
operation.
CPMV_ER_SAMENAME(22)
The file with the same name is already registered.
CPMV_ER_ALARM(23)
Copy was interrupted due to the following NC alarm.
- TH Parity Alarm
- TV Parity Alarm
- Format error in NC program statement
- No Control-in
3rd element String The program / folder path that caused the error
If the execution result is other than CPMV_SUCCESS, the program / folder path
that caused the error is set.
If the file / folder is 33 characters or more, or the full path is 256 characters or
more, the file / folder name is cut off and stored.
NULL is stored if it is not an error for a particular file / folder.
[Description]
Gets the result of the copy process started by the cnc_file_cpmv_start function.
The return value is EW_BUSY during the copy process.
Call this function until the return value is other than EW_BUSY.
If the return value (first element) of the function is EW_OK, the result of copy processing is stored in the
second element.
After that, be sure to execute cnc_file_cpmv_end and exit.
If the second element is other than CPMV_SUCCESS, the program / folder path that caused the error is
stored in the third element.
If the second element is CPMV_ER_OVERLAPPED, you can restart the process by executing the
cnc_file_cpmv_restart function to specify whether to overwrite or skip the file / folder of the third element.
[Example]
See the example of the cnc_file_cpmv_start function.
[Available CNC]
FANUC Series 30i/31i/32i -MODEL B : STEP1 series Edition 30.0 or later
FANUC Series 30i -MODEL B Plus : since the first Edition
FANUC Series 0i-MODEL F : since the first Edition
FANUC Series 0i-MODEL F Plus : since the first Edition
NOTE
It can be used when all systems are in EDIT mode or in the emergency stop state.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 344/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
cnc_file_cpmv_end
[Syntax with arguments]
cnc_file_cpmv_end()
[Arguments]
None
[Return]
Details of the return values are as shown below.
Table 5.3 (98) Value stored in the return value of cnc_file_cpmv_end function
Type Description
Numerical Execution result
value EW_OK
Normal termination
EW_FUNC
The cnc_file_cpmv_start function is not called.
EW_VERSION
CNC / PMC and library version mismatch
[Description]
The copy process started by the cnc_file_cpmv_start function is terminated.
[Example]
See the usage example of the cnc_file_cpmv_start function.
[Available CNC]
FANUC Series 30i/31i/32i -MODEL B : STEP1 series Edition 30.0 or later
FANUC Series 30i -MODEL B Plus : since the first Edition
FANUC Series 0i-MODEL F : since the first Edition
FANUC Series 0i-MODEL F Plus : since the first Edition
NOTE
It can be used when all systems are in EDIT mode or in the emergency stop state.
[Function]
cnc_file_cpmv_restart
[Syntax with arguments]
cnc_file_cpmv_restart(check_mode)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 345/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Return]
Details of the return values are as shown below.
Table 5.3 (100) Value stored in the return value of cnc_file_cpmv_restart function
Type Description
Numerical Execution result
value EW_OK
Normal termination
EW_BUSY
Busy
- The cnc_file_cpmv_start function or cnc_file_cpmv_restart function has already been
executed.
Use the cnc_file_cpmv_end function to end the previous copy process.
- Other users are accessing the same data window.
Try again.
EW_FUNC
The cnc_file_cpmv_start function is not called.
EW_ATTRIB
Incorrect data attribute
The value of the operation mode (check_mode) when resuming copy processing is invalid.
EW_VERSION
CNC / PMC and library version mismatch
[Description]
With the cnc_file_cpmv_poll function, if the result is a suspended state of copy processing by a file with
the same name (result = CPMV_ER_OVERLAPPED), you can specify the subsequent operation
(overwrite / skip, etc.) and restart the copy process.
- Overwrite execution
Overwrites the file with the same name obtained by the cnc_file_cpmv_poll function.
If there is a file with the same name in the subsequent copy process, the copy process is interrupted
again.
- Skip execution
Skips the file with the same name obtained by the cnc_file_cpmv_poll function.
If there is a file with the same name in the subsequent copy process, the copy process is interrupted
again.
- Overwrite all
Until the copy processing after the file with the same name obtained by the cnc_file_cpmv_poll
function is completed, all the files with the same name are overwritten and the copy processing is
continued.
- All skip execution
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 346/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
All files with the same name are skipped and the copy process is continued until the copy process
after the file with the same name obtained by the cnc_file_cpmv_poll function is completed.
After executing this function, get the result by using the cnc_file_cpmv_poll function in the same way as
the cnc_file_cpmv_start function.
After that, be sure to execute the cnc_file_cpmv_end function to end the copy process.
[Example]
See the example of the cnc_file_cpmv_start function.
[Available CNC]
FANUC Series 30i/31i/32i -MODEL B : STEP1 series Edition 30.0 or later
FANUC Series 30i -MODEL B Plus : since the first Edition
FANUC Series 0i-MODEL F : since the first Edition
FANUC Series 0i-MODEL F Plus : since the first Edition
NOTE
It can be used when all systems are in EDIT mode or in the emergency stop state.
[Function]
cnc_rdparar
[Syntax with arguments]
cnc_rdparar(s_number, axis, e_number, length)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 347/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
The size per parameter is as shown in the table below. Because the sizes are arranged in ascending order
with respect to the number of parameters in the range from the start parameter number to the end parameter
number, the data block length (length) to be specified is the sum of them.
Table 5.3 (102) Formula for calculating the size per piece of parameter data
Specified axis number (axis) Formula
Non-axis parameter (0), 4 + (byte size of the parameter)
Axis parameter, one axis (1 to maximum
controlled axis number)
Axis parameter, all axes (-1) 4 + (byte size of the parameter) × (maximum number of controlled
axes)
There are the following types of parameters with different type and axis attributes, and the byte size is
different for each parameter to be specified. It is impossible to read a bit parameter one bit at a time. The
values of the specified parameters are read all at once 8 bits (1 byte) at a time.
Table 5.3 (103) Byte size for each type of Parameter data
Parameter type Description Byte size
Bit parameter Every bit has a meaning. 1
Bit parameter with axis Every bit has a meaning (each axis). 1
Byte parameter 1-byte data is stored. 1
Byte parameter with axis 1-byte data is stored (each axis). 1
Word parameter 2-byte data is stored. 2
Word parameter with axis 2-byte data is stored (each axis). 2
2-Word parameter 4-byte data is stored. 4
2-Word parameter with axis 4-byte data is stored (each axis). 4
Real parameter 4-byte data that indicates the value of a variable 8
and 4-byte data that indicates the number of
decimal places are stored.
Real parameter with axis 4-byte data that indicates the value of a variable 8
and 4-byte data that indicates the number of
decimal places are stored (each axis).
(Example)
When reading word parameters using non-axis parameters (axis = 0), the size of one parameter will
be "4 + 2 bytes = 6", which is not a multiple of 4. Therefore, add the missing 2bytes as a dummy
and specify 8 for the data block length (length).
[Return]
For this function, the return value is an array of 3 elements.
Details of the return values are as shown below.
Table 5.3 (104) Value to be stored in the return value of the cnc_rdparar function
Element Type Description
1st Numerical value Return value of the function
element EW_OK
Normal termination
EW_LENGTH
Incorrect data block length "length".
EW_NUMBER
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 348/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (105) Values to be stored in parameters that have been read (per parameter number)
Element Type Description
1st Numerical Parameter number
element value
2nd Numerical Data type
element value (1) Upper byte: Type attribute
Bit type: 0
Byte type: 1
Word type: 2
2-word type: 3
Real type: 4
(2) Lower byte: Axis number
Non-axis parameter: 0
Axis parameter, one axis: Axis number that has been read
Axis parameter, all axes: -1
3rd Variable array Values of the parameters that have been read
element For details on the value, refer to the following table "Values to be stored in
parameters that have been read."
For the read parameter values, the array elements become variable according to the type attribute and axis
number each parameter has, as shown below. When the all axes specification for axis data (-1) is made and
the type of the parameters that have been read is the axis type, the data for the current controlled axes will
be valid.
In addition, spindle-related parameters are also handled as axis parameters, but the data for the current
spindles will be valid.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 349/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (106) Values to be stored in parameters that have been read
Type attribute Specified axis number Number of Description
that parameters elements in
have the array
Bit type (0), Non-axis parameter (0), 1 Bit/byte/word/2-word type parameters or axis parameters
Byte type (1), Axis parameter, one axis (one axis)
Word type (2), (1 to maximum controlled For details on the value, refer to the following table
2-word type (3) axis number) "Values to be stored in bit/byte/word/2-word type
parameters or axis parameters (one axis)."
Axis parameter, all axes Maximum Bit/byte/word/2-word type axis parameters (for each axis)
(-1) number of For details on the value, refer to the following table
controlled "Values to be stored in bit/byte/word/2-word type axis
axes parameters (for each axis)."
Real type (4) Non-axis parameter (0), 2 Real parameters or axis parameters (one axis)
Axis parameter, one axis For details on the value, refer to the following table
(1 to maximum controlled "Values to be stored in real parameters or axis
axis number) parameters (one axis)."
Axis parameter, all axes Maximum Real parameters with axis (for each axis)
(-1) number of For details on the value, refer to the following table
controlled "Values to be stored in real parameters with axis (for
axes each axis)."
Table 5.3 (107) Values to be stored in bit/byte/word/2-word type parameters or axis parameters (one axis)
Element Type Description
1st element Numerical Value of the bit/byte/word/2-word type parameter or axis parameter
value (one axis)
Table 5.3 (108) Values to be stored in bit/byte/word/2-word type axis parameters (for each axis)
Element Type Description
1st to nth elements Numerical Value of the bit/byte/word/2-word type axis parameter (for each axis)
(n = Maximum number of value
controlled axes)
Table 5.3 (109) Values to be stored in real parameters or axis parameters (one axis)
Element Type Description
1st element Numerical Data of the real parameter or axis parameter (one axis)
value For details on the value, refer to the descriptions of real
parameters shown below.
2nd element Numerical Number of decimal places of the real parameter or axis parameter
value (one axis)
Table 5.3 (110) Values to be stored in real parameters with axis (for each axis)
Element Type Description
1st to nth elements Array of 2 Real parameters with axis (for each axis)
elements The details on the values are the same as those shown in the
above table "Values to be stored in real parameters or axis
parameters (one axis)".
A real parameter contains a data section and a section for the number of decimal places, which are
expressed in the following format:
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 350/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
(Example) When the data is 12345 and the number of decimal places is 3, the real parameter is expressed
as "12345×10-3 = 12.345".
A conceptual image of the return value that will actually be returned is shown below.
(1) When parameter numbers 6080 and 6081 (which are 2-word parameters) are read using non-axis
parameters (axis = 0)
[
0, # Processing result (0 = EW_OK)
2, # Number of parameters that have actually been read
[ # Parameters that have been read (per parameter number)
[ # First parameter
6080, # Parameter number
768, # Data type (768(dec) = 0x0300(hex), upper byte = 3, lower byte = 0)
[0] # Value of the bit/byte/word/2-word type axis parameter (array of 1 element)
],
[ # Second parameter
6081, # Parameter number
768, # Data type
[0] # Value of the bit/byte/word/2-word type axis parameter
]
]
]
(2) When parameter numbers 1425 (real parameter with axis) and 1426 (real parameter) are read by
specifying all axes for axis parameters (axis = -1)
[
0, # Processing result (0 = EW_OK)
2, # Number of parameters that have actually been read
[ # Parameters that have been read (per parameter number)
[ # First parameter
1425, # Parameter number
1279, # Data type (1279(dec) = 0x04FF(hex), upper byte = 4, lower byte = -1)
[ # Real parameter with axis
[100000, 4], # Value of the real parameter of the 1st axis (array of 2 elements)
[100000, 4], # Value of the real parameter of the 2nd axis (same as above)
[100000, 4], # Value of the real parameter of the 3rd axis (same as above)
... # The following is repeated to the maximum number of controlled axes.
# (Data for the current number of controlled axes or spindles will be valid.)
]
],
[ # Second parameter
1426, # Parameter number
1024, # Data type (1024(dec) = 0x0400(hex), upper byte = 4, lower byte = 0)
[ # Real parameter
[0, 4] # Value of the real parameter (array of 2 elements)
]
]
]
]
[Description]
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 351/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Reads the parameters in the specified range at the same time based on the start parameter number
(s_number), end parameter number (e_number), and axis number (axis).
Parameters may be added because of, for example, the addition of CNC software functions. For example, if
a parameter is added within the read range, an error may occur (return value of the function:
EW_LENGTH) or the application program may not operate correctly. To prevent these problems, specify a
read range containing only a set of consecutive parameter numbers.
For details on the parameters, refer to the "PARAMATER MANUAL" (B-63950EN, B-64490EN,
B-64610EN) of the CNC.
[Example]
When non-axis parameters (axis = 0) for parameter numbers 6080 and 6081 are read at the same time
[Function]
cnc_wrparas
[Syntax with arguments]
cnc_wrparas(length, param)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (112) Values to be set to parameters to be rewritten (for each parameter number)
Element Type Description
1st to mth Array of 3 Parameters to be rewritten (1st to mth)
elements elements For details on the value to be specified, refer to the following
table "Values to be set to parameters to be rewritten."
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 352/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
For some parameters, alarm PW0000 "POWER MUST BE OFF" may be issued when the data is rewritten.
If parameters whose write operation is prohibited (for example, parameters whose numbers are in the nine
thousands) exist in the specified parameter range, an error occurs. However, the other parameters are
rewritten.
[Example]
When parameter numbers 6080 and 6081 (which are 2-word parameters) are rewritten at the same time
type=(0x03 << 8 | 0x00) # Data type (upper byte: 3 and lower byte: 0)
param=Array.new # Creates an array of parameters to be rewritten.
param.push([6080, type, [[3]]]) # Sets 3 to the 1st parameter (parameter number: 6080).
param.push([6081, type, [[3]]]) # Sets 3 to the 2nd parameter (parameter number: 6081).
len=(4+2+2)*2 # Data block length (length) = (4 + byte size: 2 + dummy: 2) × two parameters
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 353/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
End
[Function]
cnc_rdwkcdshft
[Syntax with arguments]
cnc_rdwkcdshft(axis)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 354/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
The decimal point of the workpiece coordinate system shift data is read by using the cnc_getfigure
function.
[Example]
When the workpiece coordinate system shift data of axis number 1 is read
[Function]
cnc_wrwkcdshft
[Syntax with arguments]
cnc_wrwkcdshft(type, data)
[Arguments]
The arguments of this function are as shown below.
[Return]
Details of the return values are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 355/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Type Description
EW_PARAM
CNC parameter error.
Set bit 6 (NWS) of parameter No. 1201 to 0.
EW_REJECT
CNC processing is rejected.
The automatic operation start signal STL <F0000.5> is 1.
[Description]
Writes the workpiece coordinate system shift of the axis specified by the axis number.
The workpiece coordinate system shift data is set to the workpiece coordinate system shift array in signed
binary format.
The data of all axes can be written at once by setting -1 to the axis number.
The shift units are the same as those of the cnc_rdwkcdshft function described in "Reads workpiece
coordinate system shift." Refer to the explanation of that function.
CAUTION
Use sufficient care when you write the workpiece coordinate system shift data.
There is a possibility that the NC may run with the wrong workpiece coordinate
system shift data. In this case, it may cause unexpected machine behavior, and
tools, machines or workpieces may be damaged.
You have to make sure that writing the workpiece coordinate system shift data is
safe and correct when doing so.
[Example]
When the workpiece coordinate system shift data "123" is set to axis number 1
[Function]
cnc_rdpitchinfo
[Syntax with arguments]
cnc_rdpitchinfo()
[Arguments]
None
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (120) Value to be stored in the return value of the cnc_rdpitchinfo function
Element Type Description
1st element Numerical Execution result
value EW_OK
Normal termination
EW_NOOPT
No options
The pitch error compensation function is required.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 356/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
ret_values = cnc_rdpitchinfo() # Reads the number of usable pitch error compensation data items.
if ret_values[0] != EW_OK then
MsgBoxShow("ERROR", 0)
end
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 357/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
cnc_rdmacroinfo
[Syntax with arguments]
cnc_rdmacroinfo()
[Arguments]
None
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (121) Value to be stored in the return value of the cnc_rdmacroinfo function
Element Type Description
1st element Numerical Execution result
value EW_OK
Normal termination
EW_NOOPT
A required option is not specified.
The custom macro function is required.
2nd element Array Custom macro variable information
For details on the value, refer to the following table "Custom macro variable
information."
ret_values = cnc_rdmacroinfo()
# Reads the number of custom macro local variables and the number of available common variables.
if ret_values[0] != EW_OK then
MsgBoxShow("ERROR", 0)
end
3.7 Reading the minimum parameter number, maximum parameter number, and total number of parameters
[Function]
cnc_rdparanum
[Syntax with arguments]
cnc_ rdparanum()
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 358/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Arguments]
None
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (123) Value to be stored in the return value of the cnc_rdparanum function
Element Type Description
1st Numerical Execution result
element value EW_OK
Normal termination
2nd Array Information on the maximum parameter number, minimum parameter number, and total
element number of parameters
For details on the value, see the following "Information on the maximum parameter
number, minimum parameter number, and total number of parameters".
Table 5.3 (124) Information on the maximum parameter number, minimum parameter number, and total number of
parameters
Element Type Description
1st element Numerical value Maximum parameter number
2nd element Numerical value Minimum parameter number
3rd element Numerical value Total number of parameters
[Description]
Reads the minimum CNC parameter number, the maximum CNC parameter number, and the total number
of CNC parameters.
The distribution of CNC parameters varies from model to model, and additional parameters may be
provided through function expansion.
[Example]
When the minimum CNC parameter number, the maximum CNC parameter number, and the total number
of CNC parameters are read.
ret_values = cnc_rdparanum() # Reads the minimum CNC parameter number, the maximum CNC
parameter number, and the total number of CNC parameters.
if ret_values[0] != EW_OK then
MsgBoxShow("ERROR", 0)
end
3.8 Reading the minimum setting parameter number, maximum setting parameter number, and total number of
setting parameters
[Function]
cnc_rdsetnum
[Syntax with arguments]
cnc_rdsetnum()
[Arguments]
None
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 359/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (125) Value to be stored in the return value of the cnc_rdsetnum function
Element Type Description
1st element Numerical Execution result
value EW_OK
Normal termination
2nd element Array Information on the maximum setting parameter number, minimum setting parameter
number, and total number of setting parameters
For details on the value, see the following "Information on the maximum setting
parameter number, minimum setting parameter number, and total number of
setting parameters".
Table 5.3 (126) Information on maximum setting parameter number, minimum setting parameter number, and total
number of setting parameters
Element Type Description
1st element Numerical value Maximum setting parameter number
2nd element Numerical value Minimum setting parameter number
3rd element Numerical value Total number of setting parameters
[Description]
Reads the minimum CNC setting parameter number, the maximum CNC setting parameter number, and
the total number of CNC setting parameters.
The distribution of CNC setting parameters varies from model to model, and additional parameters may be
provided through function expansion.
[Example]
When the minimum CNC setting parameter number, the maximum CNC setting parameter number, and the
total number of CNC setting parameters are read.
ret_values = cnc_rdsetnum() # Reads the minimum CNC setting parameter number, the maximum
CNC setting parameter number, and the total number of CNC setting
parameters.
if ret_values[0] != EW_OK then
MsgBoxShow("ERROR", 0)
end
[Function]
cnc_rdtofsinfo2
[Syntax with arguments]
cnc_rdtofsinfo2()
[Arguments]
None
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 360/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (127) Value to be stored in the return value of the cnc_rdtofsinfo2 function
Element Type Description
1st element Numerical Execution result
value EW_OK
Normal termination
EW_NOOPT
A required option is not specified.
M series Number of tool offsets: (16)/32/64/99/200/400/499/999/2000 sets
Tool offset memory (A)/B/C
Tool radius and tool-nose radius compensation
T series Number of tool offsets: (16)/32/64/99/200/400/499/999/2000 sets
Tool geometry and wear compensation
Tool radius and tool-nose radius compensation
Y-axis offset
Second geometry tool offset
2nd Array Tool offset information
element For details on the value, refer to the following table "Tool offset information."
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 361/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
4.1 Reading tool life management data (number of tools, tool life, life counter) (range specified)
[Function]
cnc_rdtoolrng
[Syntax with arguments]
cnc_rdtoolrng(s_number, e_number)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (130) Value to be stored in the return value of the cnc_rdtoolrng function
Element Type Description
1st element Numerical Execution result
value EW_OK
Normal termination
EW_NUMBER
Data number error
The tool group number (s_number or e_number) is invalid.
EW_NOOPT
No options.
The tool life management function is required.
2nd element Array Information on the number of tools, tool life value, and tool life counter
For details on the value, refer to the following table "Information on the number
of tools, tool life value, and tool life counter."
Table 5.3 (131) Information on the number of tools, tool life value, and tool life counter
Element Type Description
1st element Numerical value Read start tool group number.
2nd element Numerical value Read end tool group number.
3rd element Array of N elements Tool life management data that has been read
(N = Number of tool As many tool life management data items as tool groups that have been
groups that have read are stored in an array. For details on the value, refer to the following
been read) table "Tool life management data that has been read."
Table 5.3 (132) Tool life management data that has been read
Element Type Description
1st element Numerical value Number of tools
2nd element Numerical value Tool life value
3rd element Numerical value Tool life counter
[Description]
Reads the number of tools, tool life value, and tool life counter value of each tool group within the
specified range.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 362/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
The units of the tool life value and tool life counter value are [minutes] or [times].
Which unit is used depends on the setting of bit 2 (LTM) of parameter No. 6800 on the CNC.
The number of tools, tool life value, and tool life counter value of each tool group within the specified
range are stored in the number of tools, tool life value, and tool life counter respectively in binary format.
Up to 256 sets (for both the M and T series) are available for tool life management throughout the entire
system. When additional tool set options for tool life management are added, the number of sets is
extended to 1024 (for both the M and T series) throughout the entire system.
4.2 Writing tool life management data (life counter) (range specified)
[Function]
cnc_wrcountr
[Syntax with arguments]
cnc_wrcountr(datano_s, datano_e, data)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 363/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (134) Value to be stored in the return value of the cnc_wrcountr function
Type Description
Numerical Execution result
value EW_OK
Normal termination
EW_NUMBER
Data number error
The tool group number (datano_s or datano_e) is invalid.
EW_DATA
The tool life counter value is beyond the limit.
EW_NOOPT
No options.
The tool life management function is required.
[Description]
Rewrites the tool life counter value of each tool group within the specified range.
Up to 256 sets (for both the M and T series) are available for tool life management throughout the entire
system. When additional tool set options for tool life management are added, the number of sets is
extended to 1024 (for both the M and T series) throughout the entire system.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 364/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
CAUTION
Use sufficient care when you write the tool life management data. There is a
possibility that the NC may run with the wrong tool life management data. In this
case, it may cause unexpected machine behavior, and tools, machines or
workpieces may be damaged.
You have to make sure that writing the tool life management data is safe and
correct when doing so.
4.3 Reading tool life management data (number of tool group being used or to be used)
[Function]
cnc_rdusegrpid
[Syntax with arguments]
cnc_rdusegrpid()
[Arguments]
None
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (135) Value to be stored in the return value of the cnc_rdusegrpid function
Element Type Description
1st element Numerical value Execution result
EW_OK
Normal termination
EW_NOOPT
No options.
The tool life management function is required.
2nd element Array Information on the numbers of the tool groups to be used
For details on the value, refer to the following table "Information on the
numbers of the tool groups to be used."
Table 5.3 (136) Information on the numbers of the tool groups to be used
Element Type Description
1st element Numerical value Number of the next tool group to be used.
2nd element Numerical value Number of the tool group being used.
3rd element Numerical value Number of the selected tool group.
[Description]
Reads the numbers of the tool groups being used and to be used.
Up to 256 sets (for both the M and T series) are available for tool life management throughout the entire
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 365/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
system. When additional tool set options for tool life management are added, the number of sets is
extended to 1024 (for both the M and T series) throughout the entire system.
4.4 Reading tool life management data (maximum number of tool groups that can be registered)
[Function]
cnc_rdmaxgrp
[Syntax with arguments]
cnc_rdmaxgrp()
[Arguments]
None
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (137) Value to be stored in the return value of the cnc_rdmaxgrp function
Element Type Description
1st element Numerical value Execution result
EW_OK
Normal termination
EW_NOOPT
No options.
The tool life management function is required.
2nd element Numerical value Maximum number of tool groups that can be registered
[Description]
Reads the maximum number of tool groups that can be registered.
Up to 256 sets (for both the M and T series) are available for tool life management throughout the entire
system. When additional tool set options for tool life management are added, the number of sets is
extended to 1024 (for both the M and T series) throughout the entire system.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 366/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Example]
When the maximum number of tool groups that can be registered is read
ret_values = cnc_rdmaxgrp( ) # Reads the maximum number of tool groups that can be registered.
if ret_values[0] != EW_OK then
MsgBoxShow("ERROR", 0)
end
4.5 Reading tool life management data (maximum number of tools that can be registered in a group)
[Function]
cnc_rdmaxtool
[Syntax with arguments]
cnc_rdmaxtool()
[Arguments]
None
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (138) Value to be stored in the return value of the cnc_rdmaxtool function
Element Type Description
1st element Numerical value Execution result
EW_OK
Normal termination
EW_NOOPT
No options.
The tool life management function is required.
2nd element Numerical value Maximum number of tools that can be registered in a group
[Description]
Reads the maximum number of tools that can be registered in a group.
Up to 256 sets (for both the M and T series) are available for tool life management throughout the entire
system. When additional tool set options for tool life management are added, the number of sets is
extended to 1024 (for both the M and T series) throughout the entire system.
ret_values = cnc_rdmaxtool( ) # Reads the maximum number of tools that can be registered in a group.
if ret_values[0] != EW_OK then
MsgBoxShow("ERROR", 0)
end
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 367/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
4.6 Reading tool life management data (ordinal number of the tool to be used in a group)
[Function]
cnc_rdusetlno
[Syntax with arguments]
cnc_rdusetlno(s_grp, e_grp)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (140) Value to be stored in the return value of the cnc_rdusetlno function
Element Type Description
1st element Numerical value Execution result
EW_OK
Normal termination
EW_NUMBER
Data number error
Tool group number (s_grp or e_grp)
EW_NOOPT
No options.
The tool life management function is required.
2nd element Array Ordinal number of tools
For details on the value, refer to the following table "Ordinal number of tools."
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 368/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
When the ordinal numbers of tools to be used in tool group numbers 10 to 12 are read
[Function]
cnc_rd1tlifedat2
[Syntax with arguments]
cnc_rd1tlifedat2(grp_num, tool_num)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (143) Value to be stored in the return value of the cnc_rd1tlifedat2 function
Element Type Description
1st element Numerical value Execution result
EW_OK
Normal termination
EW_NUMBER
Data number error
The tool group number (grp_num) is invalid.
EW_ATTRIB
Data attribute error
The specified tool number (tool_num) is invalid.
EW_NOOPT
No options.
The tool life management function is required.
2nd element Array All tool information
For details on the value, refer to the table "All tool information" below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 369/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
cnc_rd2tlifedata
[Syntax with arguments]
cnc_rd2tlifedata(grp_no, use_no)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 370/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (146) Value to be stored in the return value of the cnc_rd2tlifedata function
Element Type Description
1st element Numerical value Execution result
EW_OK
Normal termination
EW_NUMBER
Data number error
The tool group number (grp_no) is invalid.
EW_ATTRIB
Data attribute error
The specified tool ordinal number (use_no) is invalid.
EW_NOOPT
No options.
The tool life management function is required.
2nd element Array All tool information
For details on the value, refer to the table "All tool information" below.
Up to 256 sets (for both the M and T series) are available for tool life management throughout the entire
system. When additional tool set options for tool life management are added, the number of sets is
extended to 1024 (for both the M and T series) throughout the entire system.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 371/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
cnc_wr1tlifedat2
[Syntax with arguments]
cnc_wr1tlifedat2(datano, type, tool_num, h_code, d_code, tool_inf)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 372/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (149) Value to be stored in the return value of the cnc_wr1tlifedat2 function
Type Description
Numerical Execution result
value EW_OK
Normal termination
EW_NUMBER
Data number error
The tool group number (datano) is invalid.
EW_ATTRIB
Data attribute error
The specified current tool number (type) is invalid.
EW_DATA
Data error
To get more detailed information on this return value, execute the cnc_getdtailerr function.
The following is set to "Detail status" of the return value array:
0: Error other than EW_DATA.
1: New tool number (tool_num) error.
2: Tool length compensation number (h_code) error.
3: Tool radius compensation number (d_code) error.
4: Tool information (tool_inf) error.
EW_NOOPT
No options
The tool life management function is required.
EW_REJECT
CNC processing is rejected.
For a normal call :
An attempt was made to rewrite data of the tool group currently being used or the next tool
group to be used.
[Description]
Writes all tool information.
When all of the following conditions are satisfied for a normal call, error EW_REJECT(13) is returned:
- During automatic operation (OP = 1).
- The tool group with the target number is being used or is to be used next.
- Bit 1 (TCO) of parameter No. 6802 = 0.
When all of the following conditions are satisfied for a normal call, the tool status cannot be changed to the
cleared state:
- During automatic operation (OP = 1).
- The tool group with the target number is being used or is to be used next.
- The tool with the target number is being used.
- Bit 1 (TCO) of parameter No. 6802 = 1.
- Bit 2 (E17) of parameter No. 6802 = 1.
Up to 256 sets (for both the M and T series) are available for tool life management throughout the entire
system. When additional tool set options for tool life management are added, the number of sets is
extended to 1024 (for both the M and T series) throughout the entire system.
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 373/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
CAUTION
Use sufficient care when you write the tool life management data. There is a
possibility that the NC may run with the wrong tool life management data. In this
case, it may cause unexpected machine behavior, and tools, machines or
workpieces may be damaged.
You have to make sure that writing the tool life management data is safe and
correct when doing so.
[Function]
cnc_wr2tlifedata
[Syntax with arguments]
cnc_wr2tlifedata(datano, type, tool_num, h_code, d_code, tool_inf)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 374/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (151) Value to be stored in the return value of the cnc_wr2tlifedata function
Type Description
Numerical Execution result
value EW_OK
Normal termination
EW_NUMBER
Data number error
The tool group number (datano) is invalid.
EW_ATTRIB
Data attribute error
The specified tool ordinal number (type) is invalid.
EW_DATA
Data error
To get more detailed information on this return value, execute the cnc_getdtailerr function.
The following is set to "Detail status" of the return value array:
0: Error other than EW_DATA.
1: New tool number (tool_num) error.
2: Tool length compensation number (h_code) error.
3: Tool radius compensation number (d_code) error.
4: Tool information (tool_inf) error.
EW_NOOPT
No options
The tool life management function is required.
EW_REJECT
CNC processing is rejected.
For a normal call :
An attempt was made to rewrite data of the tool group currently being used or the next tool
group to be used.
[Description]
Writes all tool information.
Up to 256 sets (for both the M and T series) are available for tool life management throughout the entire
system. When additional tool set options for tool life management are added, the number of sets is
extended to 1024 (for both the M and T series) throughout the entire system.
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 375/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
CAUTION
Use sufficient care when you write the tool life management data. There is a
possibility that the NC may run with the wrong tool life management data. In this
case, it may cause unexpected machine behavior, and tools, machines or
workpieces may be damaged.
You have to make sure that writing the tool life management data is safe and
correct when doing so.
[Function]
cnc_wrgrpinfo
[Syntax with arguments]
cnc_wrgrpinfo(s_grp, e_grp, data)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 376/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (154) Value to be stored in the return value of the cnc_wrgrpinfo function
Type Description
Numerical Execution result
value EW_OK
Normal termination
EW_NUMBER
Data number error
The tool group number (s_grp or e_grp) is invalid.
EW_DATA
Data error
To get more detailed information on this return value, execute the cnc_getdtailerr function.
The following is set to "Detail status" of the return value array:
0: Error other than EW_DATA.
1: Tool life value (count_value) error.
2: Tool life counter value (counter) error.
3: Tool life counter type (count_type) error.
5: During automatic operation.
6: Next group to be used or group being used.
(No items other than the life counter value can be changed.)
Moreover, the block number including illegal data (0 or greater) is set in "Error data
number" in the return value array.
The tool group number is set.
EW_NOOPT
No options
The tool life management function is required.
EW_REJECT
CNC processing is rejected.
For a normal call :
An attempt was made to rewrite data of the tool group currently being used or the next tool
group to be used.
[Description]
Writes tool group information.
The maximum life value and life counter value are as follows:
When bit 4 (LFB) of parameter No. 6805 is set to disable the tool life management B function :
For the count specification : 65535 times
For the time specification : 4300 minutes
When bit 4 (LFB) of parameter No. 6805 is set to enable the tool life management B function :
For the count specification : 99999999 times
For the time specification : 100000 minutes
60000 minutes (0.1-second life count intervals)
Up to 256 sets (for both the M and T series) are available for tool life management throughout the entire
system. When additional tool set options for tool life management are added, the number of sets is
extended to 1024 (for both the M and T series) throughout the entire system.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 377/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Example]
When the tool group information of tool group numbers "10" and "11" is written
CAUTION
Use sufficient care when you write the tool life management data. There is a
possibility that the NC may run with the wrong tool life management data. In this
case, it may cause unexpected machine behavior, and tools, machines or
workpieces may be damaged.
You have to make sure that writing the tool life management data is safe and
correct when doing so.
[Function]
cnc_wrgrpinfo2
[Syntax with arguments]
cnc_wrgrpinfo2(s_grp, e_grp, opt_grpno)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 378/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (156) Value to be stored in the return value of the cnc_wrgrpinfo2 function
Type Description
Numerical Execution result
value EW_OK
Normal termination
EW_NUMBER
Data number error
The tool group number (s_grp or e_grp) is invalid.
EW_DATA
Data error
To get more detailed information on this return value, execute the cnc_getdtailerr function.
The following is set to "Detail status" of the return value array:
0: Error other than EW_DATA.
1: Arbitrary group number (opt_grpno) error.
Moreover, the block number including illegal data (0 or greater) is set in "Error data
number" in the return value array.
The tool group number is set.
EW_NOOPT
No options
The tool life management function is required.
EW_PARAM
No parameter
Parameters of the tool life management B function and arbitrary group number function must
be specified.
EW_REJECT
CNC processing is rejected.
For a normal call :
An attempt was made to rewrite data of the tool group currently being used or the next tool
group to be used.
[Description]
Writes tool group information 2.
Up to 256 sets (for both the M and T series) are available for tool life management throughout the entire
system. When additional tool set options for tool life management are added, the number of sets is
extended to 1024 (for both the M and T series) throughout the entire system.
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 379/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
end
CAUTION
Use sufficient care when you write the tool life management data. There is a
possibility that the NC may run with the wrong tool life management data. In this
case, it may cause unexpected machine behavior, and tools, machines or
workpieces may be damaged.
You have to make sure that writing the tool life management data is safe and
correct when doing so.
[Function]
cnc_wrgrpinfo3
[Syntax with arguments]
cnc_wrgrpinfo3(s_grp, e_grp, life_rest)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 380/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (158) Value to be stored in the return value of the cnc_wrgrpinfo3 function
Type Description
Numerical Execution result
value EW_OK
Normal termination
EW_NUMBER
Data number error
The tool group number (s_grp or e_grp) is invalid.
EW_DATA
Data error
To get more detailed information on this return value, execute the cnc_getdtailerr function.
The following is set to "Detail status" of the return value array:
0: Error other than EW_DATA.
1: Remaining life setting (life_rest) error.
Moreover, the block number including illegal data (0 or greater) is set in "Error data
number" in the return value array.
The tool group number is set.
EW_NOOPT
No options
The tool life management function is required.
EW_PARAM
No parameter
Parameters of the tool life management B function must be specified.
EW_REJECT
CNC processing is rejected.
For a normal call :
An attempt was made to rewrite data of the tool group currently being used or the next tool
group to be used.
[Description]
Writes tool group information 3.
Up to 256 sets (for both the M and T series) are available for tool life management throughout the entire
system. When additional tool set options for tool life management are added, the number of sets is
extended to 1024 (for both the M and T series) throughout the entire system.
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 381/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
CAUTION
Use sufficient care when you write the tool life management data. There is a
possibility that the NC may run with the wrong tool life management data. In this
case, it may cause unexpected machine behavior, and tools, machines or
workpieces may be damaged.
You have to make sure that writing the tool life management data is safe and
correct when doing so.
[Function]
cnc_deltlifegrp
[Syntax with arguments]
cnc_deltlifegrp(number)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (160) Value to be stored in the return value of the cnc_deltlifegrp function
Type Description
Numerical Execution result
value EW_OK
Normal termination
EW_NUMBER
Data number error
The tool group number (number) is invalid.
EW_DATA
Data error
To get more detailed information on this return value, execute the cnc_getdtailerr function.
The following is set to "Detail status" of the return value array:
0: Error other than EW_DATA.
5: During automatic operation.
6: Next group to be used or group being used.
EW_NOOPT
No options
The tool life management function is required.
EW_REJECT
CNC processing is rejected.
No data can be written because processing is being executed for the group, the group is
selected, or data of the group is being buffered.
[Description]
Deletes a tool group.
Information belonging to the specified group is all cleared.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 382/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Up to 256 sets (for both the M and T series) are available for tool life management throughout the entire
system. When additional tool set options for tool life management are added, the number of sets is
extended to 1024 (for both the M and T series) throughout the entire system.
CAUTION
Use sufficient care when you delete the tool life management data. There is a
possibility that the NC may run with the wrong tool life management data. In this
case, it may cause unexpected machine behavior, and tools, machines or
workpieces may be damaged.
You have to make sure that deleting the tool life management data is safe and
correct when doing so.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 383/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
5.1 Registering tool management data as a new entry (when customization data items 21 to 40 are used)
[Function]
cnc_regtool_f2
[Syntax with arguments]
cnc_regtool_f2(s_number, data_num, tool)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 384/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 385/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 386/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
1 For customization 5 through 20, registration and setting operations are permitted
only when equipped with the customization data expansion (5 to 20) option of the
tool management function.
2 For customization 5 through 40, registration and setting operations are permitted
only when equipped with the customization data expansion (5 to 40) option of the
tool management function.
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (163) Value to be stored in the return value of the cnc_regtool_f2 function
Element Type Description
1st element Numerical Return value of the function
value EW_OK
Normal termination
EW_BUSY
Another user is accessing the same data window.
Execute this function again.
EW_NUMBER
Start data number error
The start data number (s_number) is invalid. Or, an attempt was made to
exceed the valid number of data items in the tool management data table.
EW_DATA
Data error
To get more detailed information on this return value, execute the
cnc_getdtailerr function.
The following is set to "Detail status" of the return value array:
0: Error other than EW_DATA.
1: Tool type number error.
2: Tool life counter error.
3: Error in the maximum tool life value.
4: Error in the tool life value reported in advance.
5: Error in the tool life status.
6: Customization 0 error.
7: Tool information error.
8: Tool length compensation number (H) error.
9: Tool radius compensation number (D) error.
10: Spindle speed (S) error.
11: Cutting feedrate (F) error.
12: Tool geometry compensation number (G) error.
13: Tool wear compensation number (W) error.
14: Tool geometry number error.
15: Edge group number error.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 387/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Description]
In the tool management data table, it registers tool management data in the range specified with the starting
data number and the number of data items.
Tool management data items are sequentially registered one by one. If an error occurs, the subsequent
registration operations are not performed.
CAUTION
Use sufficient care when writing the tool management data. There is a possibility
that the NC may run with the wrong tool management data. In this case, it may
cause unexpected machine behavior, and tools, machines or workpieces may be
damaged.
You have to make sure that writing the tool management data is safe and correct
when doing so.
[Example]
When tool data with respect to the following two tool management data items are registered starting from
start data number 10:
1 Tool type number = 20, Tool life counter = 21, Maximum tool life value = 22, Remaining tool life
value = 23, Tool life state = 3, Customization (bits) = 24, Tool information = 25, Tool length
compensation number = 26, Tool radius compensation number = 27, Spindle speed = 28, Cutting
feedrate = 29, Tool geometry compensation number = 32, Tool wear compensation number = 33,
Tool geometry number = 0, Edge group number = 0, Edge number = 0, Storage destination magazine
number = 1, Storage destination pot number = 1, Customization 1 to 40 = 0
2 Tool type number = 10, Tool life counter = 11, Maximum tool life value = 12, Remaining tool life
value = 13, Tool life state = 3, Customization (bits) = 14, Tool information = 15, Tool length
compensation number = 16, Tool radius compensation number = 17, Spindle speed = 18, Cutting
feedrate = 19, Tool geometry compensation number = 22, Tool wear compensation number = 23,
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 388/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Tool geometry number = 0, Edge group number = 0, Edge number = 0, Storage destination magazine
number = 1, Storage destination pot number = 1, Customization 1 to 40 = 0
5.2 Writing tool management data (when customization data items 21 to 40 are used)
[Function]
cnc_wrtool_f2
[Syntax with arguments]
cnc_wrtool_f2(number, tool)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (165) Value to be stored in the return value of the cnc_wrtool_f2 function
Type Description
Numerical Return value of the function
value EW_OK
Normal termination
EW_BUSY
Another user is accessing the same data window.
Execute this function again.
EW_NUMBER
Data number error
The start data number (number) is invalid.
EW_DATA
Data error
To get more detailed information on this return value, execute the cnc_getdtailerr function.
The following is set to "Detail status" of the return value array:
0: Error other than EW_DATA.
1: Tool type number error.
2: Tool life counter error.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 389/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Type Description
3: Error in the maximum tool life value.
4: Error in the tool life value reported in advance.
5: Error in the tool life status.
6: Customization 0 error.
7: Tool information error.
8: Tool length compensation number (H) error.
9: Tool radius compensation number (D) error.
10: Spindle speed (S) error.
11: Cutting feedrate (F) error.
12: Tool geometry compensation number (G) error.
13: Tool wear compensation number (W) error.
14: Tool geometry number error.
15: Edge group number error.
16: Edge number error.
17: Error in the storage destination magazine number.
18: Error in the storage destination pot number.
27: The magazine and pot specified as the storage destination have already been registered.
29: Multi edge data is illegal.
(There is an inconsistency in the data for a multi-edged tool in the tool management
function.)
31-70: Customization 1 to 40 error.
EW_NOOPT
Required option not specified.
The tool life management function (64, 240, or 1000 pairs) is required.
EW_PROT
Write protection
The tool management data table is write-protected.
[Description]
Writes a specific tool management data item in the tool management data table.
To set individual items in specific tool management data, use the wrtool function.
CAUTION
Use sufficient care when writing the tool management data. There is a possibility
that the NC may run with the wrong tool management data. In this case, it may
cause unexpected machine behavior, and tools, machines or workpieces may be
damaged.
You have to make sure that writing the tool management data is safe and correct
when doing so.
[Function]
cnc_regmagazine
[Syntax with arguments]
cnc_regmagazine(data_num, mag)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 390/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 391/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
The magazine management table is searched for the magazine number and pot number, and a tool
management data number is written for each matching entry.
CAUTION
Use sufficient care when writing the tool management data. There is a possibility
that the NC may run with the wrong tool management data. In this case, it may
cause unexpected machine behavior, and tools, machines or workpieces may be
damaged.
You have to make sure that writing the tool management data is safe and correct
when doing so.
[Example]
When the following two tool management data items are registered
1st item: Magazine number = 1, Pot number = 1, Tool management data number = 10
2nd item: Magazine number = 2, Pot number = 2, Tool management data number = 20
[Function]
cnc_delmagazine
[Syntax with arguments]
cnc_delmagazine(data_num, mag)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 392/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (171) Value to be stored in the return value of the cnc_ delmagazine function
Element Type Description
1st element Numerical Return value of the function
value EW_OK
Normal termination
EW_BUSY
Another user is accessing the same data window.
Execute this function again.
EW_DATA
Data error
To get more detailed information on this return value, execute the
cnc_getdtailerr function.
The following is set to "Detail status" of the return value array:
0: Error other than EW_DATA.
21: Magazine number error.
22: Pot number error.
EW_NOOPT
Required option not specified.
The tool life management function (64, 240, or 1000 pairs) is required.
EW_PROT
Write protection
The tool management data table is write-protected.
2nd element Numerical Number of data items actually deleted
value
[Description]
Deletes a tool management data number in the magazine management table.
The magazine management table is searched for the magazine number and pot number, and the tool
management data numbers are deleted for each matching entry.
CAUTION
Use sufficient care when writing the tool management data. There is a possibility
that the NC may run with the wrong tool management data. In this case, it may
cause unexpected machine behavior, and tools, machines or workpieces may be
damaged.
You have to make sure that writing the tool management data is safe and correct
when doing so.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 393/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Example]
When the following two tool management data items are deleted
1st item: Magazine number = 1, Pot number = 1
2nd item: Magazine number = 2, Pot number = 2
[Function]
cnc_rdmagazine
[Syntax with arguments]
cnc_rdmagazine(data_num, mag)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (174) Value to be stored in the return value of the cnc_rdmagazine function
Element Type Description
1st Numerical value Return value of the function
element EW_OK
Normal termination
EW_BUSY
Another user is accessing the same data window.
Execute this function again.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 394/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (175) Tool management data that has been read
Element Type Description
1st element Numerical value Magazine number
The value specified for the argument is returned.
2nd element Numerical value Pot number
The value specified for the argument is returned.
3rd element Numerical value Tool management data number
[Description]
Reads a tool management data number in the magazine management table.
The magazine management table is searched for magazine number and pot number, and a tool management
data number is read for each matching entry.
[Example]
When the following two tool management data items are deleted
1st item: Magazine number = 1, Pot number = 1
2nd item: Magazine number = 2, Pot number = 2
[Function]
cnc_wrmagazine
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 395/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 396/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Example]
When data having magazine number = 1, pot number = 1, and tool management data number = 10 is
written
ret = cnc_wrmagazine(1,1,10)
if ret[0] != EW_OK then
MsgBoxShow("ERROR",0)
end
[Function]
cnc_wrtoolgeom_tlm
[Syntax with arguments]
cnc_wrtoolgeom_tlm(snum, datanum, tool)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (180) Value to be stored in the return value of the cnc_wrtoolgeom_tlm function
Element Type Description
1st element Numerical Return value of the function
value EW_OK
Normal termination
EW_BUSY
Another user is accessing the same data window.
Execute this function again.
EW_LENGTH
The specification of the number of data items to register (datanum) is invalid.
EW_NUMBER
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 397/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
To enable this function, the optional tool management function for 64, 240, or 1000 pairs and a large radius
tool supporting option are required.
[Example]
When the following information is written in the tool geometry data:
- Number of the tool geometry data to be written: 1, registration number: 2
- 1st registration Number of pots occupied to the left: 1, Number of pots occupied to the right: 2,
Number of pots occupied above: 3, Number of pots occupied below: 4, Geometry B
- 2nd registration Number of pots occupied to the left: 4, Number of pots occupied to the right:
3, Number of pots occupied above: 2, Number of pots occupied below: 1, Geometry A
exv_list = [0, 2]
ret = cnc_wrtoolgeom_tlm(1,2,[[1,2,3,4,1], [4,3,2,1,0]])
if ret[0].to_s == exv_list[0].to_s then
msg_txt = "OK¥n"
else
msg_txt = “ERROR(“ + ret[0].to_s + ")¥n"
end
MsgBoxShow( msg_txt, 0)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 398/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
CAUTION
Use sufficient care when you write the tool geometry data. There is a possibility
that the NC may run with the wrong tool geometry data. In this case, it may cause
unexpected machine behavior, and tools, machines or workpieces may be
damaged.
You have to make sure that writing the tool geometry data is safe and correct
when doing so.
[Function]
cnc_rdtoolgeom_tlm
[Syntax with arguments]
cnc_rdtoolgeom_tlm(snum, datanum)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (182) Value to be stored in the return value of the cnc_rdtoolgeom_tlm function
Element Type Description
1st element Numerical Return value of the function
value EW_OK
Normal termination
EW_BUSY
The same data window is being accessed by another user.
Execute the function again.
EW_LENGTH
The specification of the number of tool geometry data items to be acquired
("datanum") is invalid.
EW_NUMBER
Data number error.
The setting of the data number for starting acquisition ("snum") is invalid.
EW_NOOPT
No options
The optional tool management function for 64, 240, or 1000 pairs and a
large radius tool supporting option are required.
2nd element Numerical Number of data items successfully acquired.
value
3rd element Array Array for storing the read tool geometry data.
For the elements of each item, see “Array of read tool geometry data.”
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 399/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
To enable this function, the optional tool management function for 64, 240, or 1000 pairs and a large radius
tool supporting option are required.
[Example]
To read the following information from the tool geometry data
- Read tool geometry data number: 1, Number of read data items: 2
exv_list = [0,2,[[1,2,3,4,1],[4,3,2,1,0]]]
ret = cnc_rdtoolgeom_tlm(1,2)
if ret[0].to_s == exv_list[0].to_s then
msg_txt = "OK¥n"
else
msg_txt = “ERROR(“ + ret[0].to_s + ")¥n"
end
MsgBoxShow( msg_txt, 0)
[Function]
cnc_rdtlgeomsize_ext
[Syntax with arguments]
cnc_rdtlgeomsize_ext(coord, s_number, data_num)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 400/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (185) Value to be stored in the return value of the cnc_rdtlgeomsize_ext function
Element Type Description
1st element Numerical Return value of the function
value EW_OK
Normal termination
EW_LENGTH
Data block length error
The specification of the number of tool geometry size data items to be
acquired ("data_num") is invalid.
EW_NUMBER
Data number error
The specified data number for starting acquisition ("s_number") is invalid.
EW_ATTRIB
Data attribute error
The specification of the program coordinate system ("coord") is invalid.
EW_NOOPT
No options
The option for the 32-pair tool geometry size data, the 100-pair tool
geometry size data, or the 300-pair tool geometry size data is required.
2nd element Numerical Number of data items acquired
value
3rd element Array An array for storing the acquired tool geometry data.
For the elements of each item, see “Array of read tool geometry size data.”
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 401/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
exv_list = [0,1,[[0,0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0]]]]
ret = cnc_rdtlgeomsize_ext(0,1,1)
if ret[0].to_s == exv_list[0].to_s then
msg_txt = "OK¥n"
else
msg_txt = “ERROR(“ + ret[0].to_s + ")¥n"
end
MsgBoxShow( msg_txt, 0)
[Function]
cnc_wrtlgeomsize_ext
[Syntax with arguments]
cnc_wrtlgeomsize_ext(coord, type, s_number, data_num, tlgsext)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 402/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 403/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (189) Value to be stored in the return value of the cnc_wrtlgeomsize_ext function
Element Type Description
1st element Numerica Return value of the function
l value EW_OK
Normal termination
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 404/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
exv_list = [0,2]
ret = cnc_wrtlgeomsize_ext(0,0,1,2,[[2,3,4,5,10,5,20,"General"],[6,7,8,9,11,0,0,"Thread"]])
if ret[0].to_s == exv_list[0].to_s then
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 405/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
msg_txt = "OK¥n"
else
msg_txt = “ERROR(“ + ret[0].to_s + ")¥n"
end
MsgBoxShow( msg_txt, 0)
exv_list = [0,3]
ret = cnc_wrtlgeomsize_ext(0,0,1,3,[[0,0,0,0,0,0,0,""],[0,0,0,0,0,0,0,""],[0,0,0,0,0,0,0,""]])
if ret[0].to_s == exv_list[0].to_s then
msg_txt = "OK¥n"
else
msg_txt = “ERROR(“ + ret[0].to_s + ")¥n"
end
MsgBoxShow( msg_txt, 0)
NOTE
Use sufficient care when you write the tool geometry size data. There is a
possibility that the NC may run with the wrong tool geometry size data. In this
case, it may cause unexpected machine behavior, and tools, machines or
workpieces may be damaged.
You have to make sure that writing the tool geometry size data is safe and correct
when doing so.
[Function]
cnc_rdmag_property
[Syntax with arguments]
cnc_rdmag_property(data_num, mag)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 406/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (191) Value to be stored in the return value of the cnc_rdmag_property function
Element Type Description
1st Numerical value Return value of the function
element EW_OK
Normal termination
EW_LENGTH
Data block length error
The number of data items (data_num) is incorrect.
EW_NUMBER
Data number error
Magazine number is incorrect.
EW_NOOPT
Required option is not added.
Tool life management function (64, 240, and 1000 pairs) and the
tool management expansion B function are required.
2nd Numerical value Number of data items actually read
element
3rd Array of N elements Array of magazine property data
element (N = Number of read data For details on the value, see “Magazine property data ”below.
items)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 407/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
cnc_wrmag_property
[Syntax with arguments]
cnc_wrmag_property(data_num, magprty)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (194) Arguments of the cnc_wrmag_property function
Name Type Description
data_num Numerical value Number of setting items
1 to 8
Specify -1 when setting all magazine data
magprty Array of N elements Array of magazine property data
(N = Number of For details on the value, see “Magazine property data.”
setting items)
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (195) Value to be stored in the return value of the cnc_wrmag_property function
Element Type Description
1st Numerical Return value of the function
element value EW_OK
Normal termination
EW_LENGTH
Data block length error
The number of data items set (data_num) is incorrect.
EW_NUMBER
Data number error
Magazine number is incorrect.
EW_DATA
Data error.
To get more detailed information on this return value, execute the
cnc_getdtailerr function.
The following is set in “Detail status ”in the return value array.
0: Error other than EW_DATA.
1: Magazine information error.
11 to 14: Error in customized data 1 to 4.
EW_NOOPT
Required option is not added.
Tool life management function (64, 240, and 1000 pairs) and the tool
management expansion B function are required.
2nd Numerical Number of data items actually set
element value
[Description]
This function sets the specified number of magazine property data items.
[Example]
To set the following two magazine property data items
First magazine property data item: Magazine number=1, Magazine information data=5, Matrix line
number=10, Matrix row number=1, All customized data=0
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 408/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Second magazine property data item: Magazine number=2, Magazine information data=5, Matrix line
number=20, Matrix row number=2, All customized data=0
NOTE
Use sufficient care when you write the magazine property data. There is a
possibility that the NC may run with the wrong magazine property data. In this
case, it may cause unexpected machine behavior, and tools, machines or
workpieces may be damaged.
You have to make sure that writing of the magazine property data is safe and
correct when doing so.
[Function]
cnc_delmag_property
[Syntax with arguments]
cnc_delmag_property(data_num, magprty)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (196) Arguments of the cnc_delmag_property function
Name Type Description
data_num Numerical value Number of items to be deleted
1 to 8
Specify -1 when deleting all magazine data.
magprty Array of N elements Array of magazine numbers
(N = Number of items to be (Except for when deleting all magazine data)
deleted) Specify the number of the magazine to be deleted.
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (197) Value to be stored in the return value of the cnc_delmag_property function
Element Type Description
1st Numerical Return value of the function
element value EW_OK
Normal termination
EW_LENGTH
Data block length error
The number of data items deleted (data_num) is incorrect.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 409/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
Use sufficient care when you delete the magazine property data. There is a
possibility that the NC may run with the wrong magazine property data. In this
case, it may cause unexpected machine behavior, and tools, machines or
workpieces may be damaged.
You have to make sure that deletion of the magazine property data is safe and
correct when doing so.
[Function]
cnc_rdpot_property
[Syntax with arguments]
cnc_rdpot_property(magazine, s_number, data_num)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 410/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 411/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Example]
When setting 1 for the magazine number to be acquired, 1 for the pot number for starting acquisition, and 2
for the number of items to be acquired
ret = cnc_rdpot_property(1,1,2)
if ret[0] != EW_OK then
MsgBoxShow("ERROR",0)
end
[Function]
cnc_wrpot_property
[Syntax with arguments]
cnc_wrpot_property(magazine, s_number, data_num, potprty)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 412/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
Use sufficient care when you write pot property data. There is a possibility that the
NC may run with the wrong pot property data. In this case, it may cause unexpected
machine behavior, and tools, machines or workpieces may be damaged.
You have to make sure that writing the pot property data is safe and correct when
doing so.
[Example]
When setting 1 for the magazine number to be set, 1 for the pot number for starting setting, 1 for the
number of items to be set, 1 for the pot property data (work management number = 1, pot type = 1, pot
information 1 = 1, pot information 2 = 1, and customized data 1 to 10 as 1 to 0)
ret = cnc_wrpot_property(1,1,1,[[1,1,1,1,[1,2,3,4,5,6,7,8,9,0]]])
if ret[0] != EW_OK then
MsgBoxShow("ERROR",0)
end
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 413/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
cnc_delpot_property
[Syntax with arguments]
cnc_delpot_property(magazine, s_number, data_num)
[Arguments]
The arguments of this function are as shown below.
NOTE
Use sufficient care when you write pot property data. There is a possibility that the
NC may run with the wrong pot property data. In this case, it may cause unexpected
machine behavior, and tools, machines or workpieces may be damaged.
You have to make sure that writing the pot property data is safe and correct when
doing so.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 414/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Example]
When setting 1 for the magazine number to be deleted, 1 for the pot number for starting deletion, and 1 for
the number of items to be deleted
ret = cnc_delpot_property(1,1,1)
if ret[0] != EW_OK then
MsgBoxShow("ERROR",0)
end
[Function]
cnc_tool_move
[Syntax with arguments]
cnc_tool_move(src_magazine, src_pot, dest_magazine, dest_pot)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (209) Value to be stored in the return value of the cnc_tool_move function
Type Description
Numerical Return value of the function
value EW_OK
Normal termination.
EW_DATA
Structure member error.
A member in the structure is incorrect.
To get more detailed information on this return value, execute the cnc_getdtailerr function.
The following is set in “Detail status ”in the return value array.
0: Error other than EW_DATA
1: Error in magazine number of transfer source
2: Error in pot number of transfer source
3: There is no tool in the magazine and pot of the transfer source.
4: Error in magazine number of transfer destination
5: Error in pot number of transfer destination
6: There is a tool in the magazine and pot of the transfer destination.
EW_NOOPT
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 415/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Type Description
No options.
The tool management function for 64 pairs, the tool management function for 240 pairs, or
the tool management function for 1000 pairs is required.
EW_PROT
Write protection is applied.
The magazine management data table and the tool management data table are
write-protected.
EW_REJECT
If a tool management function with large diameter support is set, the tool transfer to a
magazine or a pot in the transfer destination interferes with other tools.
[Description]
This function transfers the tool information set in the specified magazine and pot to the magazine and pot
of the transfer destination. Unlike the tool attachment function or the tool detachment tool, there is no input
or output of signals.
[Example]
To transfer the tool management data with the following information
- Transfer source magazine number: 1, transfer source pot number: 1, transfer destination magazine
number: 1, transfer destination pot number: 2
exv_list = [0]
ret = cnc_tool_move(1,1,1,2)
if ret[0].to_s == exv_list[0].to_s then
msg_txt = "OK¥n"
else
msg_txt = “ERROR(“ + ret[0].to_s + ")¥n"
end
MsgBoxShow( msg_txt, 0)
NOTE
Use sufficient care when writing the tool management data. There is a possibility
that the NC may run with the wrong tool management data. In this case, it may
cause unexpected machine behavior, and tools, machines or workpieces may be
damaged.
You have to make sure that writing the tool management data is safe and correct
when doing so.
[Function]
cnc_btlfpotsrh
[Syntax with arguments]
cnc_btlfpotsrh(type, magnum, geomnum, potnum)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 416/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 417/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Description]
Search the free pot that fits the specified geometry ("geomnum") in the same magazine ("magnum") based
on the specified pot position ("potnum") as a reference.
The free pot is searched in the direction specified by ("type").
[Example]
When setting -1 (reverse order) for the free pot search direction, 1 for the search target magazine number,
20 for the geometry number of the tool to be stored, and 4 for the pot number for starting search
ret = cnc_btlfpotsrh(-1,1,20,4)
if ret[0] != EW_OK then
MsgBoxShow("ERROR",0)
end
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 418/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
cnc_stopophis
[Syntax with arguments]
cnc_stopophis()
[Arguments]
None
[Return]
Details of the return values are as shown below.
Table 5.3 (213) Value to be stored in the return value of the cnc_stopophis function
Type Description
Numerical Return value of the function
value EW_OK
Normal termination
EW_REJECT
CNC processing is rejected.
[Description]
This function instructs the CNC to stop sampling operation history data, alarm history data, and external
operator's message history data.
[Function]
cnc_startophis
[Syntax with arguments]
cnc_startophis()
[Arguments]
None
[Return]
Details of the return values are as shown below.
Table 5.3 (214) Value to be stored in the return value of the cnc_startophis function
Type Description
Numerical Return value of the function
value EW_OK
Normal termination
EW_FUNC
Function not executed
History data sampling is not stopped (cnc_stopophis).
[Description]
This function instructs the CNC to restart the sampling of the operation history data, the alarm history data,
and the external operator message history data.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 419/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
cnc_rdophisno
[Syntax with arguments]
cnc_rdophisno()
[Arguments]
None
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (215) Value to be stored in the return value of the cnc_rdophisno function
Element Type Description
1st Numerical Execution result
element value EW_OK
Normal termination
EW_FUNC
Function not executed
History data sampling is not stopped (cnc_stopophis).
2nd Numerical Number of operation history data items
element value
[Description]
This function reads the number of operation history data items.
When reading the operation history data with the cnc_rdophistry3 function, use the cnc_rdophisno3
function instead of this function.
Before using this function, stop the history data sampling (cnc_stopophis function).
(Example)
When the following history data is displayed on the NC operation history screen, the number of
operation history data items can be read as 3 with this function.
History number Operation history
1 1999/11/22 Power ON time
12:34:56
2 PS0181
1999/11/22 Alarm
13:00:00
MDI key operation
3 [SOFT1]
[Example]
To get the number of operation history data items
ret = cnc_rdophisno()
if ret[0] == EW_OK then
msg_txt = "Number of operation history data items:" + ret[1].to_s + "¥n"
MsgBoxShow(msg_txt,0)
end
[Function]
cnc_clearophis
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 420/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (217) Value to be stored in the return value of the cnc_clearophis function
Type Description
Numerical Return value of the function
value EW_OK
Normal termination
EW_ATTRIB
Data attribute error
Specification of history data type (slct) is incorrect.
EW_PARAM
CNC parameter error
Define parameter EKE(No.3195#7)=1.
[Description]
The history data to be cleared depends on the parameters SAH (No.11354#2) and SOH (No.11354#3) and
the setting of the slct argument.
For details, see the following table.
Table 5.3 (218) History data to be cleared
Parameter External operator
Alarm history
SAH SOH slct argument Operation history data Message history
Data
(No.11354#2) (No.11354#3) Data
0 Cleared Cleared Cleared
0 0 1 Cleared Cleared Cleared
2 Cleared Cleared Cleared
0 Cleared Not cleared Cleared
1 0 1 Not cleared Cleared Not cleared
2 Cleared Not cleared Cleared
0 Cleared Cleared Not cleared
0 1 1 Cleared Cleared Not cleared
2 Not cleared Not cleared Cleared
0 Cleared Not cleared Not cleared
1 1 1 Not cleared Cleared Not cleared
2 Not cleared Not cleared Cleared
[Function]
cnc_rdalmhisno
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 421/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (219) Value to be stored in the return value of the cnc_rdalmhisno function
Element Type Description
1st Numerical Execution result
element value EW_OK
Normal termination
EW_FUNC
Function not executed
History data sampling is not stopped (cnc_stopophis).
2nd Numerical Number of alarm history data items
element value
[Description]
This function reads the number of alarm history data items.
When reading the alarm history data using the cnc_rdalmhistry4 function, use the cnc_rdalmhisno3
function instead of this function to read the number of alarm history data.
Before using this function, stop the history data sampling (cnc_stopophis function).
[Example]
To get the number of alarm history data items
ret = cnc_rdalmhisno()
if ret[0] == EW_OK then
msg_txt = "Number of alarm history data items:" + ret[1].to_s + "¥n”
MsgBoxShow(msg_txt,0)
end
6.6 Reading the number of external operator message history data items
[Function]
cnc_rdomhisno
[Syntax with arguments]
cnc_rdomhisno()
[Arguments]
None
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (220) Value to be stored in the return value of the cnc_rdomhisno function
Element Type Description
1st Numerical Execution result
element value EW_OK
Normal termination
EW_FUNC
Function not executed
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 422/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Before using this function, stop the history data sampling (cnc_stopophis function).
[Function]
cnc_rdalmhisno3
[Syntax with arguments]
cnc_rdalmhisno3()
[Arguments]
None
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below
Table 5.3 (221) Value to be stored in the return value of the cnc_rdalmhisno3 function
Element Type Description
1st element Numerical Execution result
value EW_OK
Normal termination
EW_FUNC
Function not executed
History data sampling is not stopped (cnc_stopophis).
2nd element Numerical Number of alarm history data items
value
[Description]
Reads the number of alarm history data items.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 423/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
When reading the alarm history data using the cnc_rdalmhistry4 function, use this function instead
of the cnc_rdalmhisno function to read the number of alarm history data.
Before using this function, stop history data sampling (execute cnc_stopophis function).
[Example]
To get the number of alarm history data items
ret_value = cnc_stopophis()
if ret_value[0] == 0 then
ret_value2 = cnc_rdalmhisno3()
cnc_startophis()
if ret_value2[0] == 0 then
Msg = "Number of alarm history data =" + ret_value2[1].to_s
else
MsgBoxShow("ERROR", 0 )
end
end
[Function]
cnc_rdalmhistry4
[Syntax with arguments]
cnc_rdalmhistry4(s_no, e_no)
[Arguments]
The arguments of this function are as shown below.
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (223) Value to be stored in the return value of the cnc_rdalmhistry4 function
Element Type Description
1st element Numerical Execution result
value EW_OK
Normal termination
EW_FUNC
Function not executed
History data sampling is not stopped (cnc_stopophis).
EW_LENGTH
Error in the number of data items
Specify the end record number so that the number of alarm history data to be
acquired is within 32 records.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 424/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (224) Start record number, End record number, Alarm history data
Element Type Description
1st element Numerical Start record number of the read range
value
2nd element Numerical End record number of the read range
value
3rd element Array of n Array of alarm history data
elements For details on the value, see “Alarm history data” below.
(n =
Number of
records)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 425/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Description]
Reads alarm history data.
When using this function, use the cnc_rdalmhisno3 function instead of the cnc_rdalmhisno function
to read the number of alarm history data.
The unit of one alarm history data item is called a record. With the cnc_rdalmhistry4 function,
up to 32 records of alarm history data can be acquired at a time.
Operation history data, alarm history data, and external operator’s message history data are
automatically recorded by the CNC.
To access these data items, data sampling by the CNC must be stopped temporarily. To stop data
sampling, before using this function, execute "stop history data sampling" (cnc_stopophis function).
To minimize the history data sampling stop time, execute "resume history data sampling"
(cnc_startophis function) immediately after history data has been read.
The start/end record number is the number assigned to each alarm history data record to be read.
These record numbers are effective after "stop history data sampling" is executed until "resume
history data sampling" is executed.
If the number of records in the recorded history data is less than the range of start / end record numbers
specified by the argument, the end record number of the return value will be the last record number read.
[Example]
When acquiring the data of the alarm history records No.1 to No.5.
ret_value = cnc_stopophis()
if ret_value[0] == 0 then
s_no = 1
e_no = 5
ret_value3 = cnc_rdalmhistry4(s_no, e_no)
if ret_value3[0] == 0 then
record_list = ret_value3[1]
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 426/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
s_no2 = record_list[0]
e_no2 = record_list[1]
for i in 0.. e_no2-s_no2 do
record = record_list[2][i]
alm_msg[i] = record[11]
end
else
MsgBoxShow("ERROR", 0 )
end
cnc_startophis()
end
[Function]
cnc_rdomhistry2
[Syntax with arguments]
cnc_rdomhistry2(s_no, e_no)
[Arguments]
The arguments of this function are as shown below.
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (227) Value to be stored in the return value of the cnc_rdomhistry2 function
Element Type Description
1st element Numerical Execution result
value EW_OK
Normal termination
EW_FUNC
Function not executed
History data sampling is not stopped (cnc_stopophis).
EW_LENGTH
Error in the number of data items
Specify the end record number so that the number of external operator’s
message history data to be acquired is within 32 records.
EW_NUMBER
Data number error
The start record number (s_no) or end record number (e_no) is invalid.
Or history data is not recorded.
EW_PARAM
CNC parameter error
Define parameter OMH(No.3112#2)=1
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 427/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (228) Start record number, End record number, External operator’s message history data
Element Type Description
1st element Numerical Start record number of the read range
value
2nd element Numerical End record number of the read range
value
3rd element Array of n Array of External operator’s message history data
elements For details on the value, see “External operator’s message history data” below.
(n =
Number of
records)
[Description]
Reads external operator’s message history data.
The unit of one external operator’s message history data item is called a record. With the cnc_rdomhistry2
function, up to 32 records of external operator’s message history data can be acquired at a time.
Operation history data, alarm history data, and external operator’s message history data are
automatically recorded by the CNC.
To access these data items, data sampling by the CNC must be stopped temporarily. To stop data
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 428/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
sampling, before using this function, execute "stop history data sampling" (cnc_stopophis function).
To minimize the history data sampling stop time, execute "resume history data sampling" (cnc_startophis
function) immediately after history data has been read.
The start/end record number is the number assigned to each external operator’s message history data record
to be read. These record numbers are effective after "stop history data sampling" is executed until "resume
history data sampling" is executed.
If the number of records in the recorded history data is less than the range of start / end record numbers
specified by the argument, the end record number of the return value will be the last record number read.
[Example]
When acquiring the data of the external operator’s message history records No.1 to No.5.
ret_value = cnc_stopophis()
if ret_value[0] == 0 then
s_no = 1
e_no = 5
ret_value3 = cnc_rdomhistry2(s_no, e_no)
if ret_value3[0] == 0 then
record_list = ret_value3[1]
s_no2 = record_list[0]
e_no2 = record_list[1]
for i in 0.. e_no2-s_no2 do
record = record_list[2][i]
ope_msg[i] = record[8]
end
else
MsgBoxShow("ERROR", 0 )
end
cnc_startophis()
end
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 429/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
cnc_rddsfile
[Syntax with arguments]
cnc_rddsfile(dev_name, ds_file_in )
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (232) Value to be stored in the return value of the cnc_rddsfile function
Element Type Description
1st element Numerical Return value of the function
value EW_OK
Normal termination
EW_NOOPT
No options
To get more detailed information on this return value, execute the
cnc_getdtailerr function.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 430/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 431/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
For specific examples, see the [Description] column of the function reference for the cnc_rddsfile function
in the C Language Executor Programming Manual (B-63943JA-3).
[Example]
To get the file information of the folder "//DATA_SV/TEST001/"
ds_file_in = ["//DATA_SV/TEST001/TEST01",0,0,3,1,1]
/* Reference file = " TEST01 ”(serial number = 0, offset = 0)
Number of acquired files = 3
Data size units = Bytes
*/
ret = cnc_rddsfile( "DATA_SV", ds_file_in )
if ret[0] != EW_OK then
msg_txt = “ERROR(“ + ret[0].to_s + ")¥n"
MsgBoxShow(msg_txt,0)
end
NOTE
1 When the data folder is protected by a password, the folder information of the
data folder is not acquired even if the file list information in the folder including the
data folder is acquired. In this case, the serial number of the file advances by one.
2 Even if the data folder is protected by a password, the file list information in the
data folder can be acquired in the following cases.
- The data folder is set as the current folder and only the file name or a NULL
character is specified for the 1st element of the ds_file_in argument.
- The full path of the file in the data folder is specified as the 1st element of the
ds_file_in argument.
- The full path of the data folder is specified as the 1st element of the ds_file_in
argument.
3 If CNC software or communication software that does not support full path
specification for the 1st element of the ds_file_in argument is used, the file list
information is acquired based on the first file in the current folder when the full
path of the file or folder is specified.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 432/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
cnc_rddsdir
[Syntax with arguments]
cnc_rddsdir(dev_name)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (236) Value to be stored in the return value of the cnc_rddsdir function
Element Type Description
1st element Numerical Return value of the function
value EW_OK
Normal termination.
EW_NOOPT
No options.
To get more detailed information on this return value, execute the
cnc_getdtailerr function.
The following is set in “Detail status ”in the return value array.
22: No fast Ethernet board.
24: The data server function is not available.
EW_BUSY
The data server is being used by other functions.
EW_DATA
The specification of the dev_name argument is incorrect.
EW_DTSRVR
An error occurred in the data server.
To get more detailed information on this return value, execute the
cnc_getdtailerr function.
The following is set in “Detail status ”in the return value array.
464: No CF card. Or, the CF card is not formatted
2nd element Numerical 0 is set as a fixed value.
value
3rd element String Acquired current folder name
Acquired current drive + current folder name string
Maximum number of characters is 255.
If a problem occurs, a NULL character is set.
[Description]
This function gets the full path of the current folder on the CF card of the data server.
[Example]
To get the current folder of the data server
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 433/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
cnc_dschdir
[Syntax with arguments]
cnc_dschdir(dev_name, dir)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 434/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Type Description
The following is set in “Detail status ”in the return value array.
22: No fast Ethernet board.
24: The data server function is not available.
[Description]
This function changes the current folder of the CF card of the data server.
[Example]
To change the current folder of the data server to "//DATA_SV/TEST001/"
NOTE
1 The setting contents of the current folder synchronize with the program list screen
of the CNC. That is, when the current folder is changed by this function, the
changed content is applied to the program list screen. Specify a full path for all file
operations when the file operation is executed with the C Language Executor
Application independently from the program list screen.
2 If the data folder is set to the current folder, the information in the data folder is
displayed on the program list screen even if the data folder is protected by a
password. Use sufficient care when you set the data folder as the current folder.
[Function]
cnc_dsmkdir
[Syntax with arguments]
cnc_dsmkdir(dev_name, dir)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 435/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
cnc_dsrmdir
[Syntax with arguments]
cnc_dsrmdir(dev_name, dir)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 436/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
ret = cnc_dsrmdir("DATA_SV","ABCDEFG")
if ret != EW_OK then
msg_txt = “ERROR(“ + ret.to_s + ")¥n"
MsgBoxShow(msg_txt,0)
end
NOTE
Use sufficient care when you delete the NC program. There is a possibility that
the NC may run the wrong NC program. In this case, it may cause unexpected
machine behavior, and tools, machines or workpieces may be damaged.
You have to make sure that deleting the NC program is safe and correct when
doing so.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 437/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
cnc_dsremove
[Syntax with arguments]
cnc_dsremove(dev_name, file)
[Arguments]
The arguments of this function are as shown below.
ret = cnc_dsremove("DATA_SV","ABCDEFG")
if ret != EW_OK then
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 438/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
Use sufficient care when you delete the NC program. There is a possibility that
the NC may run the wrong NC program. In this case, it may cause unexpected
machine behavior, and tools, machines or workpieces may be damaged.
You have to make sure that deleting the NC program is safe and correct when
doing so.
[Function]
cnc_rddsdevinfo
[Syntax with arguments]
cnc_rddsdevinfo(type)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 439/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
ret = cnc_rddsdevinfo( 2 )
if ret[0] != EW_OK then
msg_txt = “ERROR(“ + ret[0].to_s + ")¥n"
MsgBoxShow(msg_txt,0)
end
NOTE
Use sufficient care when you delete the NC program. There is a possibility that
the NC may run the wrong NC program. In this case, it may cause unexpected
machine behavior, and tools, machines or workpieces may be damaged.
You have to make sure that deleting the NC program is safe and correct when
doing so.
[Function]
cnc_dsrename
[Syntax with arguments]
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 440/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 441/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
cnc_dscopyfile
[Syntax with arguments]
cnc_dscopyfile(srcfile, dstfile)
[Arguments]
The arguments of this function are as shown below.
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 442/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Example]
To copy the data server function file “ABCDEFG ”into “HIJKLMN ”
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 443/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
8.1 Reading the maximum number of significant figures and the number of decimal places.
[Function]
cnc_getfigure
[Syntax with arguments]
cnc_getfigure(data_type)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (252) Value to be stored in the return value of the cnc_getfigure function
Element Type Description
1st element Numerical value Execution result
EW_OK
Normal termination
EW_ATTRIB
The specified data type (data_type) is invalid.
2nd element Numerical value Maximum number of significant figures
3rd element Array of m elements Digits after the decimal point in units of input
(m = maximum (For data other than axis data, only the beginning of the array is valid.)
number of controlled For details on the value to be set, see [Description].
axes)
4th element Array of m elements Digits after the decimal point in units of output
(m = maximum (For data other than axis data, only the beginning of the array is valid.)
number of controlled For details on the value to be set, see [Description].
axes)
[Description]
This function reads the maximum number of significant figures, input unit, and output unit of each kind of
data of the CNC.
The value that can be read by the window library is the binary data in the setting units of the CNC.
Consequently, you must set up the display of the decimal point position and other items with consideration
given to the increment system.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 444/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
1) Axis data
Table 5.3 (255) Digits after the decimal point of the axis system data
Straight axis Rotation axis
[mm] [inch] [deg]
IS-A 2 3 2
IS-B 3 4 3
IS-C 4 5 4
IS-D 5 6 5
IS-E 6 7 6
*The metric/inch of the straight axis obeys the CNC parameter.
For input unit Input setting unit (Parameter INI (No.0000#2))
For output unit Machine straight axis detection unit (Parameter INM (No.1001#0))
2) Tool offset
The digits after the decimal point of the output unit are invalid.
Table 5.3 (256) Digits after the decimal point of the tool offset
Parameter OFE Parameter OFD Parameter OFC Parameter OFA Straight axis Straight axis
(No.5042#3) (No.5042#2) (No.5042#1) (No.5042#0) millimeter input inch input
[mm] [inch]
0 0 0 1 2 3
0 0 0 0 3 4
0 0 1 0 4 5
0 1 0 0 5 6
1 0 0 0 6 5
3) Custom macro
The digits after the decimal point of the input units only apply to the first axis data.
The digits after the decimal point of the output units are not used.
Table 5.3 (257) Digits after the decimal point of the custom macro
[mm] [inch]
IS-A 2 3
IS-B 3 4
IS-C 4 5
IS-D 5 6
IS-E 6 7
[Example]
When setting 0 (axis data) for the data type
ret = cnc_getfigure(0)
if ret[0] != EW_OK then
MsgBoxShow("ERROR",0)
end
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 445/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
cnc_rdsyssoft3
[Syntax with arguments]
cnc_rdsyssoft3(s_id, read_num)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (259) Value to be stored in the return value of the cnc_rdsyssoft3 function
Element Type Description
1st Numerical value Execution result
element EW_OK
Normal termination
2nd Numerical value Number of items actually read
element
3rd Numerical value Total number of pieces of software
element
4th Array of n elements List of acquired CNC system software series/editions
element (n = Number of Array of the series/edition information of the CNC system software
acquired system For details on the values, see “CNC system software series/edition
software information information" below.
(up to 40))
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 446/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Value Meaning
0102H CNC optional software A1
0103H CNC optional software A2
0104H CNC optional software A3
0111H CNC language display ROM English (Basic)
0112H CNC language display ROM Japanese
0113H CNC language display ROM German
0114H CNC language display ROM French
0115H CNC language display ROM Chinese (traditional characters)
0116H CNC language display ROM Italian
0117H CNC language display ROM Korean
0118H CNC language display ROM Spanish
0119H CNC language display ROM Dutch
011AH CNC language display ROM Danish
011BH CNC language display ROM Portuguese
011CH CNC language display ROM Polish
011DH CNC language display ROM Hungarian
011EH CNC language display ROM Swedish
011FH CNC language display ROM Czech
0120H CNC language display ROM Chinese (simplified characters)
0121H CNC language display ROM Russian
0122H CNC language display ROM Turkish
0123H CNC optional software A21
0124H CNC optional software A22
0141H reserve
0151H BOOT software
0201H PMC system software 1
0211H PMC ladder 1 (First ladder)
0212H PMC ladder 2 (Second ladder)
0213H PMC ladder 3 (Third ladder)
0214H PMC ladder DCS (Ladder for DUAL CHECK)
0301H Servo software 1
0302H Servo software 2
0303H Servo software 3
0304H Servo software 4
0305H Servo software 5
0306H Servo software 6
0307H Servo software 7
0308H Servo software 8
0309H Servo software 9
030AH Servo software 10
0501H 1st spindle software
0502H 2nd spindle software
0503H 3rd spindle software
0504H 4th spindle software
0505H 5th spindle software
0506H 6th spindle software
0507H 7th spindle software
0508H 8th spindle software
0601H Graphic software 1
0602H Graphic software 2
0603H Graphic software 3
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 447/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Value Meaning
0604H Graphic software 4 (Font data)
0701H Macro executor 1
0702H Macro executor 2
0703H Macro executor 3
0704H Macro executor 4
0705H Macro executor 5
0706H Macro executor 6
0707H Macro executor 7
0708H Macro executor 8
0709H Macro executor 9
070AH Macro executor 10
070BH Macro executor 11
070CH Macro executor 12
070DH Macro executor 13
070EH Macro executor 14
070FH Macro executor 15
0710H Macro executor 16
0711H Macro executor 17
0712H Macro executor 18
0713H Macro executor 19
0714H Macro executor 20
075AH Manual Guide i (Macro Executer for Machining Center System)
075BH Manual Guide i (Macro Executer for Lathe System)
0801H Library for C language executor
0802H Application program for C language executor
0811H Library for Manual Guide i
0812H System software for Manual Guide i
0820H C language executor data file 0
0821H C language executor data file 1
0822H C language executor data file 2
0823H C language executor data file 3
0824H C language executor data file 4
0825H C language executor data file 5
0826H C language executor data file 6
0827H C language executor data file 7
0828H C language executor data file 8
0829H C language executor data file 9
0830H Data for Manual Guide i
0831H Data for Manual Guide i
0832H Data for Manual Guide i
0833H Data for Manual Guide i
0834H Data for Manual Guide i
0835H Data for Manual Guide i
0836H Data for Manual Guide i
0837H Data for Manual Guide i
0838H Data for Manual Guide i
0839H Data for Manual Guide i
0901H Network management NET
0911H Embedded Ethernet
0912H Ethernet display function
0921H PROFIBUS 1
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 448/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Value Meaning
0922H PROFIBUS 2
0923H Device network 1
0924H Device network 2
0925H FL-net1
0926H FL-net2
0927H PROFIBUS 3
0929H FL-net/Ethernet
092AH CC-Link
0931H Data server
0A01H Customer's board System
0A02H Customer's board User
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 449/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Value Meaning
0504H 4th spindle software
0505H 5th spindle software
0506H 6th spindle software
0507H 7th spindle software
0508H 8th spindle software
0601H Graphic software 1
0602H Graphic software 2
0603H Graphic software 3
0604H Graphic software 4 (Font data)
0701H Library for Manual Guide i
0702H System software for Manual Guide i
0703H Manual Guide i (Macro Executer for Machining Center System)
0704H Manual Guide i (Macro Executer for Lathe System)
0710H Data for Manual Guide i
0711H Data for Manual Guide i
0712H Data for Manual Guide i
0713H Data for Manual Guide i
0714H Data for Manual Guide i
0715H Data for Manual Guide i
0716H Data for Manual Guide i
0717H Data for Manual Guide i
0718H Data for Manual Guide i
0719H Data for Manual Guide i
0801H Macro executor 1
0802H Macro executor 2
0803H Macro executor 3
0804H Macro executor 4
0805H Macro executor 5
0806H Macro executor 6
0807H Macro executor 7
0808H Macro executor 8
0809H Macro executor 9
080AH Macro executor 10
080BH Macro executor 11
080CH Macro executor 12
080DH Macro executor 13
080EH Macro executor 14
080FH Macro executor 15
0810H Macro executor 16
0811H Macro executor 17
0812H Macro executor 18
0813H Macro executor 19
0814H Macro executor 20
0901H Library for C language executor
0902H Application program for C language executor
0920H C language executor data file 0
0921H C language executor data file 1
0922H C language executor data file 2
0923H C language executor data file 3
0924H C language executor data file 4
0925H C language executor data file 5
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 450/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Value Meaning
0926H C language executor data file 6
0927H C language executor data file 7
0928H C language executor data file 8
0929H C language executor data file 9
0A01H Network management NET
0A11H Embedded Ethernet
0A12H Ethernet display function
0A18H USB function
0A21H PROFIBUS 1
0A22H PROFIBUS 2
0A23H Device network 1
0A24H Device network 2
0A25H FL-net1
0A26H FL-net2
0A27H PROFIBUS 3
0A29H FL-net/Ethernet
0A2AH CC-Link
0A31H Data server
0B01H Customer's board System
0B02H Customer's board User
0101H CNC system software 1
0102H CNC system software 2
0103H CNC system software 3
0104H CNC system software 4
0111H CNC language display 1
0112H CNC language display 2
0113H CNC language display 3
0114H CNC language display 4
0115H CNC language display 5
0141H reserve
0151H BOOT software
0201H PMC system software 1
0211H PMC ladder 1 (First ladder)
0212H PMC ladder 2 (Second ladder)
0213H PMC ladder 3 (Third ladder)
0214H PMC ladder 4 (Fourth ladder)
[Description]
This function reads the CNC system software series/edition.
Each piece of information is stored in the array of the 4th element of the return value.
The series/edition of the available system software can be read.
[Example]
To read the series/edition of all CNC system software
s_id = 0
read_num = 8
total = 0
loop = 1
while loop != 0 do
ret = cnc_rdsyssoft3(s_id,read_num)
if ret[0] != 0 then
msg_txt = “ERROR(“ + ret[0].to_s + ")¥n"
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 451/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
MsgBoxShow( msg_txt, 0 )
break
end
total += ret[1]
if ret[1] < read_num || total >= ret[2] then
loop = 0
else
list = ret[3]
data = list[ret[1] - 1]
s_id = data[0] + 1
end
end
[Function]
cnc_rddiaginfo
[Syntax with arguments]
cnc_rddiaginfo(s_number, read_no)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (264) Value to be stored in the return value of the cnc_rddiaginfo function
Element Type Description
1st element Numerical Execution result
value EW_OK
Normal termination
EW_NUMBER
The specification of the data number for starting diagnostics (s_number) is
incorrect.
2nd element Array of 4 The acquired diagnostics data information
elements For details on the value, see “Diagnostics data information ”below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 452/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
# Read the minimum number, maximum number, and total count of the diagnostics data
ret = cnc_rddiagnum()
if ret[0] != 0 then
msg_txt = “ERROR(“ + ret[0].to_s + ")¥n"
MsgBoxShow( msg_txt, 0 )
end
diags=ret[1]
diag_min = diags[0]
diag_max = diags[1]
diag_tot = diags[2]
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 453/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
s_number = diag_min
read_num = 10
total = 0
loop = 1
while loop != 0 do
ret = cnc_rddiaginfo(s_number,read_num)
if ret[0] != 0 then
msg_txt = “ERROR(“ + ret[0].to_s + ")¥n"
MsgBoxShow( msg_txt, 0 )
break
end
info = ret[1]
total += info[0]
if total >= diag_tot || info[2] <= s_number then
loop = 0
else
s_number = info[2]
end
end
8.4 Reading the minimum number, maximum number, and total count of the diagnostics data
[Function]
cnc_rddiagnum
[Syntax with arguments]
cnc_rddiagnum()
[Arguments]
None
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (267) Value to be stored in the return value of the cnc_rddiagnum function
Element Type Description
1st Numerical Execution result
element value EW_OK
Normal termination
2nd Array of 3 The maximum number/minimum number of the diagnostics data and the total count of
element elements the diagnostics data items.
For details on the value, see “Information of maximum number, minimum number,
and total count of diagnostic data ”below.
Table 5.3 (268) Information of the maximum number, minimum number, and total count of diagnostic data
Element Type Description
1st element Numerical value Minimum number of diagnostics data
2nd element Numerical value Maximum number of diagnostics data
3rd element Numerical value Total count of diagnostics data
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 454/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Description]
This function reads the minimum number/maximum number of the CNC diagnostics data and the total
count of the CNC diagnostics data items.
The CNC diagnostics data distribution varies by model and may be added to by function expansions.
[Example]
See the [Example] column for cnc_rddiaginfo (reading diagnostics data).
[Function]
cnc_rdsyshard
[Syntax with arguments]
cnc_rdsyshard(hard_num, read_num)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (270) Value to be stored in the return value of the cnc_rdsyshard function
Element Type Description
1st Numerical value Execution result
element EW_OK
Normal termination
EW_DATA
Error in the value of hard_num or read_num.
2nd Numerical value Number of items actually read
element
3rd Array of n Array of the CNC hardware configuration information
element elements For details on the value, see “CNC hardware configuration information ”below.
(n = the number
of the hardware
information
items to be read)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 455/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 456/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Value Meaning
0102H SERVO CARD
0103H PMC MODULE
0110H FROM/SRAM
0200H FAST ETHER
0210H FL-NET
0211H ETH BOARD
0212H ETH CARD
0220H PROFI MASTER
0230H PROFI SLAVE
0250H HSSB 2CH
0260H HSSB 1CH
0280H ADD SPDL
0290H ADD AXIS
02A0H DEVNT MASTER
02B0H ADD CPU
02C0H DEVNT SLAVE
02D0H CC-Link
0601H LCD BOARD
0602H DISP ID
0603H GUI CARD
0604H GUI BOARD
0605H GUI ID
0701H MDI ID
0702H B.UNIT ID
0f00H CERTIFY ID-1
0f01H CERTIFY ID-2
0f02H CERTIFY ID-3
[Description]
This function reads the CNC hardware configuration information.
Each piece of information is stored in each element of the array.
25 items of the configuration information can be read at a time.
If all information cannot be read at once, specify hard_num to read the information repeatedly.
For the acquisition data of the above CNC hardware configuration information and its display, see the
[Argument] column in the function reference for the cnc_rdsyshard function in the C Language Executor
Programming Manual (B-63943JA-3).
[Example]
To read all hardware configuration information
hard_num = 1
read_num = 10
total = 0
loop = 1
while loop != 0 do
ret = cnc_rdsyshard( hard_num,read_num )
if ret[0] != 0 then
msg_txt = “ERROR(“ + ret[0].to_s + ")¥n"
MsgBoxShow( msg_txt, 0 )
break;
end
if ret[1] < read_num then
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 457/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
loop = 0
else
list = ret[2]
data = list[ret[1] - 1]
hard_num = data[4] + 1
end
end
[Function]
cnc_sysinfo_ex
[Syntax with arguments]
cnc_sysinfo_ex()
[Arguments]
None
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (274) Value to be stored in the return value of the cnc_sysinfo_ex function
Element Type Description
1st element Numerical Execution result
value EW_OK
Normal termination
2nd element Array of 11 The acquired CNC system information.
elements For details on the value, see “CNC system information ”below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 458/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 459/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
cnc_rdalmmsg
[Syntax with arguments]
cnc_rdalmmsg(type, num)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (278) Value to be stored in the return value of the cnc_rdalmmsg function
Element Type Description
1st element Numerical value Execution result
EW_OK
Normal termination
EW_LENGTH
The data length is not specified correctly.
The number of alarms (num) is 0 or less.
EW_ATTRIB
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 460/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
cnc_getdtailerr
[Syntax with arguments]
cnc_getdtailerr()
[Arguments]
None
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (280) Value to be stored in the return value of the cnc_getdtailerr function
Element Type Description
1st element Numerical value Execution result
EW_OK
Normal termination
2nd element Array Execution pointer information
For details on the value, see “Error details ”below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 461/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
cnc_statinfo2
[Syntax with arguments]
cnc_statinfo2()
[Arguments]
None
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (282) Value to be stored in the return value of the cnc_statinfo2 function
Element Type Description
1st element Numerical Execution result
value EW_OK
Normal termination
2nd element Array Execution pointer information
For details on the value, see “Status information ”below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 462/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 463/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 464/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
cnc_rdcncid
[Syntax with arguments]
cnc_rdcncid()
[Arguments]
None
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (284) Value to Be Stored in the Return Value of the cnc_rdcncid Function
Element Type Description
1st element Numerical Return value of the function
value EW_OK
Successful
EW_FUNC
The CNC identification number does not exist in the CNC.
2nd element Array of 4 Returns an array of 4 elements of CNC identification numbers.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 465/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
ret = cnc_rdcncid()
if ret[0] != EW_OK then
msg_txt = “ERROR(“ + ret[0].to_s + ")¥n"
MsgBoxShow( msg_txt, 0 )
end
[Function]
cnc_mcdp_create
[Syntax with arguments]
cnc_mcdp_create(file_num, program_size)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 466/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (287) Value to be stored in the return value of the cnc_mcdp_create function
Type Description
Numerical Execution result
value EW_OK
Normal termination
EW_DATA
Data error
For more detailed information on this return value, execute the cnc_getdtailerr function.
The following detailed status is set in the member err_no of the ODBERR structure.
1: Incorrect number of folders / programs (file_num).
2: Incorrect program file size (program_size).
EW_REJECT
Refusal of processing execution on the CNC side
- Failed to write data.
EW_MODE
CNC mode selection error
- All systems are not in EDIT mode
EW_ALARM
Alarm status
If NC becomes an alarm by executing this function as in the following case, this error is
returned.
- Memory card is not installed.
- Insufficient free space in the memory card.
- The same file name exists.
EW_VERSION
CNC / PMC and library version mismatch
EW_FUNC * Only iHMI for FANUC Series 30i/31i/32i -MODEL B
Not available due to older FOCAS2 edition.
- Use iHMI edition 30.0 or later
[Description]
Specify the folder / number of programs with file_num, specify the size of the program storage file to be
created with program_size, and create a new program storage file on the memory card.
[Example]
When creating 63 programs with a program storage file size of 2MByte.
ret_value = cnc_mcdp_create(63, 2)
if ret_value != 0 then
MsgBoxShow("Error", 0)
End
[Available CNC]
FANUC Series 30i/31i/32i -MODEL B : STEP2 series Edition 43.0 or later
FANUC Series 30i -MODEL B Plus : Edition 08.0 or later
FANUC Series 0i-MODEL F : STEP2 series Edition 36.0 or later
FANUC Series 0i-MODEL F Plus : Edition 36.0 or later
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 467/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
- The maximum size that can be specified is 2,048MByte (= 2,147,483,648bytes), but it
cannot be used to the full 2,048MByte. Due to system limitations, you can use up to
2,096,899,966 bytes.
- It can be used when all systems are in EDIT mode or in the emergency stop state.
- If the edition before [Available CNC] is used in standard display, “Function name is illegal”
error is displayed.
[Function]
cnc_mcdp_mount
[Syntax with arguments]
cnc_mcdp_mount()
[Arguments]
None
[Return]
Details of the return values are as shown below.
Table 5.3 (288) Value to be stored in the return value of cnc_mcdp_mount function
Type Description
Numerical Execution result
value EW_OK
Normal termination
EW_BUSY
Refusal of processing execution on the CNC side
- The memory card is used for other functions.
EW_REJECT
Refusal of processing execution on the CNC side
- The program memory memory card is not installed.
The memory card is not installed, or the "FANUCPRG.BIN" file cannot be found in the
memory card.
EW_NOOPT
No options
- There is no applicable NC option.
EW_VERSION
CNC / PMC and library version mismatch
[Description]
The CNC recognizes the installation of the program storage memory card.
[Example]
When recognizing the installation of a program storage memory card.
ret_value = cnc_mcdp_mount()
if ret_value != 0 then
MsgBoxShow("Error", 0)
end
[Function]
cnc_mcdp_unmount
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 468/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Description]
The CNC program storage memory card is canceled and the card can be removed.
[Example]
To cancel the installation recognition of the program storage memory card.
cnc_mcdp_mount()
ret_value = cnc_mcdp_unmount()
if ret_value != 0 then
MsgBoxShow("Error", 0)
end
8.14 Checking the recognition status of the program storage memory card
[Function]
cnc_mcdp_mountchk
[Syntax with arguments]
cnc_mcdp_mountchk()
[Arguments]
None
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (290) Value to be stored in the return value of the cnc_mcdp_mountchk function
Element Type Description
1st element Numerical Function return value
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 469/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
cnc_mcdp_mount()
cnc_mcdp_unmount()
ret_values = cnc_mcdp_mountchk()
ret = ret_values[0].to_i
mount = ret_values[1].to_i
[Function]
cnc_rdope_lvl
[Syntax with arguments]
cnc_rdope_lvl()
[Arguments]
None
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (291) Value to be stored in the return value of the cnc_rdope_lvl function
Element Type Description
1st element Numerical Execution result
value EW_OK
Normal termination
EW_NOOPT
No CNC option
The option for the 8-level data protection function is needed.
2nd element Numerical Current operation level
value A value from 0 to 7 is set.
[Description]
This function acquires the current operation level.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 470/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Example]
ret_value = cnc_rdope_lvl()
if ret_value[0] == 0 then
Msg = "The current operation level is :" + ret_value[1].to_s
else
MsgBoxShow("ERROR", 0 )
end
[Function]
cnc_prot_pswinp
[Syntax with arguments]
cnc_prot_pswinp(pswd)
[Arguments]
The arguments of this function are as shown below.
[Return]
Details of the return values are as shown below.
Table 5.3 (293) Value to be stored in the return value of the cnc_prot_pswinp function
Type Description
Numerical Execution result
value EW_OK
Normal termination
EW_DATA
Data error
Check the password character string.
EW_NOOPT
No CNC option
The option for the 8-level data protection function is needed.
[Description]
This function inputs a password for the operation level to be set/changed.
The operation level can be changed when validity of the password is confirmed.
[Example]
ret_value = cnc_prot_pswinp("pass")
if ret_value == 0 then
ret_value2 = cnc_rdope_lvl()
Msg = "The operation level password has been changed. The current level is :" + ret_value2[1].to_s
else
MsgBoxShow("ERROR", 0 )
end
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 471/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
cnc_prot_pswcan
[Syntax with arguments]
cnc_prot_pswcan()
[Arguments]
None
[Return]
Details of the return values are as shown below.
Table 5.3 (294) Value to be stored in the return value of the cnc_prot_pswcan function
Type Description
Numerical Execution result
value EW_OK
Normal termination
EW_NOOPT
No CNC option
The option for the 8-level data protection function is needed.
EW_MODE
CNC mode error
Place the CNC in the MDI mode.
[Description]
This function changes the operation level to a level from 0 to 3 when the current operation level is a level
from 4 to 7.
If the current operation level is a level from 0 to 3, this function returns EW_OK without performing any
operation.
This function can be used only when the CNC is placed in the MDI mode.
[Example]
ret_value = cnc_prot_pswcan()
if ret_value == 0 then
ret_value2 = cnc_rdope_lvl()
Msg = "The operation level password has been revoked. The current level is :" + ret_value2[1].to_s
else
MsgBoxShow("ERROR", 0 )
end
8.18 Acquiring the change protection level/output protection level of each data item
[Function]
cnc_rdprt_lvl
[Syntax with arguments]
cnc_rdprt_lvl(item_id)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 472/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Return]
For this function, the return value is an array of 3 elements.
Details of the return values are as shown below.
Table 5.3 (296) Value to be stored in the return value of the cnc_rdprt_lvl function
Element Type Description
1st element Numerical Execution result
value EW_OK
Normal termination
EW_DATA
Data error
Check the data ID.
EW_NOOPT
No CNC option
The option for the 8-level data protection function is needed.
2nd element Numerical Change protection level
value A value from 0 to 7 is set.
3rd element Numerical Output protection level
value A value from 0 to 7 is set.
[Description]
For the data of specified data ID, the change protection level and the output protection level are acquired.
As the output protection level for data with no output function applied, the value 0 is set.
[Data ID list]
The tables below provide a CNC data ID list and a PMC data ID list.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 473/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 474/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
142
1st PMC: Sequence program edit operation ○ ○
143
1st PMC: PMC parameter data ○ ○
144
1st PMC: Timer data ○ ×
145
1st PMC: Counter data ○ ×
146
1st PMC: Keep relay (user) change operation ○ ×
147
1st PMC: Keep relay (system) change operation ○ ×
148
1st PMC: Data table change operation ○ ×
149
1st PMC: Data table control change operation ○ ×
150
1st PMC: PMC memory data ○ ×
151
2nd PMC: Setting (path-by-path) data ○ ×
152
2nd PMC: Sequence program edit operation ○ ○
153
2nd PMC: PMC parameter data ○ ○
154
2nd PMC: Timer data ○ ×
155
2nd PMC: Counter data ○ ×
156
2nd PMC: Keep relay (user) change operation ○ ×
157
2nd PMC: Keep relay (system) change operation ○ ×
158
2nd PMC: Data table change operation ○ ×
159
2nd PMC: Data table control change operation ○ ×
160
2nd PMC: PMC memory data ○ ×
161
3rd PMC: Setting (path-by-path) data ○ ×
162
3rd PMC: Sequence program edit operation ○ ○
163
3rd PMC: PMC parameter data ○ ○
164
3rd PMC: Timer data ○ ×
165
3rd PMC: Counter data ○ ×
166
3rd PMC: Keep relay (user) change operation ○ ×
167
3rd PMC: Keep relay (system) change operation ○ ×
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 475/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
168
3rd PMC: Data table change operation ○ ×
169
3rd PMC: Data table control change operation ○ ×
170
3rd PMC: PMC memory data ○ ×
NOTE
1 Used as a common setting among paths when a multipath PMC is used
2 Abbreviation for dual check safety PMC (optional function)
[Example]
To obtain the protection level of “Data change” of CNC parameter and “Data output”.of CNC parameter.
ret_value = cnc_rdprt_lvl(1)
if ret_value[0] == 0 then
ret_value2 = cnc_rdope_lvl()
if ret_value2[0] == 0 then
if ret_value2[1] >= ret_value[1] && ret_value2[1] >= ret_value[2] then
Msg = "This data ID can be changed and output.”
elsif ret_value2[1] >= ret_value[1] then
Msg = " This data ID can only be changed.”
elsif ret_value2[1] >= ret_value[2] then
Msg = " This data ID can only be output.”
else
Msg = " This data ID is inoperable.”
end
end
else
MsgBoxShow("ERROR", 0 )
end
8.19 Changing the change protection level/output protection level of each data item
[Function]
cnc_wrprt_lvl
[Syntax with arguments]
cnc_wrprt_lvl(item_id, chg_level, out_level)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 476/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Return]
Details of the return values are as shown below.
Table 5.3 (300) Value to be stored in the return value of the cnc_wrprt_lvl function
Type Description
Numerical Execution result
value EW_OK
Normal termination
EW_DATA
Data error
Check the data ID.
EW_NOOPT
No CNC option
The option for the 8-level data protection function is needed.
EW_MODE
CNC mode error
Place the CNC in the MDI mode.
[Description]
This function changes the change protection level and output protection level for the data of a
specified data ID.
This function can change the protection level for only data whose protection level is the same as or
lower than the current operation level.
The protection level cannot be changed to a level higher than the current operation level.
The change protection level and output protection level cannot be changed simultaneously.
Be sure to set -1 in one of the two arguments.
If the output protection level of data with no output function applied is changed, this function returns
EW_OK without performing any operation.
This function can be used only when the CNC is placed in the MDI mode.
[Example]
When changing the protection level of “Data change” of CNC parameter to 2.
[Function]
cnc_rdprt_data
[Syntax with arguments]
cnc_rdprt_data(item_id)
[Arguments]
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 477/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (302) Value to be stored in the return value of the cnc_rdprt_data function
Element Type Description
1st element Numerical Execution result
value EW_OK
Normal termination
EW_DATA
Data error
Check the data ID.
EW_NOOPT
No CNC option
The option for the 8-level data protection function is needed.
2nd element Numerical Whether the data of a specified data ID may be used
value When the data may be used, 0 is set. When the data may not be used, 1 is set.
[Description]
This function acquires information about whether the data of a specified data ID may be used in connection
with the system configuration and so forth.
[Example]
To check the availability of custom macro variable data.
ret_value = cnc_rdprt_data(5)
if ret_value[0] == 0 then
if ret_value[1] == 0 then
Msg = "Available data ID.”
else
Msg = "Unusable data ID.”
end
else
MsgBoxShow("ERROR", 0 )
end
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 478/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
cnc_diagnosr
[Syntax with arguments]
cnc_diagnosr(s_number, axis, e_number, length)
[Arguments]
The arguments of this function are as shown below.
The size per diagnosis data is as shown in the table below. Because the sizes are arranged in ascending
order with respect to the number of diagnosis data in the range from the start diagnosis data number to the
end diagnosis data number, the data block length (length) to be specified is the sum of them.
Table 5.3 (304) Formula for calculating the size per piece of diagnosis data
Specified axis number (axis) Formula
Non-axis diagnosis data (0), 4 + (byte size of the diagnosis data)
Axis diagnosis data, one axis (1 to
maximum controlled axis number)
Axis diagnosis data, all axes (-1) 4 + (byte size of the diagnosis data) × (maximum number of
controlled axes)
There are the following types of diagnosis data with different type and axis attributes, and the byte size is
different for each diagnosis data to be specified. It is impossible to read a bit diagnosis data one bit at a
time. The values of the specified diagnosis data are read all at once 8 bits (1 byte) at a time.
Table 5.3 (305) Byte size for each type of diagnosis data
Diagnosis data type Description Byte size
Bit diagnosis data Every bit has a meaning. 1
Bit diagnosis data with axis Every bit has a meaning (each axis). 1
Byte diagnosis data 1-byte data is stored. 1
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 479/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
If the size per diagnosis data is not a multiple of 4, it needs to be made a multiple of 4.
(Example)
When reading word diagnosis data using non-axis diagnosis data (axis = 0), the size of one diagnosis data
will be "4 + 2 bytes = 6", which is not a multiple of 4. Therefore, add the missing 2bytes as a dummy and
specify 8 for the data block length (length).
[Return]
For this function, the return value is an array of 3 elements.
Details of the return values are as shown below.
Table 5.3 (306) Value to be stored in the return value of the cnc_diagnosr function
Element Type Description
1st Numerical value Return value of the function
element EW_OK
Normal termination
EW_LENGTH
Incorrect data block length "length".
EW_NUMBER
Incorrect diagnosis data number "number".
EW_ATTRIB
A value other than 0, values from 1 to maximum controlled
axis number, or -1 has been specified for the axis number.
Or, an axis diagnosis data existed within a range specified
with the start diagnosis data number and end diagnosis data
number.
EW_NOOPT
Required option for using the specified diagnosis data
number is not added (only standard display).
2nd Numerical value Number of diagnosis data that have actually been read
element The number of diagnosis data that have actually been read may
not be the same as the number of diagnosis data in the range
from the start diagnosis data number to the end diagnosis data
number.
For example, when 1421 and 1423 are specified as the start
diagnosis data number and the end diagnosis data number, the
number of diagnosis data in this range should be 3. However,
there is no diagnosis data whose number is 1422 so only the two
diagnosis data (1421 and 1423) are read; therefore, the value to
be stored will be 2.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 480/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (307) Values to be stored in diagnosis data that have been read (per diagnosis data number)
Element Type Description
1st Numerical value Diagnosis data number
element
2nd Numerical value Data type
element (1) Upper byte: Type attribute
Byte type: 0
Word type: 1
2-word type: 2
Bit type(8bit): 3
Bit type(1bit): 4
Real type: 5
(2) Lower byte: Axis number
Non-axis diagnosis data : 0
Axis diagnosis data , one axis: Axis number that has been
read
Axis diagnosis data , all axes: -1
3rd Variable array Values of the diagnosis data that have been read
element For details on the value, refer to the following table "Values to be
stored in diagnosis data that have been read."
For the read diagnosis data values, the array elements become variable according to the type attribute and
axis number each diagnosis data has, as shown below. When the all axes specification for axis data (-1) is
made and the type of the diagnosis data that have been read is the axis type, the data for the current
controlled axes will be valid.
In addition, spindle-related diagnosis data are also handled as axis diagnosis data, but the data for the
current spindles will be valid.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 481/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (308) Values to be stored in diagnosis data that have been read
Type attribute that Specified axis number Number of Description
diagnosis data have elements in
the array
Byte type (0), Non-axis diagnosis data 1 Bit/byte/word/2-word type diagnosis
Word type (1), (0), Axis diagnosis data , data or axis diagnosis data (one axis)
2-word type (2) one axis (1 to maximum For details on the value, refer to the
Bit type(8bit) (3), controlled axis number) following table "Values to be stored
Bit type(1bit) (4), in bit/byte/word/2-word type
diagnosis data or axis diagnosis
data (one axis)."
Real type (5) Non-axis diagnosis data 2 Real type diagnosis data or axis
(0), Axis diagnosis data , diagnosis data (one axis)
one axis (1 to maximum For details on the value, refer to the
controlled axis number) following table "Values to be stored
in real type diagnosis data or axis
diagnosis data (one axis)."
Axis diagnosis data , all Maximum Real type diagnosis data with axis (for
axes (-1) number of each axis)
controlled For details on the value, refer to the
axes following table "Values to be stored
in real diagnosis data with axis (for
each axis)."
Table 5.3 (309) Values to be stored in bit/byte/word/2-word type diagnosis data or axis diagnosis data (one axis)
Element Type Description
1st element Numerical Value of the bit/byte/word/2-word type diagnosis data or axis
value diagnosis data (one axis)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 482/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (310) Values to be stored in bit/byte/word/2-word type axis diagnosis data (for each axis)
Element Type Description
1st to nth elements Numerical Value of the bit/byte/word/2-word type axis diagnosis data (for each
(n = Maximum number of value axis)
controlled axes)
Table 5.3 (311) Values to be stored in real type diagnosis data or axis diagnosis data (one axis)
Element Type Description
1st element Numerical Data of the real type diagnosis data or axis diagnosis data (one axis)
value For details on the value, refer to the descriptions of real
diagnosis data shown below.
2nd element Numerical Number of decimal places of the real type diagnosis data or axis
value diagnosis data (one axis)
Table 5.3 (312) Values to be stored in real type diagnosis data with axis (for each axis)
Element Type Description
1st to nth elements Array of 2 Real type diagnosis data with axis (for each axis)
elements The details on the values are the same as those shown in the
above table "Values to be stored in real diagnosis data or axis
diagnosis data (one axis)".
A real type diagnosis data contains a data section and a section for the number of decimal places, which are
expressed in the following format:
(Example) When the data is 12345 and the number of decimal places is 3, the real type diagnosis data is
expressed as "12345×10-3 = 12.345".
A conceptual image of the return value that will actually be returned is shown below.
Diagnosis data number : When reading 1002 to 1003.
[
0, # Processing result (0 = EW_OK)
2, # Number of diagnosis data that have actually been read
[ # Diagnosis data that have been read (per diagnosis data number)
[ # First parameter
1002, # Diagnosis data number
512, # Data type (512(dec) = 0x0200(hex), upper byte = 2, lower byte = 0)
[ 5600 ] # Value of the bit/byte/word/2-word type axis diagnosis data(array of 1 element)
],
[ # Second diagnosis data
1003, # Diagnosis data number
512, # Data type
[ 10800 ] # Value of the bit/byte/word/2-word type axis diagnosis data
]
]
]
[Description]
Reads the diagnosis data in the specified range at the same time based on the start diagnosis data number
(s_number), end diagnosis data number (e_number), and axis number (axis).
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 483/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Diagnosis data may be added because of, for example, the addition of CNC software functions. For
example, if a diagnosis data is added within the read range, an error may occur (return value of the
function: EW_LENGTH) or the application program may not operate correctly. To prevent these problems,
specify a read range containing only a set of consecutive diagnosis data numbers.
For details on the diagnosis data, refer to the "MAINTENANCE MANUAL" (B-64485EN, B-64575EN,
B-64695EN) of the CNC.
NOTE
This function to get the diagnosis data takes more processing time than the other
functions. Therefore, if you use it in a Ruby script that executes periodically, it may
affect other processes.
[Example]
Diagnosis data number : When reading 1002 to 1003.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 484/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
pmc_rdpmcrng
[Syntax with arguments]
pmc_rdpmcrng(adr_type, data_type, s_number, e_number, length)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 485/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
For the referenceable area of the PMC data for each PMC address type, see "PMC Data Referenceable
Areas."
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 486/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Message display A
- Display request A0–A249 A0–A249 A0–A499 A0–A249
- Display status A9000–A9249 A9000–A9249 9000–A9499 A9000–A9249
Timer T
- Variable timer T0–T79 T0–T499 T0–T999 T0–T79
- For variable timer T9000–T9079 T9000–T9499 T9000–T9999 T9000–T9079
precision (NOTE 3)
Counter C
- Variable counter C0–C79 C0–C399 C0–C799 C0–C79
- Constant counter C5000–C5039 C5000–C5199 C5000–C5399 C5000–C5039
Keep relay K
- User area K0–K19 K0–K99 K0–K199 K0–K19
- System area K900–K999 K900–K999 K900–K999 K900–K999
Data table D D0–D2999 D0–D9999 D0–D19999 D0–D2999
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 487/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
1 PMC used for the dual check safety function (optional). For details, refer to the "Dual
Check Safety CONNECTION MANUAL" (B-64003EN).
2 Area reserved for the PMC management software. No I/O can be allocated to this
area. User programs cannot use this area.
3 Area used to set the timer precision of the variable timer.
- Do not change the set time or precision setting during operation of the timer.
(Continuing to write the same value is allowed.)
- The precision setting must fall within the following specified range.
- If the above rules are not observed, normal timer operation is not guaranteed.
- The areas other than T9000 to T9499 are reserved by FANUC.
The correspondence between the precision settings and the values that can be
written to T9000 is shown below.
0: Default (8 msec / 48 msec)
1: 1 msec
2: 10 msec
3: 100 msec
4: 1 sec
5: 1 min
4 Shared memory for the multipath PMC function. Multiple programs can read and
write the same value using this memory.
5 The PMC for Dual Check Safety has no expansion relay.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 488/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 489/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
1 PMC used for the dual check safety function (optional). For details, refer to the "Dual
Check Safety CONNECTION MANUAL" (B-64003EN).
2 Area used to set the timer precision of the variable timer.
- Do not change the set time or precision setting during operation of the timer.
(Continuing to write the same value is allowed.)
- The precision setting must fall within the following specified range.
- If the above rules are not observed, normal timer operation is not guaranteed.
- The areas other than T9000 to T9499 are reserved by FANUC.
The correspondence between the precision settings and the values that can be
written to T9000 is shown below.
0: Default (8 msec / 48 msec)
1: 1 msec
2: 10 msec
3: 100 msec
4: 1 sec
5: 1 min
3 Shared memory for the multipath PMC function. Multiple programs can read and
write the same value using this memory.
4 The PMC for Dual Check Safety has no expansion relay.
5 To use two or more PMC memory-C paths or one PMC memory-D path, specify the
option “Nonvolatile PMC data table area expansion (40KB).” If this option is not
specified, data at D10000 and subsequent addresses is not saved.
[Example]
When Identification code = 5 (R), Type of PMC data = 0 (Byte type), Start PMC address = 200, End PMC
address = 209, and Data block
length = 8+1*10
[Function]
pmc_wrpmcrng
[Syntax with arguments]
pmc_wrpmcrng(length, type_a, type_d, datano_s, datano_e, data)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 490/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Return]
Details of the return values are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 491/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Description]
Writes the PMC data at the specified PMC address or in the specified address range.
This function is used to read or write data between an application program and PMC ladder software.
CAUTION
Use sufficient care when writing a PMC signal.
There is a possibility that the NC may run with the wrong PMC signal. In this case, it
may cause unexpected machine behavior, and tools, machines or workpieces may
be damaged.
You have to make sure that writing the PMC signal is safe and correct when doing
so.
[Example]
When Data block length = 8+1×2 (=10), Type of PMC address = 9 (data table), Type of PMC data = 1
(word type), Start PMC address = 100, End PMC address = 101, and PMC data (word type) = 250
9.3 Getting the unit type of the PMC currently being operated
[Function]
pmc_get_current_pmc_unit
[Syntax with arguments]
pmc_get_current_pmc_unit()
[Arguments]
None
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 492/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (322) Value to Be Stored in the Return Value of the pmc_get_current_pmc_unit Function
Element Type Description
1st element Numerical Execution result
value EW_OK
Successful
EW_NOPMC
No PMC is present.
2nd element Numerical Unit type of the current PMC
value For details on the value, see Table "Unit type of PMC (Series 30i/31i/32i-A)" and
"Unit type of PMC (Series 30i/31i/32i/35i-B, Series 0i-F, PMi-A)."
Table 5.3 (324) Unit Type of PMC (Series 30i/31i/32i/35i-B, Series 0i-F, PMi-A)
Value Unit type
0 No PMC
PMCUNIT_PMC1(1) 1st PMC
PMCUNIT_PMC2(2) 2nd PMC
PMCUNIT_PMC3(3) 3rd PMC
PMCUNIT_PMC4(4) 4th PMC
PMCUNIT_PMC5(5) 5th PMC
PMCUNIT_DCS(9) Dual check safety PMC
[Description]
Gets the unit type of the PMC currently being operated.
[Example]
To get the unit type of the PMC currently being operated:
ret = pmc_get_current_pmc_unit ()
if ret[0] != EW_OK then
MsgBoxShow("ERROR",0)
end
[Function]
pmc_get_number_of_pmc
[Syntax with arguments]
pmc_get_number_of_pmc()
[Arguments]
None
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 493/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (325) Value to Be Stored in the Return Value of the pmc_get_number_of_pmc Function
Element Type Description
1st element Numerical value Execution result
EW_OK
Successful
2nd element Numerical value Number of PMC paths
[Description]
Gets the number of existing PMC paths (units).
[Example]
To get the number of PMC paths:
ret = pmc_get_number_of_pmc()
if ret[0] != EW_OK then
MsgBoxShow("ERROR",0)
end
[Function]
pmc_get_pmc_unit_types
[Syntax with arguments]
pmc_get_pmc_unit_types()
[Arguments]
None
[Return]
For this function, the return value is an array of 3 elements.
Details of the return values are as shown below.
Table 5.3 (326) Value to Be Stored in the Return Value of the pmc_get_pmc_unit_types Function
Element Type Description
1st element Numerical value Execution result
EW_OK
Successful
2nd element Numerical value Unit type of the PMC
At present, information is returned for up to four PMC paths.
The number of PMC paths can be acquired by the
pmc_get_number_of_pmc function.
For details on the possible values, see Table "Unit type of PMC (Series
30i/31i/32i-A)" and "Unit type of PMC (Series 30i/31i/32i/35i-B, Series 0i-F,
PMi-A)" shown below.
If this array is referenced with a PMC path number specified as an index, the
unit type of the PMC can be acquired.
3rd element Numerical value Number of elements (paths) that actually store information
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 494/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (328) Unit Type of PMC (Series 30i/31i/32i/35i-B, Series 0i-F, PMi-A)
Value Unit type
0 No PMC
PMCUNIT_PMC1(1) 1st PMC
PMCUNIT_PMC2(2) 2nd PMC
PMCUNIT_PMC3(3) 3rd PMC
PMCUNIT_PMC4(4) 4th PMC
PMCUNIT_PMC5(5) 5th PMC
PMCUNIT_DCS(9) Dual check safety PMC
[Description]
Gets the PMC unit types of a multi-PMC system.
[Example]
To get PMC unit types:
ret = pmc_get_pmc_unit_types()
if ret[0] != EW_OK then
MsgBoxShow("ERROR",0)
end
[Function]
pmc_rdkpm
[Syntax with arguments]
pmc_rdkpm(offset, length)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (330) Value to Be Stored in the Return Value of the pmc_rdkpm Function
Element Type Description
1st element Numerical value Execution result
EW_OK
Successful
EW_NOPMC
No PMC is present.
EW_LENGTH
The data block length (length) is specified incorrectly.
EW_RANGE
Address range error
The input start address (offset) specification is invalid.
EW_NOOPT
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 495/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
pmc_wrkpm
[Syntax with arguments]
pmc_wrkpm(offset , data, length)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (332) Value to Be Stored in the Return Value of the pmc_wrkpm Function
Type Description
Numerical Return value of the function
value EW_OK
Successful
EW_NOPMC
No PMC is present.
EW_LENGTH
The data block length (length) is specified incorrectly.
EW_RANGE
Address range error
The output start address (offset) specification is invalid.
EW_NOOPT
There is no option for extended nonvolatile memory.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 496/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Description]
Writes the amount of data in the extended nonvolatile memory specified by "length" from the address
specified by "offset".
The data is stored in the area specified by "data" in the same format as in the PMC.
[Function]
pmc_kpmsiz
[Syntax with arguments]
pmc_kpmsiz()
[Arguments]
None
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (333) Value to Be Stored in the Return Value of the pmc_kpmsiz Function
Element Type Description
1st element Numerical value Execution result
EW_OK
Successful
EW_NOPMC
No PMC is present.
EW_ATTRIB
There is no option for extended nonvolatile memory.
2nd element Numerical value Maximum size
[Description]
Reads the maximum size of the extended nonvolatile memory.
[Example]
To read the maximum size of the extended nonvolatile memory:
ret = pmc_kpmsiz()
if ret[0] != EW_OK then
MsgBoxShow("ERROR",0)
end
[Function]
pmc_rdpmcinfo
[Syntax with arguments]
pmc_rdpmcinfo(adr_type)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 497/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 498/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
pmc_rdprmstart
[Syntax with arguments]
pmc_rdprmstart()
[Arguments]
None
[Return]
Details of the return values are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 499/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Fig. 5.3 (f) Procedures from Starting PMC Parameter Reading to Ending it
NOTE
Select the target PMC number in advance by using the pmc_select_pmc_unit
function.
[Function]
pmc_rdpmcparam
[Syntax with arguments]
pmc_rdpmcparam(length)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 500/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
Judge the final execution result of reading PMC parameters based on the return
value of the pmc_rdprmend function.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 501/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
1 The header is 30i-B: (PMC=30I-B, MSID=1) only.
2 The header is as follows by PMC unit type.
1st PMC: PMC=30I-B, MSID=1)
2nd PMC: (PMC=30I-B, MSID=2)
3rd PMC: (PMC=30I-B, MSID=3)
Dual check safety PMC: (PMC=30I-B,MSID=9)
3 When characters cannot be read up to the EOB with the specified argument length,
the data up to the data that cannot be read is read.
[Example]
When the number of characters to be read is 10:
ret = pmc_rdpmcparam(10)
if ret[0] != EW_OK then
MsgBoxShow("ERROR",0)
end
[Function]
pmc_rdprmend
[Syntax with arguments]
pmc_rdprmend()
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 502/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Arguments]
None
[Return]
Details of the return values are as shown below.
[Function]
pmc_wrprmstart
[Syntax with arguments]
pmc_wrprmstart()
[Arguments]
None
[Return]
Details of the return values are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 503/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Description]
This function starts writing PMC parameters.
PMC parameters can be written by the pmc_wrpmcparam function.
The basic procedure for writing PMC parameters is as follows.
Fig. 5.3 (h) Procedures from Starting PMC Parameters Writing to Ending it
NOTE
Select the target PMC number in advance by using the pmc_select_pmc_unit
function.
CAUTION
Use sufficient care when writing PMC parameters.
There is a possibility that the NC may run with the wrong PMC parameters. In this
case, it may cause unexpected machine behavior, and tools, machines or
workpieces may be damaged.
You have to make sure that writing the PMC parameters is safe and correct when
doing so.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 504/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
pmc_wrpmcparam
[Syntax with arguments]
pmc_wrpmcparam (length, buf )
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 505/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
5 The punctuation character in the model name and ID information in the header
information is not a comma “,”.
6 Character strings of ID information in the header information is not “MSID=”.
7 The ID number is different from the PMC unit type at the start.
8 The final character in the header information is not ")".
9 The start of the parameter block is not "N".
10 The address number of the parameter block is invalid (6 digits or less).
11 The address number of the parameter block is invalid.
(When the beginning of the N number is not "6")
12 The third character of the parameter block is not 0, 1, 2, 3, 4, or 9.
13 A block of group information that is larger than the total number of groups is specified.
14 The data table control information is illegal (unavailable number).
15 The beginning of character strings of setting values in parameter blocks is not “P”.
16 A character that is not a number is included in the data of the setting value
(Format of the setting value is illegal).
17 The number of characters of the bit pattern is not 8
(Format of the setting value is illegal).
18 Address range error
19 The total number of data table control information items is illegal.
20 The data table control information is illegal.
[Description]
This function writes PMC parameters in text format.
To execute this function, set 1 to bit 0 (PWE) of parameter No.8900#0 and put the CNC in the emergency
stop status.
This function writes the number of characters specified by the length argument. However, if less space is
available in the buffer for the data transfer to the CNC than the specified number of characters, the data for
the available space is output, and the number of characters is set in the length argument.
NOTE
Judge the final execution result of writing PMC parameters based on the return
value of the pmc_wrprmend function.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 506/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
1 The header is 30i-B: (PMC=30I-B, MSID=1) only.
2 The header is as follows by PMC unit type.
1st PMC: (PMC=30I-B,MSID=1)
2nd PMC: (PMC=30I-B,MSID=2)
3rd PMC: (PMC=30I-B,MSID=3)
Dual check safety PMC: (PMC=30I-B,MSID=9)
CAUTION
Use sufficient care when writing PMC parameters.
There is a possibility that the NC may run with the wrong PMC parameters. In this
case, it may cause unexpected machine behavior, and tools, machines or
workpieces may be damaged.
You have to make sure that writing the PMC parameters is safe and correct when
doing so.
[Example]
When the PMC parameters to be written are as follows:
%
(PMC=30I-B,MSID=1)
N600000 P0
N600002 P0
%
param = "%¥n(PMC=30I-B,MSID=1) ¥nN600000 P0 ¥nN600002 P0 ¥n%"
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 507/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
pmc_wrprmend
[Syntax with arguments]
pmc_wrprmend()
[Arguments]
None
[Return]
Details of the return values are as shown below.
CAUTION
Use sufficient care when writing PMC parameters.
There is a possibility that the NC may run with the wrong PMC parameters. In this
case, it may cause unexpected machine behavior, and tools, machines or
workpieces may be damaged.
You have to make sure that writing the PMC parameters is safe and correct when
doing so.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 508/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
pmc_getdtailerr
[Syntax with arguments]
pmc_getdtailerr()
[Arguments]
None
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
ret = pmc_getdtailerr()
if ret[0] != EW_OK then
MsgBoxShow("ERROR",0)
end
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 509/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
aux_file_mount
[Syntax with arguments]
aux_file_mount(drive)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (350) Value to Be Stored in the Return Value of the aux_file_mount Function
Element Type Description
1st element Numerical Result of mounting the memory card
value Returns 0 if the memory card or USB memory device was successfully mounted.
If it fails, a nonzero value is returned.
2nd element Numerical Detailed error (valid only when the 1st element is not 0)
value For details on the value, see "Detailed error value of the aux_file_mount
function" shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 510/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
aux_file_mount("B")
# Accessible to drive "B"
aux_file_ unmount ("B")
[Function]
aux_file_unmount
Table 5.3 (353) Value to Be Stored in the Return Value of the aux_file_unmount Function
Element Type Description
1st Numerical Result of unmounting the memory card
element value Returns 0 if the memory card or USB memory device was successfully
unmounted. If it fails, a nonzero value is returned.
2nd Numerical Detailed error (valid only when the 1st element is not 0)
element value For details on the value, see "Detailed error value of the aux_file_unmount
function" shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 511/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
aux_file_memcinfo
[Syntax with arguments]
aux_file_memcinfo()
[Arguments]
None
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (355) Value to Be Stored in the Return Value of the aux_file_memcinfo Function
Element Type Description
1st element Numerical Return value of the function
value Returns 0 if the memory card information was successfully obtained. Returns a
value other than 0 upon fail.
2nd element Numerical Memory card information
value bit 0 = 0: Memory card is inserted.
1: Memory card is not inserted.
bit 1 = 0: Writable.
1: Write-protected.
bit 5, bit 4, bit 3 For determining the memory card type
0, 0, 1 Flash ATA card, compact flash card
bit 6 – bit 31 are undefined.
[Description]
Reads the memory card information.
Call this function after mounting the memory card (using the aux_file_mount function).
When mounting a memory card, the drive to which the memory card is assigned (B: or C:) depends on the
CNC monitor, monitor size, LCD-mounted type / stand-alone type, memory card slot used, and parameter
setting (No.300#0). For details, refer to "Using the drive on PC" in "C Language Executor Function" of C
Language Executor Programming Manual (B-63943EN-3).
[Example]
To get the memory card information:
aux_file_mount("B")
ret=aux_file_memcinfo()
if ret[0] == 0 then
if ret[1] and 0x01 == 0 then
MsgBoxShow("exist memory card", 0)
end
end
aux_file_unmount("B")
[Function]
aux_file_usbinfo
[Syntax with arguments]
aux_file_usbinfo()
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 512/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Arguments]
None
[Return]
For this function, the return value is an array of 3 elements.
Details of the return values are as shown below.
Table 5.3 (356) Value to Be Stored in the Return Value of the aux_file_usbinfo Function
Element Type Description
1st element Numerical value Return value of the function
Returns zero if successful. Returns a value other than 0 upon fail.
2nd element Numerical value State of the USB memory device
bit 0 = 0: USB memory device is inserted.
1: USB memory device is not inserted.
bit 1 – bit 5 are undefined.
bit 6 = 0: USB memory device can be removed.
1: USB memory device cannot be removed (USB memory device is
being accessed).
bit 7 = 0: USB memory device can be used.
1: USB memory device cannot be used. (Unrecoverable error)
bit 8 – bit 31 are undefined.
[Description]
Gets the state of the USB memory device.
Execute this function after mounting the USB memory device (after execution of the aux_file_mount
function).
[Example]
To get the state of the USB memory device:
aux_file_mount("D")
ret=aux_file_usbinfo()
if ret[0] == 0 then
if ret[1] and 0x01 == 0 then
MsgBoxShow("exist usb memory card", 0)
end
end
aux_file_unmount("D")
NOTE
When an unrecoverable error occurs (bit7 = 1), it is impossible to access the USB
memory device until the power has been turned off.
10.5 Finding the first file whose attributes match the specified ones (supports up to 32 characters for file names).
[Function]
_dos_findfirst32
[Syntax with arguments]
_dos_findfirst32(filename, attrib)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 513/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (359) Value to Be Stored in the Return Value of the _dos_findfirst32 Function
Element Type Description
1st element Numerical Execution result
value 0: Successful.
If it is not 0, one of the following values is returned:
In addition, ENOENT is set to the 2nd element, indicating that filename does not
match.
5 No USB memory device is inserted.
6 No USB memory device is mounted.
9 The specified drive name is invalid.
15 No file or directory with the specified attribute found.
22 The specified file name is invalid.
31 The specified path is invalid.
2nd element Numerical Error code (valid only when the 1st element is not 0)
value
3rd element Array of 9 File information
elements For details on the value, see “File Information” shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 514/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
Even though a file name longer than 32 characters can be found when wildcards
are used with less than 32 characters. However, the retrieved file name cannot
be used in operations such as opening and deleting files, because a file name
with 33 or more characters is not supported for those operations.
10.6 Finding the next file whose attributes match the specified ones (supports up to 32 characters for file
names).
[Function]
_dos_findnext32
[Syntax with arguments]
_dos_findnext32()
[Arguments]
None
[Return]
For this function, the return value is an array of 3 elements.
Details of the return values are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 515/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (361) Value to Be Stored in the Return Value of the _dos_findnext32 Function
Element Type Description
1st element Numerical value Execution result
0: Successful.
If it is not 0, one of the following values is returned:
In addition, ENOENT is set to the 2nd element.
-1 The _dos_findfirst32 function has not been executed.
5 No USB memory device is inserted.
6 No USB memory device is mounted.
15 A file or directory that has the specified attribute cannot be found.
2nd element Numerical value Error code (valid only when the 1st element is not 0)
3rd element Array of 9 File information
elements For details on the value, see “File Information” shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 516/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
1 Execute the _dos_findnext32 function for searching for the next file when the
_dos_findfirst32 function is executed.
2 Execute the _dos_findnext function for searching for the next file when the
_dos_findfirst function is executed. When the following action has been performed,
-1 is returned and no operations are executed for the USB memory device:
- When executing the _dos_findfirst function before executing the
_dos_findnext32 function.
- When executing the _dos_findfirst32 function before executing the
_dos_findnext function.
3 Even though a file name longer than 32 characters can be found when wildcards
are used with less than 32 characters. However, the retrieved file name cannot be
used in operations such as opening and deleting files, because a file name with 33
or more characters is not supported for those operations.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 517/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
rs_open
[Syntax with arguments]
rs_open(channel, param, mode)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 518/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (366) Value to Be Stored in the Return Value of the rs_open Function
Type Description
Numerical Return value of the function
value 0: Normal termination.
-1: Communication parameter invalid
12: The communication line is already open
13: The line cannot be opened (timed out)
[Description]
The specified communication port is initialized with the specified condition and the line is opened for data
transmission.
When "DC code flow ctrl" is selected, data transmission is controlled by the DC codes as follows.
These DC1 and DC3 codes are automatically transmitted by the serial communication driver.
If the Send DC code is set to 1, the following DC code is sent to the external device whenever the channel
is opened or closed.
In the iHMI, the DC code is not sent when the channel is opened or closed regardless of the setting.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 519/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Every parameter must have a specified value. If not, correct communication cannot take place.
If the Send DC code is set to 1 with the rs_open function, DC1 code (for receive mode) or DC2 code (for
send mode) is sent via the communication channel.
In the iHMI, the "Send DC code" setting and settings for the DC2 and DC4 codes are ignored and no code
is sent.
[Function]
rs_close
[Syntax with arguments]
rs_close(channel)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (369) Value to Be Stored in the Return Value of the rs_close Function
Type Description
Numerical Return value of the function
value 0: Normal termination.
-1: Error
[Description]
Stops using the specified communication channel.
If the Send DC code is set to 1 with the rs_open function, DC3 code (for receive mode) or DC4 code (for
send mode) is sent via the communication channel.
In the iHMI, DC codes are not sent.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 520/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
rs_putc
[Syntax with arguments]
rs_putc(c, channel)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (371) Value to Be Stored in the Return Value of the rs_putc Function
Type Description
Numerical Return value of the function
value 1: Normal termination.
0: The transmit buffer is full. There is no room to accept new data.
-1: Error
[Description]
Puts one byte of data into the transmit buffer of the specified communication port.
This function outputs data to the transmit buffer. To find out if the data has actually been transmitted, read
the status of the transmit buffer with the rs_buffer function and check the vacancy of the buffer.
[Function]
rs_getc
[Syntax with arguments]
rs_getc(channel)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (373) Value to Be Stored in the Return Value of the rs_getc Function
Type Description
Numerical Return value of the function
value Not -1 (input data): Successful
-1: Error, or there is no data in the buffer.
[Description]
Gets one byte of data from the receive buffer of the specified communication port.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 521/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
rs_write
[Syntax with arguments]
rs_write(buffer, size, channel)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (375) Value to Be Stored in the Return Value of the rs_write Function
Type Description
Numerical Return value of the function
value Not -1: Normal termination.
-1: Error
[Description]
Gets the specified bytes of data from the specified buffer area and puts them in the transmit buffer of the
specified port.
This function outputs data to the transmit buffer. To find out if the data has actually been transmitted, read
the status of the transmit buffer with the rs_buffer function and check the vacancy of the buffer.
※ When sending a Russian character string, specify the number of characters to be sent in "size" of the
argument.
[Function]
rs_read
[Syntax with arguments]
rs_read(size, channel)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (377) Value to Be Stored in the Return Value of the rs_read Function
Element Type Description
1st element Numerical Input result
value Not -1: Normal termination.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 522/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
rs_buffer
[Syntax with arguments]
rs_buffer(channel, cmnd)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (379) Value to Be Stored in the Return Value of the rs_buffer Function
Type Description
Numerical If successful:
value The RS_GET_BUF_R and RS_GET_BUF_W commands return the buffer size.
The RS_CHK_BUF_R and RS_CHK_BUF_W commands return the size of the data in the
buffer.
The RS_CLR_BUF_R and RS_CLR_BUF_W commands return zero.
If there is an error:
-1
[Description]
Tests or clears the specified buffer of the specified port.
For a standard monitor, 256 bytes is returned as the buffer size. For the iHMI, 4096 bytes is returned.
[Function]
rs_status
[Syntax with arguments]
rs_status(channel)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 523/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (381) Value to Be Stored in the Return Value of the rs_status Function
Type Description
Numerical Status of the communication line and communication buffer:
value 0x8000 transmission stopped(send)
0x4000 (reserved) (send)
0x2000 Buffer full (send)
0x1000 (reserved) (send)
0x0800 receiving stopped (receive)
0x0400 (reserved) (receive)
0x0200 Buffer empty (receive)
0x0100 Buffer overrun (receive)
0x0080 DR ON
0x0040 (reserved)
0x0020 Framing error
0x0010 Overrun error
0x0008 Parity error
0x0004 (reserved)
0x0002 (reserved)
0x0001 (reserved)
[Description]
Gets the status information of the communication interface and communication buffers of the specified
port.
[Function]
rs_wait
[Syntax with arguments]
rs_wait(channel, param, mode, time_out)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 524/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (383) Value to Be Stored in the Return Value of the rs_wait Function
Type Description
Numerical Return value of the function
value 0 the specified condition is satisfied
EC_TIMOUT time out
rtx_size_ok When mode = rtx_size, and when the number of data bytes in the receive
buffer is greater than or equal to the specified value.
trx_size_ok When mode = trx_size, and when the number of data bytes in the transmit
buffer is less than or equal to the specified value.
Other Error
[Description]
Waits for the specified communication port to become the specified state.
After this function call, the task from which this function is called is switched to the "wait state" until the
specified condition is satisfied.
In the iHMI, it is impossible to set it to wait for specific characters to be received (rtx_code). If it is set, an
error is returned.
This function is used for the following purposes.
This waits for the number of untransmitted characters in the transmit buffer to become less than or
equal to the specified value given by "param."
If param = 0, the above function call waits for the completion of transmission. This is used to find out
whether all the data has been sent to the destination.
By setting param as param="Tx buffer size" - "Tx data size", the above function call can be used to
find out if there is enough space in the transmit buffer to accept new data. This is useful for efficient
data transmission.
This waits for the number of received characters in the receive buffer to become greater than or equal
to the value specified by "param." This is efficient compared to the polling method.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 525/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
This function call waits for the character specified by "param" to arrive.
This function is used to be alerted of the arrival of a data packet that ends with a specific code.
The above wait state finishes when the data received after the rs_wait function is called matches the
character specified by "param." Data that arrived before the execution of this function but that have
not yet been read by the application, are also examined for character matching.
Specifying the maximum wait time by "time_out" prevents the application program from hanging when no
answer comes back from the external device. It is also possible that there is a problem in the
communication interface when a timeout error occurs. In this case, examine the state of the interface by
using the rs_buffer function or rs_status function.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 526/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
aux_from_open
[Syntax with arguments]
aux_from_open(filename, mode)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (384) Arguments of the aux_from_open Function
Name Type Description
filename String Specify the name of the F-ROM file you want to open.
mode String Specify the access mode.
The mode should always be read mode "r".
[Return]
The return values from this function are as follows.
Table 5.3 (385) Value to Be Stored in the Return Value of the aux_from_open Function
Type Description
Numerical Execution result
value 0 Successful
-3 The aux_from_open function has opened the F-ROM file. This value is also returned when
MANUAL GUIDEi executes this function while accessing the F-ROM file.
-5 The F-ROM file having the specified file name is not present.
-10 Access was denied because another function was accessing the F-ROM file.
1 A mode other than read mode "r" was specified for mode.
[Description]
This function opens a file in the F-ROM and makes it ready to be read.
The F-ROM data in a C language data file in the *.MEM format, which is created in FANUC PICTURE,
can be read.
[Example]
For an example, refer to "Example" in "Reading data from the F-ROM file."
[Function]
aux_from_close
[Syntax with arguments]
aux_from_close()
[Arguments]
None
[Return]
The return values from this function are as follows.
Table 5.3 (386) Value to Be Stored in the Return Value of the aux_from_close Function
Type Description
Numerical Execution result
value 0 Successful
Not 0 When no F-ROM file is opened by the aux_from_open function.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 527/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Description]
Closes the F-ROM file that has been opened.
[Example]
For an example, refer to "Example" in "Reading data from the F-ROM file."
[Function]
aux_from_select
[Syntax with arguments]
aux_from_select(name)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (387) Arguments of the aux_from_select Function
Name Type Description
name String Specify file name to be selected.
[Return]
The return values from this function are as follows.
Table 5.3 (388) Value to Be Stored in the Return Value of the aux_from_select Function
Type Description
Numerical Execution result
value 0 Successful
Not 0 When the specified file does not exist.
[Description]
This function selects one of the data files for C Language Executor.
Specify the file name argument according to the MS-DOS 8.3 format.
[Example]
For an example, refer to "Example" in "Reading data from the F-ROM file."
[Function]
aux_from_moveptr
[Syntax with arguments]
aux_from_moveptr(offset, origin)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (389) Arguments of the aux_from_moveptr Function
Name Type Description
offset Numerical value Byte count from base point.
origin Numerical value Origin position.
FROM_SEEK_CUR Current position of the file pointer
FROM_SEEK_END End of file
FROM_SEEK_SET Beginning of file
[Return]
Details of the return values from this function are as shown below.
Table 5.3 (390) Value to Be Stored in the Return Value of the aux_from_moveptr Function
Type Description
Numerical Execution result
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 528/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Type Description
value 0 Successful
Not 0 When the pointer is moved backward beyond the beginning of the file.
When the pointer is moved forward beyond the end of the file.
[Description]
This function moves the position of the read pointer in the currently selected file.
Moving the pointer forward beyond the end of the file or backward beyond the beginning of the file causes
an error.
[Example]
For an example, refer to "Example" in "Reading data from the F-ROM file."
[Function]
aux_from_read
[Syntax with arguments]
aux_from_read(size)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (391) Arguments of the aux_from_read Function
Name Type Description
size Numerical value Size of the data to be read.
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (392) Value to Be Stored in the Return Value of the aux_from_read Function
Element Type Description
1st element Numerical Execution result
value Returns the size (byte) of the data being read if successful. Returns zero if an
error occurs.
2nd element String Data that has been read
[Description]
This function reads data from the selected data file and returns it with the 2nd element of the return value.
Before calling this function, the data file to be read from must be selected with the aux_from_select
function.
[Example]
To open "FPF0FPDT.MEM," which has been created in FANUC PICTURE, select "CRTCONV.TXT" in
"FPF0FPDT.MEM", read 10 characters from the beginning, move the read pointer by 50 bytes, read
another 20 characters, and then close the file:
msg_txt = ""
ret = [0, "a"]
if aux_from_open( "FPF0FPDT.MEM", "r" ) != 0 then
msg_txt = "FILE OPEN EEROR"
else
if aux_from_select( "CRTCONV.TXT" ) != 0 then
msg_txt = "FILE NOT EXIST"
aux_from_close()
else
ret = aux_from_read( 10 )
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 529/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
if ret[0] == 0 then
msg_txt = "DATA READ ERROR"
aux_from_close()
return
end
msg_txt = ret[1]
res = aux_from_moveptr( 50, FROM_SEEK_CUR )
if res != 0 then
msg_txt = "PONTER MOVE ERROR"
aux_from_close()
return
end
ret = aux_from_read( 20 )
if ret[0] == 0 then
msg_txt = "DATA READ ERROR"
aux_from_close()
return
end
msg_txt = msg_txt + "¥n" +ret[1]
aux_from_close()
end
end
[Function]
aux_from_getdir
[Syntax with arguments]
aux_from_getdir()
[Arguments]
None
[Return]
For this function, the return value is an array of 3 elements.
Details of the return values are as shown below.
Table 5.3 (393) Value to Be Stored in the Return Value of the aux_from_getdir Function
Element Type Description
1st Numerical Execution result
element value Returns zero if successful. Returns -1 if an error occurs.
2nd Array of m Array of directory information
element elements m indicates the number of directory entries (same value as that of the 3rd
element).
For details on the value, refer to the following table "Values to Be Stored in the
Directory Information Array."
3rd Numerical Area in which to store the number of directory entries.
element value
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 530/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
res = [0,"a",0]
if aux_from_open( "FPF0FPDT.MEM", "r" ) != 0 then
msg_txt = "FILE OPEN EEROR"
else
res = aux_from_getdir()
if res[2] == 0 then
msg_txt = "DIR DATA NOT EXIST"
else
msg_txt = ret[1][0][0] + " : " + ret[1][0][1].to_s + " : " + ret[1][0][2].to_s # filename : address : size
end
end
msg_txt = ""
ftype = aux_from_getinfo( "FPF0FPDT.MEM" )
if ftype == C_DATA then
msg_txt = "C DATA"
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 531/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
else
msg_txt = "OTHER FILE"
end
[Function]
aux_from_getc
[Syntax with arguments]
aux_from_getc()
[Arguments]
None
[Return]
Details of the return values from this function are as shown below.
Table 5.3 (397) Value to Be Stored in the Return Value of the aux_from_getc Function
Type Description
Numerical Execution result
value Not 0xFF Character code that has been read
0xFF End of the file or Read error
[Description]
This function gets one character from the selected data file.
This function replaces the line termination code, "Carriage Return + Line Feed (CR + LF)", with a single
Line Feed character LF.
Before calling this function, the data file to be read from must be selected with the aux_from_select
function.
[Example]
To open "FPF0FPDT.MEM," select "TEST02.DAT" in "FPF0FPDT.MEM", read one character from the
beginning, store it in msg_txt, and then close the file:
msg_txt = ""
ret = [0, "a"]
if aux_from_open("FPF0FPDT.MEM", "r" ) != 0 then
msg_txt = "FILE OPEN EEROR"
else
if aux_from_select("CRTCONV.TXT" ) != 0 then
msg_txt = "FILE NOT EXIST"
aux_from_close()
else
ret = aux_from_getc()
if ret == 0xFF then
msg_txt = "DATA READ ERROR"
aux_from_close()
return
end
code = ret
aux_from_close()
end
end
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 532/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
aux_from_gets
[Syntax with arguments]
aux_from_gets(size)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (398) Arguments of the aux_from_gets Function
Name Type Description
size Numerical value Size of the data to be read.
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (399) Value to Be Stored in the Return Value of the aux_from_gets Function
Element Type Description
1st element Numerical value Execution result
Returns zero if successful. Returns -1 if an error occurs.
2nd element String Data that has been read (1 line)
[Description]
This function reads one line of data from the selected data file and returns it with the 2nd element of the
return value.
A line is made up of all characters read before the Line Feed character ('¥n'). The read Line Feed character
is returned without any processing. Characters continue to be read until a Line Feed character ('¥n') is
encountered, end of file is detected or "size - 1" number of characters are read.
This function replaces the line termination code, "Carriage Return + Line Feed (CR + LF)", with a single
Line Feed character LF.
Before calling this function, the data file to be read from must be selected with the aux_from_select
function.
[Example]
To open "FPF0FPDT.MEM," select "CRTCONV.TXT" in "FPF0FPDT.MEM", read one line of data up to
100 characters from the beginning, store it in msg_txt, and then close the file:
msg_txt = ""
ret = [0, "a"]
if aux_from_open("FPF0FPDT.MEM", "r" ) != 0 then
msg_txt = "FILE OPEN EEROR"
else
if aux_from_select("CRTCONV.TXT" ) != 0 then
msg_txt = "FILE NOT EXIST"
aux_from_close()
else
ret = aux_from_gets(101)
if ret[0] != 0 then
msg_txt = "DATA READ ERROR"
aux_from_close()
return
end
msg_txt = ret[1]
aux_from_close()
end
end
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 533/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
eth_putopen
[Syntax with arguments]
eth_putopen(type, file_name)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (401) Value to Be Stored in the Return Value of the eth_putopen Function
Type Description
Numerical Execution result
value EW_OK
Successful
EW_BUSY
The communication line is already open.
EW_ATTRIB
The specified type is invalid.
EW_REJECT
The communication line is already being used by another function.
[Description]
This function opens the communication line with the communication function specified by "type" in the
transmission mode.
This function must always be executed before data can be transmitted to the host.
If this function is executed by specifying only a file name in "file_name", a file with the specified file name
is created in the current directory of the host.
If this function is executed by specifying a file name including a path in "file_name" with a host that
supports a file name including a path, a file is created in the specified directory.
The eth_put function can be used to transmit and write data to a file created on the host using this function.
The current directory of the connected host can be checked and changed on the host file list screen. For
details of the host file list screen, refer to Section 8.3, “EMBEDDED ETHERNET OPERATIONS,” in
“OPERATOR’S MANUAL (Common to Lathe System/Machining Center System) (B-63944EN,
B-64484EN, B-64604EN).”
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 534/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Is there remaining
data ?
YES
NO
NOTE
1 If the eth_putopen function is executed by specifying the name of a file that
already exists on the host, the file name may be overwritten according to the
setting of the host and EW_OK may be returned.
2 If the eth_putopen function is executed by specifying a file name including a path
with a host that does not support a file name including a path, EW_OK is
returned. If the eth_put function is then executed, EW_DTSRVR is returned. If
the cnc_getdtailerr function is executed at this time, Error No. 502, "Data
transmission failed." is output as the detailed status.
[Function]
eth_put
[Syntax with arguments]
eth_put(length, data)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 535/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (403) Value to Be Stored in the Return Value of the eth_put Function
Element Type Description
1st Numerical Execution result
element value EW_OK
Successful
EW_FUNC
The eth_putopen function has not been executed yet.
EW_LENGTH
A value of 0 or less was specified in "length".
EW_BUFFER
The transmit buffer is full.
Retry transmission.
EW_DTSRVR
A communication error occurred.
Close the communication line.
2nd Numerical Number of characters that have actually been output to the transmit buffer.
element value
[Description]
This function outputs data of a specified size to the transmit buffer.
If the free space of the transmit buffer is smaller than the number of characters specified in "length", an
amount of data equivalent to the amount of free space is output and the number of actually output
characters is set to the 2nd element of the return value.
If the transmit buffer has no free space so that no characters can be output, EW_BUFFER is returned. In
this case, retry transmission.
If an error occurs during data transmission to the host, EW_DTSRVR is returned. In this case, close the
communication line by executing the eth_putclose function.
To get more detailed information on this return value, execute the cnc_getdtailerr function.
A detailed status is set in the ODBERR structure member err_no. For details on the status, refer to the
following table.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 536/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
ret = eth_putopen(0,"TEST.txt")
if ret != EW_OK then
MsgBoxShow("ERROR",0)
end
ret = eth_put(8,"TestData")
if ret[0] != EW_OK then
MsgBoxShow("ERROR",0)
end
[Function]
eth_putclose
[Syntax with arguments]
eth_putclose(cancel)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (406) Value to Be Stored in the Return Value of the eth_putclose Function
Type Description
Numerical Execution result
value EW_OK
Successful
EW_BUSY
The data in the transmit buffer is being transmitted to the host.
Retry the close operation until the transmission ends.
EW_FUNC
The eth_putopen function has not been executed yet.
EW_DTSRVR
A communication error occurred.
Retry the close operation.
[Description]
This function closes the communication line opened in the transmission mode.
If 0 is specified for "cancel", and this function is executed when data remains in the transmit buffer, it does
not close the communication line and returns EW_BUSY. In this case, wait until transmission ends or retry
the close operation.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 537/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
If 1 is specified for "cancel," this function cancels transmission and closes the communication line even if
data remains in the transmit buffer. At this time, the data remaining in the transmit buffer is discarded and
EW_BUSY is returned. In this case, retry the close operation until EW_OK is returned.
If a communication error occurs during data transmission to the host or communication line close operation,
EW_DTSRVR is returned. In this case, retry the close operation until EW_OK is returned.
To get more detailed information on this return value, execute the cnc_getdtailerr function. The error No. is
set in “Detail status” in the return value array. For details of statuses, see "Communication error detail
status" in "Transmitting data to the host".
[Function]
eth_getopen
[Syntax with arguments]
eth_getopen(type, file_name)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (408) Value to Be Stored in the Return Value of the eth_getopen Function
Type Description
Numerical Execution result
value EW_OK
Successful
EW_BUSY
The communication line is already open.
EW_ATTRIB
The specified type is invalid.
EW_REJECT
The communication line is already being used by another function.
[Description]
This function opens the communication line in the receive mode.
This function must always be executed before data can be received from the host.
If this function is executed by specifying only a file name in "file_name," the file with the specified file
name stored in the current directory of the host is selected.
If this function is executed by specifying a file name including a path in "file_name" with a host that
supports a file name including a path, the file stored in the specified directory is selected.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 538/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
The contents of a file that is stored on the host and specified with this function can be read using the
eth_get function.
The current directory of the connected host can be checked and changed on the host file list screen. For
details of the host file list screen, refer to Section 8.3, “EMBEDDED ETHERNET OPERATIONS,” in
“OPERATOR’S MANUAL (Common to Lathe System/Machining Center System) (B-63944EN,
B-64484EN, B-64604EN).”
=EW_OK or EW_RESET
Is data reception
complete?
YES
EW_RESET
NO
NOTE
1 If the eth_getopen function is executed by specifying the name of a file that does
not exist on the host, EW_OK is returned. If the eth_get function is then
executed, EW_DTSRVR is returned. If the cnc_getdtailerr function is executed at
this time, Error No. 503, "Data reception failed." is output to "Detail status" in the
return value array.
2 If the eth_getopen function is executed by specifying a file name including a path
with a host that does not support a file name including a path, EW_OK is
returned.
If the eth_get function is then executed, EW_DTSRVR is returned. If the
cnc_getdtailerr function is executed at this time, Error No. 503, "Data reception
failed." is output to "Detail status" in the return value array.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 539/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
eth_get
[Syntax with arguments]
eth_get(length)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (410) Value to Be Stored in the Return Value of the eth_get Function
Element Type Description
1st element Numerical value Execution result
EW_OK
Successful
EW_RESET
There is no data to be received.
Close the communication line.
EW_FUNC
The eth_getopen function has not been executed yet.
EW_LENGTH
A value of 0 or less was specified in "length".
EW_BUFFER
The receive buffer is empty.
Retry receiving.
EW_DTSRVR
A communication error occurred.
Close the communication line.
2nd element String Data to be obtained from the receive buffer
3rd element Numerical value Number of characters of the data that have been obtained from the receive buffer.
[Description]
This function acquires data of a specified size from the receive buffer.
If the amount of data stored in the receive buffer is less than the number of characters specified for
"length," all data in the receive buffer is returned to the 2nd element of the return value and the number of
returned characters is returned to the 3rd element of the return value.
If there is no data in the receive buffer so that no characters can be acquired, EW_BUFFER is returned. In
this case, retry reception.
If this function is executed after the reception of all data from the host, EW_RESET is returned. In this
case, close the communication line by executing the eth_getclose function.
If an error occurs during data reception from the host, EW_DTSRVR is returned. In this case, close the
communication line by executing the eth_getclose function.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 540/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
To get more detailed information on this return value, execute the cnc_getdtailerr function. The error No. is
set in “Detail status” in the return value array. For details of statuses, see "Communication error detail
status" in "Transmitting data to the host".
[Example]
To receive the first eight characters of data from the file in the host "TEST.txt":
ret = eth_getopen(0,"TEST.txt")
if ret != EW_OK then
MsgBoxShow("ERROR",0)
end
ret = eth_get(8)
if ret[0] != EW_OK then
MsgBoxShow("ERROR",0)
end
[Function]
eth_getclose
[Syntax with arguments]
eth_getclose()
[Arguments]
None
[Return]
Details of the return values are as shown below.
Table 5.3 (411) Value to Be Stored in the Return Value of the eth_getclose Function
Type Description
Numerical Execution result
value EW_OK
Successful
EW_RESET
Reception was canceled and the communication line was closed.
EW_BUSY
The communication line is closed.
Retry the close operation.
EW_FUNC
The eth_getopen function has not been executed yet.
EW_DTSRVR
A communication error occurred.
Retry the close operation.
[Description]
This function closes the communication line opened in the receive mode.
If this function is executed during data reception from the host, the data reception is canceled and the
communication line is closed. In this case, EW_RESET is returned.
To receive all data, execute the eth_get function until it returns EW_RESET (-2), then execute this
function.
If a communication error occurs during data reception from the host or communication line close operation,
EW_DTSRVR is returned. In this case, retry the close operation until EW_OK or EW_RESET is returned.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 541/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
To get more detailed information on this return value, execute the cnc_getdtailerr function. The error No. is
set in “Detail status” in the return value array. For details of statuses, see "Communication error detail
status" in "Transmitting data to the host".
[Function]
eth_open_ftp
[Syntax with arguments]
eth_open_ftp(mode)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (413) Value to Be Stored in the Return Value of the eth_open_ftp Function
Element Type Description
1st Numerical Execution result
element value EW_OK
Successful
EW_BUSY
The communication line is already open.
EW_DTSRVR
A communication error occurred.
2nd Numerical Detailed communication error information number (valid only when the 1st element is
element value EW_DTSRVR)
12003: Movement of current directory failed after the line was opened.
12013: The user name is incorrect.
12014: The password is incorrect.
12029: Connection failed.
*For other detailed error information numbers, see the error code list for the Windows API.
[Description]
This function opens the line used for communication functions. Parameters for the Ethernet function,
which are required for connection, can be checked with the eth_rdparam function and changed with the
eth_wrparam function.
If a communication error occurs when a communication line is being opened, EW_DTSRVR is returned to
the 1st element of the return value and a detailed communication error information number for that
communication error is returned to the 2nd element.
[Example]
To open a communication line in the Passive mode:
ret = eth_open_ftp(1)
if ret[0] != EW_OK then
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 542/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
MsgBoxShow("ERROR",0)
end
[Function]
eth_put_ftp
[Syntax with arguments]
eth_put_ftp(srcPath, dstPath, mode)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (415) Value to Be Stored in the Return Value of the eth_put_ftp Function
Element Type Description
1st Numerical Execution result
element value EW_OK
Successful
EW_FUNC
The eth_ftp_open function has not been executed yet.
EW_DTSRVR
A communication error occurred.
2nd Numerical Detailed communication error information number (valid only when the 1st element is
element value EW_DTSRVR)
2: The file does not exist.
12031: Connection has been reset.
*For other detailed error information numbers, see the error code list for the Windows API.
[Description]
This function transfers a file to the specified host.
If this function is executed by specifying only a file name in "dstPath," a file with the specified file name is
transferred to the current directory of the host.
If this function is executed by specifying a file name including a path in "dstPath" with a host that supports
a file name including a path, the specified file is created when a directory included in the path exists in the
host.
If a communication error occurs when data is being sent to the host, EW_DTSRVR is returned to the 1st
element of the return value and a detailed communication error information number for that
communication error is returned to the 2nd element.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 543/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
1 If the function is executed by specifying the name of a file that already exists on the host,
the file name may be overwritten depending on the setting of the host and EW_OK may
be returned.
2 If the function is executed by specifying a file name including a path with a host that does
not support a file name including a path, EW_DTSRVR is returned.
[Example]
To open a communication line and send a file (D:¥¥TEST¥¥TEST.txt) to the transmission destination FTP
server with the file name "TEST.txt":
ret = eth_open_ftp(1)
if ret[0] != EW_OK then
MsgBoxShow("ERROR",0)
end
ret = eth_put_ftp("D:¥¥TEST¥¥TEST.txt","TEST.txt",0)
if ret[0] != EW_OK then
MsgBoxShow("ERROR",0)
end
[Function]
eth_get_ftp
[Syntax with arguments]
eth_get_ftp(srcPath, dstPath, mode, existFile)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (417) Value to Be Stored in the Return Value of the eth_get_ftp Function
Element Type Description
1st Numerical Execution result
element value EW_OK
Successful
EW_FUNC
The eth_ftp_open function has not been executed yet.
EW_DTSRVR
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 544/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
If this function is executed by specifying only a file name in "srcPath," a file with the specified file name is
transferred from the current directory of the host.
If a communication error occurs when data is being received from the host, EW_DTSRVR is returned to
the 1st element of the return value and a detailed communication error information number for that
communication error is returned to the 2nd element.
NOTE
If the function is executed by specifying a file name including a path with a host that does
not support a file name including a path, EW_DTSRVR is returned.
[Example]
To open a communication line and receive data in the file on the FTP server, specify "TEST.txt" with "
D:¥¥TEST¥¥get.txt" as the receiving destination.
ret = eth_open_ftp(1)
if ret[0] != EW_OK then
MsgBoxShow("ERROR",0)
end
ret = eth_get_ftp("TEST.txt","D:¥¥TEST¥¥get.txt",0,0)
if ret[0] != EW_OK then
MsgBoxShow("ERROR",0)
end
[Function]
eth_close_ftp
[Syntax with arguments]
eth_close_ftp()
[Arguments]
None
[Return]
Details of the return values are as shown below.
Table 5.3 (418) Value to Be Stored in the Return Value of the eth_close_ftp Function
Type Description
Numerical Return value of the function
value EW_OK
Successful
EW_FUNC
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 545/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Type Description
The eth_ftp_open function has not been executed yet.
[Description]
This function closes the communication line that has been opened.
[Example]
To close the open communication line.
ret = eth_open_ftp(1)
if ret[0] != EW_OK then
MsgBoxShow("ERROR",0)
end
ret = eth_close_ftp()
if ret != EW_OK then
MsgBoxShow("ERROR",0)
end
[Function]
eth_rdparam
[Syntax with arguments]
eth_rdparam(type)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 546/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
A TCP/IP communication parameter (type=46) can be obtained only when the TCP/IP
communication function is enabled (Parameter TIP(No.907#3)=1). If parameter TIP=0,
this function returns EW_NOOPT.
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (420) Value to Be Stored in the Return Value of the eth_rdparam Function
Element Type Description
1st element Numerica Execution result
l value EW_OK
Successful
EW_DATA
The specification of the parameter kind (type) is incorrect.
EW_LENGTH
The specified data block length is invalid.
To get more detailed information on this return value, execute the
cnc_getdtailerr function.
The following is set in “Detail status” in the return value array.
20: Embedded Ethernet is not available.
22: The option board is not available.
24: The data server function is not available.
27: TCP/IP communication function is not available.
90: The combination of Communication function is illegal.
Confirm the values of diagnosis data Nos. 4400 and 4401.
For details on diagnosis data Nos. 4400 and 4401, refer to "Section 5.32.5
Diagnosis Data in C Language Executor PROGRAMMING MANUAL
(B-63943EN-3)."
2nd element Array of 7 Parameter received
elements For details on the value, refer to the following table "Parameter information for the
Ethernet function."
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 547/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (422) Values to Be Stored in Parameters That Have Been Received
Value of "Kind of Number of Description
parameter elements in
received" the array
1, 21, 41, 61, 81 8 Common parameter
For details on the value, refer to the table "Values to Be Stored in
Common Parameters" shown below.
2, 22, 42, 62, 82 3 Focas2/Ethernet parameter
For details on the value, refer to the following table "Values to Be
Stored in Focas2/Ethernet Parameters."
3, 23, 63, 83 3 FTP transfer parameter
For details on the value, refer to the following table "Values to Be
stored in Destination Parameters (CONNECT 1 to 3) for the FTP
transfer function."
44 2 Data Server parameter
For details on the value, refer to the following table "Values to Be
Stored in Data Server Parameters."
46 3 TCP/IP communication parameter
For details on the value, refer to the following table "Values to Be
Stored in TCP/IP Communication Parameters (CONNECT 1 to 3)."
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 548/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (425) Values stored in destination parameters (CONNECT 1 to 3) for the FTP transfer function
Element Type Description
1st Array of 6 FTP communication parameters for CONNECT 1
element elements For details on the value, refer to the following table "Values stored in the transfer
parameter array."
2nd Array of 6 FTP communication parameters for CONNECT 2
element elements For details on the value, refer to the following table "Values stored in the transfer
parameter array."
3rd Array of 6 FTP communication parameters for CONNECT 3
element elements For details on the value, refer to the following table "Values stored in the transfer
parameter array."
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 549/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (428) Values stored in destination parameters (CONNECT 1 to 3) for the Data Server function
Element Type Description
1st Array of 6 FTP communication parameters for CONNECT 1
element elements For details on the value, refer to the above table "Values stored in the transfer
parameter array."
2nd Array of 6 FTP communication parameters for CONNECT 2
element elements For details on the value, refer to the above table "Values stored in the transfer
parameter array."
3rd Array of 6 FTP communication parameters for CONNECT 3
element elements For details on the value, refer to the above table "Values stored in the transfer
parameter array."
Table 5.3 (429) Values stored in login user parameters for the Data Server function
Element Type Description
1st String User name used to permit the destination to log in
element An ASCII string of up to 31 characters. (32nd and following characters are
discarded.)
2nd String Password used to permit the destination to log in
element An ASCII string of up to 31 characters. (32nd and following characters are
discarded.)
3rd String Work folder when logs in
element An ASCII string of up to 127 characters. (128th and following characters are
discarded.)
Table 5.3 (431) Values stored in the TCP/IP communication parameter array
Element Type Description
1st String Host name or IP address of the destination for the TCP/IP communication function
element An ASCII string of up to 63 characters. (64th and following characters are
discarded.)
2nd Numerical Port number of the destination for the TCP/IP communication function (0, 5001 to
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 550/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Example]
To get an FTP transfer parameter for the embedded Ethernet built-in port:
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 551/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
MsgBoxShow("ERROR",0)
end
[Function]
eth_wrparam
[Syntax with arguments]
eth_wrparam(type, flag, param)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 552/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
The TCP/IP communication parameter (type=46) can be obtained only when the TCP/IP
communication function is enabled (Parameter TIP(No.907#3)=1). If parameter TIP=0,
this function returns EW_NOOPT.
[Return value]
Details of the return values are as shown below.
Table 5.3 (434) Value stored in the return value of the eth_wrparam function
Type Description
Numerical Return value of the function
value EW_OK
Normal termination
EW_DATA
The specified argument is incorrect.
To get more detailed information on this return value, execute the cnc_getdtailerr function.
The following is set in "Detail status" in the return value array.
2: Data is out of range
3: Format error
The following is set in "Error data number" in the return value array.
1: Incorrect parameter type (type)
101: Incorrect setting of the IP Address of CNC
102: Incorrect setting of the subnet mask on the network that CNC belongs to
103: Incorrect setting of the IP address of the router that CNC uses
104: Incorrect setting of the IP address of the priority DNS server that CNC uses
105: Incorrect setting of the IP address of the substitute DNS server that CNC uses
106: Incorrect setting of the host name of CNC
107: Incorrect setting of the domain that CNC belongs to
201: Incorrect setting of the TCP port number
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 553/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Type Description
202: Incorrect setting of the UDP port number
203: Incorrect time interval for sending a broadcast frame
311: Incorrect setting of the host name or IP address of CONNECT 1 for the FTP transfer function
312: Incorrect setting of the control port number for CONNECT 1 for the FTP transfer function
314: Incorrect setting of the user name used to log in to CONNECT 1 for the FTP transfer function
315: Incorrect setting of the password used to log in to CONNECT 1 for the FTP transfer function
316: Incorrect setting of the work folder when logs in to CONNECT 1 for the FTP transfer function
321: Incorrect setting of the host name or IP address of CONNECT 2 for the FTP transfer function
322: Incorrect setting of the control port number of CONNECT 2 for the FTP transfer function
324: Incorrect setting of the user name used to log in to CONNECT 2 for the FTP transfer function
325: Incorrect setting of the password used to log in to CONNECT 2 for the FTP transfer function
326: Incorrect setting of the work folder when logs in to CONNECT 2 for the FTP transfer function
331: Incorrect setting of the host name or IP address of CONNECT 3 for the FTP transfer function
332: Incorrect setting of the control port number of CONNECT 3 for the FTP transfer function
334: Incorrect setting of the user name used to log in to CONNECT 3 for the FTP transfer function
335: Incorrect setting of the password used to log in to CONNECT 3 for the FTP transfer function
336: Incorrect setting of the work folder when logs in to CONNECT 3 for the FTP transfer function
344: Incorrect setting of the user name used to permit the destination to log in for the Data Server function
345: Incorrect setting of the password used to log in to the destination for the Data Server function
346: Incorrect setting of the work folder when logs in to the destination for the Data Server function
351: Incorrect setting of the host name or IP address of CONNECT 1 for the Data Server function
352: Incorrect setting of the control port number of CONNECT 1 for the Data Server function
354: Incorrect setting of the user name used to log in to CONNECT 1 for the Data Server function
355: Incorrect setting of the password used to log in to CONNECT 1 for the Data Server function
356: Incorrect setting of the work folder when logs in to CONNECT 1 for the Data Server function
361: Incorrect setting of the host name or IP address of CONNECT 2 for the Data Server function
362: Incorrect setting of the control port number of CONNECT 2 for the Data Server function
364: Incorrect setting of the user name used to log in to CONNECT 2 for the Data Server function
365: Incorrect setting of the password used to log in to CONNECT 2 for the Data Server function
366: Incorrect setting of the work folder when logs in to CONNECT 2 for the Data Server function
371: Incorrect setting of the host name or IP address of CONNECT 3 for the Data Server function
372: Incorrect setting of the control port number for CONNECT 3 for the Data Server function
374: Incorrect setting of the user name used to log in to CONNECT 3 for the Data Server function
375: Incorrect setting of the password used to log in to CONNECT 3 for the Data Server function
376: Incorrect setting of the work folder when logs in to CONNECT 3 for the Data Server function
511: Incorrect setting of the host name or IP address of CONNECT 1 for the TCP/IP communication function
512: Incorrect setting of the port number of CONNECT 1 for the TCP/IP communication function
521: Incorrect setting of the host name or IP address of CONNECT 2 for the TCP/IP communication function
522: Incorrect setting of the port number of CONNECT 2 for the TCP/IP communication function
531: Incorrect setting of the host name or IP address of CONNECT 3 for the TCP/IP communication function
532: Incorrect setting of the port number of CONNECT 3 for the TCP/IP communication function
EW_NOOPT
There are no required options.
To get more detailed information on this return value, execute the cnc_getdtailerr function.
The following is set in "Detail status" in the return value array.
20: Embedded Ethernet is not available.
22: The option board is not available.
24: The Data Server function is not available.
25: The buffer mode function is not available.
26: There is no ATA card.
27: The TCP/IP communication function is disabled.
90: The combination of communication functions is invalid.
Confirm the values of diagnosis data Nos.4400 and 4401.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 554/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Type Description
For details on the diagnosis data Nos. 4400 and 4401, refer to "Section 5.32.5 Diagnosis Data in C
Language Executor PROGRAMMIG MANUAL (B-63943EN-3)."
EW_PROT
Write protection is applied.
To get more detailed information on this return value, execute the cnc_getdtailerr function.
The following is set in "Detail status" in the return value array.
13: The DHCP client function is enabled.
The CNC mode is incorrect. (Only when type=41 or type=42 is specified)
Set the MDI mode or the emergency stop state.
[Description]
Sets parameters for the Ethernet function (Embedded Ethernet, Fast Ethernet, Fast Data Server board).
A sample of the actual argument is as follows.
Set FTP transfer parameters for the embedded Ethernet built-in port
[
3, # Parameter type to set
[ # Parameter flag to set
[ # Setting flag for destination parameters for the FTP function for CONNECT 1
1, # Flag for the host name or IP address of the destination
1, # Flag for the control port number of the destination
1, # Not used
1, # Flag for the user name used to log in to the destination
1, # Flag for the password used to log in to the destination
1 # Flag for the work folder when logs in
],
[ # Setting flag for destination parameters for the FTP function for CONNECT 2
1, # Flag for the host name or IP address of the destination
1, # Flag for the control port number of the destination
1, # Not used
1, # Flag for the user name used to log in to the destination
1, # Flag for the password used to log in to the destination
1 # Flag for the work folder when logs in
],
[ # Setting flag for destination parameters for the FTP function for CONNECT 3
1, # Flag for the host name or IP address of the destination
1, # Flag for the control port number of the destination
1, # Not used
1, # Flag for the user name used to log in to the destination
1, # Flag for the password used to log in to the destination
1 # Flag for the work folder when logs in
]
],
[ # Parameter to set
[ # FTP communication parameter for CONNECT 1
"192.168.51.115", # Host name or IP address of the destination
21, # Control port number of the destination
0, # Not used
"AAA", # User name used to log in to the destination
"AAA123", # Password used to log in to the destination
"/TEST1" # Work folder when logs in
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 555/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
],
[ # FTP communication parameters for CONNECT 2
"192.168.51.116", # Host name or IP address of the destination
21, # Control port number of the destination
0, # Not used
"BBB", # User name used to log in to the destination
"BBB123", # Password password used to log in to the destination
"/TEST2" # Work folder when logs in
],
[ # FTP communication parameters for CONNECT 3
"192.168.51.117", # Host name or IP address of the destination
21, # Control port number of the destination
0, # Not used
"CCC", # User name used to log in to the destination
"CCC123", # Password password used to log in to the destination
"/TEST3" # Work folder when logs in
]
]
]
[Example]
To set a Focas2/Ethernet parameter for the embedded Ethernet built-in port:
ret = eth_wrparam (2, # Focas2/Ethernet parameter for the embedded Ethernet built-in port
[
1, # Setting flag for the TCP port number
0, # Setting flag for the UDP port number
1 # Setting flag for the time interval for sending a broadcast frame
],
[
5001, # TCP port number
8000, # UDP port number
10 # Time interval at which a broadcast frame is sent
])
if ret != EW_OK then
MsgBoxShow("ERROR",0)
end
In the example, the flag setting for the UDP port number is 0 so the UDP port number has not been set.
NOTE
It is only possible to set the following parameters for the Ethernet function when CNC is
in the MDI mode or the emergency stop state. And, when these parameters are set, the
power must be turned off once.
- Common parameters
(Fast Ethernet or Fast Data Server board) (type=41)
- FOCAS2/Ethernet function parameters
(Fast Ethernet or Fast Data Server board) (type=42)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 556/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
eth_rddsmode
[Syntax with arguments]
eth_rddsmode()
[Arguments]
None
[Return value]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (435) Value stored in the return value of the eth_rddsmode function
Element Type Description
1st element Numerical Execution result
value EW_OK
Normal termination
EW_NOOPT
There are no required options.
To get more detailed information on this return value, execute the
cnc_getdtailerr function.
The following is set in "Detail status" in the return value array.
22: The option board is not available.
24: The Data Server function is not available.
90: The combination of communication functions is invalid.
Confirm the values of diagnosis data No.4400 and No.4401.
For details on the diagnosis data Nos. 4400 and 4401, refer to "Section
5.32.5 Diagnosis Data in C Language Executor PROGRAMMIG MANUAL
(B-63943EN-3)."
2nd element Numerical Value that corresponds to the Data Server function of each read channel
value 0: None
1: Storage mode
2: Buffer mode
3: FTP mode
[Description]
Reads the mode of the Data Server function in all paths (all channels).
[Example]
To read the mode of the Data Server function in all paths:
ret = eth_rddsmode()
if ret[0] != EW_OK then
MsgBoxShow("ERROR",0)
end
[Function]
eth_wrdsmode
[Syntax with arguments]
eth_wrdsmode(path, mode)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 557/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (437) Value stored in the return value of the eth_wrdsmode function
Type Description
Numerical Execution result
value EW_OK
Normal termination
EW_DATA
The specified argument is incorrect.
To get more detailed information on this return value, execute the cnc_getdtailerr function.
The following is set in "Detail status" in the return value array.
2: Data is out of range
The following is set in "Error data number" in the return value array.
302: Mode is out of range.
EW_NOOPT
There are no required options.
To get more detailed information on this return value, execute the cnc_getdtailerr function.
The following is set in "Detail status" in the return value array.
22: The option board is not available.
24: The Data Server function is not available.
25: Buffer mode function is not available.
26: There is no ATA card.
90: The combination of communication functions is invalid.
Confirm the values of diagnosis data No.4400 and No.4401.
For details on the diagnosis data Nos. 4400 and 4401, refer to "Section 5.32.5 Diagnosis
Data in C Language Executor PROGRAMMIG MANUAL (B-63943EN-3)."
EW_PATH
The specification of the argument path is incorrect.
[Description]
Changes the mode of the Data Server function.
[Function]
eth_rdhost
[Syntax with arguments]
eth_rdhost(type)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 558/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (439) Value stored in the return value of the eth_rdhost function
Element Type Description
1st element Numerical Execution result
value EW_OK
Normal termination
EW_DATA
The specified argument is incorrect.
To get more detailed information on this return value, execute the
cnc_getdtailerr function.
The following is set in "Detail status" in the return value array.
2: Data is out of range
The following is set in "Error data number" in the return value array.
3: Incorrect communication function type (type)
EW_NOOPT
There are no required options.
To get more detailed information on this return value, execute the
cnc_getdtailerr function.
The following is set in "Detail status" in the return value array.
20: Embedded Ethernet is not available.
22: The option board is not available.
24: The Data Server function is not available.
90: The combination of communication functions is invalid.
Confirm the values of diagnosis data No.4400 and No.4401.
For details on the diagnosis data Nos. 4400 and 4401, refer to "Section
5.32.5 Diagnosis Data in C Language Executor PROGRAMMIG MANUAL
(B-63943EN-3)."
2nd element Numerical Obtained connection host number of the Ethernet function
value
[Description]
Reads the selected connection host number for the Ethernet function.
[Example]
To read the selected connection host number for the internal port:
ret = eth_rdhost(1)
if ret[0] != EW_OK then
MsgBoxShow("ERROR",0)
end
[Function]
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 559/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
eth_wrhost
[Syntax with arguments]
eth_wrhost(type, host)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (441) Value stored in the return value of the eth_wrhost function
Type Description
Numerical Execution result
value EW_OK
Normal termination
EW_DATA
The specified argument is incorrect.
To get more detailed information on this return value, execute the cnc_getdtailerr function.
The following is set in "Detail status" in the return value array.
2: Data is out of range
The following is set in "Error data number" in the return value array.
3: Incorrect communication function type (type)
301: Incorrect host number (host)
EW_NOOPT
There are no required options.
To get more detailed information on this return value, execute the cnc_getdtailerr function.
The following is set in "Detail status" in the return value array.
20: Embedded Ethernet is not available.
22: The option board is not available.
24: The Data Server function is not available.
90: The combination of communication functions is invalid.
Confirm the values of diagnosis data No.4400 and No.4401.
For details on the diagnosis data Nos. 4400 and 4401, refer to "Section 5.32.5
Diagnosis Data in C Language Executor PROGRAMMIG MANUAL (B-63943EN-3)."
[Description]
Sets the connection host number of the Ethernet function.
[Function]
eth_comopen
[Syntax with arguments]
eth_comopen(socket)
[Arguments]
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 560/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (443) Value stored in the return value of the eth_comopen function
Element Type Description
1st Numerical Execution result
element value EW_OK
Normal termination
EW_BUSY
A request to open the communication line is being executed.
EW_FUNC
The communication line is already open.
EW_NUMBER
The specification of the argument socket is incorrect.
EW_NOOPT
There is no option.
Or the parameter TIP (No.907#3)(*1) is not set to 1.
EW_REJECT
The communication function is being prepared.
EW_SOCKET
A communication error occurred.
- When using a standard monitor:
To get more detailed information on this return value, execute the cnc_getdtailerr
function.
The following is set in "Detail status" in the return value array.
673: The set destination port number is 0.
674: The set destination port number is not open.
675: The IP address or the host name of the destination is incorrect, or the server has
not started.
680: There is no response from the DHCP server.
- When using iHMI:
To get more detailed information on this return value, refer to the information on the 2nd
element.
2nd Numerical Detailed error (valid only when the 1st element is EW_SOCKET)
element value
- When using a standard monitor:
Not used. 0 is always set.
- When using iHMI:
673: The set destination port number is 0.
674: The set destination rejected the connection.
675: The destination cannot be found.
*1: For information on the parameter TIP (No.907#3), refer to "Section 5.4 Parameter settings on the CNC
in C Language Executor PROGRAMMIG MANUAL (B-63943EN-3)."
[Description]
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 561/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Opens the communication line of the socket specified by the argument "socket". This function must always
be executed before sending or receiving data.
Even if this function is called, the communication line is not opened at once. Please retry opening the
communication line if EW_BUSY is returned as the return value.
When an error occurs while opening the communication line, EW_SOCKET is returned as the return value.
To obtain more detailed information on the EW_SOCKET error when using a standard monitor, execute
the cnc_getdtailerr function. When using iHMI, refer to the value of the 2nd element of the return value to
obtain more detailed information on the EW_SOCKET error.
[Example]
To open the communication line for CONNECT 1:
ret = eth_comopen(0)
if ret [0] != EW_OK then
MsgBoxShow("ERROR", 0)
end
[Function]
eth_comclose
[Syntax with arguments]
eth_comclose(socket)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (445) Value stored in the return value of the eth_comclose function
Element Type Description
1st Numerical Execution result
element value EW_OK
Normal termination
EW_BUSY
A request to open the communication line is being executed.
EW_FUNC
The communication line is not open.
EW_NUMBER
The specification of the argument socket is incorrect.
EW_SOCKET
- When using a standard monitor:
A communication error occurred.
To get more detailed information on this return value, execute the cnc_getdtailerr
function.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 562/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
ret = eth_comclose(0)
if ret [0] != EW_OK then
MsgBoxShow("ERROR", 0)
end
[Function]
eth_comsend
[Syntax with arguments]
eth_comsend(socket, length, data)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 563/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (447) Value stored in the return value of the eth_comsend function
Element Type Description
1st Numerical Execution result
element value EW_OK
Normal termination
EW_BUSY
A request to open the communication line is being executed.
EW_FUNC
The communication line is not open.
EW_LENGTH
A value outside the range of 1 to 1440 was specified for the argument length.
EW_NUMBER
The specification of the argument socket is incorrect.
EW_SOCKET
- When using a standard monitor:
A communication error occurred.
To get more detailed information on this return value, execute the cnc_getdtailerr
function.
The following is set in "Detail status" in the return value array.
676: The communication line with the destination was disconnected.
677: Data transmission failed.
- When using iHMI:
To get more detailed information on this return value, refer to the information on the
2nd element.
2nd Numerical Detailed error (valid only when the 1st element is EW_SOCKET)
element value - When using a standard monitor:
Not used. 0 is always set.
- When using iHMI:
676: The communication line with the destination was disconnected.
677: Data transmission failed.
[Description]
Writes data for the size specified by the argument length to the transmission buffer for the socket specified
by the argument "socket".
Data transmission using the communication line will not be performed immediately after this function is
called. If EW_BUSY is returned as the return value, please retry sending the data.
If an error occurs while sending data, EW_SOCKET is returned as the return value. To obtain more
detailed information on the EW_SOCKET error when using a standard monitor, execute the
cnc_getdtailerr function. When using iHMI, refer to the value of the 2nd element of the return value to
obtain more detailed information on the EW_SOCKET error.
※ When sending a Russian character string, specify the number of characters to be sent in "length" of the
argument.
[Example]
To send a string "TEST" of four bytes to the destination 0:
ret = eth_comsend(0,4,"TEST")
if ret [0] != EW_OK then
MsgBoxShow("ERROR", 0)
end
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 564/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
eth_comrecv
[Syntax with arguments]
eth_comrecv(socket, length)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (449) Value stored in the return value of the eth_comrecv function
Element Type Description
1st element Numerical Execution result
value EW_OK
Normal termination
EW_FUNC
The communication line is not open.
EW_LENGTH
A value of 0 or less was specified for the argument "length".
EW_NUMBER
The specification of the argument socket is incorrect.
EW_BUFFER
The reception buffer is empty.
EW_SOCKET
- When using a standard monitor:
A communication error occurred.
To get more detailed information on this return value, execute the
cnc_getdtailerr function.
The following is set in "Detail status" in the return value array.
676: The communication line with the destination was disconnected.
- When using iHMI:
To get more detailed information on this return value, refer to the
information on the 2nd element.
2nd element Numerical Detailed error (valid only when the 1st element is EW_SOCKET)
value - When using a standard monitor:
Not used. 0 is always set.
- When using iHMI:
676: The communication line with the destination was disconnected.
3rd element Numerical Size of the received data
value
4th element String Received data
The maximum size of data that can be received at a time is 8191 bytes.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 565/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Description]
Reads data for the size specified by the argument length from the transmission buffer for the socket
specified by the argument "socket".
If there is not enough data for the size specified by the argument length in the reception buffer, this
function reads as much data as possible and returns the size of the read data to the 2nd element of the array.
If there is no data in the reception buffer, EW_BUFFER is returned as the return value. In this case, retry
receiving data.
If an error occurs while receiving data, EW_SOCKET is returned. To obtain more detailed information on
the EW_SOCKET error when using a standard monitor, execute the cnc_getdtailerr function. When using
iHMI, refer to the value of the 2nd element of the return value to obtain more detailed information on the
EW_SOCKET error.
Even when the communication line is closed by an external device, the function will read data if data
remains in the reception buffer. In this case, EW_OK is returned. Then, when you execute this function
after all data in the reception buffer is read, EW_SOCKET is returned as the return value.
[Example]
To read data of size 100 from socket number 0:
[Function]
eth_comstatus
[Syntax with arguments]
eth_comstatus(socket)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (451) Value stored in the return value of the eth_comstatus function
Element Type Description
1st element Numerical Execution result
value EW_OK
Normal termination
EW_NUMBER
The specification of the argument socket is incorrect.
EW_NOOPT
No options
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 566/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
ret = eth_comstatus(0)
if ret[0] = EW_OK then
status = format("%016d",ret[1].to_s(2))
msg_txt = "communication status:" + status
MsgBoxShow(msg_txt,0)
end
[Function]
eth_put_ftp2
[Syntax with arguments]
eth_put_ftp2(srcPath, dstPath, mode)
[Arguments]
The arguments of this function are as shown below.
[Return]
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 567/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (455) Value to Be Stored in the Return Value of the eth_put_ftp2 Function
Element Type Description
1st Numerical Execution result
element value EW_OK
Successful
EW_FUNC
The eth_ftp_open function has not been executed yet.
EW_DATA
The mode argument is invalid.
EW_DTSRVR
A communication error occurred.
2nd Numerical Detailed communication error information number (valid only when the 1st element is
element value EW_DTSRVR)
2: The file does not exist.
12031: Connection has been reset.
*For other detailed error information numbers, see the error code list for the Windows API.
[Description]
This function transfers a file to the specified host.
The specification of the argument “mode” has been changed from the conventional eth_put_ftp function,
and the FTP cache function can be specified to be disabled.
When the cache function is disabled, the destination file will be referred to a file on the FTP server instead
of the cache.
If this function is executed by specifying only a file name in "dstPath," a file with the specified file name is
transferred to the current directory of the host.
If this function is executed by specifying a file name including a path in "dstPath" with a host that supports
a file name including a path, the specified file is created when a directory included in the path exists in the
host.
If a communication error occurs when data is being sent to the host, EW_DTSRVR is returned to the 1st
element of the return value and a detailed communication error information number for that
communication error is returned to the 2nd element.
NOTE
1 If the function is executed by specifying the name of a file that already exists on the
host, the file name may be overwritten depending on the setting of the host and
EW_OK may be returned.
2 If the function is executed by specifying a file name including a path with a host that
does not support a file name including a path, EW_DTSRVR is returned.
[Example]
To open a communication line and send a file (D:¥¥TEST¥¥TEST.txt) to the destination FTP server with
the file name "TEST.txt" in ASCII mode the cache function server disabled.
ret = eth_open_ftp(1)
if ret[0] != EW_OK then
MsgBoxShow("ERROR",0)
end
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 568/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
eth_get_ftp2
[Syntax with arguments]
eth_get_ftp2(srcPath, dstPath, mode, existFile)
[Arguments]
The arguments of this function are as shown below.
[Return]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (459) Value to Be Stored in the Return Value of the eth_get_ftp2 Function
Element Type Description
1st Numerical Execution result
element value EW_OK
Successful
EW_FUNC
The eth_ftp_open function has not been executed yet.
EW_DATA
The mode argument or the existFile argument is invalid.
EW_DTSRVR
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 569/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
If this function is executed by specifying only a file name in "srcPath," a file with the specified file name is
transferred from the current directory of the host.
If a communication error occurs when data is being received from the host, EW_DTSRVR is returned to
the 1st element of the return value and a detailed communication error information number for that
communication error is returned to the 2nd element.
NOTE
If the function is executed by specifying a file name including a path with a host that
does not support a file name including a path, EW_DTSRVR is returned.
[Example]
To open a communication line, specify "D:¥¥TEST¥¥get.txt" as the destination to receive the "TEST.txt"
in the FTP server, and specify Ascii mode and cache function disabled for data reception. In this case.
ret = eth_open_ftp(1)
if ret[0] != EW_OK then
MsgBoxShow("ERROR",0)
end
mode = FTP_MODE_ASCII | FTP_MODE_NO_CACHE
ret = eth_get_ftp2("TEST.txt","D:¥¥TEST¥¥get.txt",mode,0)
if ret[0] != EW_OK then
MsgBoxShow("ERROR",0)
end
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 570/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
remove
[Syntax with arguments]
remove(filename)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (461) Value stored in the return value of the remove function
Element Type Description
1st element Numerical Execution result
value 0
Normal termination
-1
Function failed
2nd element Numerical Detailed error (valid only when the 1st element is -1)
value - When using a standard monitor:
EACCES
A read-only file was set for the path name.
ENOENT
The file or path could not be detected, or
a directory was specified for the path.
- When using iHMI:
2: The specified file could not be found
5: Access denied
*For detailed error numbers other than those listed above, see the error code
list for WindowsAPI.
[Description]
Deletes the file specified by filename.
[Example]
To delete "prg1.txt" in the path "D://ExampleFP/prg/":
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 571/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
rename
[Syntax with arguments]
rename(oldname, newname)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (463) Value stored in the return value of the rename function
Element Type Description
1st element Numerical Execution result
value 0
Normal termination
-1
Function failed
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 572/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
CAUTION
When using a standard monitor, you cannot move a file or directory with the
current library. Calling a function that moves a file or directory, such as the
rename function, will result in an error. (2nd element of the return value =
EACCES)
[Function]
tmpnam
[Syntax with arguments]
tmpnam()
[Arguments]
None
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 573/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Return value]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (464) Value stored in the return value of the tmpnam function
Element Type Description
1st element Numerical Execution result
value 0
Normal termination
1
Function failed
2nd element String A unique file name
[Description]
Generates a file name that opens a temporary file without overwriting an existing file.
This function generates a unique file name for up to TMP_MAX (32767) calls.
The string that is generated consists of a path prefix (¥sNumber.) followed by a number from '0' to '9'. The
number represented by this string takes a value from 1 to 65535. Even if you change the definition of
L_tmpnam, the processing of the tmpnam function will not change.
[Example]
To create a temporary file name:
[Function]
rand
[Syntax with arguments]
rand()
[Arguments]
None
[Return value]
Details of the return values are as shown below.
Table 5.3 (465) Value stored in the return value of the rand function
Type Description
Numerical Created pseudo-random number
value The pseudo-random number ranges from 0 to 32767.
[Description]
Returns a pseudo-random number. The random number generator can be seeded with the srand function.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 574/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
srand
[Syntax with arguments]
srand(seed)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (467) Value stored in the return value of the srand function
Type Description
Numerical Execution result
value 0
Normal termination
[Description]
Initializes a series of random numbers generated by the srand function or rand function.
[Example]
To initialize a series of random numbers:
seed = time() # Gets a seeded series number from the current time
ret_value = srand(seed[1]) # Executes the srand function
if ret_value != 0 then
MsgBoxShow("ERROR", 0)
end
[Function]
mktime
[Syntax with arguments]
mktime(regiontime)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 575/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (470) Value stored in the return value of the mktime function
Element Type Description
1st element Numerical value Execution result
0
Normal termination
-1
Function failed
2nd element Numerical value Local time converted to the calendar value
If the function fails (1st element is -1), -1 is returned.
[Description]
Converts the specified local time to a calendar value.
[Example]
To convert the local time [0,30,10,1,5,118,5,151,0] to a calendar value:
[Function]
time
[Syntax with arguments]
time()
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 576/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Arguments]
None
[Return value]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (471) Value stored in the return value of the time function
Element Type Description
1st element Numerical value Execution result
0
Normal termination
-1
Function failed
2nd element Numerical value Current time
The accumulated number of seconds since 1/1/1970 0:00:00.
- When using a standard monitor:
The time read from the calendar clock of the CNC device.
If the calendar clock is not set correctly, -1 is returned.
- When using iHMI:
The time read from the system date.
[Description]
Gets the current time.
[Example]
To get the current time:
[Function]
asctime
[Syntax with arguments]
asctime(timeinfo)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 577/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (474) Value stored in the return value of the asctime function
Element Type Description
1st element Numerical value Execution result
0
Normal termination
2nd element String Time converted to a string
The format after conversion is as follows:
"Day of the week Month Date Hour:Minute:Second Year¥n"
Example: "Sun Jan 01 00:00:00 1992¥n"
[Description]
Converts the specified time information to a string.
[Example]
To convert the time information [15,30,10,1,5,118,5,151,0] to a string:
[Function]
ctime
[Syntax with arguments]
ctime(time)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 578/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (476) Value stored in the return value of the ctime function
Element Type Description
1st element Numerical Execution result
value 0
Normal termination
2nd element String Time converted to a string
The format after conversion is as follows:
"Day of the week Month Date Hour:Minute:Second Year¥n"
Example: "Sun Jan 01 00:00:00 1992¥n"
[Description]
Converts the specified time information to a string. "ctime(time)" is equivalent to "asctime" (the 3rd
element of "localtime(time)").
[Example]
To convert the time information [15,30,10,1,5,118,5,151,0] to a string:
[Function]
gmtime
[Syntax with arguments]
gmtime(time)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 579/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (478) Value stored in the return value of the gmtime function
Element Type Description
1st element Numerical Execution result
value 0
Normal termination
2nd element Array of 9 Time converted to Greenwich mean time
elements For details on the value, refer to the following table "Time information."
[Function]
localtime
[Syntax with arguments]
localtime(time)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 580/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (481) Value stored in the return value of the localtime function
Element Type Description
1st element Numerical Execution result
value 0
Normal termination
2nd element Array of 9 Time information converted to local standard time
elements For details on the value, refer to the following table "Time information."
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 581/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
difftime
[Syntax with arguments]
difftime(e_time, s_time)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (484) Value stored in the return value of the difftime function
Element Type Description
1st element Numerical Execution result
value 0
Normal termination
-1
Function failed
2nd element Array of 9 Elapsed time in seconds for e_time – s_time
elements If the function fails (1st element is -1), -1 is returned.
[Description]
Computes the difference between two times by subtracting the argument s_time from the argument e_time.
[Example]
To get the elapsed time:
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 582/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
15.1 Finding the first file whose attributes match the specified ones
[Function]
_dos_findfirst
[Syntax with arguments]
_dos_findfirst(path, attr)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (487) Value stored in the return value of the _dos_findfirst function
Element Type Description
1st element Numerical value Execution result
0: Successful.
If it is not 0, one of the following values is returned:
In addition, ENOENT is set in the 2nd element.
5: No device is inserted
6: No device is mounted
9: The specified drive name is invalid.
15: A file or directory with the specified attribute could not be found.
22: The specified file name is invalid.
31: The specified path is invalid.
2nd element Numerical value Error code (valid only when the 1st element is not 0)
3rd element Array of 5 File information of the first match
elements For details on the value, refer to the following table "File information."
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 583/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
If the file name to be searched is 12 characters or less and wild card characters are
specified, it is possible to search for files with file names with 13 or more characters.
However, the retrieved file name cannot be used in operations such as opening and
deleting files, because a file name with 33 or more characters is not supported for
those operations.
15.2 Finding the next file whose attributes match the specified ones
[Function]
_dos_findnext
[Syntax with arguments]
_dos_findnext()
[Arguments]
None
[Return value]
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 584/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (489) Value stored in the return value of the _dos_findnext function
Element Type Description
1st element Numerical Execution result
value 0: Successful.
If it is not 0, one of the following values is returned:
In addition, ENOENT is set in the 2nd element.
15: A file or directory with the specified attribute could not be found.
22: The specified file name is invalid.
31: The specified path is invalid.
2nd element Numerical Error code (valid only when the 1st element is not 0)
value
3rd element Array of 5 File information of the next match
elements For details on the value, refer to the following table "File information."
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 585/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
1 Please execute the _dos_findfirst function and execute the _dos_findnext
function to continue searching for the next file.
2 When the following action has been performed, -1 is returned and no operations
are executed:
- When the _dos_findnext32 function is executed after the _dos_findfirst
function is executed.
- When the _dos_findnext function is executed after the _dos_findfirst32
function is executed.
3 If the file name to be searched is 12 characters or less and wild card characters
are used, it is possible to search for files with file names with 13 or more
characters. However, operatons such as opening and deletion, cannot be
performed because file names after 12nd character are discarded.
[Function]
findfirstfile
[Syntax with arguments]
findfirstfile(filename)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (493) Value stored in the return value of the findfirstfile function
Element Type Description
1st element Numerical Execution result
value Search handle (0 or larger value)
Normal termination
-1
Function failed
When the function is successful, the search handle is returned.
The search handle is used by the findnextfile function and the findclose function.
2nd element Numerical Detailed error number (valid only when the 1st element is -1)
value 2: The specified file could not be found
3: The specified path could not be found
123: The file name, directory name, or volume label syntax is incorrect
*For detailed error numbers other than those listed above, see the error code list for
WindowsAPI.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 586/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 587/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
findnextfile
[Syntax with arguments]
findnextfile(handle)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (498) Value stored in the return value of the findnextfile function
Element Type Description
1st element Numerical Execution result
value Non-0 value
Normal termination
0
Function failed
If the function fails, the detailed cause is shown in the detailed error.
2nd element Numerical Detailed error number (valid only when the 1st element is 0)
value 6: Invalid handle
18: There are no more files
*For detailed error numbers other than those listed above, see the error code list for
WindowsAPI.
3rd element Array of 7 Matching file information
elements For details on the value, refer to the following table "File information."
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 588/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 589/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
findclose
[Syntax with arguments]
findclose(handle)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (503) Value stored in the return value of the findclose function
Element Type Description
1st element Numerical Execution result
value Non-0 value
Normal termination
0
Function failed
If the function fails, the detailed cause is shown in the detailed error.
2nd element Numerical Detailed error (valid only when the 1st element is 0)
value 6: Invalid handle
998: Invalid access to the memory location
*For detailed error numbers other than those listed above, see the error code list for
WindowsAPI.
[Description]
Closes the specified search handle. This function closes the search handle opened by executing the
findfirstfile function. Be sure to execute this function after executing the findfirstfile function and the
findnextfile function.
[Example]
Refer to [Example] under "Finding the specified file (findfirstfile)."
[Function]
_dos_getdiskfree
[Syntax with arguments]
_dos_getdiskfree( device )
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 590/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (505) Value stored in the return value of the _dos_getdiskfree function
Element Type Description
1st element Numerical Execution result
value 0
Normal termination
Non-0
Function failed
2nd element Numerical Detailed error (valid only when the 1st element is not 0)
value EINVAL
The specified device is invalid.
3rd element Array of 4 Disk information
elements For details on the value, refer to the following table "Disk information."
CAUTION
This function cannot be used with iHMI.
If this function is used with iHMI, EW_OK is returned, but disk information will not
be acquired.
[Function]
getdiskfree
[Syntax with arguments]
getdiskfree(dirname)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 591/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (508) Value stored in the return value of the getdiskfree function
Element Type Description
1st element Numerical Execution result
value Non-0
Normal termination
0
Function failed
2nd element Numerical Detailed error (valid only when the 1st element is 0)
value 123: The file name, directory name, or volume label syntax is incorrect
*For detailed error numbers other than those listed above, see the error code list
for WindowsAPI.
3rd element Array of 2 Free disk space in bytes available to the user
elements For details on the value, refer to the following table "Disk size information."
4th element Array of 2 Total disk space in bytes available to the user
elements For details on the value, refer to the following table "Disk size information."
5th element Array of 2 Free disk space in bytes
elements For details on the value, refer to the following table "Disk size information."
CAUTION
This function cannot be used with a standard monitor.
If this function is used with a standard monitor, EW_OK is returned, but disk
information will not be acquired.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 592/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
_chdrive
[Syntax with arguments]
_chdrive(drive)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (511) Value stored in the return value of the _chdrive function
Element Type Description
1st element Numerical Execution result
value 0
Normal termination
-1
Function failed
2nd element Numerical Detailed error (valid only when the 1st element is -1)
value EACCES
Cannot access the specified drive.
[Description]
Changes the current drive.
[Example]
To change the current drive to drive C:
NOTE
This function cannot be used with PANEL iH.
If this function is used with PANEL iH, 0 is returned, but the current drive will not
be changed.
[Function]
_getdrive
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 593/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (512) Value stored in the return value of the _getdrive function
Type Description
Numerical Acquired current drive
value The acquired current drive is returned as a numerical value. It takes continuous numerical
values, with 1 and 2 corresponding to drive A and drive B, respectively. The value ranges from
1 to 26.
[Description]
Gets the current drive.
NOTE
This function cannot be used with PANEL iH.
If this function is used with PANEL iH, 0 is returned, but the current drive will not
be acquired.
[Function]
chdir
[Syntax with arguments]
chdir( path )
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (514) Value stored in the return value of the chdir function
Element Type Description
1st element Numerical Execution result
value 0
Normal termination
-1
Function failed
2nd element Numerical Detailed error (valid only when the 1st element is -1)
value ENOENT
The specified path could not be found
EINVAL
An empty string was specified for the argument
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 594/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Description]
Changes the current directory to the directory specified by the argument.
[Example]
To change the current directory to the path "D://ExampleFP":
NOTE
This function cannot be used with PANEL iH.
If this function is used with PANEL iH, 0 is returned, but the current directory will
not be changed.
[Function]
getcwd
[Syntax with arguments]
getcwd()
[Arguments]
None
[Return value]
For this function, the return value is an array of 2 elements.
Details of the return values are as shown below.
Table 5.3 (515) Value stored in the return value of the getcwd function
Element Type Description
1st element Numerical Execution result
value 0
Normal termination
-1
Function failed
2nd element String Path to the acquired current directory
[Description]
Gets the path to the current directory.
[Example]
To get the current directory:
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 595/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
This function cannot be used with PANEL iH.
If this function is used with PANEL iH, 0 is returned, but the path to the current
directory will not be acquired.
[Function]
cabs
[Syntax with arguments]
cabs( realnum, imagnum )
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (517) Value stored in the return value of the cabs function
Element Type Description
1st element Numerica Execution result
l value 0
Normal termination
HUGE_VAL
Function failed
2nd element Numerica Calculated absolute value of the complex number (valid only when the 1st element is 0)
l value When the 1st element is HUGE_VAL, 0 is set.
[Description]
Calculates the absolute value of the complex number specified by the argument.
[Example]
To calculate the absolute value of "4 + 3i":
[Function]
hypot
[Syntax with arguments]
hypot(xnum, ynum)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 596/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (519) Value stored in the return value of the hypot function
Element Type Description
1st element Numerical Execution result
value 0
Normal termination
HUGE_VAL
Function failed
2nd element Numerical Length of the hypotenuse of the right triangle (valid only when the 1st element is
value 0)
It is the square of the sum of the squares of the argument xnum and the
square of the argument ynum.
When the 1st element is HUGE_VAL, 0 is set.
[Description]
Calculates the length of the hypotenuse of a right triangle based on the length of the two sides specified the
arguments.
[Example]
To calculate the length of the hypotenuse of a right triangle:
[Function]
close
[Syntax with arguments]
close(handle)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 597/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (521) Value stored in the return value of the close function
Element Type Description
1st element Numerical Execution result
value 0
Normal termination
-1
Function failed
2nd element Numerical Detailed error (valid only when the 1st element is -1)
value - When using a standard monitor:
EBADF
The specified file handle is not valid
- When using iHMI:
6: Invalid handle
*For detailed error numbers other than those listed above, see the error code list
for WindowsAPI.
[Description]
Closes the specified file handle Be sure to execute this function after executing the open function.
[Example]
Refer to [Example] under "Opening a file (open)."
[Function]
creat
[Syntax with arguments]
creat(filename, mode)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 598/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (524) Value stored in the return value of the creat function
Element Type Description
1st element Numerical Execution result
value File handle (0 or larger value)
Normal termination
-1
Function failed
2nd element Numerical Detailed error (valid only when the 1st element is -1)
value - When using a standard monitor:
EACCES
A read-only file was attempted to be opened for writing, or the specified path
is a directory.
EMFILE
There are too many open files.
ENOENT
The specified file could not be found.
- When using iHMI:
3: The specified path could not be found
80: There is a file
*For detailed error numbers other than those listed above, see the error code list
for WindowsAPI.
[Description]
Creates a new file with the specified filename in the specified mode. If the same file name as the specified
filename exists, this function sets the file size to 0.
[Example]
To create a new file "prg1.txt" under the path "D://ExampleFP/prg/":
[Function]
lseek
[Syntax with arguments]
lseek(handle, offset, origin)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 599/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (527) Value stored in the return value of the lseek function
Element Type Description
1st element Numerical Execution result
value New file pointer
Normal termination
-1
Function failed
2nd element Numerical Detailed error (valid only when the 1st element is -1)
value - When using a standard monitor:
EBADF
Invalid file handle
- When using iHMI:
6: Invalid handle
131: The file pointer was attempted to be moved before the start of the file
*For detailed error numbers other than those listed above, see the error code list
for WindowsAPI.
[Description]
Moves the file pointer of the file handle specified by handle by the amount in offset bytes from the position
specified by origin.
[Example]
Refer to [Example] under "Opening a file (open)."
[Function]
mkdir
[Syntax with arguments]
mkdir(dirname)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 600/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (529) Value stored in the return value of the mkdir function
Element Type Description
1st element Numerical Execution result
value 0
Normal termination
-1
Function failed
2nd element Numerical Detailed error (valid only when the 1st element is -1)
value - When using a standard monitor:
EEXIST
The name of an existing file, directory, or device is specified by dirname.
ENOENT
The specified path could not be found.
- When using iHMI:
3: The specified path could not be found
183: A file that already exists cannot be created
*For detailed error numbers other than those listed above, see the error code list
for WindowsAPI.
[Description]
Creates a directory specified by dirname.
[Example]
To create "NewDirectory" under the path "D://ExampleFP/prg/":
[Function]
Open
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 601/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 602/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (534) Value stored in the return value of the open function
Element Type Description
1st element Numerical Execution result
value 0 or larger value (File handle)
Normal termination
-1
Function failed
2nd element Numerical Detailed error (valid only when the 1st element is -1)
value - When using a standard monitor:
EACCES
A read-only file was attempted to be opened for writing, or the specified operation
is not allowed due to file sharing mode. Or, the specified filename is a directory.
EEXIST
Although O_CREAT and O_EXCL were specified by flag, filename already exists.
EINVAL
Invalid flag or mode
EMFILE
There are too many open files.
ENOENT
The specified filename could not be found.
- When using iHMI:
2: The specified file could not be found
5: Access denied
32: The process could not access the file It is being used by another process.
80: The file exists
*For detailed error numbers other than those listed above, see the error code list
for WindowsAPI.
[Description]
Opens the specified file. Be sure to execute the close function after executing this function.
[Example]
To open "prg1.txt" under the path "D://ExampleFP/prg/" and perform the following steps:
1. Write the string "Confirm the read function and the write function" with the write function.
2. Read the string written in 1 with the read function.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 603/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
read
[Syntax with arguments]
read(handle, count)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (536) Value stored in the return value of the read function
Element Type Description
1st element Numerical Execution result
value 0
Normal termination
-1
Function failed
2nd element Numerical Detailed error (valid only when the 1st element is -1)
value - When using a standard monitor:
EBADF
The specified file handle is invalid.
- When using iHMI:
6: Invalid handle
*For detailed error numbers other than those listed above, see the error code list
for WindowsAPI.
3rd element String Read data
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 604/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
rmdir
[Syntax with arguments]
rmdir(dirname)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (538) Value stored in the return value of the rmdir function
Element Type Description
1st element Numerical Execution result
value 0
Normal termination
-1
Function failed
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 605/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
tell
[Syntax with arguments]
tell(handle)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (540) Value stored in the return value of the tell function
Element Type Description
1st element Numerical Execution result
value Current position of the file pointer
Normal termination
-1
Function failed
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 606/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
write
[Syntax with arguments]
write(handle, buffer, count)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (542) Value stored in the return value of the write function
Element Type Description
1st element Numerical Execution result
value 0
Normal termination
-1
Function failed
2nd element Numerical Detailed error (valid only when the 1st element is -1)
value - When using a standard monitor:
EBADF
The specified file handle is invalid.
ENOSPC
There is not enough empty space for the specified number of bytes.
EINVAL
The specified buffer or count is invalid.
- When using iHMI:
6: Invalid handle
*For detailed error numbers other than those listed above, see the error code list
for WindowsAPI.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 607/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Example]
Refer to [Example] under "Opening a file (open)."
[Function]
StatusDisplay
[Syntax with arguments]
StatusDisplay(type)
[Arguments]
The arguments of this function are as shown below.
Table 5.3 (545) Display position / size of the iHMI common status
Custom screen size width Display position(dot) Size(dot)
(dot) [Upper-left x coordinate],[Upper-left [width],[height]
y coordinate]
800 or less 4,0 792,32
801 or more and 1024 or less 4,0 932,52
1025 or more 4,0 1188,52
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 608/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table 5.3 (546) Display position / size of the information center display soft key
Custom screen size width Display position(dot) Size(dot)
(dot) [Upper-left x coordinate],[Upper-left [width],[height]
y coordinate]
800 or less Not displayed Not displayed
801 or more and 1024 or less 952,22 52,52
1025 or more 1210,29 52,52
NOTE
1 The iHMI common status and information center display soft key that displayed by this function cannot be hidden
after display.
2 When the display width of the custom screen is smaller than the display size of the iHMI common status by the
“Any position and size screen display function”, iHMI common status is not displayed beyond the width of custom
screen.
3 In a 10.4 inch display unit, even if this function is executed by specifying the argument for displaying the
information center display soft key is specified (type = 1), the information center display soft key is not displayed.
4 When this function is executed with specifying the argument for displaying the information center display soft key is
specified (type = 1), even if [VF1 / VFR1] is set as the shortcut key of the control, the shortcut key does not work.
5 A pop-up screen cannot be displayed on the iHMI common status. The iHMI common status is always displayed
on the front.
6 If this function is used with the Floating Display Function, the screen is hidden when this function is executed.
After that, if you switch to another application screen, it will be displayed correctly.
[Function]
ScreenLock
[Syntax with arguments]
ScreenLock (lock)
[Argument]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 609/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Type Description
Re-execute after iHMI has started.
[Description]
Lock / Unlock switching to iHMI home screen or the other iHMI application screen.
This function can be used on the following conditions.
・ Available in FANUC PICTURE edition 09.1 or later.
・ Only support in iHMI mode. An error occurs when executed in standard display unit mode.
・ Only support in Ruby Script and action function. Not support in FP Script.
NOTE
1. Application switching / termination by Windows Task Manager cannot be locked by this function.
Locking screen switching by this function is valid only in the following cases.
Switching to iHMI home screen by Home key
Switching from the iHMI home screen to another iHMI application screen by the icon.
Switching another iHMI application screen by ExecuteApp function.
[Function]
ExecuteApp
[Arguments]
The arguments of this function are as shown below.
[Return Value]
Details of the return values are as shown below.
[Description]
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 610/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Example]
When executes MAINTENANCE DISPLAY "SDF" with specifying the "Current position (overall)
screen".
ExecuteApp("SDF","0x0300")
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 611/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
cnc_download4 226
cnc_dwnend4 227
cnc_upstart4 228
cnc_upload4 229
cnc_upend4 230
cnc_exeprgname 231
cnc_exeprgname2 232
cnc_wrmdiprog 233
cnc_rdmdipntr 234
cnc_wrmdipntr 235
cnc_rdpdf_line 236
cnc_wrpdf_line 237
cnc_pdf_delline 238
cnc_pdf_rdactpt 239
cnc_pdf_wractpt 240
cnc_saveprog_start 241
cnc_saveprog_end 242
cnc_rdparar 243
cnc_wrparas 244
cnc_rdwkcdshft 245
cnc_wrwkcdshft 246
cnc_rdpitchinfo 247
cnc_rdmacroinfo 248
cnc_rdparanum 249
cnc_rdsetnum 250
cnc_rdtofsinfo2 251
cnc_rdtoolrng 252
cnc_wrcountr 253
cnc_rdusegrpid 255
cnc_rdmaxgrp 256
cnc_rdmaxtool 257
cnc_rdusetlno 258
cnc_rd1tlifedat2 259
cnc_rd2tlifedata 260
cnc_wr1tlifedat2 261
cnc_wr2tlifedata 262
cnc_wrgrpinfo 263
cnc_wrgrpinfo2 264
cnc_wrgrpinfo3 265
cnc_deltlifegrp 266
cnc_regtool_f2 267
cnc_wrtool_f2 268
cnc_regmagazine 269
cnc_delmagazine 270
cnc_rdmagazine 271
cnc_wrmagazine 272
cnc_wrtoolgeom_tlm 273
cnc_rdtoolgeom_tlm 274
cnc_rdtlgeomsize_ext 275
cnc_wrtlgeomsize_ext 276
cnc_rdmag_property 277
cnc_wrmag_property 278
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 612/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
cnc_delmag_property 279
cnc_rdpot_property 280
cnc_wrpot_property 281
cnc_delpot_property 282
cnc_tool_move 287
cnc_btlfpotsrh 290
cnc_stopophis 294
cnc_startophis 295
cnc_rdophisno 296
cnc_clearophis 297
cnc_rdalmhisno 298
cnc_rdalmhisno3 299
cnc_rdomhisno 300
cnc_rddsfile 301
cnc_rddsdir 302
cnc_dschdir 303
cnc_dsmkdir 304
cnc_dsrmdir 305
cnc_dsremove 306
cnc_rddsdevinfo 307
cnc_dsrename 308
cnc_dscopyfile 309
cnc_getfigure 310
cnc_rdsyssoft3 311
cnc_rddiaginfo 312
cnc_rddiagnum 313
cnc_rdsyshard 314
cnc_sysinfo_ex 315
cnc_rdalmmsg 316
cnc_getdtailerr 317
cnc_statinfo2 318
cnc_rdope_lvl 320
cnc_prot_pswinp 321
cnc_prot_pswcan 322
cnc_rdprt_lvl 325
cnc_wrprt_lvl 326
cnc_rdprt_data 327
cnc_rdcncid 354
cnc_file_cpmv_start 363
cnc_file_cpmv_poll 364
cnc_file_cpmv_end 365
cnc_file_cpmv_restart 366
pmc_rdpmcrng 367
pmc_wrpmcrng 368
pmc_get_current_pmc_unit 369
pmc_get_number_of_pmc 370
pmc_get_pmc_unit_types 371
pmc_rdkpm 372
pmc_wrkpm 373
pmc_kpmsiz 374
pmc_rdpmcinfo 375
pmc_rdprmstart 376
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 613/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
pmc_rdpmcparam 377
pmc_rdprmend 378
pmc_wrprmstart 379
pmc_wrpmcparam 380
pmc_wrprmend 381
pmc_getdtailerr 382
aux_file_mount 384
aux_file_unmount 385
aux_file_memcinfo 386
aux_file_usbinfo 387
_dos_findfirst32 388
_dos_findnext32 389
rs_open 390
rs_close 391
rs_putc 392
rs_getc 393
rs_write 394
rs_read 395
rs_buffer 396
rs_status 397
rs_wait 398
aux_from_open 399
aux_from_close 400
aux_from_select 401
aux_from_moveptr 402
aux_from_read 403
aux_from_getdir 404
aux_from_getinfo 405
aux_from_getc 406
aux_from_gets 407
eth_putopen 408
eth_put 409
eth_putclose 410
eth_getopen 411
eth_get 412
eth_getclose 413
eth_open_ftp 414
eth_put_ftp 415
eth_get_ftp 416
eth_close_ftp 417
eth_rdparam 418
eth_wrparam 419
eth_rddsmode 422
eth_wrdsmode 423
eth_rdhost 424
eth_wrhost 425
eth_comopen 426
eth_comclose 427
eth_comsend 428
eth_comrecv 429
eth_comstatus 430
remove 431
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 614/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
rename 432
tmpnam 433
rand 434
srand 435
mktime 436
time 437
asctime 438
ctime 439
gmtime 440
localtime 441
difftime 442
_dos_findfirst 443
_dos_findnext 444
findfirstfile 445
findnextfile 446
findclose 447
_dos_getdiskfree 448
getdiskfree 449
_chdrive 450
_getdrive 451
chdir 452
getcwd 453
cabs 454
hypot 455
close 456
creat 457
lseek 458
mkdir 459
open 460
read 461
rmdir 462
tell 463
write 464
cnc_mcdp_create 465
cnc_mcdp_mount 466
cnc_mcdp_unmount 467
cnc_mcdp_mountchk 468
cnc_rdalmhistry4 469
cnc_rdomhistry2 470
eth_put_ftp2 471
eth_get_ftp2 472
cnc_rdsrvspeed 473
cnc_rdsrvtsa 474
cnc_rdsrvtcmd 475
cnc_diagnosr 476
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 615/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
5.5 RESTRICTIONS
1 If an FP function error occurs in the event script or the control script of the FP driver, normally a dialog
box as shown below appears to show the error content.
2 The dialog box will not appear for library functions can be used from Ruby script. To handle the error, use
the return value of the API.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 616/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Ruby scripts are normally executed during FP control processing (drawing, action, etc.), timer processing, and
event processing such as screen transitions. Therefore, if there is a Ruby script that takes time to process, other
processing may be stopped during that time.
By using this function, Ruby script can be executed as another process, and Ruby script can be executed without
stopping other processes.
ruby script processing can be executed as a separate process by using this function. This enables asynchronous
execution of various control processing (drawing, action, etc.), timer processing, and event processing such as
screen transitions, without having to stop the process until the Ruby script ends.
By using the following two functions, Ruby script can be executed asynchronously.
- A function that allows asynchronous Ruby script execution from a control action (scriptasync)
- A function for registering the handler, which makes the asynchronous Ruby script execution request from
the timer or screen transition event (set_handlerasync)
In a Ruby script to be executed asynchronously, the following functions need to be periodically called.(During
this sleep processing, other processing such as processing of FP control is executed, so it can be executed
without stopping other processing.)
- Task Stop Function (sleep)
NOTE
FP functions and library functions that cannot be used in timer-activated scripts can
not be used in asynchronous Ruby scripts. Additionally, to use a script as an
asynchronous Ruby script, the attribute must be set to "T" in the Script List screen
like a timer script. Refer to Script List for how to change the attribute.
6.1.1 Ruby Script Asynchronous Execution Function (scriptasync)
It is a function (scriptasync) that allows asynchronous Ruby script execution from FP control action.
This function is used to execute Ruby script asynchronously from the action of FP control.
Specify the Ruby script number to be executed as asynchronously as an argument.
The script execution result is returned as the return value.Even if an FP script number is specified, the FP script
is not executed.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 617/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Function]
scriptasync
[Syntax/with arguments]
scriptasync(sno, param1, param2, param3, param4, param5)
[Arguments]
The arguments of this function are as shown below.
[Return value]
Details of the return values are as shown below.
Table 6.1.1 (b) Value to be stored as the return value of the scriptasync function
Type Description
Numerical value Processing results
0: Normal, Other than 0: Abnormal
[Description]
Executes the script specified with the script number.
[Example]
When executing the 100th script.
scriptasync(100)
Even when there is a time-consuming process described in the 100th script, the controls can perform their
processes (drawing, action, etc.) by writing the sleep function in the script.
It is afunction for registering the handler that executes the asynchronous Ruby script from the timer or screen
transition event (set_handlerasync) has been added.
This function is used to make an asynchronous Ruby script execution request from the timer or screen transition
event.
Specify the Ruby script number to be executed as asynchronously as an argument.
Even if an FP script number is specified, the FP script is not executed.
[Function]
set_handlerasync
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 618/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Syntax/with arguments]
set_handlerasync(sno, type, arg1, arg2, arg3)
[Arguments]
The arguments of this function are as shown below.
[Return]
Details of the return values are as shown below.
Table 6.1.2 (b) Value to be stored as the return value of the set_handlerasync function
Type Description
Numerical value Processing results
0: Normal, Other than 0: Abnormal
[Description]
Specify execution of the script number specified in sno, under the conditions specified in type.
[Example]
When executing the 900th script in 1000 msec cycles.
ret = set_handlerasync(900,1,1000,0,0);
Even when there is a time-consuming process described in the 900th script, the controls can perform their
processes (drawing, action, etc.) by writing the sleep function in the script.
The specifications for the sleep function are as follows. In a Ruby script to be executed asynchronously, the
following functions need to be periodically called.(During this sleep processing, other processing such as
processing of FP control is executed, so it can be executed without stopping other processing.)
[Syntax/with arguments]
sleep(timeout)
[Arguments]
The arguments of this function are as shown below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 619/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Return value]
None
[Description]
Suspends execution of the calling task for the specified amount of time.
If an abnormality occurs in the function call from a Ruby script, a pop-up is not displayed from within the
function, but information on the abnormality is returned as the return value. When creating a Ruby script,
implement abnormality processing based on the return value of the function.
As with the error information setting performed when an abnormality occurs in the script operation for the
timer-activated operator function, error information is also set when an abnormality occurs in the Ruby script in
consideration of cases where FP scripts are converted into Ruby scripts.
* For details on error information, refer to the chapter on timer-activated operator function variables.
NOTE
1 When converting an FP script into a Ruby script, implement a process for when an
abnormality occurs in the script, as a pop-up will not be displayed when an
abnormality occurs.
2 When an abnormality occurs in a timer-activated script, script operation is not
aborted. The script is executed to the end and periodic execution continues as well.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 620/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
You can specify the screen to call for each FANUC PICTURE screen call icon on the iHMI home screen as
follows.
・The latest base screen can be displayed.
・The base screen of the specified screen number in PMC area can be displayed.
Screen 4
Screen 2
Call second time
Screen 3
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 621/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
A B PMC
Specified
①
screen
A C A
②
③ A B B B B
Sub- Sub- Sub-
screen1 screen2 Popup
子画面 2
screen1
A C D A
④
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 622/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
1. This function is an additional function that is executed if the screen is specified
(ScreenNo = specified) by <subject> tag of the setting file "apps-general.xml" of the
home menu.
If ScreenNo is not specified, this function is not available.
2. When this function is used, specify “startup” attribute by <entry> tag of the setting
file "apps-general.xml" of the home menu.
If “startup” attribute is not specified, the screen can not be specified by the specified
screen function when pressing the FANUC PICTURE icon in the home menu for
the first time after starting the application manager.
Popup screen 1
Popup screen 2
This function is available by changing the custom screen setting in the setting file “apps-general.xml” of the
home menu.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 623/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
If [option] part is specified, the following option value is set with “[”, “]” (square brackets) after the specified
screen number at ScreenNo. If the option value is set, it is delimited by “,” (comma).
NOTE
1. Do not insert any space before “[“, “]” (square brackets) if option is specified.
2. A space can not be used inside of “[“, “]” (square brackets) if option is specified.
3. Using only comma is not available if option is not specified. Do not write [option]
part if option is not specified.
4. Set the comma in “[”, “]” (square brackets) to determine 2 items even if one of them
is not use.
5. The screen number is not stored if the group number is not specified to the "Group
number of Screen number memory".
6. The specified screen in the ScreenNo is displayed if a specified character string for
option is incorrect.
7. Subject tag has a limit of 63 characters. The application name could be limited to 27
characters if option is specified. Omit unnecessary characters for the specified
characters in PMC.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 624/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Example)
<entry option="waitregister">
<name>AppFP</name>
<category>Planning</category>
<caption>
<en>OFFSET SCREEN</en>
</caption>
~~ Omitted ~~
<subject>App ScreenNo=5100[1:R12345,1]</subject>
→Display a main screen of screen number 5100
→Display a screen of the specified screen number at R12345 if R12345 value of the first PMC is
not ZERO.
→Display a screen of the latest screen number if R12345 value of the first PMC is ZERO.
</entry>
<entry option="waitregister ">
<name>AppFP</name>
<category>Machining</category>
<caption>
<en> operator’s panel screen </en>
</caption>
<subject>Overlay=CNCOPERA104 ScreenNo=1100[2:D23456,]</subject>
→Display overlapped with the 15 inches main screen of the screen number 1100 and the 10.4
inches CNC operator’s panel screen
→Display a screen of the specified screen number at D23456 if D23456 value of the second PMC
is not ZERO.
→Display a screen of the specified screen number in ScreenNo if D23456 value of the second
PMC is ZERO.
</entry>
<entry option="waitregister,startup,nomenu">
<name> CNCOPERA104</name> The CNC operator’s panel
<category>Machining</category> screen setting that is used
<caption> for overlapping display.
<en> NC operation</en>
</caption>
<parameters>--screen-size 104</parameters>
</entry>
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 625/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Group number: 1
Group number: 2
Group number: 3
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 626/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
This function is available by changing the custom screen setting in the setting file “apps-general.xml” in home
screen.
This function is to display the base screen displayed before going back to the home menu when the FANUC
PICTURE icon in the home menu is pressed.
This function is valid if the group of screen number memory is specified in the setting file “apps-general.xml” in
the home menu.
The screen number of the base screen is stored on each group number
Group number 1
Group number 2
Base screen B
Although the FANUC PICTURE is displayed by
the different icon, the latest base screen is
displayed because of the same group number.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 627/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
This function is used to display the screen of the specified screen number in PMC when the FANUC PICTURE
icon is pressed in the home menu. The specification of screen number is valid when the PMC area is specified in
the specification screen number in the setting file “apps-general.xml” of the home menu. A screen of the read
screen number is displayed after the PMC area of the specified screen number is read when the FANUC
PICTURE icon in the home menu is pressed
Fig. 7.2.2 (a) Timing of reading the PMC area for the specified screen number
Fig. 7.2.2 (b) Specifying screen number during displaying the custom screen
NOTE
The FANUC PICTURE is not switched during displaying the custom screen of the
FANUC PICTURE even if the screen number that is different from the displaying base
screen is written to the PMC area of the specified screen number.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 628/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
7.3 NOTES
When using this function, the operations that need attention are described as follows.
Pay attention to the notes, when the screen is designed.
NOTE
1. The popup screen is closed if the screen call in this function is executed when
going back to the home menu during displaying the popup screen. For details, refer
to subsection 7.3.1 "Displaying popup screen”.
2. The screen call in this function is not executed during displaying the following
screens.
① Pop-up ten-key
② Error dialog box
③ Debug window of FP script
④ Signal display screen
⑤ Combo box
1. For details, refer to subsection 7.3.1 “Displaying popup screen”.
3. When the screen is switched by this function, the state of the sub screen is returned
to the state specified by the screen structure definition. For details, refer to
subsection 7.3.2 “Sub-screen and focus state”.
4. The screen number is not stored if the custom screen is switched except the
operation of the FANUC PICTURE icon in home menu. For details, refer to
subsection 7.3.3 “Memory period of screen number”.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 629/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
■ The displaying popup screen is closed, and the latest base screen is displayed.
The latest base screen is stored.
When the home menu icon is pressed, the latest base screen is displayed after the displaying popup screen is
closed.
Base screen A Base screen B Base screen B
Popup A
Base screen B
ベース画面 C
Popup screen is
closed.
■ The latest screen is not displayed when switching to the home menu or the NC screen during displaying a
specific screen.
The screen call in this function is not executed when switching to other screen from the custom screen during
displaying the following screen.
Pop-up ten-key, error dialog box, debug window of FP script, Signal display screen, combo box
The specified screen is not changed even if the icon is pressed during displaying the above screen. If the above
screen is closed, the screen is changed to the specified screen.
Popup A
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 630/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
The sub-screen on the base screen is displayed as initialized sub-screen that is specified by the screen structure
definition in Screen Structure Definition Control unless “Save SubScreen n” is used, if the base screen is
displayed by pressing the FANUC PICTURE icon of the home menu with using the specified PMC of screen
number or the screen number memory.
The focused control before going back to the home menu is also displayed as unfocused if the base screen is
displayed by pressing the FANUC PICTURE icon in the home menu.
Sub-screen Sub-screen
A B
The sub-screen B is switched
by using the sub-screen switch
function.
Base screen B
Sub-screen is initial
Sub-screen
state.
A
The memory period of the screen number is from pressing the FANUC PICTURE icon in the home menu to
going back to the home menu. The screen number is not stored if the custom screen is switched except the
operation of the FANUC PICTURE icon in the home menu.
Example) The screen number is not stored if the screen is switched automatically by the PMC signal during
displyaing the home menu.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 631/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
■ The screen call used by the PMC signal during displaying the home menu
The custom screen is not stored until going back to the home menu if the screen is called by the PMC signal
during displaying the home menu. The custom screen displayed by the operation of the home menu icon is
stored.
Base screen A Base screen B
Base screen B
The latest custom screen is displayed afrer
pressing the home menu icon.
Fig. 7.3.3 (b) Screen switch and screen number memory by the PMC signal (1)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 632/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
■ Screen call by PMC signal after the home menu icon operation
The screen number is stored if the screen call is executed by PMC signal during displaying the custom screen by
the home menu icon operation.
Base screen C
The latest custom screen is displayed after the
home menu icon is pressed.
Fig. 7.3.3 (c) Screen switch and screen number memory by the PMC signal (2)
Base screen D
Fig. 7.3.3 (d) Screen switch and screen number memory by the PMC signal (3)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 633/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
For the basic creation procedure about combined application, refer to the "Operation Manual (B-66284) ".
This chapter explains the changes in FANUC PICTURE edition 8.0 or later.
NOTE
As For how to deal with the error that occurred when building combined
application, refer to the "C Language Executor Programming Manual
(B-63943JA-3) Additional Information on C Compiler Installation".
The following C executor are required to create combined application in FANUC PICTURE edition 8.0 or later.
NOTE
If you can not prepare the above C executor, please use FANUC PICTURE earlier than 8.0.
To use the following library functions that can be called from a Ruby script, the following C language executor
library is required.
Function name Target
cnc_mcdp_create
Target CNC: FANUC Series 30i/31i/32i -MODEL B, 0i-MODEL F
cnc_mcdp_mount
Target version: GZ0I-09.2 or later
cnc_mcdp_unmount
( Contained in CNC application development environment edition 02.3 or later )
cnc_mcdp_mountchk
The combined application can be created with WindRiver's Diab C / C ++ Power-PC compiler.
When creating a combined application with FANUC PICTURE 8.0 or later, please use one of the following
versions of the Diab compiler that has been passed the operation verification.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 634/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
1. First, install the C language executor development environment. For the procedure, refer to the manual of
the C language executor.
2. Copy the FPLib folder of the FP library and the UserSample folder on CD to the C language executor
development folder (same level as LIB, INC, and TOOL).
Copy source:
Series 30i /31i /32i /35i, Series 0i -F
・FP¥FPLink30¥FPLib
・FP¥FPLink30¥UserSample
Power Motioni -A
・FP¥FPLinkPMiA¥FPLib
・FP¥FPLinkPMiA¥UserSample
3. Copy the file in Tool folder on the CD to the Tool folder in the the C language executor development
folder.
Copy source:
Series 30i /31i /32i /35i, Series 0i -F
・FP¥FPLink30¥TOOL
Power Motioni -A
・FP¥FPLinkPMiA¥TOOL
File name:
・ STEP1.LNK
・ STEP1_adr.LNK
・ STEP1_exp.LNK
・ STEP2.LNK
・ STEP2_adr.LNK
・ STEP2_exp.LNK
・ CHK_LEN1.AWK
・ CHK_LEN2.AWK
・ LD.OPT
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 635/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
4. Open the MakeFile(CEXE.MAK) with a text editor and select COMP_TYPE corresponding to the version
of Diab compiler in the following item.
~~Omitted~~
# Please select the compiler version type to be used for the build in the
# following "COMP_TYPE".
COMP_TYPE = 1 # Ver.5.9.0
#COMP_TYPE = 2 # Ver.5.9.4.0 / Ver.5.9.6
5. Open the LD.OPT that is copied to Tool folder with a text editor and add
“(WindRiver installation folder) ¥ compilers ¥ (diab-X.X.X.X) ¥ PPCEH ¥ libmdinkum.a”.
*Please set the contents of the parentheses by the installation destination of the Diab compiler and the
version of the compiler.
Example) When you installed WindRiver Diab Compiler Version 5.9.6.4 in C drive
-tPPC603EH:cross
-m2
-lc
-Xlibc-new
C:¥WindRiver¥compilers¥diab-5.9.6.4¥PPCEH¥libmdinkum.a
1. Overwrite copy the following folders on the CD to combined application development environment( the C
language executor development folder).
Copy source:
[FP¥FPLink30¥FPLib](Series 30i /31i /32i /35i, Series 0i -F)
[FP¥FPLinkPMiA¥FPLib](Power Motioni -A)
2. Copy the Tool folder on CD to the Tool folder in combined application development environment.
Refer to procedure 3 in Section 8.1.3.1 for more information.
3. Add a call for script processing and termination processing to the file in UserSample folder.
(underlined in bold)
BACK1.C
~~ Omitted ~~
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 636/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
~~ Omitted ~~
void main() {
Fanuc_Alarm_Task_Init(); // Initialize proc. for FANUC PICTURE
for (;;) {
~~ Omitted ~~
}
Fanuc_Alarm_Task_Finish();
}
BACK2.C
~~ Omitted ~~
~~ Omitted ~~
void main() {
Fanuc_Communication_Task_Init(); // Initialize proc. for FANUC PICTURE
for (;;) {
Fanuc_Communication_Task_Main(); // Communication moniter proc. for FANUC PICTURE
#ifdef FS30I
Fanuc_Task2_Script(); // Script proc. for TASK2
#endif
os_wait_tim(10L); // Sleeping
}
Fanuc_Communication_Task_Finish();
}
4. Open the MakeFile(CEXE.MAK) with a text editor and merge it with the sample file contents on
CD(UserSample¥CEXE.MAK) of FANUC PICTURE 8.0 or later. Add the following A file (underlined in
bold) to the task definition block.
#------------------------------------------------------------------------------
# Task definition block. Modify here for your application.
#------------------------------------------------------------------------------
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 637/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
5. Change the MEM setting definition block in MakeFile(CEXE.MAK) as follows (underlined in bold).
#------------------------------------------------------------------------------
# MEM setting definition block.
#------------------------------------------------------------------------------
~~Omitted~~
8. Open the LD.OPT that is copied to Tool folder with a text editor and add
“(WindRiver installation folder) ¥ compilers ¥ (diab-X.X.X.X) ¥ PPCEH ¥ libmdinkum.a”.
Refer to procedure 5 in Section 8.1.3.1 for more information.
*Please set the contents of the parentheses by the installation destination of the Diab compiler and the
version of the compiler.
9. Open the project you want to use with FANUC PICTURE 8.0 or later and recreate the MEM. When you
open the project, you will be asked to convert, please convert according to the message.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 638/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Target display:
PANEL iH / iH Pro
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 639/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
1. Create Project
・Set project name.
* The project name is input automatically into application name in “2.Project setting” as initial value only
in the case of using half- width alphanumeric characters.
3. Make Screen
- Make screen forms and arrange controls
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 640/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
- Add the setting according to loaded application name to the setting file (apps_general.xml) in iHMI home
screen.
3.Make - - -
Screen
4.Create - - Display the information used for the standard - ( Delete because it is unnecessary in iHMI mode)
MEM File display mode (PMC type, the number of enrolled
user screens, a list of form screens, display “No
use multi-language of key caption”) .
Temporary - Check / uncheck “Reduce the time by copying to - Always copy a project list if a project exists on the
folder temporary folder on the network project” box. network.
copy
Detail setting/ - Push Detail button and FP-Param button if Detail - Push Option button, and select [Detail setting...]
FP-Param setting or FP parameter is set. or [FP-Param setting...] if Detail setting or FP
setting parameter is set.
5. Output Screen Display - - Display application name and version.
to card
Output - Select output folder name from the combo box. - Set any output folder name.
destination (Fixed FANUC PICTURE1-3)
Target of - Output driver, screen data, and installer to - Output driver, screen data, installer, and DLL for
Output FANUC PICTURE1-3 folder. embedded of the user functions to any output
folder.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 641/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Target of load - Check the target box to load driver, screen data, - Check the target box to load driver or screen data.
data or DLL for embedded of the user functions (DLL for embedded of the user functions is loaded
with screen data.)
User DLL - Specify DLL for embedded of the user functions to - (DLL for embedded of the user functions is
refer to. specified when project is set.)
Password - Not loadable if passwords are different between - Loadable by inputting the password if passworrds
loaded and loading applications. are different between loaded and loading
apllications.
Output folder - Load application to FANUC_PICTURE1-3folder. - Load application to any folder in root
(FANUC_PICTURE_APPS) folder.
Delete - Each application is deleted by pushing Delete - Applications are deleted by selecting loaded
button. applications and push Delete button. (Multiple
selections are available.)
Password - Password is alterable by pushing PassChange - Password is alterable by choosing a target file
Change button and inputting password. from “Load To” area, pushing PassChange
button, and inputting the password. (Multiple
selections are available.)
7.Startup Setting - A fixed application name is set to the setting file - Any application name is set to the setting file Driver
Setting (apps_general.xml) of iHMI home screen. (apps_general.xml) of iHMI home screen.
8.Executi History DB - History DB is output to the data folder. - History DB is output to the application folder.
on
Message - Message log is output to the data folder if the ・Message log is always output to the application
message log doesn’t fit in the display screen. folder.
9.Termin - -
ation
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 642/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Any]:
Choose this item to set application name freely. [Application Name],[Version], and [Use DLL for building
in the user function] are available to input if this item is chosen.
[Fix]:
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 643/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Choose this item to use the loader or application in format before this change. [Application Name],
[Version], and [Use DLL for building in the user function] are invalid if this item is chosen.
Setting:
Application Name:(compulsory if [Any] is selected)
Set application name. The initial value is inherited from project name. If the project name contains 2
bytes character, the initial value is blank.
Number of characters in input: 1-31 characters
Available characters : Half- width alphanumeric character and half- width symbols
except ¥/:*?”<>|&’.
*The following message is displayed if OK button is pushed in unfulfilled above conditions.
“Set the application name within 1-31 characters. In addition, the following characters
are not allowed to use.
¥/:*?”<>|&’ ”
*If this item is not set, OK button, Cancel button and Apply button cannot be used,
and tab cannot be changed.
*Project name is not changed even if application name is changed.
Version:
Application version can be set. The initial value is 1.0.0.0.
Number of characters in input: 0-30 characters (not compulsory)
Available characters : Any character
*The following error message is displayed if OK button is pushed in unfulfilled above
condition.
“Set the version within 30 characters.”
PANEL iH:
Set the DLL for building in the user function for PANEL iH.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 644/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Application name:
Application name set at “Project Setting” is displayed.
Version:
Version set at “Project Setting” is displayed.
Startup screen:
Choose screen to display at startup.
Option button:
Detail setting…:
Setting dialog of “Automatic screen call setting”, “Screen number setting”, “Each display setting”
“Compatible display setting” “Signal display/op ratio” “Buzzer signal/Operator action signal” is
displayed.
FP-Param setting…:
FP parameter setting dialog is displayed.
OK button:
Create MEM file.
Cancel button:
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 645/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
You can optionally set a passward when saving the FP project to screen data with
Edition 9.7 or later. Refer to “14.15 Data Protection when restoring FP Project” for
more detail.
Table 9.4.1.1 List of error messages when creating the MEM file
Message Cause Action
Set the application name within Application name is too long or Set application name with half-
1-31 characters. In addition, the contains illegal characters. width alphanumeric character
following characters are not within 1-31 characters and not
allowed to use. use following character.
¥/:*?<>|&’ ¥/:*?<>|&’
Set the version within 30 The number of characters of input Set the version within 30
characters. version is too many. characters.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 646/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Application name:
Application name set at “Project Setting” is displayed.
Version:
Version set at “Project Setting” is displayed.
PASSWORD:
Input password to set.
Number of characters in input: 4-32 characters
Available characters : Only half-width alphanumeric character
*The following error message is displayed if OK button is pushed in unfulfilled above conditions.
“The password needs to be specified within 4-32 alphanumeric symbol characters. The following
symbols are available to use.”
¥n!@#$%&*()/¥`~_;:"'[]|^<>?+=-{},.」
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 647/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
*Do not specify the output folder name of fixed name application “FANUC PICTURE”.
This might cause malfuntion because the files with the same name could be ovewritten.
Output Folder Name: (compulsory)
The folder name to output application is specified. The specified folder is created, and application is
output to the folder.
*“FANUC_PICTURE_LOADER” cannot be specified because it is installer output folder name.
If “FANUC_PICTURE_LOADER” folder is specified for output folder, and OK button is pushed, the
following error message is displayed.
““FANUC_PICTURE_LOADER" can not be specified as the output folder name.”
*Do not specify the output folder name of fixed name application “FANUC PICTURE”.
This might cause malfuntion because the files with the same name could be ovewritten.
OK button:
The specified folder in [Output to] and [Output Folder Name] field is created, and installer and
application are output to the folders.
*The following error message is displayed if the output path is not input.
“Please set the output path.”
*The following error message is displayed if the output folder name is not input.
“Please set the output folder name.”
*The following error message is displayed if the specified DLL for embedded of the user functions in
project setting dialog doesn’t exist.
“Cannot create xxxx file”
*The following error message is displayed if write protected file exists in the output folder.
“Cannot create xxxx file”
The following dialog is displayed if the same folder name exists in [Output to].
The installer and application are overwritten if Yes button is pushed in the following dialog. If No
button is pushed, overwriting is canceled.
Fig. 9.5.1(b) Following dialog when same folder name exists in [Output to]
Cancel button:
Output to Card dialog box is closed.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 648/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
available to use.
¥n!@#$%&*()/¥`~_;:"'[]|^<>?+=-{},.
Please set the output path. The output path is not set. Please set the output path.
Please set the output folder name. The output folder name is not Please set the output folder
set. name.
MEM file is not found. Please make Memory card file is not created. Please create memory card
MEM file. file from the menu
[project]-[Make MEM File].
Cannot create xxxx file. The source file to output doesn’t - Please confirm that the
exist, cannot write to output output destination file has
folder not been edited.
- Please confirm that the
source file exists.
The driver could not be output. Driver or file refer to driver Please confirm that the
cannot be copied. driver or file refer to driver
has not been edited.
"FANUC_PICTURE_LOADER" can "FANUC_PICTURE_LOADER Please specify another folder
not be specified as the output folder " is specified as the output name.
name folder name
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 649/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
9.6 Load
Loading of a created application in FANUC PICTURE editor is explained in this chapter.
Load From:
The list of stored application in the same folder as loader is displayed.
Application Name:
Application name is displayed.
Folder Name:
The folder name in which the application is stored is displayed. Editing is not allowed.
Screen Data:
Application version and check box is displayed. Check box is displayed as blank at startup.
If screen data doesn’t exist, check box gets gray out. Operation is not available.
The following icons are displayed according to application setting.
:Password is set to the screen data.
:DLL for embedded of the user functions is set.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 650/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
FP Driver:
Driver version and check box are displayed. Check box is displayed as blank at startup.
If driver doesn’t exist, check box gets gray out. Operation is not available.
↓ button:
The following dialog is displayed if the button is pushed. Checked screen data and driver in load from
area are loaded.
*If any data in load to area is not checked, the error message “Please select the loading data.” is
displayed.
Data loading is executed if Yes button is pushed in the following dialog. if No button is pushed, loading is
cancelled.
*If loading is failed, the error message “Could not load because xxxx is read only. Please load again
after releasing read only.”
is displayed.
If the same name application exists in load destination, the following dialog is displayed according to
password setting.
If some check boxes are checked in load from area, the following dialog is displayed several times.
*Even though overwriting is canceled in the middle, or password is incorrect, the loadings up to this
point have been completed.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 651/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Load To:
The list of loaded application in display unit is displayed.
Click the list to select application as operation target. Multiple selections are available if select items while
holding [Shift] or [Ctrl] key.
Application Name:
Application name is displayed.
Screen Data:
Application version is displayed.
The following icons are displayed according to application setting.
: Password is set.
: DLL for embedded of the user functions is set.
FP driver:
Driver version is displayed.
Delete button:
The following dialog is displayed, and application selected in load to area is deleted.
If multiple items are selected, the following dialog is displayed several times.
*Even though deleting is canceled in the middle, or password is incorrect, the deletions up to this point
have been completed.
*If any item to delete is not selected, error message “Please select the deleting data.” is displayed.
*If deleting is failed, error message “Failed to delete. Please confirm the deleting FANUC PICTURE
is not running.” is displayed.
No password set:
If the file in load destination is not set password, the following dialog is displayed. If Yes button in the
following dialog is pushed, application in load destination is deleted. If No button is pushed, deleting is
not executed.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 652/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Password set:
If the file in load destination is set password, the following password input screen is displayed. If Yes
button is pushed after password of load destination is input, application is deleted. If input password is
wrong, error message “The password is wrong.” is displayed. Deleting is canceled.
If No button is pushed, application is not deleted.
No password set:
If the file in load destination is not set password, input the new password and the confirm password. If
Yes button is pushed after password is input, password is changed.
*If the new password and the confirm password are different, error message “The input password and
the confirmation password do not match.” is displayed. Password is not changed.
If No button is pushed, password is not changed.
Password set:
If a password has already been set, enter and confirm the old password and the new password (Screen
image is the same as without password setting). Enter the password and press the OK button to change
the password.
※If the old password is incorrect, the error message “The old password is incorrect” is displayed and
the password is not changed.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 653/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
※If there is a difference between the new password and the confirm password, the error message “The
entered password and the confirmation password do not match” is displayed and the password is not
changed.
If Cancel button is pushed, the password is not be changed.
Close button:
Close loader
Could not load because xxxx The load destination application Remove the read-only attribute
is read-only. for the file and folder of the load
is read only. destination application resource.
Please load again after
releasing read only.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 654/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Could not load because the Insufficient disk space. Delete unnecessary files to free
up disk space.
disk space for the loading
destination is insufficient.
Please load it after freeing up
the disk space.
Could not load xxxx. Please Load destination application If load destination application is
may be running. running, exit it.
load it after exiting it if it is
running.
The format of "auth_info.txt" The file format of the Output the load source
“auth_info.txt” file, one of the application to the card again and
is not correct. application resources, is insert it again.
Please input 1 or 0 into the incorrect.
first line.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 655/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
The input password and the The new password and Enter the same password for the
confirmation password do confirmation input do not new password and confirmation
not match. match. password.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 656/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
・Load destination
The application is loaded into a folder with the application name created in the FANUC PICTURE root folder
“FANUC_PICTURE_APPS”.
Please refer to “9.7.2 About apps_general.xml” for how to register the application on the home screen.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 657/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 658/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
例)
apps_general.xml
<entry option="waitregister">
<name>APP_NAME</name>
<category>Machining</category>
<caption>
<en>FANUC PICTURE</en>
<ja> FANUC PICTURE</ja>
</caption>
<file>D:¥FANUC_PICTURE_APPS¥APP_NAME¥APP_NAME.exe</file>
<image>%APPPATH%¥Resources¥Undefined.svg</image>
<current>D:¥FANUC_PICTURE_APPS¥APP_NAME</current>
</entry>
[Application Name]:APP_NAME
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 659/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
例)
D:
├ FANUC_PICTURE1
├ FANUC_PICTURE2 Application using fixed name
├ FANUC_PICTURE3
└ FANUC_PICTURE_APPS
├ AAAAA
Application using arbitrary name
├ BBBBB
├ CCCCC
└ DDDDD
If you want to change an application that uses a fixed name to a configuration that uses an arbitrary name, you
need to replace it with the following procedure.
1. Delete the fixed name application to be replaced with the loader before this function supported.
2. Open the existing project that was used for the fixed name application on the EDITOR
corresponding to this function, and select “Any” for the application name setting method
in the project settings.
3. Create MEM file, Output to card and output application.
4. Start the loader, select the outputted application and load it.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 660/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 661/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
The termination of FANUC PICTURE and the warning notification of the memory usage are supported since
the iHMI 31.0 edition.
*It is possible with the configuration file of iHMI to change the threshold and the confirmation cycle of the
amount of the memory remainder.
Please refer to “iHMI Memory Usage Warning function Specification” (A-42148E-102) about more
details.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 662/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
Refer to “Chapter 14 Offsetting Function of CNC memory area of FANUC PICTURE
for iHMI” for the procedure when “Offsetting Function of CNC memory area” is
enabled.
Refer to “NCGuide for iHMI FANUC PICTURE Function.pdf” for the procedure when
using fixed name application.
Moreover, because the identifier ID and the output destinations to register to the home screen become
arbitrary, it is necessary to define them by the content specified in the FANUC PICTURE editor. The
procedure becomes as follows.
1. Start FANUC PICTURE, and create a custom screen.
*Select "Any" by "How to set application name" of the project setting.
2. Make a MEM file by "Making Memory Card File screen".
3. Output the application by specifying [Output to] and [Output Folder Name] by the Output to card.
4. Copy the ScreenData folder in the [Output to]¥[Output Folder Name] to [Output to]¥
[Output Folder Name]¥Driver¥NCGuide¥.
5. Open [ScreenData copied in the procedure 4]¥[data]¥AppInfo.xml,
and register history DB name and paths of history DB storage and message log storage destinations for
iHPro.
6. Register the application on home screen (apps-general.xml) of iHMI.
- FP driver storage place : [Output to]¥[Output Folder Name]¥Driver¥
NCGuide¥[Application name].exe
7. Execute the application registered in the procedure 6 from home screen of iHMI.
NOTE
The following functions cannot be used though the application can be started when the
procedure 5 is omitted.
・history collection function
・Power on trace display
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 663/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 664/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
AppInfo.xml
<?xml version="1.0" encoding="UTF-16"?>
(omission)
<db>
<path>
<ih>¥Storage Card2¥FANUC_PICTURE_APPS¥[Application name]¥DB</ih>
<ihpro>[Output to]¥[Output Folder Name]¥Driver¥NCGuide¥DB</ihpro>
</path>
<name>[history DB name]</name>
</db>
<log>
<path>
<ih>¥Storage Card2¥FANUC_PICTURE_APPS¥[Application name]¥LOG</ih>
<ihpro>[Output to]¥[Output Folder Name]¥Driver¥NCGuide¥LOG</ihpro>
</path>
</log>
Setting example)
<?xml version="1.0" encoding="UTF-16"?>
(omission)
<db>
<path>
<ih>¥Storage Card2¥FANUC_PICTURE_APPS¥APP_NAME¥DB</ih>
<ihpro>C:¥FP_ROOT¥APP_DIR¥Driver¥NCGuide¥DB</ihpro>
</path>
<name>FPAPP_01</name>
</db>
<log>
<path>
<ih>¥Storage Card2¥FANUC_PICTURE_APPS¥APP_NAME¥LOG</ih>
<ihpro>C:¥FP_ROOT¥APP_DIR¥Driver¥NCGuide¥LOG</ihpro>
</path>
</log>
[Application name]:APP_NAME
[Output to]:C:¥FP_ROOT
[Output Folder Name]:APP_DIR
[history DB name]:FPAPP_01
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 665/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
apps-general.xml
<?xml version="1.0" encoding="UTF-16"?>
(omission)
<entry option="waitregister">
<name>[Application name]</name>
<category>Machining</category>
<caption>
<en>any</en>
<ja>任意</ja>
</caption>
<file>[Output to]¥[Output Folder Name]¥Driver¥NCGuide¥[Application name].exe </file>
<image>%APPPATH%¥Resources¥Undefined.svg</image>
<current>[Output to]¥[Output Folder Name]¥Driver¥NCGuide</current>
</entry>
Setting example)
<?xml version="1.0" encoding="UTF-16"?>
(omission)
<entry option="waitregister">
<name>APP_NAME</name>
<category>Machining</category>
<caption>
<en>FANUC PICTURE</en>
<ja> FANUC PICTURE </ja>
</caption>
<file>C:¥FP_ROOT¥APP_DIR¥ Driver¥NCGuide¥APP_NAME.exe</file>
<image>%APPPATH%¥Resources¥Undefined.svg</image>
<current>C:¥FP_ROOT¥APP_DIR¥ Driver¥NCGuide</current>
</entry>
[Application name]:APP_NAME
[Output to]:C:¥FP_ROOT
[Output Folder Name]:APP_DIR
NOTE
Please do not save the xml file with changing the character-code (UTF-16) when you edit it.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 666/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 667/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
① Move the custom screen which is floating display. (Please refer to “Chapter 3, Moves the custom screen”)
② Display / Not display on the specific iHMI app. (Please refer to “Chapter 4, iHMI app setting for floating
display”.)
Available edition:
FANUC PICTURE (A08B-9010-J518#ZZ11) 08.8 or later
Available CNC:
FANUC Series 30i/31i/32i-MODEL B
FANUC Series 0i-MODEL F Plus Type 0
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 668/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
Refer to “Chapter 14 Offsetting Function of CNC memory area of FANUC PICTURE for
iHMI” about “Offsetting Function of CNC memory area” for more detail.
For the Any position and size screen display function refer to the FANUC PICTURE
Manual (A-40712EN) “Chapter 26 Any position and size screen display function”
This function is available by writing the needed settings in the setting file “screen_setting.xml” and copies it to
the following folder.
PANEL iH : StorageCard2¥FANUC_PICTURE¥OPRATOR_SCREEN_001¥data
PANEL iH Pro : D:¥FANUC_PICTURE¥OPRATOR_SCREEN_001¥data
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 669/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
<floating knobarea="knobsize">
<apps type=”typenable”>
<name>appsname</name>
</apps>
</floating>
</screen>
The <screen> tag is the root tag which defines the setting items for the screen setting display.
The <floating> tag defines the setting items for floating display.
In case of displaying with floating display, it is necessary to write the <screen> tag and <floating> tag.
NOTE
1 For the advanced setting refer to “APPENDIX About the setting file
“screen_setting.xml”.
2 When returning to the setting that doesn’t perform floating display, delete
"screen_setting.xml" from the specified folder, or when using the rear display
function, delete the <floating> tag part.
Installation on CNC
① Startup CNC with “6” + “7” held down, and display boot screen.
② Press “ctrl” + “esc”, display the start menu of Windows.
③ Select “Run…” enter the “explorer”, and then press the <OK> button.
④ Insert the USB memory exported FANUC PICTURE app, and execute "FANUC PICTURE ¥
installer.bat".
⑤ When the following screen is displayed, turn on “Load the FP driver” and click “Load” or
“Overwrite”.
⑥ Copy “screen_setting.xml” edited in the procedure of “2.2 Setting file” to the following folder.
PANEL iH : StorageCard2¥FANUC_PICTURE¥OPRATOR_SCREEN_001¥data
PANEL iH Pro : D:¥FANUC_PICTURE¥OPRATOR_SCREEN_001¥data
Registration to iHMI
① Copy the setting file "apps-general.xml" of the home menu in the following folder to the external
memory.
PANEL iH : Storage Card2¥ FANUC ¥iHMI
PANEL iH Pro : D:¥FANUC ¥iHMI
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 670/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
② Open the file ① with a development PC text editor and add the following.
NOTE
1 For the details of installation method refer to the FANUC PICTURE Manual
(A-40712EN) “section 3.2 Creating a new operator’s panel screen” included in the
FANUC PICTURE installation disk.
2 When two or more custom screens are floated with this function, the display order of
the custom screens is indefinite.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 671/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Example of “knobarea”)
Setting the “knob” area to “90 × 20”
<?xml version="1.0" encoding="UTF-16"?>
<screen>
<floating knobarea="0,0,90,20">
<apps type=”typenable”>
<name>appsname</name>
</apps>
</floating>
</screen>
It can be moved by
dragging the “knob”.
NOTE
1 Arbitrary controls can be placed in the “knob” area, but to prevent malfunctions, refrain
from placing controls that respond to touch operations such as Button Control and
Numeral Indication Control with Key Input.
2 Setting the “knobarea” size to be smaller than the display unit size.
3 For the details on how to set the “knob” area refer to “APPENDIX About the setting file
“screen_setting.xml””.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 672/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Screen switching
The custom screen is not
displayed floating.
NOTE
1 For the details on how to set <apps> and <name> tags refer to “APPENDIX About the
setting file “screen_setting.xml””.
2 To display the custom screen on all iHMI application screens, omit the <apps> tag
and set “alwaysvisible” to the <entry> tag option in the setting file "apps-general.xml"
of the home menu. For the details to setting of the setting file "apps-general.xml" of
the home menu refer to the FANUC iHMI SETUP Manual (B-64647EN) “subsection
3.2.2.2 Overlapping the user application with the iHMI application”.
3 The “alwaysvisible” setting and the <apps> tag setting cannot be specified at the
same time. If specified at the same time, the custom screen will be floating displayed
when iHMI starts up, regardless of the <apps> tag setting. If you switch to another
iHMI application screen, display / not according to the <apps> tag setting.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 673/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
10.4 Notes
Please attention to the following items when designing the custom screen for floating display.
*1: Refer to the FANUC PICTURE Manual (B-66284EN) “subsection 2.2.11.5 Automatic screen call function
based on the PMC signals” included in the FANUC PICTURE installation disk.
*2: Refer to the FANUC PICTURE Manual (A-40712EN) “subsection 3.12 Go back to the last iHMI screen”
included in the FANUC PICTURE installation disk.
*3: The FANUC PICTURE Manual (A-40712EN) “subsection 3.8 Display with another application” included
in the FANUC PICTURE installation disk.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 674/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 675/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Example)
This is an example of the setting file "screen_setting.xml" for the following settings.
Floating display is enabled
The “knob” area is from the upper left (0,0) to the lower right (100,24) of the custom screen
Only displayed on the NC OPERATION (CNCOPERA) screen and the Maintenance Manager
(Maintenance) screen
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 676/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
The Script Displaying Button is displayed at the right end of the “Value” column in the property list.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 677/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 678/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
If you press the button when the number in “script(x)” is blank, unregistered script number, or contains a
character string other than script, an error message is displayed.
If you press ”Yes”, the “Script List” screen will be displayed.
If you press “No”, the message will be closed.
(“Script List”screen)
Fig. 11.1(c) Action of the Script Displaying Button in case of the script number is invalid
■ Target items
The Script Displaying Button is displayed for items that can call scripts.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 679/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Available edition:
FANUC PICTURE (A08B-9010-J518#ZZ11) 09.5 or later
NOTE
1. In standard display mode, if you specify a character size that is larger than the
rectangle size of the FP control, the characters are not displayed.
2. When opening a Multi-language Character Type function enabled project that was
created by edition 9.4 or earlier with edition 9.5 to 9.6, in the following controls, its
property setting "Character type" is set as “ANK” for all Multi-language keys
regardless of the original setting.
When opening a Multi-language Character Type function enabled project that was
created by edition 9.4 or earlier with edition 9.7 or later, in the following controls,
the set character types are taken over.
- Numeral/Character String Indication Control
- Numeral Indication Control with Key Input
- PMC Area Character String Indication Control
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 680/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Character] Tab
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 681/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Character] Tab
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 682/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Character] Tab
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 683/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Character] Tab
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 684/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Action] Tab
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 685/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Character] Tab
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 686/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
[Action] Tab
NOTE
Character size of the pop-up numeric keypad and its title can’t be changed.
However, you can change character type in iHMI mode only.
Character (font) type Character (font) size
iHMI Can change Can’t change
Standard Can’t change (ANK only) Can’t change
Monitor
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 687/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 688/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 689/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 690/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Even If you select another file in the [Image File List], the shape to be saved in the shape list in the same way,
and you can enter a new shape name.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 691/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 692/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Press theEnter key, a new file name will be decuded, and the shape to save with a name will be displayed.
Subsequent operations are the same as “Save asnew shape name”.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 693/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 694/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Warning dialog
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 695/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
R100~R199
R100~R199
Monitor Make Monitor
Make
MEM Memory
MEM App. 1
App. 1 map file
CNC CNC
Data display:
Memory Data display: App. 1: Memory
R100 - R199
R100 - R199 R100-R199
App. 2
App. 2
Data display: App. 2:
Data display:
R200 - R299 R200-R299
R100 - R199
R200~R299
Considering the installing By creating a memory map, it is R200~R299
applications, it is necessary to possible to use the specific CNC
determine the using area of the memory regardless of the
CNC memory when creating the determination when creating the
screen data. screen data.
Fig. 14 Outline of Use Area Offset of CNC Memory function
Data Protection on Restoring Screen Data
When the screen data is restored, the password can be requested to prevent unauthorized recovery of the
screen data from the application loaded in the Display unit.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 696/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
The battery-powered memory (area D etc. of PMC) is not automatically initialized by
FANUC PICTURE function. Clear it separately when necessary, for example, before
using the application or when changing it.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 697/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
1. Only Machine tool builders who knows the CNC memory of the machine makes and loads the memory map.
2. When creating a application and loading into the Display unit by one except Machine tool builders, confirm
the available CNC memory and load it according to the procedure described in FANUC PICTURE, FP
loader and each manual.
3. Files in the application folder (FANUC_PICTURE_APPS folder) in the iHMI Display unit must not be
moved, deleted, overwritten and so on by Explorer unless there is any specific direction by the procedure.
WARNING
Any violation of the above may cause the machine to malfunction.
Fig. 14.3 Enabling "Expansion of the maximum number of simultaneous executions of the FANUC PICTURE"
NOTE
1. In Use Area Offset of CNC Memory function, the application setting for
"Expansion of the maximum number of simultaneous executions of the FANUC
PICTURE" is used.
Refer to Chapter 9 “Expantion of the maximum number of simultaneous
executions of the FANUC PICTURE for iHMI” about "Expansion of the maximum
number of simultaneous executions of the FANUC PICTURE".
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 698/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Applications with this function enabled cannot be used on a machine that has not been loaded a memory map.
To use this function, be sure to load the memory map into the display unit. (*1)
Applications with this function disabled or prior to the implementation of this function can be used in the
environment with a memory map loaded. Applications with this function enabled can be used together, but be
aware that using the area defined in the memory map may cause conflicts. (*2)
NOTE
1: If an application with this function enabled is used on a display unit without memory
map loaded, an error message (see 14.19, List of Messages, FPD001) is displayed
and cannot be executed.
2: If an application with this function enabled and an application with this function
disabled are used at the same time, a message of stating that there may be a
conflict (see 14.19, message list FPD003) is displayed when the application is
started.
3: If an application with Use Area Offset of CNC Memory function enabled accesses the
CNC memory for another application defined in the memory map, an access
violation message (see 14.19 message list FPD002) is displayed.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 699/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
7. Execution Displaying and operating the created It addition to the left column, operating the FP Driver
application. following.
Automatic offset of CNC memory
The application with Use Area Offset of
CNC Memory function enabled cannot be
started on Display unit with a memory
map unloaded.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 700/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Create a memory map to determine the placement of memory to be used by the applications.
There are two main tasks as below, and only Machine tool builders does these.
Procedure
1. Insert FANUC PICTURE disk into the DVD drive of a work personal computer.
2. Cancel the autimatically started setup program of installation.
3. Open the DVD drive by Explorer
4. Execute “Setup.exe” in “Utility¥MemoryMap” folder.
5. Follow the wizard to complete the installation.
(Fig. 14.6.1(b) Memory Map Creation Tool installation wizard)
6. When the installation is completed, "FANUC PICTURE Memory Map Creation Tool" is
registered in the start menu.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 701/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
① ④
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 702/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
1. To uninstall Memory Map Creation Tool, go to the "Uninstall or change a program"
screen in the control panel and select "FANUC PCITURE Memory Map Creation
Tool" to uninstall it.
2. To install or uninstall the tool, you must have an administrator privilege on your
computer.
1. Select "FANUC PICTURE memory map creation tool" (Fig. 14.6.1 (a) Start menu) from Start menu.
2. When Memory Map Creation Tool is started, the edit screen (Fig. 14.6.2.1(a) Edit Screen) is displayed.
3. Set the management information by the following functions.
- [Version set] function of [Management information setting] menu (Fig. 14.6.2.1(c) Version Setting
screen)
- [User set] function of [Management information setting] menu (Fig. 14.6.2.1(d) User Setting screen)
- [Memory area set] function of [Management information setting] menu (Fig. 14.6.2.1(e) Memory Area
Setting screen)
4. Specify the memory area to allocate the application by the edit screen. See subsection 2.1.2.1 "Edit" for
details.
5. Use [Memory Map Output] function of [File] menu to output a memory map in a format that can be loaded
into a display unit.
See subsection 2.1.2.4 "Memory map output" for details.
*1 The memory map during editing can be saved temporarily in CSV format.
(hereinafter referred to as “Memory Map configuration file”)
See subsection 2.1.2.2 "Save (Memory Map configuration file)" for details.
*2 To re-edit Memory Map configuration file, use “Open Configurattion File” function in “File” menu..
See subsection 2.1.2.3"Open (Memory Map configuration file)" for details.
*3 To re-edit Memory Map configuration file backed up from the display unit, use “Open Configurattion File”
function
in “File” menu..
See subsection 2.1.2.5 "Open Memory Map" for details.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 703/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
*1
1 CSV
2, 4 *2
3
*3
dat
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 704/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
14.6.2.1 Edit
Define the memory area to be used by each application by Memory Map Creation tool.
Edit Screen
1 2 3
4 5 6 7
Memory map is created in table form. Columns are seting items, and lines are divisions of the area.
* Default divisions (lines) of the area is 10 on starting this tool.
No. Name Explanation Available character Notes
1 Area ID ID that shows the area where the memory was 1 to 8 characters -
divided is specified by the character string. Alphanumeric symbol
Specify the ID when the application is loaded into the excluding:
Display unit. ¥/”[]:|<>+=;,?*%@&’
Cannot be the same ID as another line.
2 Application When the memory map file backed up from the Unchangeable -
name Display unit is read, the loaded application name is
displayed.
When the same application is loaded across the
following area, the same application name is
displayed in the following area ID.
3 User ID User ID that loads the application into the Display unit Only selectable from -
is specified. Selectable from the users created in the list
Management Information setting screen (See Fig.
14.6.2.1(d) User Setting screen).
4 Start The first address of area ID of each PM area is Only numbers ・Not possible to set
address specified. memory range
The top address of the whole area of the overlapping another
corresponding column is specified in the input field of Area ID.
the signal / variable area range setting line (dotted line ・See "14.16
box). Specifiable Memory
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 705/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
1. To delete input value, select the cell to make it selected status by clicking it and
push [DELETE] key.
2. Only available characters can be input.
3. Start address and start number of the line in which application name is displayed are
grayed out and can not be input.
4. In the line in which application name is displayed, size and number of the area
cannot be changed smaller than the former values. An error message (see “14.19
Message List” MME009) is displayed when the smaller value is input, and the value
returns to the former one.
5. Input the usage area within the available range of the machine. If setting out of the
range, an error occurs when accessing the correspandant memory while running the
application.
Confirmation
Validation of memory edits :
Click [Memory Map Output] in the [File] menu to check the validity of the input memory edit.
(See 2.1.2.4 Memory Map Output)
Titlebar,Toolbar
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 706/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Machine name :
The machine name registered in Version setting screen of Management Information setting is displayed.
Screen resize :
Change the size of the edit screen.
The screen size can be changed by dragging the screen borders.
Exit application :
Exit the application by pressing × button of the window.
NOTE
If there are any input values that have not been saved or output in Management
Information setting and Edit screen, a confirmation message (see 14.19 Message
List MME101) is displayed.
Menu item
Edit screen menu function of Memory Map creation tool is as follows.
Table 14.6.2.1 Memory Map creation tool edit screen menu list
Menu item Shortcut Function Reference
Submenu key
File Alt+F
Open Setting File Alt+F→O Open memory map configuration file. 14.6.2.3 Open
Ctrl+O (Memory map
configuration file)
Save Setting File Alt+F→S Overwrite save editing memory map 14.6.2.2 Save
Ctrl+S configuration file. (Memory map
Save As Setting File Alt+F→A Save editing memory map as different configuration file
name.
Input Memory map Alt+F→I Read memory map to be editable. 14.6.2.5 Input
Memory map
Output Memory map Alt+F→T Output memory map that is loadable into 14.6.2.4 Output
Display unit. Memory map
Management information setting Alt+S
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 707/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 708/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
OK Button : Register screen settings, close Version Setting screen, and refresh the edit
screen.
Cancel Button : Close Version Setting screen and move to Edit screen.
× Button : Close Version Setting screen and move to Edit screen..
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 709/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
Information set in Version setting screen is discarded by selecting Cancel or ×
button.
* When setting is changed, a message (see “14.19 Message List” MME106) to
confirm discarding input content is displayed
User setting :
Click [User Setting] in [Management Information Setting] menu to register user information to load the
application into Display unit where the memory map is loaded.
* User ID is used for the user ID to be set in the divided area in the table in Edit screen (see “Fig.
14.6.2.1(d) User Setting screen”).
* The user ID and password are required to load screen application.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 710/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Addition Button :
Add a single blank line to the end of the user list, up to 99 lines.
Deletion Button :
Delete selected user in the user list. If the number of users is 1, cannot be deleted.
User ID :
Input use ID string of the operating user.
Available characters : Alphanumeric symbols within 32 characters (Prohibited character
¥/”[]:|<>+=;,?*%@&’ )
Password :
Input password string of the operating user.
Available characters : Alphanumeric symbols within 32 characters (Prohibited character
¥/”[]:|<>+=;,?*%@&’ )
* Setting is optional, but it is recommended to prevent illegal use of memory that is used by the
application.
OK Button : Register user settings, close User Setting screen, and refresh the edit screen.
Cancellation Button : Close User Setting screen and move to Edit screen.
× Button : Close User Setting screen and move to Edit screen.
NOTE
1. Information set in User setting screen is discared by selecting Cancel button
and × button.
* When setting is changed, message (see “14.19 Message List” MME106) to
confirm discarding input content is displayed
2. Confirm user ID and password are input correctly by selecting OK Button.
Error message (see “14.19 Message List” MME007) is displayed, and returns to
User setting screen when the following mistakes are found.
- Password is input with user ID blank
- User IDs are overlaped (case insensitive)
3. When selecting OK button, a change confirmation message (see “14.19
Message List” MME104) is displayed if there is information that is discarded in
Edit screen.
* If the user used in Edit screen is deleted, the user in Edit screen becomes
blank.
4. If user ID is set below blank line, the blank line is discarded and the set line is
moved upwards.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 711/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
OK Button : Register the setting status, close Memory Area Setting screen, and refresh the edit
screen..
Cancellation Button : Close Memory Area Setting screen and move to Edit screen.
× Button : Close Memory Area Setting screen and move to Edit screen.
* Default setting of area used by Memory Map is as follows.
・CNC system : Path 1
・PMC system : Path 1
・PMC system : R, D, E
・Macro variable : Common variable 1 ( #100 - #999 )
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 712/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
1. Information set in Memory Area Setting screen is discarded by selecting Cancel
or × button.
* When setting is changed, message (see “14.19 Message List” MME106) to
confirm discarding input content is displayed
2. Confirm at least one memory area is selected by selecting OK Button. Error
message (see “14.19 Message List” MME008) is displayed, and returns to
Memory Area Setting screen
3. When selecting OK button, a change confirmation message (see “14.19
Message List” MME105) is displayed if there is information that is discarded in
Edit screen.
* If selecting areas are increased, the cells in Edit screen become blank.
* If set areas in Edit screen are decreased, the set values are discared.
[Edit] Menu :
Undo :
Click [Undo] in [Edit] menu to undo the input change operation in the table. (The maximum number of
times you can undo an operation is 10).
* This corresponds to the following operations in the table.
- Value change of a cell in the table (one movement of selected cell is counted as one operation).
- Insert Upper Line
- Line Delete
- Cut
- Paste
- Equal allocation
- Area division
* If the cells in the table are not changed, the menu item is grayed out (operation disabled).
Redo :
Click [Redo] in [Edit] menu to redo the undone action.
* If there is no undone operation, the menu item is grayed out (operation disabled).
Insert Upper Line :
Click [Insert Upper Line] in [Edit] menu to insert a blank line above the line of the selected cell.
* If a cell of the signal / variable area range setting line is selected, the menu item is grayed out (operation
disabled).
Line Delete :
Click [Line Delete] in [Edit] menu to delete the selected line (lnes are reduced upwards by deleted lines).
* If a cell of the signal / variable area range setting line is selected, the menu item is grayed out (operation
disabled).
* When deleting the line in which an application name is displayed, the cofirmation message (see “14.19
Message List” MME201) is displayed.
(If checking the box of the message, the message is not displayed from the next time until another file is
opened.)
Cut :
Click [Cut] in [Edit] menu to store the selected cell and cut it.
* If no cell is selected, the menu item is grayed out (operation disabled).
* When cutting the line in which an application name is displayed, the cofirmation message (see “14.19
Message List” MME201) is displayed.
(If checking the box of the message, the message is not displayed from the next time until another file is
opened.)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 713/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
*The start address, the size, the start number, and the number of application name description lines cannot
be cut out.
Copy :
Click [Copy] in [Edit] menu to store the selected cell.
* If no cell is selected, the menu item is grayed out (operation disabled).
Paste :
Click [Paste] in [Edit] menu to input the stored values of cells from the upper left of selected cells (values
out of selected cells are discarded).
* If no cell is selected or stored, the menu item is grayed out (operation disabled).
* It is not possible to paste into unselectable cells.
Equal allocation :
Click [Equal Allocatin] in [Edit] menu to equally allocate start address, size, start number and number of
macro variables based on the upper and lower values of the selected cells.
NOTE
1. If non-enterable cell is selected, menu items are grayed out (operation disabled).
2. If upper and lower cells are all blank, allocation is based on the range of memory
area.
3. If there is a remainder of the equalized value, it is added to the last line. (see “Fig.
14.6.2.1(f) Equal Allocation upper and lower blank lines Case”)
4. If there are input values in the upper and lower lines of the selected cells, allocation
is base on the area range between them.
5. If there is a remainder of the equalized value, it is added to the last line. (see “Fig.
14.6.2.1(g) Equal Allocation upper and lower lines with values Case”)
6. if the selected cell exceeds the memory area range, an error message (see “14.19
Message List” MME010) is displayed.
7. If the memory area range is blank, an error message (see “14.19 Message List”
MME010) is displayed.
8. If start address and size (start number and number) of the same signal (variable) are
not selected, an error message (see “14.19 Message List” MME010) is displayed
(See “Fig. 14.6.2.1(h) Equal Allocation error case”).
Fig. 14.6.2.1(f) Equal Allocation upper and lower blank lines Case
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 714/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Fig. 14.6.2.1(g) Equal Allocation upper and lower lines with values Case
Number of memory area divisions (number of lines): Enter the number of memory area divisions in the
table between 1 and 99 as an integer.
OK Button : Screen information is registered, the region splitting number setting screen is shut,
and the edit display is displayed again by the registered content.
Cancellation Button : Close Area Division Number Setting screen and move to Edit screen.
× Button : Close Area Division Number Setting screen and move to Edit screen.
NOTE
When selecting OK button, a change confirmation message (see “14.19
Message List” MME107) is displayed if there is information that is discarded in Edit
screen.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 715/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
* If Memory map configuration file is not read, [Save As Setting File] is executed instead.
NOTE
1. Memory map configuration file can not be loaded into a display unit.
2. If an error occurs while writing a file, an error message (see “14.19 Message
List” MME004) is displayed.
3. Memory map configuration file has “csv" file extension and is an arbitrary string
file.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 716/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
1. When contens of Edit screen is not saved, editing content is discarded and
newly read content is displayed. A confirmation message of discarding editing
content (see “14.19 Message List” MME103) is displayed beforehands.
2. Only memory map configuration file can be opened. An error message (see
“14.19 Message List” MME001) is displayed.
3. An error message (see “14.19 Message List” MME003) is displayed when failing
in reading the file.
4. Memory map configuration file has “csv" file extension and is an arbitrary string
file.
NOTE
1. If there is any error in memory map content, the errored cells turn red and an
error message (see “14.19 Message List” MME006) is displayed, and memory
map is not output.
2. If memory map password in Version setting screen of Management information
setting (see “Fig. 14.6.2.1(c) Version Setting screen”) is not set, a confirmation
message (see “14.19 Message List” MME102) is displayed, and when clicking
Cancellation button or ×, memory map is not output.
3. When failing in writing files, an error message (see “14.19 Message List”
MME004) is displayed.
4. See "14.18 Folder Structure" for output folder structure of memory map in an
external memory.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 717/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
OK Button : Collates the input memory map password with the correct answer.
Cancellation Button : Close password input screen and move to Edit screen.
× Button : Close password input screen and move to Edit screen.
NOTE
1. Memory map file backed up from a display unit can also be read.
2. When contens of Edit screen is not saved, editing content is discarded and
newly read content is displayed. A confirmation message of discarding editing
content (see “14.19 Message List” MME103) is displayed beforehands.
3. When selecting non memory map file, an error message (see “14.19 Message
List” MME002) is displayed and the file is not opened.
4. An error message (see “14.19 Message List” MME003) is displayed when failing
in reading the file.
5. Memory map file name is fixed as “MemoryMap.dat".
6. If the password entered is incorrect, an error message (see “14.19 Message List”
MME005) is displayed.
7. If password is not set in the memory map, the password input screen in steps 3
and 4 is not displayed..
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 718/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Memory Map Loader (new tool) is used to load a memory map created by Memory map creation tool into the
display unit. When the memory map is loaded, the following operations can be done. These operations are
performed only by Machine tool builders
1. New Load
2. Overwrite Load
3. Delete
4. Backup
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 719/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
The date when the memory map loaded into the Display unit was output from Memory map creation tool is
displayed.
Backup Button :
The memory map loaded into the Display unit is backed up to the specified folder. Refer to subsection 2.2.4
"Backup" for details.
Delete Button :
The memory map loaded into the Display unit is deleted. Refer to subsection 2.2.3 "Delete" for details.
Exit Button :
Memory map loader is terminated.
NOTE
1. When there is no memory map in the external memory, Load Button is grayed out
(operation disabled).
2. When no memory map
is loaded into the Display unit, Backup Button and Delete Button are grayed
out (operation disabled).
3. Input the memory map password set when creating the memory map, and click OK Button.
4. The memory map is loaded, and the content of "Loaded memory map" on the screen is updated.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 720/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
1. Newly loaded memory map becomes valid after restarting the Display unit.
2. When an application has already been loaded into the Display unit, warning that
using memory could conflict is displayed.
3. When the input password is wrong, an error message (see “14.19 Message List”
MML001) is displayed and the loading is not done.
4. When failing in reading or writing the file, an error message (see “14.19 Message
List” MML002) is displayed and the loading is not done.
5. When application names are registerd in the loading memory map, all of thme are
cleared on loading.
6. When the password is not set to the memory map, Password input of step 3 is not
displayed.
* There is no condition of start address, start number, size and number of Area ID if no application is registered
in the memory map of the Display unit.
Procedure
1. Start Memory Map loader.
2. Click Load button.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 721/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
3. Input the memory map file password that was set when creatting the memory map, and click OK button.
4. The memory map is loaded, and the content of "Loaded Memory Map" on the screen is updated.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 722/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
1. Overwrite loaded memory map becomes valid after restarting the Display unit.
2. When the input password is wrong, an error message (see “14.19 Message List”
MML001) is displayed and the loading is not done.
3. When password is not set to the memory map, it is unnecessary to input
password as follows.
Password setting state Demand of password
When password is not set to the Password input screen of step 3 is not
memory map of the display unit and displayed.
the memory map used for overwrite
loading.
When the password is not set to the “Current password” of Password input
memory map of the display unit screen is disabled (grayed out) in step
3.
When the password is not set to the “New password” of Password input
memory map used for overwrite screen is disabled (grayed out) in step
loading. 3.
4. When the memory map used for overwrite loading doesn't meet the requirement
of loading, error message is displayed, and the overwrite loading is not done.
Error condition Error description
The first address and the first number of "Loading Memory map" are 14.19 Message List MML003
different from the ones of "Loaded Memory map ".
The size of "Loading Memory map" is smaller than the one of "Loaded 14.19 Message List MML004
Memory map ".
The size of the application becomes smaller by having changed a part 14.19 Message List MML006
of the consecutive Area IDs to another user ID.
The application registered in "Loaded Memory map" is not registered 14.19 Message List MML005
in "Loading Memory map".
The application registered in "Loading Memory map" is not registered 14.19 Message List MML007
in "Loaded Memory map".
5. The error message (See “14.19 Message List” MML002) is displayed when failing
in reading and writing of the file, and loading is not done.
14.7.3 Delete
Deleting the memory map from the Display unit in which the memory map is loaded.
Procedure
1. Start Memory Map loader.
2. Click Delete button.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 723/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
3. Input the memory map file password that was set when creatting the memory map, and click OK button
4. The memory map is deleted from the Display unit, and the content of "Loaded memory map" on the screen
is deleted.
NOTE
1. When the application that uses Use Area Offset of CNC Memory function is
loaded in the display unit, it is deleted with the memory map.
2. When the input password is wrong, an error message (see “14.19 Message List”
MML001) is displayed and the memory map is not deleted.
3. The error message (See “14.19 Message List” MML002) is displayed when failing
in reading and writing of the file, and the memory map is not deleted.
4. When password is not set to the memory map, Password input screen of step 3 is
not displayed..
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 724/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
14.7.4 Backup
Back up the memory map that is loaded in Display unit. The backed up memory map file can be edited by
opening with Memory Map Creation tool.
Procedure
1. Start Memory Map loader.
2. Click BackUp button.
3. Input the memory map file password that was set when creatting the memory map, and click OK button
4. Folder selection diaglog box is displayed, select the folder to whick a memory map is backed up and click
Selection of folder button.
5. Memory map file (“MemoryMap.dat”) is output to the specified folder.
NOTE
1. When the input password is wrong, an error message (see “14.19 Message List”
MML001) is displayed and the memory map is not backed up.
2. When failing in reading or writing the file, an error message (see “14.19 Message
List” MML002) is displayed and the memory map is not backed up.
3. When the password is not set to the memory map, Password input of step 3 is not
displayed.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 725/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
When creating screen data with FP Editor, enable Use Area Offset of CNC Memory function in project setting
screen of FP Editor and specify the range of the offset memory.
Screen Description
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 726/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
1. When start number or end number is not input, error message (See “14.19
Message List” FPE001) is displayed.
2. Range of input value of start number and end number are 0-99999. When
inputting out of the range, error message (See “14.19 Message List” FPE002) is
displayed.
Procedure
1. Create a new project or open a project in the FP editor.
2. Open the project setting screen.
3. Select "Memory setting" tab.
4. Turn on the check box of "Offset function of the CNC memory is used".
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 727/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
5. Press the Memory kind of selection button and display the following screen.
6. Select the memory kind used by the application, and press the OK button. The selected area is registered in
the memory setting tab.
7. Input the range used by the application in the start and end numbers.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 728/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
8. Press the OK button or the application button. When the application works on a CNC, the memory within
the specified range comes to be offset.
Attention
1. If none of the memory types are selected on the memory kind selection screen, an
error message (see 14.19 message list FPE003) will be displayed.
2. The memory range not specified in the memory settings will not be offset.
3. Use memory that does not require offset, for example, in collaborate with a ladder,
outside the range of the set area.
Procedure
1. Create a new project or open a project in the FP editor.
2. Open the project setting screen.
3. Select "Memory setting" tab.
5. Select the type of file to be imported from "Import from Another Project" or "Import from Memory Map".
6. Specify the path of the project file or memory map file to be imported, and click the OK button.
* Steps 7 to 9 are necessary only if you select a memory map.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 729/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
8. Input the password and user ID set in the memory map, and press the OK button.
9. Select the area ID you want to import from the area IDs allocated to the user in the loaded memory map, and
press the OK button.
10. When the import is completed, the memory range of the selected area ID is displayed on the screen as
shown in the red frame below.
NOTE
1. The memory range which is not specified by the memory setting is not offset.
2. If the memory is not required to be offset, for example linking to a ladder, use the
memory outside the range of the set area.
3. If the user ID or password in the memory map is incorrect, an error message (see
14.19 Message List FPE004) is displayed.
4. If reading or writing of the file fails, an error message (see 14.19 message list
FPE005) is displayed and the import is not be performed.
5. If no password is set for the user ID in step 7, the information entered in the
password field is ignored.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 730/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Note
1. If "memory used in the application" is accidentally set to a value other than the
memory usage range, it may cause the machine to malfunction because no offset
is performed.
2. If the memory linked to the ladder or reserved by the system is accidentally set
within the memory usage range, an offset is performed, which may cause the
machine to malfunction, etc.
Generate a MEM file of the screen data using the FP editor as before supporting this function, and output it to
the external memory.
* There is no special operation required to use this feature.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 731/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Note
1. After this function is supported, FP editor outputs “FPLoaderInfo.xml” to the
“Output to card” folder. “FPLoaderInfo.xml” is the file that is edited when using
CNC GUIDE and referenced by FP loader. Don’t edit this file when using FP
loader on the display unit or the application will not be loaded properly.
Refer to “14.14 Execution method in CNC GUIDE” for the execution on CNC
GUIDE.
2. When updating the external memory with “Output to card” done by FP editor
Edition 9.9 or later, if FP loader in it is running, an error message (see 14.19
Message List FPE007) is displayed.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 732/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
The FP loader is used to load the application stored in the external memory into the display unit. In addition to
the procedures before this feature, in display unit with a memory map loaded performs the following operations
when loading the application.
1. Login
2. Select the memory used by the application
14.11.1 Login
When the FP Loader is started, the memory allocated to a user can be allocated to an application by entering the
user ID and password defined in the memory map.
Application deletions and password changes can only be performed by the loaded user.
If the memory map is already loaded, the loader screen will be displayed as shown below.
②
①
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 733/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Note
1. The application loaded by another user is displayed in gray and cannot be
changed.
2. Applications loaded with "Fixed name" as the application name setting method in
the list of loading destinations will also be displayed in gray and cannot be
changed.
3. Even if the application which uses the offset function of CNC memory is in the
display unit, if it is not registered in the memory map, it is not displayed in the list
of destinations. If you try to overwrite the application of the same name, a
message (see 14.19 message list FPL202) will be displayed confirming that you
are overwriting the application.
Procedure :
1. Input the user ID and password for loading operations at the start of the FP Loader, and press the OK
button.
NOTE
1. If the user ID or password is incorrect, an error message (see 14.19 Message
List FPL001) is displayed and you cannot log in. User ID is not case-sensitive.
2. If reading or writing of the memory map fails, an error message (see 14.19
message list FPL002) is displayed and the loader is terminated.
3. If no password is set for the user ID, press the OK button in step 1, leaving the
password field empty.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 734/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
In the FP Loader, when the Load button is pressed, a screen for selecting the memory to be used will display.
In this screen, you can select only the memory allocated to the logged-in user with the memory mapping tool.
4
1 3
2
2-A
3-A
3-B
3-C
5 6
7
8
Fig. 14.11.2(a) Memory selection screen
The components of the screen is as follows.
No. Explanation
1 A guide message is displayed to guide you about the procedure.
2 A list of applications that have not been allocated an area ID among the applications selected on the FP Loader
screen is displayed. When the screen is displayed, the first application is selected.
Row Explanation
Application name A list of applications selected on the FP Loader screen is displayed.
R, D, E, Common variable The memory size used by the application is displayed.
1 etc. PMC areas are displayed in bytes and macro variables are displayed in each
numbers.
The application that has selected the selection ID in the list of No.3 is displayed in gray. (2-A)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 735/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
No. Explanation
3 The list of available area IDs for the logged-in user is displayed, and the area IDs used by the application selected
in No.2 can be selected. When the screen is displayed, it is not selected.
The following area IDs are grayed out and cannot be selected.
- When other applications are already loaded (3-C)
- When it is already selected by other applications in the list of No.2 (3-B)
- When the memory size of the application does not fit in the memory of the area ID (3-A)
Line Explanation
Area ID A unique ID is displayed to identify the area.
Continuous area Indicates whether the memory allocated to the area ID is continuous with the preceding
and following area IDs. If the size of the application does not fit into one area ID, the
continuous area ID is used. (All types of memory allocated to an area ID must be
continuous.)
: It is a top of the area. Previous area ID shows no continuity.
: It is shown to be consecutive with area ID in the back and forth.
: It is the bottom of the area. The following area ID shows no continuity.
Assigned Apps The name of the application to which the area ID is assigned is displayed
R, D, E, Common The size of the memory allocated to the area ID is displayed, the PMC area is
variable 1 etc. displayed in bytes and macro variables are displayed in each numbers.
The amount of memory allocated to the selected area ID minus the memory size used by the application is
displayed in the "Surplus amount”.
4 All selections made after the memory selection screen is displayed are cleared.
A confirmation message (see 14.19 Message List FPL103) is displayed before de-selecting.
5 Scroll through the list of applications in No.2.
Button : Scrolls to the first line.
Button : Scrolls before one line.
Button : Scrolls behind one line.
Button : Scrolls to the final line.
6 Scroll through the list of area IDs in No. 3.
Button : Scrolls to the first line.
Button : Scrolls before one line.
Button : Scrolls behind one line.
Button : Scrolls to the final line.
7 Load the application into the area ID set in No.3.
8 Cancel the setting and return to the FP Loader screen.
Procedure :
1. Select the application to load from the "Loading source" list and click the Load button .
2. The following screen is displayed.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 736/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
3. Select an application from the list on the left. When the screen is displayed, the first application is selected.
4. Select the area ID to be assigned to the selected application from the list on the right.
5. Select the area ID for the other applications in the same way as steps 3 to 4.
NOTE
If there is at least one application with an area ID selected, it can be loaded, but in
that case, the application with no area ID is not to be loaded. (See 14.19, Message
List FPL102.)
8. When the loading is complete, a completion message (see 14.19 Message List FPL201) is displayed.
9. The loaded application is added to the load destination on the main screen.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 737/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
1. If you want to overwrite an application that has already been assigned an area ID,
the screen in step 2 does not appear and skip to step 7. If you load a new
application and overwrite an application with the area ID at the same time, the
screen of step 2 doesl not show the application that has already been allocated the
area ID.
2. If the memory size of the application exceeds the size of the area ID when
overwriting an application that has already been allocated an area ID, an error
message is displayed and the application cannot be loaded. (See 14.19, Message
List FPL104.)
3. When loading multiple applications, even if some of them fail, the ones that are OK
are loaded.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 738/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Procedure :
1. Click the Change User Password button on the FP Loader's main screen.
2. On the Change Password screen, enter the old password, new password, and confirmation entry, and press
the OK button.
3. A message indicating the completion of the change (see 14.19, List of Messages FPL203) is displayed and
the password for the specified user is changed.
Note
If there is no password for the user ID, the old password field is grayed out.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 739/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
14.12 Execution
Applications can be called from the iHMI's home screen, just as they were before this feature was added. The
memory specified at the time of application creation is automatically offset according to the application's load
memory map.
When you launch an application for the first time after a new or updated application is loaded, if an application
is loaded that has the CNC memory usage offset feature disabled, you will receive a message warning you about
the use of the memory map. Check the message and if it is OK, press the Yes button to start the application.
NOTE
If an application with the CNC memory usage offset feature enabled accesses
memory for another application defined in the memory map, a message indicating
an access violation (see 14.19 message list FPD002) is displayed.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 740/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Use GetOffset function to get the offset value for the address and number of memory to be used and use it
accordingly.
Function Name GetOffset
Argument OFFSET_DATA*
Reference to a structure that contains an offset value. When the function is called with the memory
information before the offset is set, the offset value is stored in the output parameters.
Return value 0:Normal termination
-1:The memory specified in the argument cannot be offset by the application.
*paragraph 2.3 It comes off from the range specified by "Setting of the project".
-2:The data kind that doesn't exist is specified with the structure of the argument.
-3:The end number specified in the structure of the argument is smaller than the start number in it.
OFFSET_DATA structure used by GetOffset function sets the information about the memory to be used. The
range of available memory and offset values are stored by executing this function. The member variables are as
follows.
Variable Type Input Explanation
Name output
sPath short Input Specify the number of PMC path (CNC path in the case of macro
variable).
sKind short Input Specify data kind.
PMC
102:Y
103:X
104:A
105:R
106:T
107:K
108:C
109:D
110:M
111:N
112:E
Macro variable
200:Custom macro variable
300:P-CODE variable
sDataNum short Output Number of offset information (data)
cReserve char[2] - Reserve
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 741/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
The member variables of the offset information (number part) in OFFSET_DATA structure are as follows
Variable Type Input Explanation
Name output
iMemUseStart int Output The range of memory that can be used (start) is set.
iMemUseEnd int Output The range of memory that can be used (end) is set.
iOffset int Output The offset value is set.
NOTE
Refer to 14.16 "Specifiable area of Memory map" for available memory in
OFFSET_DATA structure.
To offset the memory with the above function, please create a user function DLL based on the sample code with
the following procedure.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 742/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Procedure:
1. Open “UserFunction.sln” of "¥Sample¥iHMI¥MemoryMap¥UserFunc" stored in the FANUC PICTURE
installed folder.
2. The structure and function used in user function are defined in OFFSETFUNC.cpp and OFFSETFUNC.h.
When adding it to the created user function, copy and add these files to the project.
In this case, add the reference to OFFSETFUNC.h to the existing USERFUNC.cpp.
<USERFUNC.cpp>
#pragma once
#include "stdafx.h"
#include <windows.h>
#include "userfunc.h"
#include "stdlib.h"
#include "offsetfunc.h" // Offset function of CNC memory
3. Implement the process of getting offset and using memory with offset in USERFUNC.cpp.
The following is an example of read/write function of PMC signal.
< Example >
// Read and write PMC signal that includes offset information.
USERFUNCTION int usr_Call_ReadWritePmc()
{
----- Omission -----
// Set the reading range.
OFFSET_DATA stOffsetData; // Offset information
stOffsetInfo.sPath = sPath;
stOffsetInfo.sKind = TYPE_PMC + adr_type;
stOffsetInfo.sStart = s_number;
stOffsetInfo.sEnd = e_number;
stOffsetData.iOffset = 0;
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 743/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Prerequisite :
When using this feature with CNC GUIDE by except Machine tool builders, it is necessary to offer the
following from Machine tool builders.
① Folder set output by "Output Memory map" function of Memory Map Creation tool
② Login user & password for FP loader
Procedure :
1. Place the folder set (hereinafter called “Memory map storage folder”) out Memory map storage folder
put by “Output Memory map” function of Memory map creation tool to at the time of step 1
the local disk of the PC. ├ MemoryMapInstaller.bat
2. The application is created according to the following procedure. ├ MemoryMap.dat
・14.8 Project Setting └ loader (folder)
Setting of "FPLoaderInfo.xml"
Tag Explanation
<CNCGuide> <memorymap> <path> Specify the path of Memory map storage folder for CNC GUIDE.
(Initial value) None
FPLoaderInfo.xml
<?xml version="1.0" encoding="UTF-16"?>
<CNCGuide>
<memorymap>
<path>[Memory map storage folder]</path>
</memorymap>
</CNCGuide>
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 744/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Setting example)
<?xml version="1.0" encoding="UTF-16"?>
<CNCGuide>
<memorymap>
<path>e:¥FANUC PICTURE MemoryMap</path>
</memorymap>
</CNCGuide>
[Memory map storage folder]:e:¥FANUC PICTURE MemoryMap
Setting of "apps-general.xml"
apps_general.xml
<?xml version="1.0" encoding="UTF-16"?>
(Omission)
<entry option="waitregister">
<name>[Application name]</name>
<category>Machining</category>
<caption>
<en> Arbitrary name </en>
<ja> Arbitrary name </ja>
</caption>
<file>[Memory map storage folder]¥FANUC_PICTURE_APPS¥[Application name]¥[Application
name].exe</file>
<image>%APPPATH%¥Resources¥Undefined.svg</image>
<current>[Memory map storage folder]¥FANUC_PICTURE_APPS¥[Application name]</current>
</entry>
Setting example)
<?xml version="1.0" encoding="UTF-16"?>
(Omission)
<entry option="waitregister">
<name>APP_NAME</name>
<category>Machining</category>
<caption>
<en>FANUC PICTURE</en>
<ja> FANUC PICTURE</ja>
</caption>
<file>e:¥FANUC PICTURE MemoryMap¥FANUC_PICTURE_APPS¥APP_NAME¥APP_NAME.exe</file>
<image>%APPPATH%¥Resources¥Undefined.svg</image>
<current>e:¥FANUC PICTURE MemoryMap¥FANUC_PICTURE_APPS¥APP_NAME</current>
</entry>
[Application name]:APP_NAME
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 745/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
1. If there is no memory map, the operation of offsetting the memory usage area
cannot be checked and an error screen is displayed. In step 2, turn off "Using Use
Area Offset of CNC Memory function" and check the operation of the screen with
the same procedure as "Expansion of the maximum number of simultaneous
executions of the FANUC PICTURE".
2. Coexistance with an application before implementing this feature or with "Use Area
Offset of CNC Memory" off is the same specification described in section 14.4 "
Coexistence with Applications with This Function Disabled".
3. Do not save the xml file with changing the character code to except UTF-16 when
modifying it.
4. See also "About iHMI home screen settings " 9 Expansion of the maximum number
of simultaneous executions of the FANUC PICTURE" 9.7.2 about application
registration to iHMI home screen.
5. If you don’t register “Memory map storage folder” in “FPLoaderInfo.xml” at step 3,
the application will not be loaded properly. Be sure to register “Memory map
storage folder” in it.
6. “FPLoaderInfo.xml” is the file that is edited when using CNC GUIDE and
referenced by FP loader. Don’t edit this file when using FP loader on the display
unit or the application will not be loaded properly.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 746/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
If "Save FP Project to screen data" is checked in Make MEM file function of FP Editor and enter a password, it
becomes necessary to enter the password to restore the FP project from the screen data.
The steps in Make MEM file function when protecting it are as follows.
Procedure :
1. Press the Make MEM file button of FP Editor.
2. Check on "Save FP project to screen data" on the displayed "Making Memory Card File" screen.
3. Enter a password for screen data restoration into "Password" column.
Up to 32 alphanumeric characters can be input as a password. There is no prohibited character.
4. By pressing OK button, screen data is made, and the protected FP project is saved in the screen data.
NOTE
Setting a password is optional, but if you save your FP project to the screen data
without setting a password, there is a risk of unauthorized use of the FP project
because it can be restored at will.
When restoring the FP project from the screen data by FP Editor, it is necessary to input the password as
follows.
Procedure :
1. Display Creating New Project screen from "File (F)"-"Project New (N)" menu of FP Editor.
2. Check the check box of “Load FP project from screen data”.
3. Specify the creating project name in “Project Name”.
4. Specify the path of the MEM file in which FP project is saved in “Directory Name”.
5. Press OK button.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 747/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
6. Entering password is required when more than one character password was set in Make MEM file function
(refer to “2.10.1 FP Project Protection”).
7. When pressing OK button, the FP project is restored.
NOTE
1. Error message (See 14.19 message list FPE006) is displayed when the input
password is wrong, and the project is not restored.
2. When a password is not set in Make MEM file function, the pasword input of step 6 is
not displayed.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 748/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
1. If a non-existent number is specified in the memory map due to machine
specifications or options, an error occurs during the execution of the application.
2. Non-volatile memory ( PMC D area, etc.) is not automatically initialized by FANUC
PICTURE function. Clear them by other means at the right time, before using an
application or when changing it, etc.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 749/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Machine pass_MTB
tool builder
need ③
Screen Writing
FANUC define
data FP loader
PICTURE ③&④ need ②
Writing
User Only ID of the
Restoring
function current user is
need ④
DLL selectable.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 750/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Installation Disk
├ AutoRun.exe
├ AutoRun.inf
├ Readmej.txt
├ Readmee.txt
├ FP
├ LegacyFP
└ Utility
├ MultiEdition
└ MemoryMap
└ installers (Memory map creation tool and Memory map loader)
Installation folder
└ FANUC PICTURE Utility
├ tool set for Multi edition instal like “FPStarter.exe”, etc.
└ FANUC PICTURE MemoryMap
├ MemoryMapMaker.exe
└ Loader
└ Memory map loader set
Output destination
FANUC PICTURE MemoryMap
├ MemoryMapInstaller.bat
├ MemoryMap.dat
└ loader
└ Memory map loader set
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 751/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Output destination
├ installer.bat
├ FPLoaderInfo.xml …………….. Added
├ FANUC_PICTURE_LOADER
| └ FP loader set
└ Output folder name
└ Application set
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 752/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 753/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 754/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 755/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Available edition:
FANUC PICTURE(A08B-9010-J518#ZZ11) 09.7 or later
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 756/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
2. When only the child screen is selected and copied and pasted
It is replicated to the root on the project tree. The parent screen is not replicated.
NOTE
Click the [Update] button in the project window to display a project tree of child screens
used by the replicated parent screen.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 757/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 758/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
If you enter a value other than a numerical value in the screen number of the property
setting dialog, an error message is displayed on the balloon tip.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 759/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 760/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
The above setting value check is performed on the screen below. For the parts marked with ×, the set value is
checked when Make MEM File.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 761/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 762/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
FANUC Series 30i-MODEL B (CPU-G) can make the above-mentioned application by the same operation as
model FANUC Series 30i-MODEL B.
When FANUC Series 30i-MODEL B (CPU-G) is used, please read the following explanations.
NOTE
1. “PMC type” becomes blank. It is not possible to select.
2. As for “Resolution”, “Font” and “Soft key”, the item similar to FS30i-B can be
selected.
3. If you create a memory card file with “30i/31i-B Plus(CPU-G)” selected, the PMC
data transfer range optimization function is forcibly enabled. (FP parameter No.16=1)
Please refer to “FP-PARAMETER SETTING screen”-“Optimization of the PMC data
transfer range” at B-66284EN.pdf for the details of the function.
4. If the FANUC PICTURE project with "30i/31i-B Plus (CPU-G)" selected for "CNC
system" is switched to the iHMI mode, "30i/31i/32i-A/B, 35i-B , 0i-F, 30i/31i/32i-B
Plus, 0i-F Plus, Power Motion i-A Plus” is set.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 763/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
BY37.mem is a name that shows the FANUC PICTURE driver for FS30i-B(CPU-G).
The following names of each CNC system are displayed.
CNC system File name of FP driver
30i/31i-B Plus(CPU-G) BY37.mem
30i/31i/32i-A/B, 35i-B, 0i-F, 30i/31i/32i-B Plus, 0i-F BY27.mem
Plus, Power Motion i-A Plus
Power Motion i-A 889K.mem
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 764/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
(1) C Executor
C application development requires the C executor library suitable to the CNC model used, as well as the C
executor option on the target CNC.
NOTE
For Series 30i-B(CPU-G), C executor library for CPU-G version GZ0R09.3 or later
required.
(2) C compiler
Use the WindRiver Diab C/C++ Power-PC compiler version 5.9.4.
(3) Linker
Use the linker attached to the WindRiver Diab C/C++ Power-PC compiler version.5.9.4.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 765/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 766/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Available edition:
FANUC PICTURE (A08B-9010-J518#ZZ11) 09.9 or later
With the button for which “Output history data (According to the parameter 20)” is selected in the history
display operation item, when parameter 20 is 4, the memory card can be output to the display with computer
function.
For the output destination, refer to Section 17.2.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 767/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Select [OUTPUT] to
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 768/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
1. There is no change in the display unit without PC function.
2. When a PC without a memory card slot is connected to the main unit (CNC
side) and parameter No. 300 # 0 = 1, the CNC screen display function (SDF)
[File] menu-> [Data input / output]-> [ Input / output to the folder specified in
[Memory card].
3. When the CNC screen dual display function is enabled and parameter No.
300#0 = 1, the input/output to a display or PC that can control keys.
4. If the LCD-mounted type input/output is not possible, the error message
"Memory card is not inserted" will be displayed.
Error type Error message before chage Error message After chage
Write protection Memory card is write protected. The file cannot be output because there is not
error enough free space on the memory card or the
number of files is full.
Card not inserted Not memory card insertd. The memory card could not be recognized.
error
NOTE
When outputting to the body(CNC side), the error message before the change is
displayed for the card not inserted error.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 769/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
By preparing project variable that can be used commonly in FP controls and Ruby scripts, this feature makes it
possible to link data among FP controls and Ruby scripts easily without using CNC memory.
Project
variables
NOTE
1 Project variable cannot be used for invalid signals and interlocks.
2 Project variable cannot be used in FP scripts.
3 Project variable uses the memory allocated in the FP driver, and is not the function
that maps the PMC area and macro variables of the CNC into FP application to be
used. Therefore, even if the value of project variable is changed, the PMC signal or
macro variable is not automatically changed.
In addition, the error content at the time of Ruby execution error is improved to display more detailed error
content.
Available vertion:
FANUC PICTURE(A08B-9010-J518#ZZ11) 10.1 and later
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 770/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
18.2 Details
This section describes the details of each function along the flow of using project variable.
Table. 18.2.1 Where project variable can be used and variable types
Where project variable can be used Variable types that can be used
Ruby script BOOL(1 bit)
BYTE(1 byte)
FP control in which the kind of action can be specified
WORD(2 byte)
FP function *NOTE2, NOTE 3 DWORD(4 byte)
REAL(Single precision real)
Arguments of FP function *NOTE2, NOTE 3 LREAL(Double precision real)
FP control using CNC memory *NOTE 3 String
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 771/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
1 Ruby Script array type cannot be used as project variable.
2 Project variable cannot be specified to be replaced and then executed like function
symbol.
3 Project variable cannot be specified in the following FP control, dialog, and FP
function in which the CNC memory range is specified.
・ Combined message Indication Control
・ History message Indication Control
・ PMC Area Character String Indication Control
・ Line graph control
・ Pie graph control
・ Extended bar graph control
・ List box control
・ Setting of Project dialog box
・ Detailed setting dialog when creating MEM
・ Debug settings dialog
・ Indirect specification FP function
4 Project variable is the variable that can be used for each FANUC PICTURE
application and is not one that can be used in common among multiple applications.
5 Project variable cannot be specified in the bit interface of Text String Indication
control and Lamp Control with exchangeable images, in which the range of CNC
memory is specified.
6 The character code that can be used for the character type project variable is the
same as in FANUC PICTURE MANUAL (Edition 06.2 to less than 08.0)(A-40712)
Chapter 24 "Function for handling the string in FP script".
7 There are notes when sharing project variables. For details, refer to “18.3.3 Use with
Ruby script (NOTE 8)”.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 772/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
1 *2
2,3 Folder selection
dialog
FP project folder
*1
Fig. 18.2.2 Project variable list screen transition
*1 The project variable list can be also displayed from the Ruby script edit dialog.
*2 Project variable setting can be exported or imported as a CSV format file by selecting the folder.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 773/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Edit items :
The contents of the columns are as shown in the table below.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 774/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Item Explanation
title Numerical
Comment Optionally enter comment about the variable.
value
(4) (64 double-byte characters maximum (128 single-byte characters) )
String
* Depends on ”Variable type (2)” setting.
OK button :
Save the variables displayed in the project variable list to the project variable list file in the project.
Cancel button :
Discard the contents edited in the project variable list without saving them in the project variable list file.
InportCSV button :
Read the selected project variable list file and update the project variable list.
Export(CSV) button :
Output the variables displayed in the project variable list to any location as CSV file format.
Delete button :
Delete the variable selected in the project variable list.
Alter button :
Update the variable registered in the project variable list. (see NOTE 4)
Insert button :
Register a new one in the project variable list at one above the selected variable.
* At the same time, it also checks if the variable settings are correct. (see NOTE 4)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 775/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
1 When the project variable list is started, if the project variable list file used for the
project variable cannot be read, the error message (18.8 message list PV001) is
displayed.
2 If the project variable list file cannot be saved when the OK button of the project
variable list is pressed, the error message (18.8 message list PV002) is displayed.
3 If the entered character is a prohibited character, the error message (18.8 Message
List PV006) is displayed.
4 If the variables settings are incorrect, the following error message is displayed.
Table. 18.2.3(b) Error condition (Variable check)
Error condition Detail of the error
Variable name not specified 18.8 Message List PV007
Duplicate variable name 18.8 Message List PV009
Variable type not specified 18.8 Message List PV010
5 If the import of the project variable list file fails, the following error message is
displayed.
Table. 18.2.3(c) Error condition (Import)
Error condition Detail of the error
Duplicate variable names in the project variable list file 18.8 Message List PV003
Import the project variable list file that is not output by the export 18.8 Message List PV008(*)
function
The following data in the project variable list file is incorrect 18.8 Message List PV011(*)
- Variable name
- Variable type
- Initial value
- Comment
*Output the error content to the project variable list error log file (projvarerr.txt).
6 If the export of the project variable list file fails, the error message (18.8 message list
PV004) is displayed.
7 Double-byte character and ¥ $ / ” ( ) { } [ ] : | < > + - = ; , ? * % @ & ’ cannot be
used for variable name.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 776/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Select "Project Variable" in the combo box for selecting the PMC, and specify the project variable in the combo
box for entering the variable name.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 777/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Fig. 18.3.1.1 When setting in PMC signal setting (Example: Screen Structure Definition control)
NOTE
If the PMC signal setting type (BIT / WORD) and the project variable type do not
match, the error message (18.8 Message list FP004) is displayed when making
MEM.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 778/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table. 18.3.1.2(a) Action type and setting by input and output destination
No. Control Tab Action type that can select project variable and input / output destination
Numeral/Character
1 Action Action type pull-down list
String
Numeral Indication
2 Control with Key Input Action Input / output destination pull-down list
Select "Project Variable" for the action type and input / output destination, and specify the project variable in
the combo box for entering the variable name.
Fig. 18.3.1.2 When setting in the action type and input / output destination
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 779/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
1 If the data type, display / input and output format, and project variable type do not
match, the error message (18.8 Message List FP003) is displayed when making
MEM.
2 When using REAL or LREAL type project variable, specify "decimal" as the data type.
“Real (Single precision real)” and “Real (Double precision real)" are specifed when
using the rdpmcreal / wrpmcreal function.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 780/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Project can be specified directly in FP function settings, such as the action settings of a FP control.
NOTE
For the data type of the data display, follow the type of the project variable to be used
(See “Table. 18.3.1.2(c) Type and display / Input and output format”).
Project variable can also be specified for the arguments of the FP function and the user function as shown
below.
When using a project variable as an argument of the FP function, enter the variable name prefixed with "$P_".
NOTE
1 For the data type of the data display, follow the return type of the FP function to be
used.
2 The character string type cannot be specified for the following functions that specify
the object ID in the FP function argument.
scroll / chgtxtmsg / FpSetProperty / FpGetPropertyValue /
FpGetPropertyStr
3 When using the project variable as the Ruby script number of the script function, use
the value of adding 1000 to the Ruby script number.
4 Project variables cannot be used for macro variable numbers and path numbers in
Easy setting of macro variable. Use project variables as arguments to the FP
functions rdmacro, wrmacro, rdpmacro, wrpmacro instead.
There are the following notes about the function arguments that can be specified.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 781/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
1 Rounding errors may occur because the decimal precision is 6 digits.
2 When using one string type variable, the length of the string is up to 40 characters.
When using two variables, up to a total of 40 characters, including one character of
the argument separator.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 782/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
In the list editor, if you enter a character that cannot be used as a project variable
name, an error message is displayed with a balloon tip.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 783/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
1 Variables that start with "$" but not "$P_", and variables that start with "$P_" and are
not registered as project variable function as Ruby script global variables and cannot
be linked with FP controls.
2 If a variable that is not registered as a project variable and prefixed with "$P_” is used,
the message (18.8 message list FP007) that calls attention on MEM generation is
displayed (If the checkbox in the message is enabled, the message will not be
displayed until the FP project is closed)。
3 Project variable are initialized when the FP app starts, so there is no need to initialize
them in Ruby script.
4 When assigning a REAL type and LREAL type variable to the DISP_VAL variable and
displaying the value in "Numeral / Character String Indication Control", specify
"Decimal" as the data type. If it exceeds the range of
-2147483647 to 2147483647 that can be displayed with the "decimal" data type,
asterisks are displayed. In that case, display the value by preparing a script like the
one below and setting the data type to "character string".
Example)
strtmp = $P_REAL_VALUE.to_s
# Copy REAL type project variable to “strtmp” as a character string.
SVAL0 = strtmp
# Copy the local variable “strtmp” to the string pointer variable SVAL0.
DISP_VAL=SVAL0 # Copy string pointer variable to DISP_VAL variable.
5 Project variable cannot be used in the following place.
・Iterative process(for,each,time)
Example) for $P_NUM in 0…10 do
# Note that project variables can be used in numerical values of 0 ... 10.
・Self-assignment
Example) $P_NUM += 1
・Multiple substitution
Example) $P_NUM, $P_NUM2 = 1, 2
・Conditional operator
Example) $P_NUM ? i =0 : i = 1
However, project variable can also be used in the above place by assingning it to a
Ruby variable once.
Example) Self-assignment(iterative process, multiple substitution, and conditional
operators can be handled in the same way.)
num = $P_NUM
num += 1
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 784/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
$P_NUM = num
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 785/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Table. 18.3.3.2 Numerical range available in numeric variable / FP function argument /Ruby script
Variable Variable Sign(*1) Min. value Max. value
type size
BOOL 1bit 0 1
Yes -128 127
BYTE 1byte
No 0 255
Yes –32,768 32,767
WORD 2byte
No 0 65,535
Yes –2,147,483,648(*2) 2,147,483,647
DWORD 4byte
No 0 4,294,967,295
REAL 4byte ±1.175494351 E – 38 ±3.402823466 E + 38
LREAL 8byte ±2.2250738585072014 E – 308 ±1.7976931348623158 E + 308
*1 Use FP function arguments and “signed” number ranges in Ruby script.
When used with FP control,the data type setting is the same.
(See “Table. 18.3.1.2(c) Type and display / Input and output format”)
*2 It is not possible to assign -2,147,483,648 directly to a project variable in Ruby script.
Can be assigned up to -2,147,483,647.
NOTE
1 When assinging numerical value from Ruby script variable or numeric variable of
another variable type, make sure that the numeric range can be handled by the
numeric variable to be assigned to.
2 Assigning decimal number for the REAL / LREAL type that handles real number may
cause rounding error.
3 Assigning Ruby script variable that has real number to the REAL type may cause
rounding error.
18.3.3.3 FP function
When specifying a project variable in the argument of the FP function in the Ruby script, there are the following
notes.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 786/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 787/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
variable ABC
If a run-time error occurs in a Ruby script that is executed from other than the FP control (timer or screen
transition event), the error message cannot be displayed directly on the screen, so the error message is stored in
the following special project variable. You can get the error message by referencing this variable in a script
(message box, etc.) that calls it from the FP control.
The main errors that occur with Ruby scipt are as follows.
*The parts shown in italics change dynamically.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 788/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Project variable in the Ruby script The project variable name remains as it is, and it works as a global
variable in the Ruby script.
Replace with PMC symbol, etc., if necessary.
Project variable definition The project variable cannot be used in Standard Monitor mode, but the
definition information is retained. When switching the edit mode again and
open it in iHMI mode, it will be in the defined state.
Project variable specified in the combo box Output the information of the control using the project variable in the error
to select the PMC message.Cannot switch the edit mode until changing the setting of the
relevant part to PMC.
Project variable specified in the combo box Output the information of the control using the project variable in the error
to select the action type message.Cannot switch the edit mode until changing the setting of the
relevant part to Non-project variable.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 789/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 790/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Output form
ID Message content
(Button / Icon)
In the script below, the variable starting with "$P_" that does not exist in the project Dialog
variable settings was found. ( [Yes][No] / )
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 791/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 792/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
①
②
Transfer
Fig.19.1 (a) Flow of using this function (Standard display unit mode)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 793/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
①
②
Transfer
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 794/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
番号 項目 説明
1 Transfer to CNCGUIDE Press OK button to transfer the FANUC PICTURE screen to CNC GUIDE.
If you press OK button, the selecting status will be retained until the FP editor is
closed.
iHMI mode
番号 項目 説明
1 Transfer to CNCGUIDE Press OK button to transfer the FANUC PICTURE screen to CNC GUIDE.
If you press OK button, the selecting status will be retained until the FP editor is
closed.
19.3 NOTES
Please attention to the following items when using this function.
1. Even if CNC GUIDE is not started and make a memory card file with selecting “Transfer to CNCGUIDE”,
CNC GUIDE does not start.
2. This function cannot be used when CNC GUIDE are multiple running.
3. Combining application with C Language Executor does not supported.
4. The FP driver cannot be updated.
5. If the FANUC PICTURE screen is not displayed on CNC GUIDE, the FANUC PICTURE screen data
which is transferred this function will be applied when the FANUC PICTURE screen is displayed next
time.
6. When the transferred FANUC PICTURE screen data will be applied, the settings related to the screen
display will be initialized, but the PMC signal status will not be initialized.
Ex.)
If the FANUC PICTURE screen data is transferred while an error is displayed in the screen recall function
by the PMC signal, the completion signal is not set, and the FANUC PICTURE screen data is reflected
with the error displayed.
7. If the FANUC PICTURE screen data is transferred repeatedly with this function, the internal data will be
accumulated in the CNC GUIDE side. Restart the CNC GUIDE periodically to use this function.
iHMI mode
1. Even if CNC GUIDE is not started and make a memory card file with selecting “Transfer to CNCGUIDE”,
CNC GUIDE does not start.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 795/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
2. If FANUC PICTURE application is not started in iHMI, the screen data will not be updated even if this
function is used, and an error will be displayed.
3. The FP driver and UserFunction DLL cannot be updated.
4. FANUC PICTURE application which is registered on iHMI startup setting file cannot be transferred by this
function.
5. If using this function when the FANUC PICTURE app is displaying with Floating display function, the
Floating display states is continuously and the FANUC PICTURE screen is applied, but the display
position is returned to initial position.
6. Offset setting cannot be updated even if changing offset setting of “Offsetting Function of CNC memory
area of FANUC PICTURE for iHMI”.
7. When "How to set application name" is set to “Fix” in "Setting of Project", only the screen registerd in the
first operation screen (<name> tag is “AppFP”) can be updated in iHMI’s startup setting file
(apps_general.xml).
If CNC GUIDE is not available, the message “CNC GUIDE does not support” is displayed.
If FP driver is not available, the message “FP driver does not support” is displayed.
Refer to “19.5 About error display” for details.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 796/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
iHMI mode
Message type Message content Icon
FANUC PICTURE not FANUC PICTURE has not started. Start FANUC PICTURE.
started
iHMI not started iHMI is not running. Start the CNC guide with iHMI.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 797/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
1. If you switch the edit modes of the FP editor with the FP project opened, the data
of collective screen bitmap output function of the edit mode before switching the
modes is to be deleted. If you want to use collective screen bitmap output function
again after switching the edit modes, set the composite screen and the property
list again.
2. The screen of any position and size is displayed to fit into the thumbnail size with
maintaining the aspect ratio of the size specified. The thumbnail area outside the
screen display area is displayed in black color. For details, refer to Appendix B
“Display any position and size screen for Collective screen bitmap output
function”.
X and Y-Coordinate are not reflected in the thumbnail display and the output
bitmap file.
Refer to FANUC PICTURE Specification (Edition 06.2 to less than 08.0)
A-40712EN “Chapter 26 Any position and size screen display function” about “Any
position and size screen display function”.
Select [Project]-[Option] on the FANUC PICTURE menu bar to display the following dialog box.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 798/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
NOTE
Refer to FANUC PICTURE Specification (Edition 06.2 to less than 08.0)
A-40712EN “Chapter 15 Link with theme color function” about the theme color
function.
Table 20.2 Property list that can be specified only in FP Editor for the iHMI mode
Control Tab Item Remarks
Numeral/Character String Character Upper-left standerd Specifying the character display position.
Upper-right standerd Refer to FANUC PICTURE Specification (Edition
Numeral Indication Control Character Upper-left standerd 06.2 to less than 08.0) A-40712EN “Chapter 10
with Key Input Upper-right standerd Character display improvement in custom screen
Ten-Key Pad Character Upper-left standerd for iHMI”.
Upper-right standerd
List Box Character Character Type Specifying the character type.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 799/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
*BmpToolData folder : Folder for storing temporary files of the screen bitmap output tool.
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 800/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
1. PNG file support in FANUC PICTURE for standard display(Refer to section 21.1)
2. About saving the FP project to a memory file(Refer to section 21.2)
* Hereinafter, the above four types of controls are collectively referred to as "controls with images".
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 801/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
PNG format
Image reference Can be selected
Fig.21.1.1 (a) Image reference example of Button Control with image in standard display mode
You can select PNG format images in the Lamp Control with exchangeable images.
Image
reference
bmpxml
File editing
PNG format
Can be selected
Fig.21.1.1 (b) Image reference example of Lamp Control with exchangeable images in standard display mode
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 802/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
In FANUC PICTURE for standard display, create the PNG format image so that the color of the part you want
to set transparent matches the background color if you want to display it transparently like iHMI.
Fig.21.1.2 (b) Example of method when you want to use PNG format image like iHMI
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 803/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Before enlargement
After enlargement
[display speed priority]
After enlargement
[image quality priority]
Available edition :
FANUC PICTURE (A08B-9010-J518#ZZ11) 10.6 or later
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 804/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Example)
Displaying BMP, PNG, JPG, and GIF images with prioritizing image quality.
<appsettings>
<appsetting id="enlargedscreen">
<smoothing_img>1</smoothing_img>
<smoothing_gif>1</smoothing_gif>
</appsetting>
</appsettings>
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 805/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
Change screen
Change
FP start-up “Free Memory” “Free Memory”
Initial PMC signal
enabled disabled
Control state
setting PMC PMC PMC PMC
Selection Selection Selection Selection
Signal Signal Signal Signal
status status status status
output output output output
Other then PMC
- Check Box Initial setting Yes Initial setting Yes No change No No
“PMC” signal status
- Radio Button
PMC PMC
- Combo box “PMC” (*) No No change No No change No No
signal status signal status
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 806/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
In the above example, since the width ratio is large, the image is displayed to fit in the displayed size
(120*120) based on the width (1080).
The aspect ratio maintains the ratio of screen width / height (1080*510).
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 807/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
REVISION RECORD
Edition Date Contents
27 May, 2023 Add explanatory note to lists of functions. (Subsection 5.1)
Add return values and data when using not available functions (Subsection 5.1)
Merge split tables (Subsection 5.1)
Remove literal data so that the maximum controlled axis number is not specified as a
literal. (Subsection 5.3)
Add a note when sharing project variables. (Subsection 18.2.1.1)
Add a notes when project variables are specified as function arguments. (Subsection
18.3.1.3)
Add a note about sharing project variables with Ruby scripts. (Subsection 18.3.3)
Add a note when specifying project variables to FP function arguments in Ruby
scripts. (Subsection 18.3.3.3)
Modify the description of the number of characters in the following functions
(Subsection 5.3)
cnc_wrtlgeomsize_ext, eth_wrparam, _dos_findfirst32, _dos_findnext32,
_dos_findfirst, _dos_findnext
26 Feb, 2023 Add Image quality setting of display image with Automatic screen enlarged function
(Chapter 22)
Add a note that the square brackets of “easy setting of macro variable” are converted
to parentheses when the project is converted (Subsection 4.1.3.1)
Fix the list of FP functions that cannot be used in a timed script(Subsection 4.1.6)
Add explanation about str_keyinput function in conversion function.
(Subsection 4.1.3.1)
Modify availability of str_keyinput function. (Subsection 4.2.1)
Modify annotation about str_keyinput function. (Subsection 4.2.1)
Add explanation about setting of CNC system. (Subsection 1.23.6)
Modify notation of CNC system. (Chapter 16)
Add a note on using FpSetProperty function for controls with "On caption is copied
onto Off caption" checked. (Subsection 3.3.2.3)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 808/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 Oct, 2022 Add a note that the conversion target of the project is the relevant version and the
past version (Subsection 4.1.3)
Add explanation about description of variations of device names that can be specified
in the function description (Subsection 5.3)
Fix the convertible version to 8.0 version or later (Subsection 1.22.1, Subsection
8.1.3.2)
Add reference that causes an invalid setting value (-6) error in FPSetProperty
(Subsection 3.3.2.3)
Add a note that " FANUC PICTURE "is referred to as "FP" (summary)
Fix the icon display order, shortcut name, and PMC system description (Subsection
3.1)
Fix the version corresponding to FANUC Series 30i-MODEL B (CPU-G) to 09.7
(Chapter 16)
Add a note on using the FpSetProperty / FpGetProperty functions (Subsection
3.3.2.2, Subsection 3.3.2.3)
Fix the numerical value not to be a character string notation (SubSection 4.1.7,
SubSection 5.3)
Fix ret [0] of numerical return value to ret [0] .to_s when outputting a message
(SubSection 5.3)
Fix "Cross key" to "MDI key" (SubSection 3.1.3, SubSection 3.1.5)
Fix the notation of the FP editor version from version to edition (Chapter
1,2,4,5,10,12,14,15,17,21)
Describes a Fig that can be edited with the Image File Edit Screen (SubSection 3.2.2)
Add that refer to the template manual for the specifications of the str_keyinput
function (SubSection 4.2.1).
Add descriptions the popup is not displayed when an FP function error occurs in the
mruby script (SubSection 4.2.1)
Fix the comment of the usage example of the cnc_rdpdf_alldir function (SubSection
5.3)
Unregister unnecessary timer scripts when a project is converted (SubSections
4.1.1.8)
Add explanations related to CNC guide 2 (SubSection 1.19, SubSection 19.4)
Fix "i" font in iHMI / iH / iH-Pro (all chapters)
Fix NC GUIDE to CNC GUIDE (all chapters)
Fix the notation of the ellipsis (SubSections 4.1.2.1, 13.1, 13.2)
Fix the list about whether or FP function that the return value is Rectangle String can
be used. (SubSection 4.2.1)
Add explanation about line feed code and character code(SubSections 4.1.9,
18.2.2.1)
Fix explanation about switching the screen displaying the message box. (SubSections
3.1.4.3, 3.1.4.7)
Add a note about switching the screen displaying the license display screen.
(SubSection 4.3.3)
24 Apr, 2022 Fix a typo of URL. (Section 1.3, Chapter 4)
Fix explanations about element addition by FpSetProperty.
(Subsection 3.3.2.3)
Fix descriptions and figures. (Section 14.8, Section 14.11)
Fix error message. (Section 19.5)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 809/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
23 Mar, 2022 Add Collective screen bitmap output function (Chapter 20, Appendix B).
Add explanations for PNG files in FP editor standard display mode (Chapter 21)
Add library function for reading servo data (Subsection 5.1, Subsection 5.3,
Subsection 5.4)
Add library function for reading diagnosis data (range specified) (Subsection 5.1,
Subsection 5.3, Subsection 5.4).
Add about using project variables in List edit and Overall edit (Subsection 18.3.2).
Add a note about Ruby script runtime error (Subsection 18.6).
Add explanation about the operation when the multi-language display function of the
combo box is enabled (Subsection 3.1.5.4).
22 Dec, 2021 (Subsection 1.20.2 Only version list is updated.)
21 Dec, 2021 Add explanations for project valiable management and beyond(Section 18)
Add explanation about FP screen transfer function for CNC GUIDE (Section 1.19,
Chapter 19)
20 Oct., 2021 Add FP function for FTP that can be switched to disable the cache function when
transferring files.(Subsection 5.1, Subsection 5.3, Subsection 5.4)
19 June, 2021 Add a note about invalid setting value when element addition by FpSetProperty.
(Subsection 3.3.2.3)
Add a note about the feature of saving FP project to screen data.
(Subsection 9.4.1)
Add a note about the starting procedure of application on CNC GUIDE.
(Section 9.10)
Add a note about Floating Display Function. (Subsection 10.1.1)
Add notes about “FPLoaderInfo.xml”. (Section 14.10, Section 14.14)
Fix the storage location of application on CNC GUIDE. (Section 14.14)
Fix the file name. (Subsection 14.6.2.5, Section 14.7, Subsection 14.7.4)
Add the error message output by FP loader. (Section 14.10, Section 14.19)
Add explanation about Improvements of selection status retention for Control
(Subsection 3.1.1.5, Subsection 3.1.1.6, Subsection 3.1.1.7, Subsection 3.1.1.8,
Subsection 3.1.2.4, Subsection 3.1.2.5, Subsection 3.1.2.6, Subsection 3.1.2.7,
Subsection 3.1.2.8, Subsection 3.1.5.5, Subsection 3.1.5.6, Subsection 3.1.5.7,
APPENDIX A)
Use memory card of display unit with PC function (Chapter 17)
18 Mar., 2021 (Subsection 1.20.2 Only version list is updated.)
17 Feb., 2021 Add explanation about iHMI operation library function.(Section 1.13, Chapter 14)
Add explanation about Improvements of the operability when adding screens
(Chapter 15)
Add 8-level data protection library function (Chapter 5)
Add reading the alarm history data / reading external operator’s message history
data library function (Chapter 5)
Modify explanation about compatibility of different editions. (Subsection 1.16.4,
Subsection 1.16.5)
Add notes about character type setting function for each language. (Chapter 12)
Add explanation about available CNC of “cnc_fle_cpmv_start” function. (Chapter 5)
Fix explanation of “FpGetPropertyStr” function. (Chapter 3)
Add notes when using the design customization function. (Subsection 3.2.1,
Subsection3.3.2.2)
Add explanation about FANUC Series 30i-B CPU-G (Section 1.15, Chapter 16)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 810/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
16 Oct., 2020 Modify explanation about compatibility of different editions. (Subsection 1.13.4,
Subsection 1.13.5)
Add USB / CF card file transfer library function (Chapter 5, Subsection 8.1.1)
Fix explanatory note about ruby script of the function to take out a partial numerical
value of PMC symbol. (Section 4.1.10)
Add notes about Floating Display Function (Section 10.4)
Add an annotation about str_keyinput function (Subsection 4.2.1)
15 Aug., 2020 The content of the specification change of cnc_rdpdf_subdir function is added. (Table
22.1 (38), Table 22.1 (4) )
The content of the specification change of cnc_rdpdf_alldir function is added. (Table
22.1 (5), Table 22.1 (6) )
Expanded character type setting function for each language.
Expanded IMAGE FILE EDITOR.
14 July.,2020 About the usage of “return” in ruby script.
- Notes are added. (Table 4.1.3.2(f), Chapter 5)
- Remark is added. (Subsection 4.1.10)
Fix the starting procedure of the application on CNC GUIDE.
(Subsection 9.10.1)
Add explanation about Script Displaying Button. (Section1.11, Subsection 4.1.1.5,
Chapter 11)
Add notes about card output folder name. (Subsection 9.5.1)
Add explanation about application name. (Section 9.1, Subsection 9.3.1)
13 Apr.,2020 Add notes when using the FpSetProperty function. (Section 5.3)
Add explanation about Floating Display Function. (Section 1.9, Chapter 10)
Fix an omission of the procedure. (Subsection 9.10.1)
Fix typos in return values of the cnc_rdpdf_line function (Table 5.3 (78))
12 Mar.,2020 Add notes when using the StatusDisplay function. (Section 5.3)
Fix a type of the example in 2.31 function. (Section 5.3)
11 Mar.,2020 Add explanation about iHMI operation library function. (Subsection 5.1,5.3)
10 Feb., 2020 Add explanation about Expansion of the maximum number of simultaneous
executions of the FANUC PICTURE for iHMI. (Section 1.8, Chapter 9)
09 Dec., 2019 (Subsection 1.20.2 Only version list is updated.)
08 Sep., 2019 Add explanation about compatibility with FANUC PICTURE. (Subsection 1.8.4)
Add note when using the message box. (Subsection 3.1.4.1)
Add note when setting the license display screen. (Subsection 4.3.4)
Fix description of arguments of the cnc_upstart4 function. (Table 5.3 (63))
07 Aug., 2019 Add the table about characters for symbol. (Subsection 4.1.5)
06 June, 2019 Add notes when using the FpSetProperty function. (Subsection 3.3.2.2)
05 May, 2019 Notes of Ruby script is added. (Subsection 4.1.10)
Fix a typo in the eth_wrparam function argument (Section 5.3)
04 Feb., 2019 Fix the display condition of vertical scroll bar(Table 3.1.3.5(d), 3.1.5.5(d))
Delete clerical error. (Section 4.1.7)
Fix a typo. “(略)” -> “~~ Omitted ~~” (Subsection 8.1.3.2)
03 Jan., 2019 Add mruby version. (Section 1.3, Chapter 4)
Add subsection about memory consumption. (Subsection 1.8.3)
Delete unnecessary “<delete>” tags in the Tables. (Subsection 3.1.5, 4.2.1)
Fix a typo. “ET_BKCOLOR” -> “SET_BKCOLOR” (Table 3.3.2.3(h))
02 Dec., 2018 Add references to contents and restrictions common to the version earlier than 8.0.
(Chapter 1)
Move contents of “1.8 REMARKS” to “1.8.1 About compatibility with FANUC
PICTURE earlier than 8.0”. (Subsection 1.8, 1.8.1)
Add methods of confirming the version of FANUC PICTURE screen for iHMI.
(Subsection 1.8, 1.8.2)
Add description to function reference.(Subsection 5.3, 15.1)
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 811/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5
7169Fs7V+cUB3jjYC5Wg4rXjMtiQJhD9liExhnHLB9iXbWrsC+2wd68VWEg==
25 2022/10/19 Update for FANUC PICTURE Edition 10.5 FANUC PICTURE Specification
Name
24 2022/04/25 Update for FANUC PICTURE Edition 10.4 (Edition 8.0 or later)
23 2022/03/14 Update for FANUC PICTURE Edition 10.3
22 2021/12/15 Update for FANUC PICTURE Edition 10.2
Drawing
number
Person in
Edition Date charge
Person in
Changes
FANUC CORPORATION 812/812
Created 2018.11.13 charge Approved
© MyFANUC 7FCCBBA6F0C546FFBF2F98BF894E29A5