Description
When you execute this function, change to 'EDIT' mode.
The format of the read PMC parameter is shown as follows.
In case of SB5/SB6:
%; | |
N60xxx Pnnnnn; | Timer(T) |
: | |
N61xxx Pnnnnn; | Counter(C) |
: | |
N62xxx Pnnnnn; | Keep relay(K) |
: | |
N63xxx Pnnnnn; | Data table control(D) of data |
: | |
N64xxx Pnnnnn; | Data(D) of data |
: | |
%; |
In case of SB7:
%; | |
(PMC=SB7,MSID=0); | Header |
N60xxx Pnnnnn; | Timer(T) |
: | |
N61xxx Pnnnnn; | Counter(C) |
: | |
N62xxx Pnnnnn; | Keep relay(K) |
: | |
N63xxx Pnnnnn; | Data table control(D) of data |
: | |
N64xxx Pnnnnn; | Data(D) of data |
: | |
N69xxx Pnnnnn; | Extended memory(E) |
: | |
%; |
In case of PMC for 30i/31i/32i:
%; | |
(PMC=30I-A,MSID=1); | Header |
N60xxxx Pnnnnn; | Timer(T) |
: | |
N61xxxx Pnnnnn; | Counter(C) |
: | |
N62xxxx Pnnnnn; | Keep relay(K) |
: | |
N63xxxx Pnnnnn; | Data table control(D) of data |
: | |
N64xxxx Pnnnnn; | Data(D) of data |
: | |
N69xxxx Pnnnnn; | Extended memory(E) |
: | |
%; |
In case of 31i/32i, the header information is as follows.
31i | : | (PMC=31I-A,MSID=1); |
32i | : | (PMC=32I-A,MSID=1); |
The header information is as follows by the unit type of PMC.
1st PMC | : | (PMC=30I-A,MSID=1); |
2nd PMC | : | (PMC=30I-A,MSID=2); |
3rd PMC | : | (PMC=30I-A,MSID=3); |
Dual-check safety PMC | : | (PMC=30I-A,MSID=9); |
* ";" shows EOB(=0x0a).
When the EOB data cannot be read by specified *length, data to immediately before is read.
Moreover, when also one block of the PMC parameter cannot be read, EW_LENGTH error occurs.
Universal Fanuc Driver
Fanuc Focas Library CD
Declaration
Arguments : HSSB
Specify the library handle.
See "Library handle" for details.
When the function is normal return (EW_OK), the function returns the length of the character which was actually read.
When the size of the area specified with this pointer is smaller than the size specified by *length, the operation of this function is not guaranteed.
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 |
---|---|
(-2) |
All PMC parameter already was uploaded. |
(1) |
|
(2) |
The value of 0 or less was specified for read size(*length). |
(11) |
The PMC unit type was changed. |
(6) |
|
(12) |
CNC mode is not EDIT mode. |
As for the other return codes or the details, see "Return status of Data window function"
CNC option
For HSSB connection,
CNC parameter
This function is not related to CNC parameter.
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.
See Also
pmc_rdprmstart pmc_rdprmend pmc_wrprmstart pmc_wrpmcparam pmc_wrprmend