FANUC PICTURE - Automatic Screen Call Function of A Child Screen - Specification
FANUC PICTURE - Automatic Screen Call Function of A Child Screen - Specification
FANUC PICTURE
Specification
FANUC PICTURE
Title Automatic screen call function of a child screen
Specification
Draw
No. A-94727E
© MyFANUC DFC28D47B84B444ABD0C5101678A3C57
7169FAsCRSW5XtOESjqvA4edqQ4dJVvxMQG+noYaZEFsuJhoC+2wd68VWEg==
1 Outline
The function to switch a child (sub) screen is added to automatic screen call function based on the PMC signals, and FP function
swscreen.
The function to notify of displayed sub screen numbers is also added to the screen number notification function.
Note
For automatic screen call function and FP function swscreen, refer to the following sub-sections of FANUC
PICTURE OPERATOR'S MANUAL (B-66284EN).
• Sub section 2.2.10.5 “Automatic screen call function based on the PMC signals”
• Sub section 1.75 “swscreen” of section 3 “FP Function”
The continuous PMC area of 22 bytes (11×2byte) in total for each function is necessary. Refer to section 2.1 “PMC area when
using sub screens” for details.
FANUC PICTURE
Title Automatic screen call function of a child screen
Specification
Draw
No. A-94727E
© MyFANUC DFC28D47B84B444ABD0C5101678A3C57
7169FAsCRSW5XtOESjqvA4edqQ4dJVvxMQG+noYaZEFsuJhoC+2wd68VWEg==
Note
• “Sub screen switching and screen number notification is used” item can be set when “The automatic screen
call is used” item has been checked.
• In case of using sub screens, assign the screen number to a custom screen by value of 0 to 65500. When a
value beyond the range, such as 65501 to 65535, is specified, screen switching of sub screens cannot be
performed.
• In case of executing a FP script periodically for every specified interval time by using FP function set_handler,
specify a screen number of main screen for its argument. A screen number of sub screen cannot be
specified.
+0 +2 +4 +18 +20
PMC address ...
(2bytes) (2bytes) (2bytes) (2bytes) (2bytes)
Screen Main screen number 1st 2nd 9th 10th
composition or sub screen sub screen ... sub screen sub screen
specified area CNC screen number number number number number
1. If screens being displayed are already suitable, specify 0 for the corresponding screen number area.
2. When 0 is specified for main screen number, only specified sub screens are switched with the present main screen displayed.
When specifying only main screen number, it is the same as the usual automatic screen call function for the main screen.
3. When a sub screen number which not belong to the screen structure of the present main screen being displayed is specified, the
following error message is displayed.
FANUC PICTURE
Title Automatic screen call function of a child screen
Specification
Draw
No. A-94727E
© MyFANUC DFC28D47B84B444ABD0C5101678A3C57
7169FAsCRSW5XtOESjqvA4edqQ4dJVvxMQG+noYaZEFsuJhoC+2wd68VWEg==
(Example)
Content of Screen Structure Definition of the main screen named as A:
“Sub screen 1” property “Sub screen 2” property
The sub screen to display first Sub screen named as A11 Sub screen named as A21
The sub screens which are called one after --> Sub screen named as A12 --> Sub screen named as A22
another from the button at the first sub --> Sub screen named as A13 --> Sub screen named as A23
screen in order to switch sub screen --> Sub screen named as A14
The sub screen number which it is possible to specify for the screen composition specified area:
1st sub screen number area 2nd sub screen number area
The sub screen number which The sub screen number of the The sub screen number of the
it is possible to specify above-mentioned A11 to A14. above-mentioned A21 to A23.
Only the sub screen which was structured as N-th sub screen can be specified for
the N-th sub screen number area.
4. As for the areas of 1st through 10th sub screen number, the areas of the number, which is the same as the total number of sub
screens that checked “Use Sub Screen N” property in “Sub screen 1-5” tab and “Sub screen 6-10” tab of Screen Structure
Definition Control, are effective from the left.
• A sub screen number set to non-effective area is ignored. Whether the area is non-effective can be confirmed with the
value (65535) notified by the screen number notification function. (Refer to sub-section 2.2.2.)
• When a sub screen that the above-mentioned property is unchecked exists, set a sub screen number succeeded to the left
closely. (left-justified)
(Example)
If seven properties of sub screen 1 to 5, 6 and 9
were checked, the areas of 1st through 7th sub
screen number are effective.
In this case, set the screen number of sub screen
9 to the 7th area by skipping the unchecked sub
screen 7 and 8. Uses seven sub screens
in total.
FANUC PICTURE
Title Automatic screen call function of a child screen
Specification
Draw
No. A-94727E
© MyFANUC DFC28D47B84B444ABD0C5101678A3C57
7169FAsCRSW5XtOESjqvA4edqQ4dJVvxMQG+noYaZEFsuJhoC+2wd68VWEg==
+0 +2 +4 +18 +20
PMC address ...
(2bytes) (2bytes) (2bytes) (2bytes) (2bytes)
1st 2nd 9th 10th
Screen number
Main screen number sub screen sub screen ... sub screen sub screen
notification area
number number number number
1. As for the areas of 1st through 10th sub screen number, the areas of the number, which is the same as the total number of sub
screens specified with Screen Structure Definition Control, are effective from the left.
• 65535 is notified to non-effective area.
• When a screen which has no screen number is being displayed, 65534 is notified.
2. When no custom screen is being displayed, 0 is notified to the main screen number.
3 FP function
The processing divisions 3, 4 and 5 are added to the existing FP function swscreen for screen switching.
These values can be used when the CNC model is Series 30i /31i /32i /35i, Power Motion i-A, or Series 0i-D.
[Function name]
swscreen (Existing)
[Data type]
If processing division (type argument) is 0 to 4:
None
If processing division is 5:
5: 4 bytes (Unsigned)
[Format/with arguments]
swscreen[type_kind_datanum_default_pmc_address] (No changes.)
[Arguments]
type Processing division
0 to 2: No changes.
3: Switches a screen according to the specified screen number, as well as processing division 0.
・ Specify the screen number to switch in kind and datanum arguments.
・ When the screen number is identical to the popup screen displaying at present, the popup screen
disappears.
4: Switches a screen according to the combination of specified main screen number and sub screen numbers.
FANUC PICTURE
Title Automatic screen call function of a child screen
Specification
Draw
No. A-94727E
© MyFANUC DFC28D47B84B444ABD0C5101678A3C57
7169FAsCRSW5XtOESjqvA4edqQ4dJVvxMQG+noYaZEFsuJhoC+2wd68VWEg==
・ Set the combination of screen numbers into the screen composition specified area specified by kind and
datanum arguments.
・ When a main screen number specified is identical to the popup screen displaying at present and all of sub
screen numbers except the main screen number are specified as 0, the popup screen displaying at present
disappears.
5: Reads a screen number of displayed main screen or sub screens, returns it.
・ Specify the screen to read screen number in default argument by value of 0 to 10. When a value beyond
the range is specified, it returns 65535.
・ When the screen which has no screen number is displayed, it returns 65534.
Note
• Erasing of popup screen by the processing division 3 or 4 can be executed, whether the FP parameter No.8
(popup screen erasure function by PMC signals) is set or not.
• Setting and reading of sub screen number by the processing division 4 or 5 can be executed, whether “Sub
screen switching and screen number notification is used” item described in section 2.1 “Setting of property” is
checked or not.
kind, datanum No changes, if processing division (type argument) is 0 to 4. Prepare the area described below, according as
specified values for both arguments.
If processing division is 5, specify 0 for both arguments.
PMC address specified by kind and datanum arguments. (In case of PMC area)
+0 +4 +6 +20 +22
PMC address ...
(4bytes) (2bytes) (2bytes) (2bytes) (2bytes)
Screen Main screen number 1st 2nd 9th 10th
composition or sub screen sub screen ... sub screen sub screen
specified area CNC screen number number number number number
Variable # +0 +1 +2 ... +9 +10
Variable number specified by kind and datanum arguments. (In case of macro variables
or P code variables)
FANUC PICTURE
Title Automatic screen call function of a child screen
Specification
Draw
No. A-94727E
© MyFANUC DFC28D47B84B444ABD0C5101678A3C57
7169FAsCRSW5XtOESjqvA4edqQ4dJVvxMQG+noYaZEFsuJhoC+2wd68VWEg==
FANUC PICTURE
Title Automatic screen call function of a child screen
Specification
Draw
No. A-94727E
© MyFANUC DFC28D47B84B444ABD0C5101678A3C57