0% found this document useful (0 votes)
29 views

FANUC PICTURE - Automatic Screen Call Function of A Child Screen - Specification

Uploaded by

Melih Yılmaz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views

FANUC PICTURE - Automatic Screen Call Function of A Child Screen - Specification

Uploaded by

Melih Yılmaz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

7169FAsCRSW5XtOESjqvA4edqQ4dJVvxMQG+noYaZEFsuJhoC+2wd68VWEg==

FANUC PICTURE

Automatic screen call function of a child screen

Specification

Copyright © 2013 FANUC CORPORATION

FANUC PICTURE
Title Automatic screen call function of a child screen
Specification

Draw
No. A-94727E

Ed. Date Design Description


FANUC CORPORATION 1/7
Date 2013.6.20 Desig. Apprv.

© 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.

Applied CNC models:


z Series 30i /31i /32i /35i
z Power Motion i-A
z Series 0i-D

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”

2 Automatic screen call function based on the


PMC signals
2.1 Setting of property
The following item is added to “Automatic screen call setting” tab of “Detail Setting” dialog in “Making Memory card file” dialog.

Sub screen switching and screen number notification is used:


Check this item when enabling to use sub screens in the following functions.
(1) Automatic screen call function based on the PMC signals
(2) Screen number notification 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

Ed. Date Design Description


FANUC CORPORATION 2/7
Date 2013.6.20 Desig. Apprv.

© 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.

2.2 PMC area when using sub screens

2.2.1 Structure of screen composition specified area


When using sub screens in the automatic screen call function based on the PMC signals, prepare continuous 22 bytes of PMC area,
specify the top of PMC address of the area for “Display Number Signal Area” property.
Set a combination of the main screen number and sub screen numbers to display into this area (Screen composition specified area,
shown below). Sub screen numbers must be left-justified in the following figure.
After that, the main screen and sub screens to display can be switched by inverting the level of request signal for automatic screen call
function as same as before.

Top of PMC address specified by the above-mentioned property.

+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

Ed. Date Design Description


FANUC CORPORATION 3/7
Date 2013.6.20 Desig. Apprv.

© 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.

For example, therefore, the above-mentioned error message is displayed in the


Notes case below:
- The sub screen number of A21 structured as 2nd order was specified for
the 1st sub screen number area.
- The sub screen number of B11 which belongs to the screen structure of
other main screen was specified for the 1st 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

Ed. Date Design Description


FANUC CORPORATION 4/7
Date 2013.6.20 Desig. Apprv.

© MyFANUC DFC28D47B84B444ABD0C5101678A3C57
7169FAsCRSW5XtOESjqvA4edqQ4dJVvxMQG+noYaZEFsuJhoC+2wd68VWEg==

2.2.2 Structure of screen number notification area


When using sub screens in the screen number notification function, prepare continuous 22 bytes of PMC area, specify the top of PMC
address of the area for “Signal Area” property of “The screen number notification is used”.
A combination of the main screen number and sub screen numbers being displayed is notified into this area (Screen number
notification area, shown below). Sub screen numbers are left-justified in the following figure.

Top of PMC address specified by the above-mentioned property.

+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

Ed. Date Design Description


FANUC CORPORATION 5/7
Date 2013.6.20 Desig. Apprv.

© 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.

The area which should be prepared, if processing division is 0 to 2:


No changes .

The area which should be prepared, if processing division is 3:


Prepare 4 bytes of PMC area, one macro variable or P code variable, according as kind argument. Specify PMC
address or variable number for datanum argument.
As well as processing division 0, specify the screen number to switch for this area.

The area which should be prepared, if processing division is 4:


Prepare continuous 24 bytes of PMC area, 11 macro variables or P code variables, according as kind argument.
Specify the top of PMC address or variable number for datanum argument.
Set a combination of the main screen number and sub screen numbers to display into this area (Screen composition
specified area, shown below). Sub screen numbers must be left-justified in the following figure.
For details of the screen composition specified area, refer to sub-section 2.2.1 “Structure of screen composition
specified area”.

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

Ed. Date Design Description


FANUC CORPORATION 6/7
Date 2013.6.20 Desig. Apprv.

© MyFANUC DFC28D47B84B444ABD0C5101678A3C57
7169FAsCRSW5XtOESjqvA4edqQ4dJVvxMQG+noYaZEFsuJhoC+2wd68VWEg==

default No changes, if processing division (type argument) is 0 to 2.


If processing division is 3, specify default screen number as well as processing division 0.
If processing division is 4, specify 0.
If processing division is 5, specify the following number to read the screen number displayed.
(0: Main screen number, or 1 to 10: 1st through10th sub screen number)

pmc, address No changes.

FANUC PICTURE
Title Automatic screen call function of a child screen
Specification

Draw
No. A-94727E

Ed. Date Design Description


FANUC CORPORATION 7/7
Date 2013.6.20 Desig. Apprv.

© MyFANUC DFC28D47B84B444ABD0C5101678A3C57

You might also like