Reads the series/version of CNC system software.
These information are stored in each member of ODBSYSS3.
This function can read the series/version information of the system software that can be used on the system.
There is no data depends on the path.
MTConnect Fanuc Adapter
#include "fwlib32.h" or "fwlib64.h"FWLIBAPI short WINAPI cnc_rdsyssoft3(unsigned short FlibHndl, short s_id, short *read_num, short *all_num, ODBSYSS3 *syssoft3);
Arguments
FlibHndl
[ in ]
Specify the library handle. See "Library handle" for details.
s_id
[ in ]
Specify starting ID of series/version information that you want to read.
This function gathers IDs from the specified one to larger ones.
When you want to read all series/version information, first specify as "s_id = 0", then repeat the reading by specifying as s_id = (last acquired s_id) + 1"
read_num
[ in/out ]
Specify the pointer for the number of software information to be read.
This function returns the number of data that was read actually.
Valid data range is 1,...,40.
When no data is read, "read_num = 0" is returned.
all_num
[ out ]
Specify the pointer for the number of all software information.
syssoft3
[ out ]
Pointer to the ODBSYSS3 structure for the data of the series/version of CNC system software.
The number of array must be required so as to store the 'read_num'.
The ODBSYSS3 structure is as follows.
typedef struct odbsyss3 {
short soft_id ; /* Software ID */
char soft_series[5] ; /* Software series */
char soft_edition[5] ; /* Software version */
} ODBSYSS3 ;
soft_id
Software ID
Pointer to the ODBSYSS3 structure for the data of the series/version of CNC system software.
The array of this structure that is specified by (*read_num) is required.
- FS30i/31i-32i-A, 0i-D
0101H
:
CNC basic software
0102H
:
CNC option software A1
0103H
:
CNC option software A2
0104H
:
CNC option software A3
0111H
:
CNC language display ROM English (Basic)
0112H
:
CNC language display ROM Japanese
0113H
:
CNC language display ROM German
0114H
:
CNC language display ROM French
0115H
:
CNC language display ROM Traditional Chinese
0116H
:
CNC language display ROM Italian
0117H
:
CNC language display ROM Korean
0118H
:
CNC language display ROM Spanish
0119H
:
CNC language display ROM Dutch
011AH
:
CNC language display ROM Danish
011BH
:
CNC language display ROM Portuguese
011CH
:
CNC language display ROM Polish
011DH
:
CNC language display ROM Hungarian
011EH
:
CNC language display ROM Swedish
011FH
:
CNC language display ROM Czech
0120H
:
CNC language display ROM Simplified Chinese
0121H
:
CNC language display ROM Russian
0122H
:
CNC language display ROM Turkish
0123H
:
CNC option software A21
0124H
:
CNC option software A22
0141H
:
reserve
0151H
:
BOOT software
0201H
:
PMC system software 1
0211H
:
PMC ladder 1 (first ladder)
0212H
:
PMC ladder 2 (second ladder)
0213H
:
PMC ladder 3 (third ladder)
0214H
:
PMC ladder 4 (ladder for DUAL CHECK)
0221H
:
C language board system software
0222H
:
C language board user software
0301H
:
Servo software 1
0302H
:
Servo software 2
0303H
:
Servo software 3
0304H
:
Servo software 4
0305H
:
Servo software 5
0306H
:
Servo software 6
0307H
:
Servo software 7
0308H
:
Servo software 8
0309H
:
Servo software 9
030AH
:
Servo software 10
0501H
:
1st spindle software
0502H
:
2nd spindle software
0503H
:
3rd spindle software
0504H
:
4th spindle software
0505H
:
5th spindle software
0506H
:
6th spindle software
0507H
:
7th spindle software
0508H
:
8th spindle software
0601H
:
Graphic software 1
0602H
:
Graphic software 2
0603H
:
Graphic software 3
0604H
:
Graphic software 4 (font data)
0701H
:
Macro executor 1
0702H
:
Macro executor 2
0703H
:
Macro executor 3
0704H
:
Macro executor 4
0705H
:
Macro executor 5
0706H
:
Macro executor 6
0707H
:
Macro executor 7
0708H
:
Macro executor 8
0709H
:
Macro executor 9
070AH
:
Macro executor 10
070BH
:
Macro executor 11
070CH
:
Macro executor 12
070DH
:
Macro executor 13
070EH
:
Macro executor 14
070FH
:
Macro executor 15
0710H
:
Macro executor 16
0711H
:
Macro executor 17
0712H
:
Macro executor 18
0713H
:
Macro executor 19
0714H
:
Macro executor 20
075AH
:
Manual Guide i (Macro executor for Milling system)
075BH
:
Manual Guide i (Macro executor for Lathe system)
0801H
:
C language executor library
0802H
:
C language executor application
0808H
:
FANUC Auto HMI/T
0809H
:
FANUC Auto HMI/T
0811H
:
Manual Guide i library
0812H
:
Manual Guide i application
0820H
:
C language executor data
0821H
:
C language executor data
0822H
:
C language executor data
0823H
:
C language executor data
0824H
:
C language executor data
0825H
:
C language executor data
0826H
:
C language executor data
0827H
:
C language executor data
0828H
:
C language executor data
0829H
:
C language executor data
0830H
:
Manual Guide i data
0831H
:
Manual Guide i data
0832H
:
Manual Guide i data
0833H
:
Manual Guide i data
0834H
:
Manual Guide i data
0835H
:
Manual Guide i data
0836H
:
Manual Guide i data
0837H
:
Manual Guide i data
0838H
:
Manual Guide i data
0839H
:
Manual Guide i data
0901H
:
Network management NET
0911H
:
Embedded Ethernet
0912H
:
Ethernet display function
0921H
:
Profibus 1
0922H
:
Profibus 2
0923H
:
Device-net 1
0924H
:
Device-net 2
0925H
:
FL-net 1
0926H
:
FL-net 2
0927H
:
Profibus 3
0929H
:
FL-net/Ethernet
092AH
:
CC-Link
0931H
:
Data server
0A01H
:
Customer's board Syatem
0A02H
:
Customer's board User
- 0i-F, 30i/31i/32i/35i-B, PMi-A
0101H
:
CNC system control software 1
0102H
:
CNC system control software 2
0103H
:
CNC system control software 3
0104H
:
CNC system control software 4
0111H
:
CNC language display ROM 1
0112H
:
CNC language display ROM 2
0113H
:
CNC language display ROM 3
0114H
:
CNC language display ROM 4
0115H
:
CNC language display ROM 5
0141H
:
reserve
0151H
:
BOOT software
0201H
:
PMC system software 1
0211H
:
PMC ladder 1 (first ladder)
0212H
:
PMC ladder 2 (second ladder)
0213H
:
PMC ladder 3 (third ladder)
0214H
:
PMC ladder 4 (fourth ladder)
0215H
:
PMC ladder 5 (fifth ladder)
0216H
:
PMC ladder DSC (ladder for DUAL CHECK)
0221H
:
PMC1 language display ROM
0222H
:
PMC2 language display ROM
0223H
:
PMC3 language display ROM
0224H
:
PMC4 language display ROM
0225H
:
PMC5 language display ROM
0231H
:
I/O Linki layout data
0301H
:
Servo software 1
0302H
:
Servo software 2
0303H
:
Servo software 3
0304H
:
Servo software 4
0305H
:
Servo software 5
0306H
:
Servo software 6
0307H
:
Servo software 7
0308H
:
Servo software 8
0309H
:
Servo software 9
030aH
:
Servo software 10
0501H
:
1st spindle software
0502H
:
2nd spindle software
0503H
:
3rd spindle software
0504H
:
4th spindle software
0505H
:
5th spindle software
0506H
:
6th spindle software
0507H
:
7th spindle software
0508H
:
8th spindle software
0601H
:
Graphic software 1
0602H
:
Graphic software 2
0603H
:
Graphic software 3
0604H
:
Graphic software 4 (font data)
0701H
:
Manual Guide i library
0702H
:
Manual Guide i application
0703H
:
Manual Guide i (Macro executor for Milling system)
0704H
:
Manual Guide i (Macro executor for Lathe system)
0710H
:
Manual Guide i user data (CEX0DATU)
0711H
:
Manual Guide i user data (CEX1DATU)
0712H
:
Manual Guide i user data (CEX2DATU)
0713H
:
Manual Guide i user data (CEX3DATU)
0714H
:
Manual Guide i user data (CEX4DATU)
0715H
:
Manual Guide i user data (CEX5DATU)
0716H
:
Manual Guide i user data (CEX6DATU)
0717H
:
Manual Guide i user data (CEX7DATU)
0718H
:
Manual Guide i user data (CEX8DATU)
0719H
:
Manual Guide i user data (CEX9DATU)
0801H
:
Macro executor 1
0802H
:
Macro executor 2
0803H
:
Macro executor 3
0804H
:
Macro executor 4
0805H
:
Macro executor 5
0806H
:
Macro executor 6
0807H
:
Macro executor 7
0808H
:
Macro executor 8
0809H
:
Macro executor 9
080AH
:
Macro executor 10
080BH
:
Macro executor 11
080CH
:
Macro executor 12
080DH
:
Macro executor 13
080EH
:
Macro executor 14
080FH
:
Macro executor 15
0810H
:
Macro executor 16
0811H
:
Macro executor 17
0812H
:
Macro executor 18
0813H
:
Macro executor 19
0814H
:
Macro executor 20
0901H
:
C language executor library
0902H
:
C language executor application
0908H
:
FANUC Auto HMI/T
0909H
:
FANUC Auto HMI/T
0920H
:
C language executor data
0921H
:
C language executor data
0922H
:
C language executor data
0923H
:
C language executor data
0924H
:
C language executor data
0925H
:
C language executor data
0926H
:
C language executor data
0927H
:
C language executor data
0928H
:
C language executor data
0929H
:
C language executor data
0A01H
:
Network management NET
0A11H
:
Embedded Ethernet
0A12H
:
Ethernet display function
0A18H
:
USB function
0A21H
:
Profibus 1
0A22H
:
Profibus 2
0A23H
:
Device-net 1
0A24H
:
Device-net 2
0A25H
:
FL-net 1
0A26H
:
FL-net 2
0A27H
:
Profibus 3
0A29H
:
FL-net/Ethernet
0A2AH
:
CC-Link
0A31H
:
Data server
0B01H
:
Customer's board Syatem
0B02H
:
Customer's board User
soft_series
Software series
Software series information is stored in ASCII code in order of its position (4 byte + 'NULL').
soft_edition
Software version
Software series information is stored in ASCII code in order of its position (4 byte + 'NULL').
Return
EW_OK is returned on successful completion, otherwise any value except EW_OK is returned.