Reads the SRAM variable area for C language executor specified by "offset", "length".
When this function accesses this area, exclusive control with the C language executor side is not done.
Therefore, it is necessary to take mediation between the application of FOCAS1/2 and the application of C language executor.
Universal Fanuc Driver
Fanuc Focas Library CD
Specify the library handle. See "Library handle" for details.
Specify the start address of SRAM variable area. The top of the area is indicated by '0'.
Pointer to the data storage area.
Pointer to the data length to be read.
Actual data length being read is stored after this function call.
Maximum data length which can be read at a time is the size acquired in the cnc_cexesramsize function.
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|
The user application is not built into CNC.
The C language executor library does not support this function.
The value of 0 or less was specified.
A negative value was specified.
The value which exceeded the maximum value was specified.
The C language executor 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"
This function need the following CNC option.
And this function is related to 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-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.
The Ethernet function and the extended driver/library function are necessary.
However, in case of Series 16i/18i/21i-B, 0i-D/F, Series 30i and PMi-A the required CNC option is as follows.
When Embedded Ethernet is used,
When Ethernet board is used,
- only Ethernet function is required.
This function is related to the following CNC parameter.
See the manual of CNC parameter for details.
This function can be used in any CNC mode.
|P (Punch press)||-|
|Power Mate i-D|
|Power Mate i-H|
|Power Motion i-A||O|
|"O"||:||Both Ethernet and HSSB|
|"X"||:||Cannot be used|
Note) 0i-C does not support the HSSB function.