Description
Reads the specified node information of the HSSB.
Universal Fanuc Driver
Fanuc Focas Library CD
Declaration
Arguments
Specify the node number. (0,..,<maximum node number>)
Maximum node number is 'the number of node - 1'.
(The number of node is got by using cnc_rdnodenum function.)
Pointer to the ODBNODE structure including the node information.
The ODBNODE structure is as follows.
typedef struct odbnode {
long node_no; /* Node number */
long io_base; /* Base address of I/O port */
long status; /* Status of device installation */
long cnc_type; /* Type of CNC */
char node_name[20];/* Node name */
} ODBNODE;
- node_no
- Specified node number is set.
- io_base
- Base address of I/O port of specified node is set.
- status
- Status of device installation of specified node is set.
- 0 : Not installed
- 1 : Installed
- cnc_type
- Type of CNC is set.
- 1 : Series 16/18/21, 16i/18i/21i
- 2 : Series 15
- 3 : Power Mate
- 4 : Power Mate i
- 5 : Series 16i/18i-W
- 6 : Series 15i
- 7 : Series 0i-A
- 8 : Series 0i-B
- 9 : Series 30i/31i/32i, Series 0i-D/F, PMi-A
- node_name[20]
- Node name is set.
- Node name is up to 20 characters including 'NULL'.
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 |
---|---|
(-3) |
The device driver for HSSB multi-connection is not installed. |
(3) |
As for the other return codes or the details, see "Return status of Data window function"
CNC option
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 | H |
"O" | : | Both Ethernet and HSSB | |
"E" | : | Ethernet | |
"H" | : | HSSB | |
"X" | : | Cannot be used | |
"-" | : | None |
Note) 0i-C does not support the HSSB function.