Description
Read specified servo id information from FROM.
Each information is stored in member of the ODBCSVID2 structure.
Universal Fanuc Driver
Fanuc Focas Library CD
Declaration
Arguments
Specify the library handle.See "Library handle" for details.
Specify the controlled axis number of reading servo ID information.
Specify the pointer to a variable of ODBCSVID2 structure for setting servo ID information. The details of members of ODBCSVID2 structure are as follows. "NULL ('\0')" is added to the end of character strings.
typedef struct {
char mt_spc[20] ; /* Servo motor specification */
char mt_srn[10] ; /* Servo motor serial number */
char plc_spc[22] ; /* Pulse coder specification */
char plc_srn[9] ; /* Pulse coder serial number */
char svm_spc[22] ; /* SV specification */
char svm_srn[12] ; /* SV serial number */
char psm_spc[22] ; /* PS specification */
char psm_srn[12] ; /* PS serial number */
char svs_see[9] ; /* SV software series edition */
char pss_see[9] ; /* PS software series edition */
char pm1_spc[22] ; /* Separator 1 specification */
char pm1_srn[9] ; /* Separator 1 serial number */
char pm2_spc[22] ; /* Separator 2 specification */
char pm2_srn[9] ; /* Separator 2 serial number */
} ODBCSVID2 ;
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 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 | X |
"O" | : | Both Ethernet and HSSB | |
"E" | : | Ethernet | |
"H" | : | HSSB | |
"X" | : | Cannot be used | |
"-" | : | None |
Note) 0i-C does not support the HSSB function.