Description
Reads system information such as distinction of Machining(M) or Turning(T), number of path and number of the controlled axes.
Use this function to confirm compatibility of CNC's system software and PMC's software or to get the number of controllable axes before reading axis coordinate data such as absolute, machine position.
Universal Fanuc Driver
Fanuc Focas Library CD
Declaration
Arguments
Specify the library handle. See "Library handle" for details.
typedef struct odbsysex {
short max_axis; /* maximum controlled axes */
short max_spdl; /* maximum spundle number */
short max_path; /* maximum path number */
short max_mchn; /* maximum machining group number */
short ctrl_axis; /* controlled axes number */
short ctrl_srvo; /* servo axis number */
short ctrl_spdl; /* spindle number */
short ctrl_path; /* path number */
short ctrl_mchn; /* number of control machines */
short reserved[3];
struct {
short system; /* kind of system */
short group; /* kind of system group */
short attrib; /* path attribute */
short ctrl_axis; /* control axes per path */
short ctrl_srvo; /* servo axis number per path */
short ctrl_spdl; /* spindle number per path */
short mchn_no; /* machine group number */
short reserved;
} path[MAX_PATH];
} ODBSYSEX;
- max_axis
- Maximum controlled axes number per all CNC system.
- max_spdl
- Maximum spindle number per all CNC system.
- max_path
- Maximum path number per all CNC system.
- max_mchn
- Maximum machining group number per all CNC system.
- ctrl_axis
- Controlled axes number per all CNC system.
- ctrl_srvo
- Servo axis number per all CNC system.
* This data is same as ctrl_axis. - ctrl_spdl
- Spindle number per all CNC system.
- ctrl_path
- Path number.
- ctrl_mchn
- Machine group number.
- path
- Information in each system is stored in the array of number of max_path.
- system
- Kind of system
0x0000 : None 0x204D : (= ' M') Machining 0x2054 : (= ' T') Turning 0x2057 : (= ' W') Wirecut - group
- Kind of system group
0 : None 1 : Group of machining 2 : Group of turning - attrib
- Path attribute
0 : CNC 1 : Loader - ctrl_axis
- Control axes per path
- ctrl_srvo
- Servo axis number per path
* This data is same as ctrl_axis. - ctrl_spdl
- Spindle number per path
- mchn_no
- Machine group number
Return
EW_OK is returned on successful completion, otherwise any value except EW_OK is returned.
As for the details, see "Return status of Data window function"
CNC option
For HSSB connection,
For Ethernet connection,
The Ethernet function and the extended driver/library function are necessary. However, in case of Series 0i-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