Description
Reads the output signal image of software operator's panel.
Universal Fanuc Driver
Fanuc Focas Library CD
Declaration
Arguments
Specify the library handle. See "Library handle" for details.
Specify the data select flag.
bit 0 | : | Mode signal |
bit 1 | : | Manual handle feed axis selection signal |
bit 2 | : | Manual handle feed travel distance selection signal |
bit 3 | : | Rapid traverse override signal |
bit 4 | : | Manual feedrate override signal |
bit 5 | : | Feedrate override signal |
bit 6 | : | Sppindle override signal (only Series 15i) |
bit 6 | : | (Not used) |
bit 7 | : | Optional block skip signal |
bit 8 | : | Single block signal |
bit 9 | : | Machine lock signal |
bit 10 | : | Dry run signal |
bit 11 | : | Memory protection signal |
bit 12 | : | Automatic operation halt signal |
bit 13 | : | (Not used) |
bit 14 | : | (Not used) |
bit 15 | : | (Not used) |
Pointer to the IODBSGNL structure including the output signal image of software operator's panel.
The IODBSGNL structure is as follows.
Series 15/15i
typedef struct iodbsgnl {
short datano; /* (Not used) */
short type; /* Data select flag */
short mode; /* Mode signal */
short hndl_ax; /* Manual handle feed axis selection signal */
short hndl_mv; /* Manual handle feed travel distance selection signal */
short rpd_ovrd; /* Rapid traverse override signal */
short jog_ovrd; /* Manual feedrate override signal*/
short feed_ovrd; /* Feedrate override signal */
short spdl_ovrd; /* Spindle override signal */
short blck_del; /* Optional block skip signal(0/1)*/
short sngl_blck; /* Single block signal(0/1) */
short machn_lock; /* Machine lock signal(0/1) */
short dry_run; /* Dry run signal(0/1) */
short mem_prtct; /* Memory protection signal(0/1) */
short feed_hold; /* Automatic operation halt signal(0/1) */
short manual_rpd; /* (Not used) */
short dummy[2]; /* (Not used) */
} IODBSGNL ;
Series 16/18/21, 16i/18i/21i, 0i, 30i, Power Mate i, PMi-A
typedef struct iodbsgnl {
short datano; /* (Not used) */
short type; /* Data select flag */
short mode; /* Mode signal */
short hndl_ax; /* Manual handle feed axis selection signal */
short hndl_mv; /* Manual handle feed travel distance selection signal */
short rpd_ovrd; /* Rapid traverse override signal */
short jog_ovrd; /* Manual feedrate override signal */
short feed_ovrd; /* Feedrate override signal */
short spdl_ovrd; /* (Not used) */
short blck_del; /* Optional block skip signal(0/1) */
short sngl_blck; /* Single block signal(0/1) */
short machn_lock; /* Machine lock signal(0/1) */
short dry_run; /* Dry run signal(0/1) */
short mem_prtct; /* Memory protection signal(0/1) */
short feed_hold; /* Automatic operation halt signal(0/1) */
} IODBSGNL ;
- datano
- Not used
- type
- Data selection flag is stored.
- mode
- Mode signal is stored.
- Series 15/15i
0 : MDI 1 : MEM 2 : EDIT 3 : HND 4 : JOG 5 : REF 6 : DNC 7 : INC - Series 16/18/21, 16i/18i/21i, 0i, 30i, Power Mate i, PMi-A
0 : MDI 1 : MEM 2 : EDIT 3 : HNDL or INC 4 : JOG 5 : REF - hndl_ax
- Manual handle feed axis selection signal is stored.
0 : HX 1 : HY 2 : HZ 3 : H4 - hndl_mv
- Manual handle feed travel distance selection signal is stored.
0 : ×1 1 : ×10 2 : ×100 - rpd_ovrd
- Rapid traverse override signal is stored.
0 : 100% 1 : 50% 2 : 25% 3 : F0 - jog_ovrd
- Manual feedrate override signal is stored.
0 : 0% 10 : 2.0% 20 : 52.0% 1 : 0.1% 11 : 2.7% 21 : 72.0% 2 : 0.14% 12 : 3.7% 22 : 100% 3 : 0.2% 13 : 5.2% 23 : 140% 4 : 0.27% 14 : 7.2% 24 : 200% 5 : 0.37% 15 : 10.0% 6 : 0.52% 16 : 14.0% 7 : 0.72% 17 : 20.0% 8 : 1.0% 18 : 27.0% 9 : 1.4% 19 : 37.0% - feed_ovrd
- Feedrate override signal is stored.
0 : 0% 10 : 100% 20 : 200% 1 : 10% 11 : 110% 2 : 20% 12 : 120% 3 : 30% 13 : 130% 4 : 40% 14 : 140% 5 : 50% 15 : 150% 6 : 60% 16 : 160% 7 : 70% 17 : 170% 8 : 80% 18 : 180% 9 : 90% 19 : 190% - spdl_ovrd
- Spindle override signal is stored. (only Series 15i)
0 : 0% 10 : 100% 20 : 200% 1 : 10% 11 : 110% 2 : 20% 12 : 120% 3 : 30% 13 : 130% 4 : 40% 14 : 140% 5 : 50% 15 : 150% 6 : 60% 16 : 160% 7 : 70% 17 : 170% 8 : 80% 18 : 180% 9 : 90% 19 : 190% - Not used
- blck_del
- Optional block skip signal (0/1) is stored.
- sngl_blck
- Single block signal (0/1) is stored.
- machn_lock
- Machine lock signal (0/1) is stored.
- dry_run
- Dry run signal (0/1) is stored.
- mem_prtct
- Memory protection signal (0/1) is stored.
- feed_hold
- Automatic operation halt signal (0/1) is stored.
- manual_rpd
- Not used.
Return
EW_OK is returned on successful completion, otherwise any value except EW_OK is returned.
The major error codes are as follows.
Return code | Meaning/Error handling |
---|---|
(6) |
The software operator's panel function and the extended driver/library function are necessary. |
As for the other return codes or the details, see "Return status of Data window function"
CNC option
This function need the following CNC option.
For HSSB connection,
For Ethernet connection,
The Ethernet function and the extended driver/library function are necessary. However, in case of Series 16i/18i/21i-B, 0i-B/C/D/F, Series 30i and PMi-A, the required CNC option is as follows. When Embedded Ethernet is used,above two optional functions are not required.
When Ethernet board is used,
- only Ethernet function is required.
CNC parameter
This function is not related to CNC parameter.
CNC mode
This function can be used in any CNC mode.
Available CNC
0i-A | 0i-B/C(Note) | 0i-D | 0i-F | 15 | 15i | 16 | 18 | 21 | 16i-A | 18i-A | 21i-A | 16i-B | 18i-B | 21i-B | 30i-A | 30i-B | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
M (Machining) | |||||||||||||||||
T (Turning) | - | ||||||||||||||||
LC (Loader) | - | - | - | - | - | - | - | - |
0i-D | 0i-F | 16i | 18i | 30i-A | 30i-B | |
---|---|---|---|---|---|---|
P (Punch press) | - | |||||
L (Laser) | - | - | - | - | ||
W (Wire) | - | - |
Power Mate i-D | |
Power Mate i-H | |
Power Motion i-A | O |
"O" | : | Both Ethernet and HSSB | |
"E" | : | Ethernet | |
"H" | : | HSSB | |
"X" | : | Cannot be used | |
"-" | : | None |
Note) 0i-C does not support the HSSB function.
See Also
cnc_wropnlsgnl cnc_rdopnlgnrl cnc_wropnlgnrl cnc_rdopnlgsname cnc_wropnlgsname