C.4.11 Writing the Tool Life Management Data (Tool Length Compensation Number 2)
ww w.
cn cc
en ter
.co m
B–61863E/10 C. WINDOW FUNCTION DESCRIPTION
(FS15B PMC–NB/NB2)APPENDIX
887
[Description]
The data is written into the cutter compensation number area specified by the tool group number and tool number.
0 Function code
169
Completion code —
Data length 4
Tool group No.
Tool No.
Cutter compensation No.
(4 byte)
2
4
6
8
10
Set data
14
[Description]
The data is written into the cutter compensation number area specified by the tool group number and tool order number.
0 Function code
170
Completion code —
Data length 4
Tool group No.
Tool order number
Cutter compensation No.
(4 byte)
2
4
6
8
10
Set data
14
C.4.12 Writing the Tool Life Management Data (Cutter Compensation Number 1)
C.4.13 Writing the Tool Life Management Data (Cutter Compensation Number 2)
ww w.
cn cc
en ter
.co m
C. WINDOW FUNCTION DESCRIPTION C. (FS15B PMC–NB/NB2) B–61863E/10APPENDIX
888
[Description]
The data is written into the tool information (status) area specified by the tool group number and tool number.
0 Function code
171
Completion code —
Data length 4
Tool group No.
Tool No.
Tool information (4 byte)
2
4
6
8
10
Set data
14
Tool information 1 : The tool is cataloged. 2 : The tool life has expired. 3 : The tool was skipped.
[Description]
The data is written into the tool information (status) area specified by the tool group number and tool order number.
0 Function code
172
Completion code —
Data length 4
Tool group No.
Tool information (4 byte)
2
4
6
8
10
Set data
14
Tool order number
C.4.14 Writing the Tool Life Management Data (Tool Information 1)
C.4.15 Writing the Tool Life Management Data (Tool Information 2)
ww w.
cn cc
en ter
.co m
B–61863E/10 C. WINDOW FUNCTION DESCRIPTION
(FS15B PMC–NB/NB2)APPENDIX
889
[Description]
A tool number is written into (added to) the area specified by the tool group number and tool order number.
0 Function code
173
Completion code —
Data length 4
Tool group No.
Tool order number
Tool No. (4 byte)
2
4
6
8
10
Set data
14
C.4.16 Writing the Tool Life Management Data (Tool Number)
ww w.
cn cc
en ter
.co m
C. WINDOW FUNCTION DESCRIPTION C. (FS15B PMC–NB/NB2) B–61863E/10APPENDIX
890
[Description]
The tool number is specified and the tool offset data is written.
0 Function code
214
Completion code —
Data length 4
Data format
Tool number
offset data (4 byte)
2
4
6
8
12
Set data
16
Kind of the data to be written The data formCTL1 Tool number
CTL2
Change of Tool number Change of Tool number Pot number Pot number Tool length compensation value Tool length compensation value Cutter compensation value Cutter compensation value Addition of Tool number Addition of Tool number
00 01 10 11 20 21 30 31 40 41
Tool No. Tool display number Tool No. Tool display number Tool No. Tool display number Tool No. Tool display number Tool No. Tool display number
NOTE Please use the bit 4 of NC parameter as 1. When the completion code ”5” is returned, change the format of the window in the SETTING Screen. (REFERENCE : chapter II 4.4 SETTING Screen)
C.4.17 Writing the Tool offset Data According to the Specified Tool Number
ww w.
cn cc
en ter
.co m
B–61863E/10 C. WINDOW FUNCTION DESCRIPTION
(FS15B PMC–NB/NB2)APPENDIX
891
(1) For three axes
[Description]
After the axes for manual handle feed are selected in the manual handle feed mode, the traveling distances (number of pulses) corresponding to three manual pulse generators are written. The set value ranges from –256 to +256.
The specified number of pulses is assumed to be the number of pulses entered from the manual pulse generator. The speed is calculated as follows: (specified number of pulses)� (magnification) � 62.5 (pulses/second) The data in parameters 1413 and 1414 of the CNC is valid for this function.
0 Function code
215
Completion code
Data length 6
Data number 0
Data attribute 0
Superposition move command
(6 byte)
2
4
6
8
10
Set data
16
DATA+0
DATA+2
DATA+4
DATA+6
First manual pulse generator
Second manual pulse generator
Third manual pulse generator
(Note 1) Format of superposition move command
C.4.18 Writing the Superposition Move Command
ww w.
cn cc
en ter
.co m
C. WINDOW FUNCTION DESCRIPTION C. (FS15B PMC–NB/NB2) B–61863E/10APPENDIX
892
(2) For four axes
0
2
4
6
8
18
Set data
Function code 215
Completion code
Data length 8
Axis specification mode
Axis number
Superposition move command
(8 byte)
10
Axis specification mode 7 6 5 4 3 2 1 0
#0 : Mode selection (0: The BMI signal is selected. 1: An axis number is selected.)
Axis number 7 6 5 4 3 2 1 0
CTL+8
CTL+9
P2
P4
P1
P3
CTL+8, #0 to #3: Axis number of the first pulse generator (P1) CTL+8, #4 to #7: Axis number of the second pulse generator (P2) CTL+9, #0 to #3: Axis number of the third pulse generator (P3) CTL+9, #4 to #7: Axis number of the fourth pulse generator (P4)
DATA+0
DATA+2
DATA+4
First manual pulse generator
Second manual pulse generator
Third manual pulse generator
(Note 1) Format of superposition move command
DATA+8 Fourth manual pulse generator
DATA+6
ww w.
cn cc
en ter
.co m
B–61863E/10 C. WINDOW FUNCTION DESCRIPTION
(FS15B PMC–NB/NB2)APPENDIX
893
[Description]
Feedrate writing can be specified only in the feed–per–minute mode. The velocity command is specified with F�10–d. A flag is provided to validate either the command of the PMC or the feedrate of the CNC. After the flag is set, the velocity command specified in the NC is invalidated. To validate the feedrate of the NC, set the flag to 0.
0 Function code
216
Completion code
Data length 6
Data number 0
Data attribute 0
Feedrate (6 byte)
2
4
6
8
10
Set data
16
DATA+0
DATA+2
DATA+4
DATA+6
Feedrate, F
Exponent of feedrate, d
(Note 1) Format of feedrate 7 6 5 4 3 2 1 0
Flag for validating the velocity command : Bit 2 of DATA+0
(0: The NC is valid. 1: The PMC is valid.)
Feedrate, F : DATA+2 and DATA+3 Exponent of feedrate, d : DATA+4 and DATA+5
C.4.19 Writing the Feedrate
ww w.
cn cc
en ter
.co m
D. WINDOW FUNCTION DESCRIPTION (FS16–LA) B–61863E/10APPENDIX
894
D WINDOW FUNCTION DESCRIPTION (FS16–LA)
The following function is added to PMC–CNC window function for FS16–LA.
(1) Transferring a processing condition file in non–volatile memory to data area in CNC memory, and vice versa.
(2) Reading a comment command in a part program.
(3) Reading data commanded to laser oscillator
D.1 OUTLINE
ww w.
cn cc
en ter
.co m
B–61863E/10 D. WINDOW FUNCTION DESCRIPTION
(FS16–LA)APPENDIX
895
(1) Transfer from data area to non–volatile memory. (% low–speed type)
[Contents of data]
The data can be transferred from the data area in CNC to PMC non–volatile memory by PMC–RC application.
Setting the original data set or group in data attribute M.
Setting the written address of non–volatile memory for the offset address from the top address in address N.
Setting the total byte No. of written data set in address L.
Setting the forward structure of data set in data.
And the data can be transferred set or group from data area to non–volatile memory.
[Structure of input data]
Top address + 0
2
4
6
8
10
(Function code) 183
(End Code) —
(No need to set)
(Data length) L
(Address) N
(Data attribute) M
(Data)
L = Set the total byte No. of the data structure for 1 set in non–volatile memory. This data must be set in case of transferring the data group. (No–need to set in case of transferring the set)
The following End Code is output at reading end.
0 : normal end 3 : The incorrect data is set in Address. 4 : The incorrect data is set in Data attribute.
N = Set the forward address by the offset from the top address of non–volatile memory.
M = Set the kind of data set or group to transfer
1–10 : Set of processing data 101–103 : Set of piercing d data 201–205 : Set of edge process data 1000 : Group of processing data 1001 : Group of piercing data 1002 : Group of edge process data
Set the correspondence of 1 set of data item in data area and data item in non–volatile memory by relative address for non–volatile memory.
Structure of data set
D.2 FUNCTION
D.2.1 Transfer Between Data Area and Non–Volatile Memory
ww w.
cn cc
en ter
.co m
D. WINDOW FUNCTION DESCRIPTION (FS16–LA) B–61863E/10APPENDIX
896
(2) Transfer from non–volatile memory to data area (% low–speed type)
[Contents of data]
The data can be transferred from the processing condition file registered in non–volatile memory to the data area in CNC by PMC–RC application.
Setting the forward data set or group in data attribute M.
Setting the original read address for the offset address from non–volatile memory top address in address N.
Setting the total byte No. of original data set in address L.
Setting the original structure of set in data.
And the data of set or group can be transferred from non–volatile memory to data area.
[Structure of input data]
Top address + 0
2
4
6
8
10
(Function code) 184
(End Code) —
(No need to set)
(Data length) L
(Group No.) N
(Data attribute) M
(Data)
L = Set the total byte No. of the data structure for 1 set in non–volatile memory. This data must be set in case of transferring the data group. (No–need to set in case of transferring the set)
The following End Code is output at reading end.
0 : normal end 3 : The incorrect data is set in Address. 4 : The incorrect data is set in Data attribute.
N = Set the original address by the offset from the top address of non–volatile memory.
M = Set the kind of data set or group to transfer
1–10 : Set of processing data 101–103 : Set of piercing d data 201–205 : Set of edge process data 1000 : Group of processing data 1001 : Group of piercing data 1002 : Group of edge process data
Set the correspondence of 1 set of data item in data area and data item in non–volatile memory by relative address for non–volatile memory.
Structure of data setww w.
cn cc
en ter
.co m
B–61863E/10 D. WINDOW FUNCTION DESCRIPTION
(FS16–LA)APPENDIX
897
(3) Data structure of data area
(a) Processing data set
Address Data item Byte No.
0 Feed–rate 4
4 Peak power 2
6 Pulse frequency 2
8 Pulse duty 2
10 Assist gas pres. 2
12 Assist gas select 2
14 Assist gas settling time 2
16 Reference displacement 2
18 Offset amount 4
22 Edge process select 2
24 Start–up process select 2
(b) Piercing data set
Address Data item Byte No.
0 Peak power 2
2 Initial frequency 2
4 Initial duty 2
6 Frequency increment 2
8 Duty increment 2
10 Step time 2
12 Step No. 2
14 Piercing time 4
18 Assist gas pres. 2
20 Assist gas select 2
22 Assist gas settling time 2
24 Reference displacement 2
(c) Edge processing data set
Address Data item Byte No.
0 Judge angle 2
2 Peak power 2
4 Pulse frequency 2
6 Pulse duty 2
8 Piercing time 4
12 Assist gas pres. 2
14 Assist gas select 2
16 Return distance 4
20 Return feed rate 2
22 Return frequency 2
24 Return duty 2
ww w.
cn cc
en ter
.co m
D. WINDOW FUNCTION DESCRIPTION (FS16–LA) B–61863E/10APPENDIX
898
NOTE Example of data set The address in Data is set as follows, for example, in case of the following data structure of processing condition file in non–volatile memory.
Pulse frequency
Pulse duty
Feed–rate
Data
Peak power
Address
0
4
6
8
Assist gas pres.10
Assist gas select12
Assist gas time14
Ref. displacement16
Start–up select24
Offset amount18
Edge select22
Pulse frequency
Pulse duty
Feed–rate
Data
Peak power
Address
0
4
6
8
Focus distance10
Assist gas pres.12
Assist gas select14
Assist gas time16
Pulse type24
Ref. displacement18
Offset amount20
Start–up select28
Edge select26
Data structure of data area The example of data structure for the processing condition file in non–volatile memory
Data item in data area Address Data setting value
Feed–rate Peak power Pulse frequency Pulse duty Assist gas pres. Assist gas select Assist gas time Ref. displacement Offset amount Edge select Start–up select
Top address +10 Top address +12 Top address +14 Top address +16 Top address +18 Top address +20 Top address +22 Top address +24 Top address +26 Top address +28 Top address +30
0 4 6 8 12 14 16 18 20 26 28ww
w. cn
cc en
ter .co
m
B–61863E/10 D. WINDOW FUNCTION DESCRIPTION
(FS16–LA)APPENDIX
899
The data in the parentheses is written in the comment area, if the following M–code is commanded in a part program. This comment can be read from PMC.
Mxxx (* * * * * * *) ;
Less than 24 characters, including alphabet, numeral, decimal–point and +/–
[Contents of data]
Contents of the data can be read for ASCII code.
[Structure of input data]
Top address + 0
2
4
6
8
10
(Function code) 140
(End Code) —
(No need to set)
(Data length) L
(Group No.) —
(Data attribute) —
(Data)
L =Data length of the comments read in. (Added 1 in case of the odd number.)
The following End Code is output at writing end.
0 : normal end 1 : The data length of comment data is over 24
bytes
The read comment data is set.
NOTE 1 The comment is over–written if the next comment is input. 2 M–code number for reading of the comment is set to
parameter number 15350. Setting value is 0 to 999.
D.2.2 Reading of the Comment
ww w.
cn cc
en ter
.co m
D. WINDOW FUNCTION DESCRIPTION (FS16–LA) B–61863E/10APPENDIX
900
(1) Reading the laser command data and laser setting data (�high–speed type)
[Contents of the data]
The laser command data and laser setting data for CNC can be read by PMC–RC application. The data are separated to groups and can be read by the group.
[Structure of input data]
Top address + 0
2
4
6
8
10
(Function code) 186
(End Code) —
(No need to set)
(Data length) L
(Group No.) N
(Data attribute) —
(No need to set)
(Data)
L = Set the byte No. assigned for the group.
The following End Code is output at writing end.
0 : normal end 2 : The incorrect data is set for Data length. 3 : The incorrect data is set for Data No.
N = Set the group No.
D.2.3 Reading and Writing the Laser Command Data and Laser Setting Data
ww w.
cn cc
en ter
.co m
B–61863E/10 D. WINDOW FUNCTION DESCRIPTION
(FS16–LA)APPENDIX
901
(2) Writing the laser command data and laser setting data (�low–speed type)
[Contents of the data]
The data can be written to the laser command data for CNC by PMC–RC application. The data are separated to groups and can be written by the group.
[Structure of input data]
Top address + 0
2
4
6
8
10
(Function code) 187
(End Code) —
(No need to set)
(Data length) L
(Group No.) N
(Data attribute) —
(No need to set)
(Data)
L = Set the byte No. assigned for the group.
The following End Code is output at writing end.
0 : normal end 2 : The incorrect data is set for Data length. 3 : The incorrect data is set for Data No. 5 : The data beyond the allowable range is set
for data command to write.
N = Set the group No.
ww w.
cn cc
en ter
.co m
D. WINDOW FUNCTION DESCRIPTION (FS16–LA) B–61863E/10APPENDIX
902
(3) The data structure of the laser command data and laser setting data
Group No. Address Top add. +
Byte No. for every item
Data length Byte No.
Item
0 10 12
2 2
4 Power control duty const Power control minimum duty
1 10 12 14 16
2 2 2 4
10 Power monitor (Read only) Power offset (Read only) Actual power (Read only) Actual feedrate (Read only)
2 10 2 2 Power input offset coe.
3 10 12
2 2
4 Assist gas select Assist gas flow select
4 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38
2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
30 Assist gas flow–1 pre–time pre–pres wrk–pres aft–time aft–pres
Assist gas flow–2 pre–time pre–pres wrk–pres aft–time aft–pres
Assist gas flow–3 pre–time pre–pres wrk–pres aft–time aft–pres
5 10 12 14
2 2 2
6 Processing peak power Processing pulse frequency Processing pulse duty
6 0 12 14 16
2 2 2 4
10 Piercing peak power Piercing pulse frequency Piercing pulse duty Piercing time
7 10 14 16 18 20 22 24 26 28
4 2 2 2 2 2 2 2 4
22 Feed–rate command Peak power command Pulse frequency command Pulse duty command Assist gas select command Assist gas settling time Assist gas pressure Reference displacement Offset amount
10 10 2 2 Ref. displacement command
ww w.
cn cc
en ter
.co m
B–61863E/10 E. WINDOW FUNCTION DESCRIPTION
(FS16–W)APPENDIX
903
E WINDOW FUNCTION DESCRIPTION (FS16–W)
[Description]
The wire diameter offset value recorded in the CNC can be read.
[Input data structure]
Top address (Function)
13
(Completion) —
(Data length) L
(Number) N
(Attribute) M
(Data area) —
+ 2
+ 4
+ 6
+ 8
+ 10
Offset
0–15
Corner–R
16
Clearance
17
Condition
—
0 0 0 1
[Output data structure]
Top address
(Data area) D
+ 2
+ 4
+ 6
+ 8
+ 10
0–15 16 17 —
0 0 0 1
Offset value Corner–R value Clearance value Actual offset value
+ 14
4 4 4 8
Direction
Offset mode + 16
+ 18
(Function) 13
(Completion) ?
(Data length) L
(Number) N
(Attribute) M
Offset Corner–R Clearance Condition
E.1 READING THE WIRE DIAMETER OFFSET
ww w.
cn cc
en ter
.co m
E. WINDOW FUNCTION DESCRIPTION (FS16–W) B–61863E/10APPENDIX
904
[Data number]
0–15 : Reads the Offset value.
0–16 : Reads the Corner–R value.
0–17 : Reads the Clearance value.
0–— : Reads the condition.
[Data attribute]
0 : Reads the Offset value, Corner–R value or Clearance value.
1 : Reads the condition.
[Contents of data]
a) Unit of Offset, Corner–R, Clearance and actual offset value
Metric system input : 10–3 [mm]
(In case the incremental system is 1/10, output data unit is 10–4 [mm].)
Inch system input : 10–5 [inch]
b) Direction in condition data
0 : Cancel offset (G40)
1 : Wire diameter compensation left (G41)
2 : Wire diameter compensation right (G42)
c) Offset mode in condition data
0 : Offset mode is 0.
1 : Offset mode is 1.
[Completion codes]
0 : The data has been read normally.
3 : Invalid data is specified as the data number.
4 : Invalid data is specified as the data attribute.
ww w.
cn cc
en ter
.co m
B–61863E/10 E. WINDOW FUNCTION DESCRIPTION
(FS16–W)APPENDIX
905
[Description]
The wire diameter offset value can be written into the CNC.
[Input data structure]
Top address
(Data area) D
+ 2
+ 4
+ 6
+ 8
+ 10
0–15 16 17 —
0 0 0 1
Offset value Corner–R value Clearance value 0, 1
+ 12
4 4 4 8
—
+ 14
(Function) 14
(Completion) —
(Data length) L
(Number) N
(Attribute) M
Offset Corner–R Clearance Condition
[Output data structure]
Top address (Function)
14
(Completion) ?
(Data length) L
(Number) N
(Attribute) M
(Data area) D
+ 2
+ 4
+ 6
+ 8
+ 10
E.2 WRITING THE WIRE DIAMETER OFFSET (�LOW–SPEED RESPONSE)
ww w.
cn cc
en ter
.co m
E. WINDOW FUNCTION DESCRIPTION (FS16–W) B–61863E/10APPENDIX
906
[Data number]
0–15 : Writes the Offset value.
0–16 : Writes the Corner–R value.
0–17 : Writes the Clearance value.
0–— : Writes the condition.
[Data attribute]
0 : Writes the Offset value, Corner–R value or Clearance value.
1 : Writes the condition.
[Contents of data]
a) Unit of Offset, Corner–R, Clearance and actual offset value
NOTE Offset, Corner–R, Clearance or Actual offset value is signed binary in 4 bytes. A negative value is represented in 2’s complement.
b) Offset mode in condition data
0 : Offset mode is 0.
1 : Offset mode is 1.
[Completion codes]
0 : The data has been written normally.
2 : Invalid data is specified as the data length.
3 : Invalid data is specified as the data number.
4 : Invalid data is specified as the data attribute.
5 : Invalid data is specified as the data value.
ww w.
cn cc
en ter
.co m
B–61863E/10 E. WINDOW FUNCTION DESCRIPTION
(FS16–W)APPENDIX
907
[Description]
Parameter data in the CNC can be read.
There are four types of parameters in the CNC: Bit parameters having a definite meaning for each bit, byte parameters holding 1–byte data, word parameters holding 2–byte data, and double word parameters holding 4–byte data. Therefore, the length of the read data varies according to the parameter number specified.
Note that bit parameters cannot be read in bit units. The eighth bits (one byte) for a parameter number must be read at a time.
For axis parameters (servo parameters), data for a specific axis can be read, or data for all axes can be read at a time.
Specify pitch error compensation data in data Nos. 11000 to 18255.
Top address (Function)
17
(Completion) —
(Data length) —
(Number) N
(Data) —
+ 2
+ 4
+ 6
+ 8
+ 10
Top address
+ 2
+ 4
+ 6
+ 8
+ 10
(Function) 17
(Completion) ?
(Data length) L
(Number) N
(Attribute) M
[Input data structure] [Output data structure]
(Attribute) M
(Data) —
[Data length]
L = 1 or 1*n : Reads bit or byte type parameter.
2 or 2*n : Reads word type parameter.
4 or 4*n : Reads 2 words type parameter.
(Note: n is the axis number.)
[Data number]
N = (Parameter number)
or (Pitch error data number)+10000
[Data attribute]
M = 0 : Reads the no axis parameter.
1 to n : Reads the specific axis parameter
–1 : Reads the all axes parameter.
(Note: n is the axis number.)
E.3 READING THE PARAMETER (�LOW–SPEED RESPONSE)
ww w.
cn cc
en ter
.co m
E. WINDOW FUNCTION DESCRIPTION (FS16–W) B–61863E/10APPENDIX
908
[Completion code]
0 : Parameter data has been read normally.
2 : Invalid data is specified as the data length.
3 : Invalid data is specified as the data number.
4 : Invalid data is specified as the data attribute.
6 : Option is not provided.
ww w.
cn cc
en ter
.co m
B–61863E/10 E. WINDOW FUNCTION DESCRIPTION
(FS16–W)APPENDIX
909
[Description]
Parameter data in the CNC can be written.
There are four types of parameters in the CNC: Bit parameters having a definite meaning for each bit, byte parameters holding 1–byte data, word parameters holding 2–byte data, and double word parameters holding 4–byte data. Therefore, the length of the written data varies according to the parameter specified.
Note that bit parameters cannot be written in bit unit. The eighth bits (one byte) for the parameter number must be written at a time. This means that when a bit needs to be written, the whole data for the corresponding parameter number shall be read first, then the target bit in the read data shall be written.
For axis parameters (servo parameters), data for a specific axis can be written, or data for all axes can be written at a time.
Specify pitch error compensation data in data Nos. 11000 to 18255.
Some parameters cause a P/S alarm 000 when data is written. (The power must be turned off before continuing operation.)
Top address (Function)
18
(Completion) —
(Data length) L
(Number) N
(Data) Parameter data
+ 2
+ 4
+ 6
+ 8
+ 10
Top address
+ 2
+ 4
+ 6
+ 8
+ 10
(Function) 18
(Completion) ?
(Data length) L
(Number) N
(Attribute) M
[Input data structure] [Output data structure]
(Attribute) M
(Data) D
[Data length]
L = 1 or 1*n : Reads bit or byte type parameter.
2 or 2*n : Reads word type parameter.
4 or 4*n : Reads 2 words type parameter.
(Note: n is the axis number.)
[Data number]
N = (Parameter number)
or (Pitch error data number)+10000
E.4 WRITING THE PARAMETER (�LOW–SPEED RESPONSE)
ww w.
cn cc
en ter
.co m
E. WINDOW FUNCTION DESCRIPTION (FS16–W) B–61863E/10APPENDIX
910
[Data attribute]
M = 0 : Writes the no axis parameter.
1 to n : Writes the specific axis parameter
–1 : Writes the all axes parameter.
(Note: n is the axis number.)
[Completion code]
0 : Parameter data has been written normally.
2 : Invalid data is specified as the data length.
3 : Invalid data is specified as the data number.
4 : Invalid data is specified as the data attribute.
6 : Option is not provided.
ww w.
cn cc
en ter
.co m
B–61863E/10 E. WINDOW FUNCTION DESCRIPTION
(FS16–W)APPENDIX
911
[Types of parameters] In the B908 system, data type of ( ) are used.
No. Length No. Data type No. Data type No. Data type
0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 0010 0011 0012 0013 0014 0015 0016 0017 0018 0019 0020 0021 0022 0023 0024 0025 0026 0027 0028 0029 0030 0031 0032 0033 0034 0035 0036 0037 0038 0039 0040 0041 0042 0043 0044 0045 0046 0047 0048 0049 0050 0051 0052 0053 0054 0055 0056 0057 0058 0059 0060 0061 0062 0063 0064 0065 0066 0067 0068 0069
Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit
Byte Byte Word Word Word Word Byte Word Word Word Word Word Word Word Word Word Word Word
Byte(––) Byte(––)
Byte Byte Byte Byte Byte Byte Byte Byte Word
2words
0070 0071 0072 0073 0074 0075 0076 0077 0078 0079 0080 0081 0082 0083 0084 0085 0086 0087 0088 0089 0090 0091 0092 0093 0094 0095 0096 0097 0098 0099 0100 0101 0102 0103 0104 0105 0106 0107 0108 0109 0110 0111 0112 0113 0114 0115 0116 0117 0118 0119 0120 0121 0122 0123 0124 0125 0126 0127 0128 0129 0130 0131 0132 0133 0134 0135 0136 0137 0138 0139
Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word
2words Word Word Word Word Word Word Word Word Word Word
2words Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte
0140 0141 0142 0143 0144 0145 0146 0147 0148 0149 0150 0151 0152 0153 0154 0155 0156 0157 0158 0159 0160 0161 0162 0163 0164 0165 0166 0167 0168 0169 0170 0171 0172 0173 0174 0175 0176 0177 0178 0179 0180 0181 0182 0183 0184 0185 0186 0187 0188 0189 0190 0191 0192 0193 0194 0195 0196 0197 0198 0199 0200 0201 0202 0203 0204 0205 0206 0207 0208 0209
Byte Byte Byte Byte Byte Byte Word Word Word Word Word Word Word Word Word Word Byte Word Word Word Word Word Word Word
2words Word
2words Word Word Word Word Word Word Word Word Word Word Byte
2W(Byte) 2words
Byte(2W) Byte Byte Byte Byte Byte Byte Byte Word Byte Byte
2words 2words 2words 2words 2words Word
2words Byte
2words Byte word
— — — — — — — —
0210 0211 0212 0213 0214 0215 0216 0217 0218 0219 0220 0221 0222 0223 0224 0225 0226 0227 0228 0229 0230 0231 0232 0233 0234 0235 0236 0237 0238 0239 0240 0241 0242 0243 0244 0245 0246 0247 0248 0249 0250 0251 0252 0253 0254 0255 0256 0257 0258 0259 0260 0261 0262 0263 0264 0265 0266 0267 0268 0269 0270 0271 0272 0273 0274 0275 0276 0277 0278 0279
2W(––) — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —
ww w.
cn cc
en ter
.co m
E. WINDOW FUNCTION DESCRIPTION (FS16–W) B–61863E/10APPENDIX
912
No. Length No. Data type No. Data type No. Data type
0280 0281 0282 0283 0284 0285 0286 0287 0288 0289 0290 0291 0292 0293 0294 0295 0296 0297 0298 0299 0300 0301 0302 0303 0304 0305 0306 0307 0308 0309 0310 0311 0312 0313 0314 0315 0316 0317 0318 0319 0320 0321 0322 0323 0324 0325 0326 0327 0328 0329 0330 0331 0332 0333 0334 0335 0336 0337 0338 0339 0340 0341 0342 0343 0344 0345 0346 0347 0348 0349
— — — — — — — — — — — — — — — — — — — — Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit
Word — — —
Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Word Word
2words 2words Word Word
2words 2words 2words 2words 2words 2words 2words
Byte Word Byte Word Byte
2words 2words
0350 0351 0352 0353 0354 0355 0356 0357 0358 0359 0360 0361 0362 0363 0364 0365 0366 0367 0368 0369 0370 0371 0372 0373 0374 0375 0376 0377 0378 0379 0380 0381 0382 0383 0384 0385 0386 0387 0388 0389 0390 0391 0392 0393 0394 0395 0396 0397 0398 0399 0600 0601 0602 0603 0604 0605 0606 0607 0608 0609 0610 0611 0612 0613 0614 0615 0616 0617 0618 0619
2words Byte Byte Byte Byte Byte Byte Word
— —
Word 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words
— 2words 2words
— — — — — — — — — — — — Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit
Byte Byte Byte Byte
0620 0621 0622 0623 0624 0625 0626 0627 0628 0629 0630 0631 0632 0633 0634 0635 0636 0637 0638 0639 0640 0641 0642 0643 0644 0645 0646 0647 0648 0649 0650 0651 0652 0653 0654 0655 0656 0657 0658 0659 0660 0661 0662 0663 0664 0665 0666 0667 0668 0669 0670 0671 0672 0673 0674 0675 0676 0677 0678 0679 0680 0681 0682 0683 0684 0685 0686 0687 0688 0689
Byte Byte Byte Byte Word Word Word Word Word Word Word Word
2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word
2words 2words 2words 2words 2words 2words 2words 2words Word Word Word Word Word Word Word Word Word Word
0690 0691 0692 0693 0694 0695 0696 0697 0698 0699 0700 0701 0702 0703 0704 0705 0706 0707 0708 0709 0710 0711 0712 0713 0714 0715 0716 0717 0718 0719 0720 0721 0722 0723 0724 0725 0726 0727 0728 0729 0730 0731 0732 0733 0734 0735 0736 0737 0738 0739 0740 0741 0742 0743 0744 0745 0746 0747 0748 0749 0750 0751 0752 0753 0754 0755 0756 0757 0758 0759
Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word
2words 2words 2words 2words 2words 2words 2words 2words Word Word Word
2words 2words
ww w.
cn cc
en ter
.co m
B–61863E/10 E. WINDOW FUNCTION DESCRIPTION
(FS16–W)APPENDIX
913
No. Length No. Data type No. Data type No. Data type
0760 0761 0762 0763 0764 0765 0766 0767 0768 0769 0770 0771 0772 0773 0774 0775 0776 0777 0778 0779 0780 0781 0782 0783 0784 0785 0786 0787 0788 0789 0790 0791 0792 0793 0794 0795 0796 0797 0798 0799 0800 0801 0802 0803 0804 0805 0806 0807 0808 0809
2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words 2words
0810 0811 0812 0813 0814 0815 0816 0817 0818 0819 0820 0821 0822 0823 0824 0825 0826 0827 0828 0829 0830 0831 0832 0833 0834 0835 0836 0837 0838 0839 0840 0841 0842 0843 0844 0845 0846 0847 0848 0849 0850 0851 0852 0853 0854 0855 0856 0857 0858 0859
2words Byte Byte Byte Byte Byte Byte Byte Byte Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word
— Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word
Word(2W) Word(2W) Word(2W) Word(2W) Word(2W) Word(2W) Word(2W) Word(2W)
0860 0861 0862 0863 0864 0865 0866 0867 0868 0869 0870 0871 0872 0873 0874 0875 0876 0877 0878 0879 0880 0881 0882 0883 0884 0885 0886 0887 0888 0889 0890 0891 0892 0893 0894 0895 0896 0897 0898 0899 0900 0901 0902 0903 0904 0905 0906 0907 0908 0909
Word Bit Bit
Byte Byte Byte Byte Byte Byte Byte Byte Byte Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word
––(Word) ––(Bit) ––(Bit) ––(Bit)
— ––(Byte) ––(Byte)
— — — —
0910 0911 0912 0913 0914 0915 0916 0917 0918 0919 0920 0921 0922 0923 0924 0925 0926 0927 0928 0929 0930 0931 0932 0933 0934 0935 0936 0937 0938 0939 0940 0941 0942 0943 0944 0945 0946 0947 0948 0949
— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —
ww w.
cn cc
en ter
.co m
E. WINDOW FUNCTION DESCRIPTION (FS16–W) B–61863E/10APPENDIX
914
[Data contents]
Setting data on the CNC can be read.
Top address (Function code)
19
(Completion code) –
(Data length) –
(Data number) N
(Data area) –
+ 2
+ 4
+ 6
+ 8
+ 10
Top address
+ 2
+ 4
+ 6
+ 8
+ 10
(Function code) 19
(Completion code) ?
(Data length) L
(Data number) Input data
(Data attribute) –
[Input data structure] [Output data structure]
(Data attribute) –
(Data area) Setting data
[Data number]
See the setting data list.
[Completion code]
0 : Read operation was terminated normally.
3 : An incorrect data number was specified.
E.5 READING SETTING DATA
ww w.
cn cc
en ter
.co m
B–61863E/10 E. WINDOW FUNCTION DESCRIPTION
(FS16–W)APPENDIX
915
[Data contents]
Setting data on the CNC can be written.
Top address (Function code)
20
(Completion code) –
(Data length) L
(Data number) N
(Data area) Setting data
+ 2
+ 4
+ 6
+ 8
+ 10
Top address
+ 2
+ 4
+ 6
+ 8
+ 10
(Function code) 20
(Completion code) ?
(Data length) Input data
(Data number) Input data
(Data attribute) –
[Input data structure] [Output data structure]
(Data attribute) –
(Data area) Input data
[Data length]
See the setting data list.
[Data number]
See the setting data list.
[Completion code]
0 : Read operation was terminated normally.
2 : An incorrect data length was specified.
3 : An incorrect data number was specified.
E.6 WRITING SETTING DATA (LOW–SPEED TYPE)
ww w.
cn cc
en ter
.co m
E. WINDOW FUNCTION DESCRIPTION (FS16–W) B–61863E/10APPENDIX
916
Setting Data List
Setting data Screen Data number Data length Bit name
X mirror image Y mirror image Axis switching TV check Output code Input unit Parameter writable Input unit multiplication by 10 times Automatic recovery from power failure Automatic power–off M20/M30 Automatic power–off M00/M10 Automatic power backward movement alarm Automatic power disconnection Input/output device Figure magnification ratio Figure rotation angle
Handy Handy Handy Handy Handy Handy Handy Handy Handy Handy Handy Handy
Handy Handy Handy Handy
1 1 1 1 1 1 1 1 2 3 3 3
3 4 5 6
1 1 1 1 1 1 1 1 1 1 1 1
1 1 4 4
Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7 Bit 3 Bit 0 Bit 1 Bit 2
Bit 3 – – –
Taper machining mode Guide type Program surface position Workpiece thickness Drawing surface position Upper guide position
(Lower guide position) (Vertical position U) (Vertical position V)
Taper Taper Taper Taper Taper Taper Taper Taper Taper
15 16 17 18 19 20 21 22 23
1 1 4 4 4 4 4 4 4
– Bit 0
– – – – – – –
Enable/disable Wire diameter Machining groove width Workpiece thickness Wire deflection Effectiveness of concave Effectiveness of convex Automatic override Enable/disable Differential voltage
PWB PWB PWB PWB PWB PWB PWB
PWB PWB
2 7 8 9 10 11 12
2 13
1 4 4 4 4 4 4
1 2
– – – – – – –
Bit 5 –
Enable/disable Disconnection repair Prepared hole of 0.5 Sump machining Portion to be left uncut Power reduction ratio (setting) Connection position U1 Connection position V1 Connection position Z1 Number of retries (setting) Number of allowable disconnections (setting) Number of retries (current) Number of allowable disconnections (current)
AWF AWF AWF AWF AWF AWF AWF AWF AWF AWF AWF
AWF AWF
2 2 2 2 14 24 26 27 28 40 41
42 43
1 1 1 1 1 1 4 4 4 1 1
1 1
Bit 2 Bit 1 Bit 6 Bit 7
– – – – – – –
– –
WIRE REST WIRE CUTTER REST ( ) REST ( ) REST ( ) REST ( ) REST ( ) REST ( ) REST
LIFE LIFE LIFE LIFE LIFE LIFE LIFE LIFE
30 31 32 33 34 35 36 37
2 2 2 2 2 2 2 2
– – – – – – – –ww
w. cn
cc en
ter .co
m
B–61863E/10 E. WINDOW FUNCTION DESCRIPTION
(FS16–W)APPENDIX
917
Setting Data List
Setting data Bit nameData lengthData numberScreen
OP. BLOCK SKIP /0 OP. BLOCK SKIP /1 OP. BLOCK SKIP /2 OP. BLOCK SKIP /3 OP. BLOCK SKIP /4 OP. BLOCK SKIP /5 OP. BLOCK SKIP /6 OP. BLOCK SKIP /7 OP. BLOCK SKIP /8 OP. BLOCK SKIP /9
Others Others Others Others Others Others Others Others Others Others
38 38 38 38 38 38 38 38 39 39
1 1 1 1 1 1 1 1 1 1
Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7 Bit 0 Bit 1
Number or tries Number of retries Number or tries Number of retries
AWF AWF AWF AWF
40 41 42 43
1 1 1 1
– – – –
Program number (for machining distance calculation)
Graphic 44 2 –
ww w.
cn cc
en ter
.co m
E. WINDOW FUNCTION DESCRIPTION (FS16–W) B–61863E/10APPENDIX
918
[Description]
When the CNC is placed in the alarm status, the alarm status data can be read.
Top address (Function)
23
(Completion) —
(Data length) —
(Number) —
(Data area) —
+ 2
+ 4
+ 6
+ 8
+ 10
Top address
+ 2
+ 4
+ 6
+ 8
+ 10
(Function) 23
(Completion) 0
(Data length) 2
(Number) —
(Attribute) —
[Input data structure] [Output data structure]
(Attribute) —
(Data area) Alarm status+ 11
+ 12
First byte
Second byte
[Contents of data]
(1) Alarm status data in first byte. #7 #6 #5 #4 #3 #2 #1 #0
EOR OTM OTS OH SV OTH PS
PS : P/S alarm
OTH : Over travel alarm
SV : Servo alarm
OH : Overheat alarm
OTS : First stroke limit alarm
OTM : Second stroke limit alarm
EOR : Edit alarm
(2) Alarm status data in second byte. #7 #6 #5 #4 #3 #2 #1 #0
APCER
APCER : Absolute pulco alarm
[Completion codes]
0 : This alarm status in the CNC has been read normally.
E.7 READING THE CNC ALARM STATUS
ww w.
cn cc
en ter
.co m
B–61863E/10 E. WINDOW FUNCTION DESCRIPTION
(FS16–W)APPENDIX
919
[Description]
Modal information in the CNC can be read.
(1) Format and types of modal data for the G function
Code in a group : 1 byte
0 : Not specified in the current block
1 : Specified in the current block
7 6 5 4 3 2 1 0
G04 G19 G28 G30 G92 G31 G70 G71 G72 G73 G74 G75 G76 G77 G78 G79
0 1 5 7 14 15 16 17 18 19 20 21 22 23 24 25
0 1
0 1 2
G40 G41 G42
0
Identification code DataData type
1 0 1 2 3
G00 G01 G02 G03
2 0G17
3 0 1
G90 G91
4 1 0
G22 G23
5 G94 G95
Identification code DataData type
6 0 1
G20 G21
7
8 G50 G51 G52
9 G60 G61 G62 G63
0 1 2 0 1 2 3
26 0 1
G65 G66 G67
10 1 0
G48 G49
11
E.8 READING MODEL DATA
ww w.
cn cc
en ter
.co m
E. WINDOW FUNCTION DESCRIPTION (FS16–W) B–61863E/10APPENDIX
920
(2) Format and types of modal data for other than the G function
: 4 bytes
: 1 byte
Data
Flag
— —
0 : Not specified in the current block
1 : Specified in the current block
7 6 5 4 3 2 1 0
1 byte
0 : Positive
1 : Negative
Number of input digits
Identification code Specified address Meaning of value
100 101 102 103 104 105 106 107 108 109 110 111
B D E F H L M S T R P Q
Offset number
Feedrate
Tapper data
Top address (Function)
32
(Completion) —
(Data length) —
(Number) N
(Data area) —
+ 2
+ 4
+ 6
+ 8
+ 10
[Input data structure]
(Attribute) M
ww w.
cn cc
en ter
.co m
B–61863E/10 E. WINDOW FUNCTION DESCRIPTION
(FS16–W)APPENDIX
921
[Output data structure]
Top address (Function code)
32
(Completion code) ?
(Data length) L
(Data number) Input data
(Data attribute) Input data
(Data area) Modal data of
G functions
+ 2
+ 4
+ 6
+ 8
+ 10 Modal data of oth-
er than G functions
Modal data of ID code 0
Modal data of ID code 100
Modal data of ID code 1
Modal data of ID code 2
Flag part of data of ID code 100
Flag part of modal data
Modal data of ID code 16
Modal data of ID code 111
Flag part of data of ID code 111
A AA
+ 12
+ 14
+ 16
+ 44
+ 78
[Data length]
L = 2 : G function
2* : All data of G functions
6 : Other than G functions
6*12 : All data of other than G functions
[Data number]
N = 0 and up: See each data list.
–1 : All data of G functions
–2 : All data of other than G functions
[Data attribute]
M = 0 : Current block
1 : Next block
ww w.
cn cc
en ter
.co m
E. WINDOW FUNCTION DESCRIPTION (FS16–W) B–61863E/10APPENDIX
922
2 : Block after the next block
[Completion code]
–1 : The modal data read command could not be executed. This means that, because the modal data was being updated on the CNC, the command could not be executed.
0 : Modal data read operation terminated normally.
3 : An incorrect data number was specified.
4 : An incorrect data attribute was specified.
ww w.
cn cc
en ter
.co m
B–61863E/10 E. WINDOW FUNCTION DESCRIPTION
(FS16–W)APPENDIX
923
[Data contents]
The distance (machining distance) from the machining start point to the current point, and the distance (whole distance) from the machining start point to the point where M02 or M30 is specified can be read.
Top address (Function code)
182
(Completion code) –
(Data length) –
(Data number) N
(Data area) –
+ 2
+ 4
+ 6
+ 8
+ 10
Top address
+ 2
+ 4
+ 6
+ 8
+ 10
(Function code) 182
(Completion code) ?
(Data length) 4
(Data number) Input data
(Data attribute) –
[Input data structure] [Output data structure]
(Data attribute) –
(Data area) Machining distance
+ 14
[Data number]
N = 0 : Machining distance
N = 1 : Whole length obtained with the dry run function
N = 2 : Whole length obtained by drawing
N = 3 : Whole length obtained with the machining distance calculation function
[Data unit]
Metric input : 10–3 [mm] (When the increment system is 1/10: 10–4 [mm])
Inch input : 10–5 [inch]
[Completion code]
–1 : Data could not be read. This means that, because the data was being updated on the CNC, the command could not be executed.
0 : Data read operation terminated normally.
3 : An incorrect data number was specified.
E.9 READING MACHINING DISTANCES
ww w.
cn cc
en ter
.co m
E. WINDOW FUNCTION DESCRIPTION (FS16–W) B–61863E/10APPENDIX
924
[Description]
The measured point that are get by positioning can be read. Also, the slit width by slitting and the hole diameter by centering can be read.
[Input data structure]
Top address (Function)
185
(Completion) —
(Length) —
(Number) N
(Attribute) M
(Data area) —
+ 2
+ 4
+ 6
+ 8
+ 10
Reads measured point
Point number
Reads slit width of hole diameter
0
0 1
[Output data structure]
Top address (Function)
185
(Completion) ?
(Length) L
(Number) N
(Attribute) M
+ 2
+ 4
+ 6
+ 8
Point number 0
0 1
Type Slit width of hole diameter
Machine coordinate of
X axis
Machine coordinate of
Y axis
(Data area) + 10
10 4
+ 12
+ 14
+ 16
+ 18
+ 20
Reads measured point
Reads slit width of hole diameter
E.10 READING THE MEASURED POINT
ww w.
cn cc
en ter
.co m
B–61863E/10 E. WINDOW FUNCTION DESCRIPTION
(FS16–W)APPENDIX
925
[Data unit]
Metric system input : 10–3 [mm]
(In case the incremental system is 1/10, output data unit is 10–4 [mm].)
Inch system input : 10–5 [inch]
[Completion codes]
0 : The measured point has been read normally.
3 : Invalid data is specified as data number.
4 : Invalid data is specified as data attribute.
ww w.
cn cc
en ter
.co m
E. WINDOW FUNCTION DESCRIPTION (FS16–W) B–61863E/10APPENDIX
926
[Description]
The measured point that are get by positioning can be written. Also, the slit width by slitting and the hole diameter by centering can be written.
Top address
+ 2
+ 4
+ 6
+ 8
+ 10
Top address
+ 2
+ 4
+ 6
+ 8
+ 10
[Input data structure] [Output data structure]
Machine coordinate of X axis
+ 12
+ 14
Machine coordinate of Y axis
+ 16
+ 18
+ 20
+ 12
+ 14
+ 16
+ 18
+ 20
(Function) 186
(Completion) —
(Length) 10
(Number) Point number
(Attribute) 0
(Data area) Type
(Function) 186
(Completion) ?
(Length) 10
(Number) N
(Attribute) 0
(Data area)
[Data unit]
Metric system input : 10–3 [mm]
(In case the incremental system is 1/10, output data unit is 10–4 [mm].)
Inch system input : 10–5 [inch]
[Completion codes]
0 : The measured point has been written normally.
3 : Invalid data is specified as data number.
4 : Invalid data is specified as data attribute.
E.11 WRITING THE MEASURED POINT (�LOW–SPEED RESPONSE)
ww w.
cn cc
en ter
.co m
B–61863E/10 F. WINDOW FUNCTION DESCRIPTION
(FS16–PA)APPENDIX
927
F WINDOW FUNCTION DESCRIPTION (FS16–PA)
[Description]
Various Tool setting data recorded in the CNC can be read.
[Input data structure]
Top address + 0
2
4
6
8
10
(Function code) 188
(Completion code) —
(Need not be set)
(Data length) —
(Need not be set)
(Data Number) N
(See 1.1)
(Data attribute) M
(See 1.1)
(Data area) —
(Need not be set)
[Completion codes]
0 : The tool setting data has been read normally.
3 : The data number specified for reading is invalid.
4 : There are mistakes in the data attribute that specifies the type of the tool setting data to be read.
6 : For the tool setting data specified for reading, an additional option (graphic or multi–tool control) is required, but it is missing.
F.1 READING OF TOOL SETTING DATA
ww w.
cn cc
en ter
.co m
F. WINDOW FUNCTION DESCRIPTION (FS16–PA) B–61863E/10APPENDIX
928
[Output data structure]
Top address + 0
2
4
6
8
10
(Function code) 188
(Completion code) ?
(See the explanation of codes)
(Data length) ?
(See 1.1)
(Data Number) N
(N : Input data)
(Data attribute) M
(M : Input data)
(Data area) ?
(See 1.1)
� �
48
ww w.
cn cc
en ter
.co m
B–61863E/10 F. WINDOW FUNCTION DESCRIPTION
(FS16–PA)APPENDIX
929
Data number, data attribute, data length and data area of various tool setting data are as follows.
Various tool setting data Data number (N) Data attribute (M) Data length Data area
Used tool number 0 2 bytes Binary 1 to 136
Number of turret indexing 1 2 bytes Binary 1 to 136
Tool number of reference point 0 2 2 bytes Binary 1 to 136
Feed amount per revolution of turret
3 4 bytes Binary 1 to 99999999
Total punch count 4 8 bytes Binary 1 to 99999999
Tool number 0 2 bytes Binary 1 to 9999
Punch count 1 4 bytes Binary 1 to 99999999
Tool position compensation of X 2 4 bytes Binary ±99999999
Tool position compensation of Y 3 4 bytes Binary ±99999999
Machine position of tool Number of tool
tti d t
4 4 bytes Binary ±99999999
Tool number for tool change setting data
1 to 136
5 2 bytes Binary 1 to 136
(Not used) 1 to 136
6 4 bytes
Tool shape (C) for graphic 7 2 bytes High byte=0
Binary 0 to 4
Tool shape (I) for graphic 8 4 bytes Binary 0 to 999999
Tool shape (J) for graphic 9 4 bytes Binary 0 to 999999
Tool shape (K) for graphic 10 4 bytes Binary 0 to 360000
Tool number for multi–tool 0 2 bytes High byte=0
Binary 0 to 99
Tool angle for multi–tool 1 4 bytes Binary ±360000
Tool position compensation of Y Number of
Multi tool setting
2 4 bytes Binary ±99999999
Tool shape (C) for multi–tool Multi–tool setting
data +200 3 2 bytes High byte=0
Binary 0 to 4
Tool shape (I) for multi–tool 201 to 264 4 4 bytes Binary 0 to 999999
Tool shape (J) for multi–tool 5 4 bytes Binary 0 to 999999
Tool shape (K) for multi–tool 6 4 bytes Binary 0 to 360000
F.1.1 Data Number, Data Attribute, Data Length, Data Area
ww w.
cn cc
en ter
.co m
F. WINDOW FUNCTION DESCRIPTION (FS16–PA) B–61863E/10APPENDIX
930
data unit
Machine Input of IS–A Input of IS–B
Tool position mm 0. 01 0. 001 compensation inch 0. 001 0. 0001
Input unit Input of IS–A Input of IS–B
Tool shape and mm 0. 01 0. 001 angle for graphic inch 0. 001 0. 0001
Tool angle for l i l
deg 0. 01 0. 001 multi–tool
[Description]
The various tool setting data can be directly written into the CNC.
[Input data structure]
Top address + 0
2
4
6
8
10
(Function code) 189
(Completion code) —
(Need not be set)
(Data length) ?
(See 1.1)
(Data Number) N
(See 1.1)
(Data attribute) M
(See 1.1)
(Data) ?
(See 1.1)
[Completion code]
0 : The tool setting data has been written normally.
2 : The data length specified for writing is invalid.
3 : The data number specified for writing is invalid.
4 : The data attribute specified for writing is invalid.
5 : The data specified for writing is invalid.
6 : The additional option (multi–tool control or graphic) is required but it is missing.
F.2 WRITING OF TOOL SETTING DATA (LOW–SPEED RESPONSE)
ww w.
cn cc
en ter
.co m
B–61863E/10 F. WINDOW FUNCTION DESCRIPTION
(FS16–PA)APPENDIX
931
[Output data structure]
Top address + 0
2
4
6
8
10
(Function code) 189
(Completion code) ?
(See the explanation of codes)
(Data length) ?
(See F.1)
(Data Number) N
(N : Input data)
(Data attribute) M
(M : Input data)
(Data area) ?
(See F.1)
� �
48
NOTE See Sec. F. 1 for data unit.
ww w.
cn cc
en ter
.co m
F. WINDOW FUNCTION DESCRIPTION (FS16–PA) B–61863E/10APPENDIX
932
[Description]
Setting data for a tool (such as registration order, tool punch count, and tool shape) can be read by specifying the tool number.
[Input data structure]
Top address + 0
2
4
6
10
12
(Function code) 141
(Completion) –
(Need not be set)
(Data length) –
(Need not be set)
(Data number) N
(N=Tool number)
(Data attribute) M
(See F.1)
(Data area) –
(Need not be set)
NOTE 1 The area for specifying the data number consists of four
bytes. 2 As the data attribute, specify the type of the tool setting data
to be read, in the same way as for function code 188. If 0 is specified as the data attribute, the registration order of the tool is read.
F.3 READING TOOL SETTING DATA BY SPECIFYING TOOL NUMBER
ww w.
cn cc
en ter
.co m
B–61863E/10 F. WINDOW FUNCTION DESCRIPTION
(FS16–PA)APPENDIX
933
[Completion code]
0: The tool setting data has been read normally.
3: The specified data number is invalid.
4: The specified data attribute is invalid.
6: For the tool setting data specified for reading, an additional option (graphic or multi–tool control) is required, but it is missing.
[Output data structure]
Top address + 0
2
4
6
10
12
(Function code) 141
(Completion code) ?
(See the explanation above)
(Data length) ?
(See F.1)
(Data number) N
(N: Input data)
(Data attribute) M
(M: Input data)
(Data area) ?
(See F.1)
A A
48
� �
ww w.
cn cc
en ter
.co m
F. WINDOW FUNCTION DESCRIPTION (FS16–PA) B–61863E/10APPENDIX
934
The FS16–PA supports the following window functions, described in this manual.
Number Functioncode
1 Reading CNC system information 0
2 Reading a tool offset 13
3 Writing a tool offset �low–speed response 14
4 Reading a workpiece origin offset 15
5 Writing a workpiece origin offset �low–speed response 16
6 Reading a parameter �low–speed response 17
7 Writing a parameter �low–speed response 18
8 Reading setting data �low–speed response 19
9 Writing setting data �low–speed response 20
10 Reading a custom macro variable �low–speed response 21
11 Writing a custom macro variable �low–speed response 22
12 Reading the CNC alarm state 23
13 Reading the current program number 24
14 Reading the current sequence number 25
15 Reading an actual velocity for a controlled axis 26
16 Reading an absolute position on a controlled axis 27
17 Reading a machine position on a controlled axis 28
18 Reading a skip position on a controlled axis 29
19 Reading a servo delay amount on a controlled axis 30
20 Reading an acceleration/deceleration delay amount on a controlled axis 31
21 Reading modal data 32
22 Reading diagnostic data �low–speed response 33
38 Reading clock data (date and time) 151
41 Reading a parameter 154
42 Reading setting data 155
43 Reading diagnostic data 156
44 Reading a character string of the CNC program being executed in the buffer 157
45 Reading the relative position on a controlled axis 74
46 Reading the remaining travel on a controlled axis 75
47 Reading CNC status information 76
48 Reading an operator message 83
F.4 OTHER WINDOW FUNCTIONS
ww w.
cn cc
en ter
.co m
B–61863E/10
G. SIGNAL ADDRESS CONVERSION (FROM THE PMC–MODEL L/M TO
THE PMC–MODEL RB/RC)APPENDIX
935
G SIGNAL ADDRESS CONVERSION (FROM THE PMC–MODEL L/M TO THE PMC–MODEL RB/RC)
DI/DO signals used in the PMC–MODEL L/M can be converted to signals for the PMC–MODEL RB/RC using the FAPT LADDER program for the PMC–MODEL RB/RC.
The DI/DO signals used between the NC unit and the PMC correspond to word addresses consisting of addresses and values. Word addresses of bit type are converted. The program is not logically converted.
The conversion is performed under the following conditions.
(1) A word address of bit type used in a basic instruction is to be converted.
(2) A word address of byte type used in a functional instruction is not converted.
(3) Word addresses used in the standard FANUC Series 0–T/M are converted to those used in the standard FANUC Series 16–T/M. If a value in a word address is 1000.0 or more, the address is not converted.
(4) When the same signal name is used in the FANUC Series 0 and 16, and the addresses corresponding to the signal in the Series 0 and 16 have one–to–one relationship, the word address is converted. For details, see the signal conversion table.
(1) Load the FAPT LADDER program for the PMC–RB/RC.
(2) Press the R0 key to display the programmer menu screen.
(3) Press the F2 key. Enter 2 and press the <NL> key. then the following message appears on the screen. Insert a data floppy for the PMC–RB/RC. Select the name of the file corresponding to the conversion from Table G.3 and enter it.
SET FD & KEYIN ‘OK’, ‘KILL’ OR ‘NO’ FD0 = OK<DRIVE> <@NAME OR :NUMBER> FD0 =
Table G.3 File Name in the Data Floppy for the PMC–RB/RC
File name
FS0–T → FS16–T COMV.FS0–T
FS0–M → FS16–M COMV.FS0–M
G.1 GENERAL
G.2 FUNCTION
G.3 CONVERSION
ww w.
cn cc
en ter
.co m
G. SIGNAL ADDRESS CONVERSION (FROM THE PMC–MODEL L/M TO THE PMC–MODEL RB/RC) B–61863E/10APPENDIX
936
(4) Read a source ladder program created with FAPT LADDER for the PMC–L/M from the floppy in the same way as in Item 3.
If an address not listed in the signal conversion table is used in the ladder program file, an error occurs. In this case, enter E, then press the <NL> key to return to the programmer menu screen.
PART= E <NL>
(5) Entering 9 and pressing the <NL> key on the programmer menu screen changes the screen. The following message appears at the lower left corner of the screen. Enter 2, then press the <NL> key to delete the symbol data.
KEYIN ’1, 2, 3, 4, 5 OR 6 OR ‘NO’ CLEAR/KEEP=
The above operation terminates the conversion. Check the converted program. If an error occurs in the conversion, modify the program.
Enter 1 on the programmer menu to change the screen to the screen for editing a sequence program. Editing operation is the same as usual.
NOTE Some addresses not converted have no error indication. After modifying the program, check that all addresses are correct according to the signal conversion table and the connecting manual.
(1) When the Series 0 and 16 differ in the number of parameters used in a functional instruction
Because the Series 0 and 16 differ in the numbers of parameters used for TMR (timer), TMRB (timer), and CTR (counter), errors are indicated at the parameters. Check the program, then delete the parameter. Set the timer and counter again.
(2) When an address not used in functional instructions is specified
When an address used in the ladder program for the Series 0 is not defined in the Series 16, the messages (NO PARAMETER) and #PARAM.ERROR# appear as follows. Set the parameter again and delete the latter message.
Example 00001 RD XXX.X 00002 SUB 8 00003 XXXX 00004 XXXX 00005 XXXX 00006 (NO PARAMETER) Set the parameter again.. 00007 #PARAM.ERR# Delete the message. This. . . . .
message may not appear. (XXX.X and XXXX are addresses and values.)
G.4 MODIFYING THE CONVERTED SEQUENCE PROGRAM
G.4.1 Modification Procedure
ww w.
cn cc
en ter
.co m
B–61863E/10
G. SIGNAL ADDRESS CONVERSION (FROM THE PMC–MODEL L/M TO
THE PMC–MODEL RB/RC)APPENDIX
937
(3) Deleting SUB48 (END3) (In the PMC–RB)
If SUB48 (END3) is specified in the PMC–RB, an error occurs because the PMC–RB is not provided with SUB48 (END3). When this error occurs, delete third–level programs, or change the third–level programs to second–level programs and delete SUB48.
(4) Address conversion for signals not listed on the signal conversion table Modify the address for a signal by referring to the connection manual.
ww w.
cn cc
en ter
.co m
H. CONNECTING THE OPERATOR’S PANEL FOR FS 0 WITH FS16, FS18, FS21, OR Power Mate B–61863E/10APPENDIX
938
H CONNECTING THE OPERATOR’S PANEL FOR FS 0 WITH FS16, FS18, FS21, OR Power Mate
The Series 0 operator’s panel consists of key switches, LEDs, a rotary switch, and so on. Because the states of key switches and lamps are coded, the number of the signal lines required for connecting the operator’s panel with the CNC may not be the same as the number of actual switches. PMC management software automatically codes the states of the key switches and lamps and transmits data.
Therefore, simple bit images of switches and LEDs must only be manipulated with the PMC ladder program.
Bit image Rk and on
PMC management software
Input Xn and on Keyboard
Coding
Output Ym and on
CNC (Series 16 or 18) I/O unit I/O card
LED Coding
Protect key Emergency stop button Override rotary switch etc.
Series 0 operator’s manual
PMC ladder program (of the user)
G* and after (X)
CNC software
Interface with other machines
Bit image Rl and on
Input X* and on
Contact
Input X* and on
Output Y* and after
F* and on
Fig. H.1 (a) Connection between the CNC and the Operator’s Panel
H.1 GENERAL
ww w.
cn cc
en ter
.co m
B–61863E/10
H. CONNECTING THE OPERATOR’S PANEL FOR FS 0 WITH FS16,
FS18, FS21, OR Power MateAPPENDIX
939
The operator’s panel is made up of the following keys, LEDs, etc.
� Key switch (Seat key)
� 42 keys (0–TB)
� 46 keys (0–MB)
� LEDs (red) ....................... Prepared for all key switches
� Override rotary switch ..... 4 bits
� Emergency stop button .... 1 bit
� Program protect key ........ 1 bit
Fig. H.1 (b) Front view of operator’s panel for 0–TC
Fig. H.1 (c) Front view of operator’s panel for 0–MC
ww w.
cn cc
en ter
.co m
H. CONNECTING THE OPERATOR’S PANEL FOR FS 0 WITH FS16, FS18, FS21, OR Power Mate B–61863E/10APPENDIX
940
Fig. H.1 (d) External view of operator’s panel for 9” CRT/MDI with full–keyboard (0–TC)
Fig. H.1 (e) External view of operator’s panel for 9” CRT/MDI with full–keyboard (0–MC)
ww w.
cn cc
en ter
.co m
B–61863E/10
H. CONNECTING THE OPERATOR’S PANEL FOR FS 0 WITH FS16,
FS18, FS21, OR Power MateAPPENDIX
941
CNC (Series 16 or 18)
MAIN CPU
I/O unit
JD1A (I/O Link)
PSU CP6
JD1B
CP32
JD1A
DI module
DO module
M1A
M2A
Series 0 operator’s panel
24 VDC Another I/O unit
DI module : +24 V common, 20 ms Example) AID32A1
DO module : 0 V common Example) AOD32A1
M1A
M2A
Series 0 operator’s panel
CNC (Series 16 or 18) To another I/O unit
MAIN CPU
Interface with other machinesJD1A (I/O Link)
I/O card DI
connector
DO connector
H.2 CONNECTION
H.2.1 Connecting the I/O Unit
H.2.2 Connecting the I/O Card
ww w.
cn cc
en ter
.co m
H. CONNECTING THE OPERATOR’S PANEL FOR FS 0 WITH FS16, FS18, FS21, OR Power Mate B–61863E/10APPENDIX
942
This signal is used for the fixed address directly monitored by the CNC.
For connecting the signal, refer to the description of the interface between the CNC and the PMC in the ”Series 16 or 18 Connection Manual.”
Their key switch contact signals are directly input to the PMC. Handle them with the PMC ladder program.
For connecting these signals, refer to the description of the interface between the CNC and the PMC in the ”Series 16 or 18 Connection Manual.”
The key switch signals are coded by the PMC management software, and input to the area indicated by address R in the form of to the bit image.
Whether necessary keys are already pressed can be checked by the bit image of the key switches using the user PMC ladder program. (See Tables H.3.4 (a), H.3.4 (b), and H.3.4 (c))
While a key is pressed, the bit corresponding to the key is 1.
Two keys can be pressed at the same time. Create a user PMC program so that it does not require pressing more than two keys at a time. If more than two keys are pressed simultaneously, the relevant data is not entered correctly.
A maximum of 60 ms is required before the corresponding bit is set to 1 or 0 after a key is pressed (released).
Key switch signal addresses (Xn to Xn+2: Table H.3.4 (a)) and their bit image addresses (Rk to Rk+7: Tables H.3.4 (b) and H.3.4 (c)) can be defined using fixed addresses or unused addresses as desired. (In Series 0, the key switch signal addresses are fixed to X20 and after. The bit image addresses are fixed to F292 and after.)
H.3 SIGNALS FOR CONNECTING THE OPERATOR’S PANEL
H.3.1 Emergency Stop Signal (*ESP)
H.3.2 Override Signals (*OV1 to *OV8) and Program Protect Key Signal (KEY)
H.3.3 Key Switch Signals (Xn, Xn+2)
ww w.
cn cc
en ter
.co m
B–61863E/10
H. CONNECTING THE OPERATOR’S PANEL FOR FS 0 WITH FS16,
FS18, FS21, OR Power MateAPPENDIX
943
Specify the LED signals at PMC address R using the user PMC ladder program in the form of a bit image. PMC management software changes the bit image LED signals to the coded output signals. (See Tables H.3.4 (a), H.3.4 (b), and H.3.4 (c))
While 1 is written in a LED bit image, the relevant LED automatically goes on. When 0 is written in the LED bit image, the relevant LED goes off. All LEDs are off before the power is turned on.
A maximum of 200 ms is required before the LED goes on or off after 1 or 0 is written in a bit image in the PMC.
LED signal address (Ym: Table H.3.4 (a)) and the bit image addresses (Rl to Rl+7: Tables H.3.4 (b), and H.3.4 (c)) can be defined using fixed addresses or unused addresses as desired. (In Series 0, the LED signal address is fixed to Y51. The bit image addresses are fixed to G242 and after.)
Table H.3.4 (a) Key Switch and LED Signal Addresses
#7 #6 #5 #4 #3 #2 #1 #0
Xn KD7 KD6 KD5 KD4 KD3 KD2 KD1 KD0
Xn+1
Xn+2 KST KA3 KA2 KA1 KA0
Ym LD7 LD6 LD5 LD4 LD3 LD2 LD1 LD0
Table H.3.4 (b) Bit Image Addresses of Key Switch and LED Signals
(for the small operator’s panel)
#7 #6 #5 #4 #3 #2 #1 #0
KEY/LED F3 F2 F1 D1 C1 B1 A1
Rk/Rl F4 D2 C2 B2 A2
Rk+1/Rl+1 D4 D3 C4 C3 B4 B3 A4 A3
Rk+2/Rl+2 F6 F5 D5 C5 B5 A5
Rk+3/Rl+3 F8 D6 C6 B6 A6
Rk+4/Rl+4 D8 C8 B8 A8 A7
Rk+5/Rl+5 F9 D9 C9 B9 A9
Rk+6/Rl+6 F10 D10 C10 B10 A10
H.3.4 LED Signals (Ym)
ww w.
cn cc
en ter
.co m
H. CONNECTING THE OPERATOR’S PANEL FOR FS 0 WITH FS16, FS18, FS21, OR Power Mate B–61863E/10APPENDIX
944
Table H.3.4 (c) Bit Image Addresses of Key Switch and LED Signals
(for the operator’s panel with the full keyboard)
#7 #6 #5 #4 #3 #2 #1 #0
KEY/LED E1 C1 A1 E6 D6 C6 B6 A6
Rk/Rl E2 C2 A2 E7 D7 C7 B7 A7
Rk+1/Rl+1 E3 C3 A3 E8 D8 C8 B8 A8
Rk+2/Rl+2 E5 C4 A4 E9 D9 C9 B9 A9
Rk+3/Rl+3 D2 C5 A5 E10 D10 C10 B10 A10
Rk+4/Rl+4 D4 D5 B2 E11 D11 C11 B11 A11
Rk+5/Rl+5 D1 B1 B4 E12 D12 C12 B12 A12
Rk+6/Rl+6 D3 B3 B5 E13 D13 C13 B13 A13
ww w.
cn cc
en ter
.co m
B–61863E/10
H. CONNECTING THE OPERATOR’S PANEL FOR FS 0 WITH FS16,
FS18, FS21, OR Power MateAPPENDIX
945
The following section describes how to specify key switch and LED signal addresses and the bit image addresses.
KEY IN ONE OF THE FOLLOWING NO.S WHICH YOU WANT TO SET PARA.S
NO. ITEMS CURRENT PARAMETERS
01 (UNUSED) ;
02 COUNTER DATA TYPE ; BINARY
03 OPERATOR PANEL ; YES
KEY/LED ADDRESS ; X0000/Y0000
KEY/LED BIT IMAGE ADRS. ; R0900/R0910
04 PMC TYPE ; PMC–RB
05 (UNUSED) ;
06 (UNUSED) ;
07 (UNUSED) ;
08 (UNUSED) ;
09 IGNORE DIVIDED CODE ; NO
10 (UNUSED) ;
00 NOTHING TO SET ;
; ROM WRITER = FA WRITER
NO. =
1) Select 3 from the parameter menu. Then, the following message is displayed:
EXAMPLE 0:NO, 1:YES OP.PANEL=_
2) Select 1(:YES). Then, the following message is displayed:
SET KEY/LED ADDRESS(KEY ADRS., LED ADRS.) ADDR=_
3) Specify a key or LED address (X or Y). For example, to specify a key switch address as X0 and LED address as Y0, enter X0,Y0 and press the [NL] key ([NL]: New line key). The following message is then displayed:
SET KEY/LED BIT IMAGE ADDRESS(KEY ADRS., LED ADRS.) ADDR=_
H.4 SPECIFYING ADDRESSES
H.4.1 Parameter Menu (for PMC–RB)
H.4.2 Procedure
ww w.
cn cc
en ter
.co m
H. CONNECTING THE OPERATOR’S PANEL FOR FS 0 WITH FS16, FS18, FS21, OR Power Mate B–61863E/10APPENDIX
946
4) Specify bit image addresses. For example, to specify R900 and R910, enter R900,R910 and press the [NL] key.
Then, the current display returns to the original parameter menu, and the following message appears:
: : : 03 OPERATOR PANEL ; YES
KEY/LED ADDRESS ; X0000/Y0000
KEY/LED BIT IMAGE ADRS. ; R0900/R0910 : : :
NOTE 1 After the above procedure, the addresses in Tables 3.1,
3.2–A, and 3.2–B are defined as the following PMC addresses:
Xn → X0000 Rk / Rl →R0900/R0910 Xn+1 → X0001 Rk+1 / Rl+1→R0901/R0911 Xn+2 → X0002 Rk+2 / Rl+2→R0902/R0912
Rk+3 / Rl+3→R0903/R0913 Ym → Y0000 Rk+4 / Rl+4→R0904/R0914
Rk+5 / Rl+5→R0905/R0915 Rk+6 / Rl+6→R0906/R0916 Rk+7 / Rl+7→R0907/R0917
2 Since the PMC addresses for the I/O card are already fixed, specify the signals to be used at the fixed addresses.
To use X1000, X1001, X1002, and Y1000 for key switches and LEDs, enter the following:
SET KEY/LED ADDRESS(KEY ADRS., LED ADRS.) ADDR= X1000,Y1000 [NL]
Examples
ww w.
cn cc
en ter
.co m
B–61863E/10 I. EDITING FOR Power Mate–MODEL D
(PMC–PA1/PA3)APPENDIX
947
I EDITING FOR Power Mate–MODEL D (PMC–PA1/PA3)
Ladder diagram editing function for FANUC PMC–MODEL PA1/PA3 has high compatibility in a basic specification between ladder diagram editing function for FANUC PMC–MODEL RA1/RA2.
Following abbreviations are used in this chapter.
CNC Model Product/Card Name Abbr.
FANUC Power Mate–MODEL D FANUC PMC–MODEL PA1 PMC–PA1
FANUC PMC–MODEL PA3 PMC–PA3
Ladder diagram editing memory card
Editing card
FANUC Series 18 FANUC PMC–MODEL RA1 PMC–RA1
FANUC PMC–MODEL RA2 PMC–RA2
Editing card described herein apply to the following software or later.
CNC · Version 08(H) or later of Power Mate–MODEL D basic software
8830 Series.
PMC · Version 04(D) or later of PMC–PA1/PA3 control software 4075
Series.
This function is used to set PMC system parameters and also generate and execute sequence programs by using soft keys a on the CRT/MDI unit or PDP/MDI unit. You can not use following function because FANUC Power Mate–MODEL D does not use ROM for sequence program.
· Sequence Program Copy Function
· Writing, Reading, and Verification of the Sequence Program and PMC Parameter Data to/from/with ROM.
I.1 OUTLINE
I.2 COMPATIBILITY WITH CNC BASIC SOFTWARE
I.3 PMC PROGRAMMER (CRT/MDI OR PDP/MDI) [LADDER EDITING FUNCTION]
ww w.
cn cc
en ter
.co m
I. EDITING FOR Power Mate–MODEL D I. (PMC–PA1/PA3) B–61863E/10APPENDIX
948
The units required for generating a sequence program and connection methods are described below.
(1) Editing card
This is used for editing sequence program.
If this card is inserted in CNC at the time of its power–on, PMC displays the programmer menu.
When you want to put on and take off, you must turn off the CNC power.
CAUTION Please do not release the write protect switch of editing card for preventing a mistake deleting.
WRITE PROTECT
Editing Card (A02B–0166–K701#4076)
Fig. I.3.1.1
I.3.1 Component Units and Connections
I.3.1.1 Component units
ww w.
cn cc
en ter
.co m
B–61863E/10 I. EDITING FOR Power Mate–MODEL D
(PMC–PA1/PA3)APPENDIX
949
(2) CRT/MDI unit, PDP/MDI unit
CRT/MDI unit or PDP/MDI unit are necessary when you generate or edit sequence program using editing card.
CRT/MDI unit (A02B–0166–C001)
PDP/MDI unit (A02B–0166–C010, A02B–0166–C011)
Feed the editing card into connector CNMC of the CNC.
When you want to put on and take off, you must turn off the CNC power. (Refer to the fig. I.3.1.2)
Fig. I.3.1.2
I.3.1.2 Connection of Components
I.3.1.3 Parameter
ww w.
cn cc
en ter
.co m
I. EDITING FOR Power Mate–MODEL D I. (PMC–PA1/PA3) B–61863E/10APPENDIX
950
Please set bit 1 in K17 of keep relay area for PMC parameters. #7 #6 #5 #4 #3 #2 #1 #0
K17 PRGRAM
PRGRAM 0: The programmer function is disabled. (The programmer menu is not displayed.)
1: The programmer function is enabled. (The programmer menu is displayed.)
FANUC Power Mate–MODEL D can set only COUNTER DATA TYPE.
The meaning of this parameter is same as PMC–RA1/RA2.
PMC SYSTEM PARAMETER COUNTER DATA TYPE = BINARY/BCD
[BINARY] [ BCD ] [ ] [ ] [ ]
Fig. I.3.2 PMC–PA1 or PA3 System Parameter Screen
When the following condition is satisfied, the CONDNS key will be used in FANUC Power Mate–MODEL D.
· Some unused area remain by repeating the addition or the deletion of the symbol/comment and the message in the memory.
· Ladder might be able to be made more by compressing the unused area by pushing [CONDNS] key when the memory is insufficient while ladder is added.
[Example: When you want to expand ladder area by deleting symbol/comment data at the memory status Fig.I.3.3 (a)]
(1) Delete symbol data(0.2KB).
(2) Push [CONDNS] key.
(3) The memory status becomes as Fig.I.3.3 (c) and LADDER can be edited more.
I.3.2 Specification and Display of System Parameters (SYSPRM)
I.3.3 Condense
ww w.
cn cc
en ter
.co m
B–61863E/10 I. EDITING FOR Power Mate–MODEL D
(PMC–PA1/PA3)APPENDIX
951
NOTE 1 Sequence program area in Fig. I.3.3 (a) – (c) is 64KB. 2 The underlined memory in Fig. I.3.3 (a) – (c) is the same as
the memory display of the TITLE screen. 3 The symbol/comment area in Fig. I.3.3 (a) is 20KB (Unused
area 0.9KB is contained.) 4 In case of deleting message and expending another area,
it is as same as this example.
 I.3.3 (a) Fig. I.3.3 (b) Fig. I.3.3 (c)
Ladder 34.0KB
Ladder 34.0KB
ww w.
cn cc
en ter
.co m
I. EDITING FOR Power Mate–MODEL D I. (PMC–PA1/PA3) B–61863E/10APPENDIX
952
PCLAD PCDGN PCPRM
STOP EDIT I/O SYSPRM
TITLE LADDER SYMBOL MESAGE
MODULE CROSS CLEAR
RETURN
NEXT
NEXT
Fig. I.4 (a)
TITLE LADDER SYMBOL MESAGE
FUNCTN
COMAND
INSNET DELNET INSERT ADRESS SEARCH
RETURN NEXT
NEXT
COPY MOVE CHANGE
Fig. I.4 (b)
I.4 SYSTEM DIAGRAM OF SOFT KEY
ww w.
cn cc
en ter
.co m
B–61863E/10 J. APPLICABLE FAPT LADDER EDITIONSAPPENDIX
953
J APPLICABLE FAPT LADDER EDITIONS The following tables list the editions of offline programs required to program each PMC model.
Model
Drawing number
PMC– PA1
PMC– PA3
PMC– RA1
PMC– RA2
PMC– RA3
PMC– RA5
PMC– RB
PMC– RB2
PMC– RB3
A02B–9200–J502#JP
A02B–9201–J502#EN
5.0 and later
5.0 and later
2.0 and later
2.0 and later
5.0 and later
6.2 and later
(Note)
1.0 and later
2.0 and later
5.0 and later
A02B–9200–J603#JP
A02B–9201–J603#EN
4.0 and later
4.0 and later
1.0 and later
1.0 and later
4.0 and later
4.2 and later
(Note)
– – –
A02B–9200–J604#JP
A02B–9201–J604#EN
– – – – – – 1.0 and later
3.0 and later
4.5 and later
A08B–9201–J503 – 1.0 and later
2.0 and later
– 1.0 and later
2.0 and later
– – 1.0 and later
A08B–9201–J510 – – 2.1 and later
– 1.3 and later
2.2 and later
– – 1.0 and later
Model
Drawing number
PMC– RB4
PMC– RB5
PMC– RB6
PMC– RC
PMC– RC3
PMC– RC4
PMC– NB
PMC– NB2
A02B–9200–J502#JP
A02B–9201–J502#EN
7.1 and later
8.5 and later
8.5 and later
1.0 and later
5.0 and later
7.1 and later
6.1 and later
8.5 and later
A02B–9200–J603#JP
A02B–9201–J603#EN
– – – 1.0 and later
4.5 and later
5.0 and later
– –
A02B–9200–J604#JP
A02B–9201–J604#EN
5.0 and later
7.0 and later
7.0 and later
– – – 1.0 and later
3.0 and later
A08B–9201–J503 1.0 and later
1.1 and later
1.1 and later
– 1.0 and later
1.0 and later
1.0 and later
1.0 and later
A08B–9201–J510 1.0 and later
1.0 and later
1.0 and later
– 1.0 and later
1.0 and later
2.1 and later
2.1 and later
Body of FAPT LADDER (PC–9801) A02B–9200–J502#JP Body of FAPT LADDER (IBM PC/AT) A02B–9201–J502#EN
PMC–RA module (PC–9801) A02B–9200–J603#JP PMC–RA module (IBM PC/AT) A02B–9201–J603#EN PMC–RB/RC module (PC–9801) A02B–9200–J604#JP
J.1 FAPT LADDER, FAPT LADDER–II, LADDER EDITING PACKAGES
ww w.
cn cc
en ter
.co m
J. APPLICABLE FAPT LADDER EDITIONS B–61863E/10APPENDIX
954
PMC–RB/RC module (IBM PC/AT) A02B–9201–J604#EN
PMC–NB module (PC–9801) A02B–9200–J606#JP
PMC–NB module (IBM PC/AT) A02B–9201–J606#EN
FAPT LADDER–II (IBM PC/AT) A08B–9201–J503
Ladder editing package (IBM PC/AT) A08B–9201–J510
NOTE When a PMC–RA5 ladder is to be created, set the model to PMC–RA3.
ww w.
cn cc
en ter
.co m
B–61863E/10 J. APPLICABLE FAPT LADDER EDITIONSAPPENDIX
955
A08B–0035–J595#E (P–G Mark II): FAPT LADDER PMC–RA1/RA2
A08B–0036–J595#E (P–G Mate):
Model Edition
PMC– PA1
PMC– PA3
PMC– RA1
PMC– RA2
PMC– RA3
1.1 and later � � � � �
2.1 and later � � � � �
3.1 and later � � � � �
4.1 and later � � � � �
�: Not supported, �: Supported, �: Restrictedly supported (Note)
NOTE A sequence program cannot be transferred from the PMC–RA1 of the FANUC Series 20 to the offline programmer (edition 6.0 or an earlier edition). If this is attempted, alarm 89 occurs in the offline programmer.
A08B–0036–J964 (P–G Mark II and P–G Mate): PMC–RA1/RA2/RB/RC/PA1/PA3 data
Model Edition
PMC– PA1
PMC– PA3
PMC– RA1
PMC– RA2
PMC– RA3
1.1 and later � � � � �
2.1 and later � � � � �
�: Not supported, �: Supported, �: Restrictedly supported (Note)
A08B–0035–J595#E (P–G Mark II): FAPT LADDER PMC–RB/RB2/RC
A08B–0036–J595#E (P–G Mate):
Model Edition
PMC– RB
PMC– RB2
PMC– RB3
PMC– RC
PMC– RC3
PMC– NB
1.1 and later � � � � � �
4.1 and later � � � � � �
�: Not supported, �: Supported, �: Restrictedly supported (Note)
J.2 FAPT LADDER (SYSTEM P SERIES)
ww w.
cn cc
en ter
.co m
J. APPLICABLE FAPT LADDER EDITIONS B–61863E/10APPENDIX
956
NOTE The edition of FAPT LADDER adopted for the PMC–RA2 or PMC–RB2 can be used to program the PMC–RA3 or PMC–RB3 as long as some functional instructions including structured programming are not used (as long as FAPT LADDER is used within the range of the specifications of the PMC–RA2 or PMC–RB2). When this edition is used:
(1)The following functional instructions cannot be used. (For details, see Section 5 of Part I.) – MOVB, MOVW, MOVN – DIFU, DIFD – AND, OR, NOT, EOR – END, CALL, CALLU, SP, SPE – JMPB, JMPC, LBL
(2)A sequence program created by the editing function (ladder editing module) contained in the PMC–RA3/RB3 cannot be edited after it is read into the offline programmer.
(3)A sequence program created by the offline programmer and transferred to the PMC (sequence program transferred and edited by the built–in editing function) can be edited again after it is read into the offline programmer.
ww w.
cn cc
en ter
.co m
B–61863E/10 K. LEVEL UP OF INPUT/OUTPUT
FUNCTION WITH MEMORY CARDAPPENDIX
957
K LEVEL UP OF INPUT/OUTPUT FUNCTION WITH MEMORY CARD
The function is leveled up, that is Input/Output function with Memory Card by CNC or Offline Programmer. The leveled up contents are as follows.
(1) The time is reduced in Inputing/Outputing between CNC and Memory Card by PMC I/O function. This is the same between Offline Programmer and Memory Card.
(2) Sequence programs can be inputted from Memory Card by BOOT SYSTEM, by which CNC management software or so can be inputted. (Refer to K.2.3.)
Memory Card function can be used in the following editions of CNC basic software and PMC management software and FAPT LADDER for Personal Computer.

PMC I/O PROGRAM MONIT STOP
CHANNEL = 1 DEVICE = M–CARD FUNCTION = WRITE DATA KIND = LADDER FILE NO. = ( #NAME )
[ EXEC ][CANCEL][ WRITE ][ READ ][COMPAR]
[DELETE][ LIST ][FORMAT ][ ][SETUP ]
Fig. K.2.1(a) PMC I/O Screen
(2) Operation of Offline Programmer (FAPT LADDER for Personal Computer)
2) Mount a Memory Card interface on the personal computer.
3) Select [INOUT] (I/O) from the main menu.
4) Select [M–CARD] (Memory Card) from the I/O menu. (See Fig. K.2.1(b))
I/O PMC–RA1 <O>[A:¥FLADDER¥ ]
F1 KEY : FA WRITER
F2 KEY : PMC WRITER
F3 KEY : PMC
F4 KEY : Handy File
F5 KEY : Memory Card
F10 KEY : END
FAWRT PMC PMC FDCAS M END WRT CARD
Fig. K.2.1(b) I/O Menu Screen
K.2 OPERATION
K.2.1 CNC �Offline Programmer
ww w.
cn cc
en ter
.co m
B–61863E/10 K. LEVEL UP OF INPUT/OUTPUT
FUNCTION WITH MEMORY CARDAPPENDIX
959
5) Select [READ] (PROGRAMMER← Memory Card). (See Fig. K.2.1(c))
I/O (M_CARD) PMC–RA1 <O> [A:¥FLADDER¥ ]
F1 KEY : WRITE (PROGRAMMER –> Memory Card)
F2 KEY : READ (PROGRAMMER <– Memory Card)
F10 KEY : END
WRITE READ END
Fig. K.2.1(c) I/O (I/O M_CARD) Screen
6) Specify the followings:
– Name of the Memory Card file Specify the name of the file in the Memory Card which is to be converted and the Memory Card drive on which the Memory Card is mounted.
– Name of the ROM format file to be created Specify a file name to be given to the converted ROM format data.
I/O (FROM MC) PMC–RA1 <O> [A:¥FLADDER¥ ]
READ (PROGRAMMER <– Memory Card)
Memory Card FILE NAME : (Specify the MEMORY CARD drive)
ROM FORMAT FILE NAME :
EXEC END
Fig. K.2.1(d) I/O (FROM MC) Screen
7) After it is decompiled, the converted ROM format file can be edited by the personal computer.
ww w.
cn cc
en ter
.co m
K. LEVEL UP OF INPUT/OUTPUT FUNCTION WITH MEMORY CARD B–61863E/10APPENDIX
960
(1) Operation of Offline Programmer (FAPT LADDER for Personal computer)
1) Mount a Memory Card interface on the personal computer.
2) Compile a source program and create a ROM format file.
3) Return to the main menu and select [INOUT] (I/O).
4) From the I/O menu, select {M–CARD] (memory Card).
5) Select [WRITE] (PROGRAMMER � Memory Card). (See Fig. K.2.1(b)).
6) Specify the following:
– Name of the ROM format file Specify the name of the ROM format file to be converted.
– Name of Memory Card file name Specify the name to be given to the converted Memory Card file and the Memory Card drive to which the data is output. (The file can be accessed by the Memory Card interface incorporated into the CNC.)
I/O (TO MC) PMC– RA1 <O> [A:¥FLADDER¥ ]
WRITE(PROGRAMMER –> Memory Card)
ROM FORMAT FILE NAME :
Memory Card FILE NAME : (Specify the MEMORY CARD drive)
EXEC END
Fig. K.2.2(a) I/O (TO MC) Screen
(2) Operation of CNC
There are 2 methods by which the sequence program can be inputted from Memory Card.
– The method of using I/O function of PMC On PMC I/O screen, specify M–CARD as “DEVICE”, READ as “FUNCTION”, the file name or file No. you want to input as “FILE NO.” and press the soft key [EXEC].
– The method of using BOOT SYSTEM (When CNC starting up) Refer to K.2.3.
K.2.2 Offline Programmer � CNC
ww w.
cn cc
en ter
.co m
B–61863E/10 K. LEVEL UP OF INPUT/OUTPUT
FUNCTION WITH MEMORY CARDAPPENDIX
961
Sequence programs which are output from leveled up CNC or Offline Programmer to Memory Card can not be input to non leveled up CNC or Offline Programmer. (Refer to the table of K.1)
CNC Offline Programmer
: Leveled up
: Non leveled up
: Available with no condition
: Available with some condition
(1) (4)
(2) (3)
The case of (1), (2), (3) and (4) are explained as follows.
· In case of (1), (2)
Output operation : There is no special operation Input operation : Input sequence programs buy BOOT SYSTEM.
(Refer to K.2.3)
K.2.3 Note
ww w.
cn cc
en ter
.co m
K. LEVEL UP OF INPUT/OUTPUT FUNCTION WITH MEMORY CARD B–61863E/10APPENDIX
962
· In case of (3)
Output operation : Output sequence programs by setting the output format to 1 (:S–FORMAT) on the following SETUP screen PMC I/O. The default output format is 0 (:BINARY).
PMC I/O PROGRAM MONIT STOP
CHANNEL = 1 DEVICE = M–CARD FUNCTION = WRITE DATA KIND = LADDER FILE NO. = ( #NAME )
[ EXEC ][CANCEL][ WRITE ][ READ ][COMPAR]
[DELETE][ LIST ][FORMAT ][ ][SETUP ]
PMC SETUP M–CARD MONIT STOP
OUTPUT FORMAT (PROGRAM) = 1 (0:BINARY,1:S–FORMAT)
[ INPUT ][ ][ ][ ][ INIT ]
Press [INIT] key to reset default value 0.
Input operation : Input sequence programs by selecting F6:“I/O” on main menu screen of FAPT LADDER, then F3:“Handy File & Memory Card”.ww
w. cn
cc en
ter .co
m
B–61863E/10 K. LEVEL UP OF INPUT/OUTPUT
FUNCTION WITH MEMORY CARDAPPENDIX
963
· In case of (4)
Output operation : Output sequence programs by selecting F6:“I/O” on main menu screen of FAPT LADDER, then F4:“Handy File”.
Input operation : Input sequence programs by selecting F6:“I/O” on main menu screen of FAPT LADDER, then F3:“Handy File & Memory Card”.
ww w.
cn cc
en ter
.co m
K. LEVEL UP OF INPUT/OUTPUT FUNCTION WITH MEMORY CARD B–61863E/10APPENDIX
964
Ladder data can be transferred by using a memory card.
Two data formats are used:
– Handy file format
– Memory card format
The handy file format defines the S format data used with RS–232C. The memory card format defines the binary format data used for a boot. Data output to a memory card from the I/O screen of an NB of the 4047 series is handy file format data. Data output to a memory card from the I/O screen of an NB/NB2 of the 4048 series is memory card format data.
Transfer in handy file format Transfer function not provided
Transfer function not provided
FAPT LADDER (personal computer version)
�� � ������
�� ������
NC boot function NB (4047)
PMC I/O screen NB/NB2 (4048)
Transfer in handy file format
Transfer in memory card format Transfer in memory card format
Transfer in memory card format
FAPT LADDER (personal computer version)
NC boot function NB/NB2 (4048)
K.3 NB/NB2 DATA COMPATIBILITY
K.3.1 Data Transfer Between NB (4047 series) and FAPT LADDER
K.3.2 Data Transfer Between NB/NB2 (4048 series) and FAPT LADDER
ww w.
cn cc
en ter
.co m
B–61863E/10 K. LEVEL UP OF INPUT/OUTPUT
FUNCTION WITH MEMORY CARDAPPENDIX
965
Transfer function not provided
Transfer in memory card format
Transfer in memory card formatTransfer in handy file format
Transfer in handy file format
FAPT LADDER (personal computer version)
PMC I/O screen NB (4047)
PMC I/O screen NB (4048)
NC boot function NB (4047)
NC boot function NB (4048)
K.3.3 Data Transfer Between NB (4047 series) and NB (4048 series)
ww w.
cn cc
en ter
.co m
L. ALARM MESSAGE LIST B–61863E/10APPENDIX
966
L ALARM MESSAGE LIST Alarm messages 1 (alarm screen)
Message Contents and solution
ALARM NOTHING Normal status
ER00 PROGRAM DATA ERROR (ROM) The sequence program in the ROM is not written correctly. (solution) Please exchange ROM for the sequence program.
ER01 PROGRAM DATA ERROR (RAM) The sequence program in the debugging RAM is defective. (solution) Please clear the debugging RAM and input LADDER again. The debugging RAM is not installed though the RAM is selected. (solution) Please install the debugging RAM or install ROM for sequence
program and select ROM with K17#3=0.
ER02 PROGRAM SIZE OVER The size of a sequence program exceeded the maximum allowable ladder size. (solution) The ordered RAM size is smaller than the option. Contact FA-
NUC. Change the value of MAX LADDER AREA SIZE on the SYSPRM screen, then turn the power off then back on (only with PMC–RC).
ER03 PROGRAM SIZE ERROR (OPTION) The size of sequence program exceeds the option specification size. (solution) Please increase the option specification size.
Or, reduce the size of sequence program.
ER04 PMC TYPE UNMATCH The PMC model setting of the sequence program is not corresponding to an actual model. (solution) Please change the PMC model setting by the offline program-
mer.
ER05 PMC MODULE TYPE ERROR The module type of the PMC engine is not correct. (solution) Please exchange the module of PMC engine for a correct one.
ER06 PROGRAM MODULE NOTHING Both ROM for sequence program and the debugging RAM do not exist (PMC–RC only). For a 3–path system, the PMC model must be RB6. (solution) Contact FANUC.
ER07 NO OPTION (LADDER STEP) There is no step number option of LADDER.
ER10 OPTION AREA NOTHING (SERIES–NAME)
The PMC–RB management software is not transferred. (solution) There is a mismatch between the order and delivered the soft-
ware. Contact FANUC.
ER11 OPTION AREA NOTHING (SERIES–NAME)
The PMC C language board management software is not transferred. (solution) There is a mismatch between the order and delivered the soft-
ware. Contact FANUC.
ER12 OPTION AREA ERROR (SERIES–NAME) There is a series mismatch between the basic and option of the PMC–RB management software. (solution) Contact FANUC.
ER13 OPTION AREA ERROR (SERIES–NAME) There is a series mismatch between the basic and option of the PMC C language board management software. (solution) Contact FANUC.
ER14 OPTION AREA VERSION ERROR (SERIES–NAME)
There is an edition mismatch between the basic and option of the PMC–RB management software. (solution) Contact FANUC.
ER15 OPTION AREA VERSION ERROR (SERIES–NAME)
There is an edition mismatch between the basic and option of the PMC C language board management software. (solution) Contact FANUC.
ww w.
cn cc
en ter
.co m
B–61863E/10 L. ALARM MESSAGE LISTAPPENDIX
967
Message Contents and solution
ER16 RAM CHECK ERROR (PROGRAM RAM) The debugging RAM cannot be read/written normally. (solution) Please exchange the debugging RAM.
ER17 PROGRAM PARITY The parity error occurred on ROM for sequence program or the debugging RAM. (solution) ROM: The deterioration of ROM may be deteriorated
Please exchange ROM for the sequence program RAM: Please edit the sequence program once on PMC
Still the error occurs, exchange the debugging RAM.
F–ROM: (PMC–NB/FS–20) Please edit the sequence program once on PMC and write sequence program to F–ROM again.
NOTE 1 The PMC–RB3/RC3 for the Series 16 MODEL–B does not support ER00 and ER06. 2 For the PMC–RB3/RC3 for the Series 16 MODEL–B, the ”debugging RAM” and ”ROM for
sequence program,” described in the table, are not supported but the relevant descriptions apply to ordinary RAM.
ww w.
cn cc
en ter
.co m
L. ALARM MESSAGE LIST B–61863E/10APPENDIX
968
Alarm messages 2 (alarm screen)
Message Contents and solution
ER18 PROGRAM DATA ERROR BY I/O Transferring the sequence program from offline programmer was interrupted by the power off etc. (solution) Please clear the sequence program and transfer the se-
quence program again.
ER19 LADDER DATA ERROR Editing the LADDER was interrupted by the power off or by the switch to the CNC screen by the function key etc. (solution) Please edit LADDER once on PMC.
Or, please input LADDER again.
ER20 SYMBOL/ COMMENT DATA ERROR Editing the symbol and comment was interrupted by the power off or by the switch to the CNC screen by the function key etc. (solution) Please edit symbol and comment once on PMC.
Or, please input symbol and comment again.
ER21 MESSAGE DATA ERROR Editing the message data was interrupted by the power off or the switch to the CNC screen by the function key etc. (solution) Please edit message data once on PMC.
Or, please input message data again.
ER22 PROGRAM NOTHING There is no sequence program.
ER23 PLEASE TURN OFF POWER There is a change in setting LADDER MAX AREA SIZE etc. (solution) Please restart the system to make the change effective.
ER24 LADDER, LANGUAGE AREA OVERLAP The ladder area overlaps the C language area. (solution) Adjust the C program address range.
ER32 NO I/O DEVICE Any DI/DO unit of I/O Unit or the connection unit etc. is not connected. When built–in I/O card is connected, this message is not displayed. (solution) When built–in I/O card is used:
Please confirm whether the built–in I/O card is certainly con- nected with. When I/O Link is used: Please confirm whether the DI/DO units turning on. Or please confirm the connection of the cable.
ER33 SLC ERROR The LSI for I/O Link is defective. (solution) Please exchange the module of PMC engine.
ER34 SLC ERROR (xx) The communication with the DI/DO units of the xx group failed. (solution) Please confirm the connection of the cable connected to the DI/
DO units of the xx group. Please confirm whether the DI/DO units turned on earlier than CNC and PMC. Or, please exchange the module of PMC en- gine on the DI/DO units of the xx group.
ER35 TOO MUCH OUTPUT DATA IN GROUP (xx)
The number of the output data in the xx group exceeded the max. The data, which exceed 32 bytes, become ineffective. (solution) Please refer to the following for the number of the data for each
group. ”FANUC I/O Unit–MODEL A connecting and maintenance manual” (B–61813E) ”FANUC I/O Unit–MODEL B connecting manual”(B–62163E)
ER36 TOO MUCH INPUT DATA IN GROUP (xx) The number of the input data in the xx group exceeded the max. The data, which exceed 32 bytes, become ineffective. (solution) Please refer to the following for the number of the data for each
group. ”FANUC I/O Unit–MODEL A connecting and maintenance manual” (B–61813E) ”FANUC I/O Unit–MODEL B connecting manual”(B–62163E)
ww w.
cn cc
en ter
.co m
B–61863E/10 L. ALARM MESSAGE LISTAPPENDIX
969
Message Contents and solution
ER38 MAX SETTING OUTPUT DATA OVER (xx) The assignment data for a group exceeds 128 bytes. (The assignment data of output side of xx group or later become ineffective.) (solution) Please reduce the assignment data to 128 bytes or less for the
number of the output data of each group.
ER39 MAX SETTING INPUT DATA OVER (xx) The assignment data for a group exceeds 128 bytes. (The assignment data of input side of xx group or later become infective.) (solution) Please reduce the assignment data to 128 bytes or less for the
number of the input data of each group.
ww w.
cn cc
en ter
.co m
L. ALARM MESSAGE LIST B–61863E/10APPENDIX
970
Alarm messages 3 (alarm screen)
Message Contents and solution
WN01 LADDER MAX SIZE ERROR The MAX LADDER AREA SIZE in the system parameter is illegal. (solution) Set the correct value to MAX LADDER AREA SIZE and restart
the system.
WN02 OPERATE PANEL ADDRESS ERROR The address setting data of the operator’s panel for FS–0 is illegal. (solution) Please correct the address setting data.
WN03 ABORT NC–WINDOW/EXIN LADDER was stopped while CNC and PMC were communicating. The functional instruction WINDR, WINDW, EXIN, DISPB, and etc. may not work normally. (solution) When restarting the system, this alarm will be released.
Execute the sequence program(Press RUN key) after confirm- ing whether there is a problem in LADDER or not.
WN04 UNAVAIL EDIT MODULE The LADDER editing module cannot be recognized. (PMC–RA1/RA2/RA3/RB/RB2/RB3, except RA1/RA3 for FS–20) (solution) Please confirm the slot position installed.
Please confirm the installed module.
WN05 PMC TYPE NO CONVERSION A PMC–RA3/RA5 ladder was transferred to PMC–RB5. (solution) Correct the ladder type.
WN06 TASK STOPPED BY DEBUG FUNC Some user tasks are stopped by break point of the debugging function.
WN07 LADDER SP ERROR (STACK) When functional instruction CALL(SUB65) or CALLU(SUB66) was executed, the stack of the LADDER overflowed. (solution) Please reduce the nesting of the subprogram to 8 or less.
WN17 NO OPTION (LANGUAGE) There is no C language option.
WN18 ORIGIN ADDRESS ERROR The LANGUAGE ORIGIN address of the system parameter is wrong (solution) Please set the address of symbol RC_CTLB_INIT in the map file
to the LANGUAGE ORIGIN of the system parameter.
WN19 GDT ERROR (BASE, LIMIT) The value of BASE, LIMIT or ENTRY of user defined GDT is illegal. (solution) Please correct the address in link control statement and build file.
WN20 COMMON MEM. COUNT OVER The number of common memories exceeds 8. (solution) Please reduce the number of common memories to 8 or less.
It is necessary to correct a link control statement,build file and the source file for the common memory.
WN21 COMMON MEM. ENTRY ERROR GDT ENTRY of the common memory is out of range. (solution) Please correct the address of GDT ENTRY of the common
memory in the link control statement.
WN22 LADDER 3 PRIORITY ERROR The priority of LADDER LEVEL 3 is out of range. (solution) Please correct the value of LADDER LEVEL 3 in the link con-
trol statement within the range of 0 or 10–99 or –1.
WN23 TASK COUNT OVER The number of user tasks exceeds 16. (solution) Please confirm TASK COUNT in the link control statement.
When the number of tasks is changed, it is necessary to cor- rect the link control statement, build file and the composition of the files to be linked.
WN24 TASK ENTRY ADDR ERROR The selector of the entry address to the user task is out of range. (solution) Please correct the table of GDT in build file to the value within
32(20H)–95(5FH).
WN25 DATA SEG ENTRY ERROR The entry address of the data segment is out of range. (solution) Please correct DATA SEGMENT GDT ENTRY in the link con-
trol statement and the table of GDT in build file within 32(20H)–95(5FH).
WN26 USER TASK PRIORITY ERROR The priority of the user task is out of range. (solution) Please correct the TASK LEVEL in link control statement within
the range of 10–99 or –1. Note: Only one task can have TASK LEVEL –1 (including LAD- DER LEVEL 3).
ww w.
cn cc
en ter
.co m
B–61863E/10 L. ALARM MESSAGE LISTAPPENDIX
971
Alarm messages 4 (alarm screen)
Message Contents and solution
WN27 CODE SEG TYPE ERROR The code segment type is illegal. The code segment of RENAMESEG in the binding control file is wrong. (solution) Please correct the entry of the code segment in the link control
statement to correspond to the entry in the build file.
WN28 DATA SEG TYPE ERROR The data segment type is illegal. The data segment of RENAMESEG in the binding control file is wrong. (solution) Please correct the entry of the code segment in the link control
statement to correspond to the entry in the build file.
WN29 COMMON MEM SEG TYPE ERROR The segment type of common memory is illegal. The segment of RENAMESEG in the building control file of the common memory is wrong. (solution) Please correct the entry of common memory in the link control
statement to correspond to the entry in the build file.
WN30 IMOPSSIBLE ALLOCATE MEM. The memories for the data and stack etc. cannot be allocated. (solution) Please confirm whether the value of code segment in build file
and USER GDT ADDRESS in link control statement is correct or not. Or please reduce the value of MAX LADDER AREA SIZE of the system parameter and the size of the stack in link control statement at the least.
WN31 IMPOSSIBLE EXECUTE LIBRARY The library function cannot be executed. (solution) Please confirm the object model of the library.
Or, system ROM of PMC must be replaced with one of later ver- sion.
WN32 LNK CONTROL DATA ERROR Link control statement data is illegal. (solution) Please confirm whether the address of symbol
RC_CTLB_INIT in map file is set to LANGUAGE ORIGIN of the system parameter. Or, please make the link control statement again.
WN33 LNK CONTROL VER. ERROR A link control statement data version error occurred. (solution) Correct the link control statement in the C program.
WN34 LOAD MODULE COUNT OVER There are more than eight independent load modules. (solution) Reduce the number of independent load modules to eight or
less.
WN35 CODE AREA OUT OF RANGE The code segment area is outside the RAM area. (solution) Check the link map, and place segments within the RAM area.
WN36 LANGUAGE SIZE ERROR (OPTION) The size of the language area exceeds the option. (solution) Check the free space, and increase the option.
WN37 PROGRAM DATA ERROR (LANG.) The language program area is invalid. (solution) Clear the language area.
[EDIT]�[CLEAR]�[CLRLNG]�[EXEC]
WN38 RAM CHECK ERROR (LANG.) A RAM check error occurred in the language program area. (solution) Replace the RAM.
WN39 PROGRAM PARITY (LANG.) A parity error occurred in the language program area. (solution) Reenter each language program. If an error still occurs, re-
place the RAM.
WN40 PROGRAM DATA ERROR BY I/O (LANG.)
Language program read operation was interrupted. (solution) Reenter the language program.
WN41 LANGUAGE TYPE UNMATCH There is a C program type mismatch. (solution) Correct the C program.
WN42 UNDEFINE LANGUAGE ORIGIN ADDRESS
No language origin address is set. (solution) Set a language origin address.
ww w.
cn cc
en ter
.co m
L. ALARM MESSAGE LIST B–61863E/10APPENDIX
972
System alarm messages 1 (PMC–RC)
Message STATUS LED Contents and solution
PC1nn CPU INTERPT xxxx yyyyyy
STATUS LED ��
A CPU error (abnormal interrupt) occurred. nn : CPU exception handling code
It is an exception code of i80386. For details, please refer to the manual of the CPU.
00 Division error such as a divisor is 0 in division instruction. 12 Stack exception such as violations of limit of stack segment. 13 General protection exception such as segment limit over.
xxxx : Segment selector where system error occurred. The selector of 0103–02FB is used by C language.
yyyyyy: Offset address where system error occurred.
PC130 RAM PARITY aa xxxx yyyyyy
STATUS LED ��
The parity error occurred on the debugging RAM of PMC. aa : RAM PARITY ERROR information. xxxx : Segment selector where system error occurred. yyyyyy: Offset address where system error occurred.
PC140 NMI BOC bb xxxx yyyyyy
STATUS LED ��
The RAM parity error or NMI(Non Maskable Interrupt) generated in module of PMC engine. bb : RAM PARITY ERROR information. 1, 2, 4, 8 Parity error occurred on basic DRAM. 14, 18 Parity error occurred on option DRAM. 20, 60, A0, E0 Parity error occurred on SRAM.
xxxx : Segment selector where system error occurred. yyyyyy: Offset address where system error occurred.
System alarm messages 2 (PMC–RC)
Message STATUS LED Contents and solution
PC150 NMI SLC aa cc
STATUS LED ��
The communication error occurred in the I/O Link. aa, cc : I/O Link error information. This error may occur by the following causes. 1.When I/O Unit–MODEL A is used, base1, 2 or 3 is not connected
though allocated. 2.The connection of cable is insufficient. 3.Defects of cable. 4.Defects of DI/DO units (I/O unit, Power Mate etc.) 5.Defects of PMC board (printed circuit board on host side where I/O
Link cable is connected.) (solution) Investigate the cause of error. 1.Please confirm the allocation data (by ”EDIT”→”MODULE” screen)
and compare with the actual connection. 2.Please confirm whether the cable is correctly connected.
If you cannot find the cause with the ways above, it may be the defect of hardware. Please investigate a defective place by the following methods.
3.Please confirm the specification of the cable referring to ”FANUC I/O Unit–MODEL B connecting manuals(B–62163E)”.
4.Exchange the interface module of I/O Unit, the cable and the PMC board, etc. one by one and, confirm whether this error occurs again. The communication may fail by the noise etc. when this error still occurs after replacing all DI/DO units. Please investigate the cause of noise.
PC160 F–BUS ERROR xxxx:yyyyyyyy PC161 F–BUS ERROR xxxx:yyyyyyyy PC162 F–BUS ERROR xxxx:yyyyyyyy STATUS LED ��
A bus error occurred on the PMC. xxxx : Segment selector for which a bus error occurred. yyyyyyyy : Offset address where a bus error occurred.
PC170 L–BUS ERROR xxxx:yyyyyyyy PC171 L–BUS ERROR xxxx:yyyyyyyy PC172 L–BUS ERROR xxxx:yyyyyyyy STATUS LED ��
A bus error occurred on the PMC. xxxx : Segment selector for which a bus error occurred. yyyyyyyy : Offset address where a bus error occurred.
PC199 ROM PARITY eeeeeeee STATUS LED ��
The parity error occur in PMC system ROM. eeeeeeee : ROM parity error information.
ww w.
cn cc
en ter
.co m
B–61863E/10 L. ALARM MESSAGE LISTAPPENDIX
973
STATUS LED (green) are LED1, LED2 on PMC–RC. CAP–II is LED3 and LED4.
� : Off � : On �� : Blinking
NOTE 1 The system error on PMC–RA1,RA2,RA3,RB,RB2 and
RB3 is displayed as a system error on the CNC side. (Refer to the ”FANUC Series 16–MA Operator’s Manual (B–61874E)” and ”FANUC Series 16–TA Operator’s Manual (B–61804E)”.)
2 Error information is needed to investigate on FANUC, please take notes of it.
ww w.
cn cc
en ter
.co m
L. ALARM MESSAGE LIST B–61863E/10APPENDIX
974
System alarm messages 3 (PMC–NB/NB2)
Message STATUS LED Contents and solution
RAM ERROR <a> bbcc xxxx: yyyyyyyy: PC010
STATUS LED �� or ��
The parity error occurs on the debugging RAM of PMC. a : RAM which generates RAM parity.
B BASIC RAM O OPTION RAM S STATIC RAM
bb, cc : RAM PARITY information. xxxx : Segment selector where system error occurred. yyyyyyyy : Offset address where system error occurred.
ROM ERROR aaaaaaaa: PC020 STATUS LED ��
The parity error occurs in PMC system ROM. aaaaaaaa : ROM parity information
DIVIDE ERROR xxxx: yyyyyyyy: PC040
STATUS LED ��
Division error occurs such as a divisor is 0 in the division instruction. xxxx : Segment selector where system error occurred. yyyyyyyy : Offset address where system error occurred.
BUS ERROR xxxx: yyyyyyyy: PC040
STATUS LED ��
The BUS error (access on illegal address). xxxx : Segment selector where system error occurred. yyyyyyyy : Offset address where system error occurred.
STACK FAULT xxxx: yyyyyyyy: PC040
STATUS LED ��
The stack exception such as the violation of the limit of the stack. xxxx : Segment selector where system error occurred. yyyyyyyy : Offset address where system error occurred.
GENERAL PROTECTION xxxx: yyyyyyyy: PC040
STATUS LED ��
The general protection exception such as segment limit over was generated. xxxx : Segment selector where system error occurred. yyyyyyyy : Offset address where system error occurred.
SLC ERROR aa (cc) : PC050
STATUS LED ��
The communication error occurred in the I/O Link. aa, cc : I/O Link error information. This error may occur by the following causes. 1.When I/O Unit–MODEL A is used, base1, 2 or 3 is not connected
though allocated. 2.The connection of cable is insufficient. 3.Defects of cable. 4.Defects of DI/DO units (I/O unit, Power Mate etc.) 5.Defects of PMC board (printed circuit board on host side where I/O
Link cable is connected.) (solution) Investigate the cause of error. 1.Please confirm the allocation data (by ”EDIT”→”MODULE” screen)
and compare with the actual connection. 2.Please confirm whether the cable is correctly connected.
If you cannot find the cause with the ways above, it may be the defect of hardware. Please investigate a defective place by the following methods.
3.Please confirm the specification of the cable referring to ”FANUC I/O Unit–MODEL B connecting manuals(B–62163E)”.
4.Exchange the interface module of I/O Unit, the cable and the PMC board, etc. one by one and, confirm whether this error occurs again. The communication may fail by the noise etc. when this error still occurs after replacing all DI/DO units. Please investigate the cause of noise.
STATUS LED (green) are LED1, LED2 on PMC–NB.
� : Off � : On �� : Blinking
NOTE Error information is needed to investigate on FANUC, please take notes of it
ww w.
cn cc
en ter
.co m
B–61863E/10 L. ALARM MESSAGE LISTAPPENDIX
975
System alarm messages (PMC–RB5/RB6)
Message Contents and solution
PC0nn CPU INTERRUPT xxxxxxxx CPU error
nn :Exception code xxxxxxxx :Address at which an error occurred
PC004 CPU ERR xxxxxxxx:yyyyyyyy PC006 CPU ERR xxxxxxxx:yyyyyyyy PC009 CPU ERR xxxxxxxx:yyyyyyyy PC010 CPU ERR xxxxxxxx:yyyyyyyy
A CPU error occurred on the PMC. xxxxxxxx and yyyyyyyy represent an internal error code.
This error may be caused by a main board failure.
(solution) Replace the main board, then check if this error occurs again. If this error still occurs, contact FANUC with the error status information (system con- figuration, operation, error occurrence timing, error occurrence frequen- cy, and so forth).
PC030 RAM PARITY aa:bb A RAM parity error occurred on the PMC. aa and bb represent an internal error code.
This error may be caused by a main board failure.
(solution) Replace the main board, then check if this error occurs again. If this error still occurs, contact FANUC with the error status information (system con- figuration, operation, error occurrence timing, error occurrence frequen- cy, and so forth) and the internal error code above.
PC040 NMI BOC xxxxxxxx A non–maskable interrupt (NMI) occurred in the PMC control module.
xxxxxxxx :Address at which an error occurred
PC050 NMI SLC aa:bb A communication error occurred on the I/O Link. aa and bb represent an internal error code.
This error may occur as a result of one of the following: (1) When I/O Unit A is used, an I/O assignment is made for base expan-
sion, but no base is connected. (2) Cables are not connected correctly. (3) Cables are faulty. (4) I/O devices (I/O Unit, Power Mate, and so forth) are faulty. (5) The main board is faulty.
(solution) (1) Check if the I/O assignment data matches the actual connections of
the I/O devices. (2) Check if the cables are connected correctly. (3) Check the cable specifications by referring to the ”FANUC I/O Unit–
MODEL A Connection and Maintenance Manual (B–61813EN)” or ”FANUC I/O Unit–MODEL B Connection Manual (B–62163EN).
(4) Replace the interface module, cables, and main board of the I/O Unit, then check whether this error occurs again.
If this error still occurs after replacement of all the devices related to the I/O Link according to Action (4), the communication error may have been caused by noise. Attempt to identify the source of the noise.
PC060 FBUS xxxxxxxx:yyyyyyyy PC061 FL–R xxxxxxxx:yyyyyyyy PC062 FL–W aa:xxxxxxxx:yyyyyyyy
A bus error occurred on the PMC. aa, xxxxxxxx, and yyyyyyyy represent an internal error code.
This error may be caused by a hardware failure.
(solution) Contact FANUC with the error status information (system configuration, operation, error occurrence timing, error occurrence frequency, and so forth), the internal error code above, and the LED statuses on each board.
ww w.
cn cc
en ter
.co m
L. ALARM MESSAGE LIST B–61863E/10APPENDIX
976
Message Contents and solution
PC070 SUB65 CALL (STACK) A stack error occurred with the ladder functional instruction CALL/CAL- LU.
(solution) Check the correspondence between the CALL/CALLU instruction and the SPE instruction. If the cause of the fault cannot be found, contact FA- NUC with the error status information and the ladder program.
PC080 SYS EMG xxxxxxxx:yyyyyyyy PC081 FL EMG xxxxxxxx:yyyyyyyy
A system alarm was issued due to other software.
(solution) Contact FANUC with the error status information (system configuration, operation, error occurrence timing, error occurrence frequency, and so forth), the internal error code above, and the LED statuses on each board.
PC097 PARITY ERR (LADDER) PC098 PARITY ERR (DRAM) PC099 PARITY ERR (SRAM)
A parity error occurred on the PMC system.
This error may be caused by a main board failure.
(solution) Replace the main board, then check whether this error occurs again. If this error still occurs, contact FANUC with the error status information (system configuration, operation, error occurrence timing, error occur- rence frequency, and so forth).
ww w.
cn cc
en ter
.co m
B–61863E/10 M. EXAMPLE OF STEP
SEQUENCE PROGRAMSAPPENDIX
977
MEXAMPLE OF STEP SEQUENCE PROGRAMS The CNC is connected two or three Power Mate units.
I/O Unit
X0.0:Safety switch Y0.0:Safety switch Y1.0:Ready end#1 Y1.1:Drive start#1 Y2.0:Ready end#2 Y2.1:Drive start#2 Y3.0:Ready end#3 Y3.1:Drive start#3
Connection Unit.
Power Mate #1
X100.0:Ready end#1 Y100.0:Emergency#1 X100.1:Driving#1 Y100.1:Drive start#1
Power Mate #2
X110.0:Ready end#2 Y110.0:Emergency#2 X110.1:Driving#2 Y110.1:Drive start#2
Power Mate #3
X120.0:Ready end#3 Y120.0:Emergency#3 X120.1:Driving#3 Y120.1:Drive start#3
CNC
NOTE The addresses indicate the single addresses, as viewed from the CNC.
The CNC controls the Power Mate units at the following signal timing.
Ready end #1 (Power Mate to CNC)
Drive start #1 (CNC to Power Mate)
Driving #1 (Power Mate to CNC)
1sec1sec
1sec
ww w.
cn cc
en ter
.co m
M. EXAMPLE OF STEP SEQUENCE PROGRAMS B–61863E/10APPENDIX
978
The following flowchart illustrates the interface with the Power Mate units.
Waiting for that the moving finishes.
CNC Power Mate x
When the ready and signal is off, the driving start common is not sent.
The start signal (STx) is set on. STx
STx
Start moving by the start signal and the DEN signal (DENx) is set on for CNC.
DENx When the moving finishes, the NC program is rewound and the DEN signal (DENx) is set off.
DENx
Finished
The start signal (STx) is set off after 1 second.
The interface with the Power Mate units is changed to the Step Sequence program.
Dummy Step
Ready end Ready
finished
Step Sequence for the Power Mate
The start signal is set on.
Wait for 1 second.
The start signal is set off.
Wait for that the TIMER finishes.
The moving status is set the LED.
Wait for that the moving finishes.
finished
ww w.
cn cc
en ter
.co m
B–61863E/10 M. EXAMPLE OF STEP
SEQUENCE PROGRAMSAPPENDIX
979
The Step sequence program for three sequentially driven Power Mate units:
The input signal is set the LED.
The input signal is 1 (true).
Drive Power Mate#1
Dummy trasition
Drive Power Mate#2
Dummy trasition
Drive Power Mate#3
Dummy trasition
Main program
Start the timer.
Wait for one second.
Clear the timer.
Wait for that the timer finishes.
L1
L1
Example 1
ww w.
cn cc
en ter
.co m
M. EXAMPLE OF STEP SEQUENCE PROGRAMS B–61863E/10APPENDIX
980
The Step Sequence program for three simultaneously driven Power Mate units:
The input signal is set the LED.
The input signal is 1 (true).
Drive Power Mate#1
Dummy trasition
Main program
Start the timer.
Wait for one second.
Clear the timer.
Wait for that the timer finishes.
L1
L1
Drive Power Mate#2
Drive Power Mate#3
Example 2
ww w.
cn cc
en ter
.co m
B–61863E/10 N. STEP SEQUENCE CORRESPONDED
C LANGUAGEAPPENDIX
981
N STEP SEQUENCE CORRESPONDED C LANGUAGE
The operation is continued while the condition is true.
condition
The condition is false.
L1
L1
The condition is true.
operation
Operation finished.
N.1 WHILE STATEMENT
Format
ww w.
cn cc
en ter
.co m
N. STEP SEQUENCE CORRESPONDED C LANGUAGE B–61863E/10APPENDIX
982
S1 (P10)
P11
L1
L1
P12 S2 (P20)
P21
COMPB 1 30 R10
R9000.0
TRSET
P10
P11
TRSET
R9091.1 COMPB 1
30 R10
R9000.0
TRSET
P12
TRSET
R9091.0 MULB 1
R10 5 R12
P20
R9091.1
( ) R0.0
R9091.0 ADDB 1
R10 1 R10
R9091.1
( ) R0.0
R9091.1
TRSET
P21
TRSET
R9091.1
Examples
ww w.
cn cc
en ter
.co m
B–61863E/10 N. STEP SEQUENCE CORRESPONDED
C LANGUAGEAPPENDIX
983
The operation is continued while the condition is true after executing the operation.
The difference between do–while and while is that the operation is executed at least one time.
operation
The condition is false.
L1
L1
The condition is true.
condition
N.2 DO–WHILE STATEMENT
Format
ww w.
cn cc
en ter
.co m
N. STEP SEQUENCE CORRESPONDED C LANGUAGE B–61863E/10APPENDIX
984
S1 (P20) P21
L1
L1
P12
COMPB 1 30 R10
R9000.0
TRSET
P10
P11
TRSET
R9091.1 COMPB 1
30 R10
R9000.0
TRSET
P12
TRSET
R9091.0 MULB 1
R10 5 R12
P20
R9091.1
( ) R0.0
R9091.0 ADDB 1
R10 1 R10
R9091.1
( ) R0.0
R9091.1
TRSET
P21
TRSET
S2 (P10)
P11
R9091.1
Examples
ww w.
cn cc
en ter
.co m
B–61863E/10 N. STEP SEQUENCE CORRESPONDED
C LANGUAGEAPPENDIX
985
After the initial data is set, the operation is continued while the condition is true.
operation
The condition is false.
L1
L1
The condition is true.
condition
Set the initial data.
N.3 FOR STATEMENT
Format
ww w.
cn cc
en ter
.co m
N. STEP SEQUENCE CORRESPONDED C LANGUAGE B–61863E/10APPENDIX
986
R9091.1 NUMEB 1
0 R10
R9091.1
TRSET
P1
R9091.0 COMPB 1
30 R10
R9000.0
TRSET
P11
TRSET
R9091.0 MULB 1
R10 5 R12
P20
R9091.1
( ) R0.0
P2
R9091.1
TRSET
P21
R9091.0 ADDB 1
R10 1 R10
P10
R9091.1
( ) R0.0
R9091.0 COMPB 1
30 R10
R9000.0
TRSET
P21
TRSET
S2 (P20) P21
L1
L1 P12
S3 (P10)
P11
S1 (P1) P2
Examples
ww w.
cn cc
en ter
.co m
B–61863E/10 N. STEP SEQUENCE CORRESPONDED
C LANGUAGEAPPENDIX
987
If the condition is true, the operation 1 is executed and if the condition is false, the operation 2 is executed.
condition
The condition is true. The condition is false.
operation1 operation2
N.4 IF ELSE STATEMENT
Format
ww w.
cn cc
en ter
.co m
N. STEP SEQUENCE CORRESPONDED C LANGUAGE B–61863E/10APPENDIX
988
R9091.0 MULB 1
R10 8 R12
P20
R9091.1
( ) R0.0
R9091.1
TRSET
P21
COMPB 1 30 R10
R9000.0
TRSET
P1 0
P1 1
TRSET
R9091.0 COMPB 1
30 R10
R9000.0
TRSET
P12
TRSET
R9091.0 MULB 1
R10 10 R12
P22
R9091.1
( ) R0.0
R9091.1
TRSET
P23
S1 (P10)
P11 P12
S2 (P20)
S3 (P22)
P21 P23
R9091.0
Examples
ww w.
cn cc
en ter
.co m
B–61863E/10 N. STEP SEQUENCE CORRESPONDED
C LANGUAGEAPPENDIX
989
The operation connected to the condition is executed.
condition
condition1
operation1
condition2
operation2
condition3
operation3
N.5 SWITCH STATEMENT
Format
ww w.
cn cc
en ter
.co m
N. STEP SEQUENCE CORRESPONDED C LANGUAGE B–61863E/10APPENDIX
990
R9091.0 MULB 1
R10 5 R12
P20
R9091.1
( ) R0.0
R9091.1
TRSET
P21
COMPB 1 30 R10
R9000.0
TRSET
P1 0
P1 1
TRSET
R9091.0 COMPB 1
40 R10
R9000.0
TRSET
P12
TRSET
R9091.0 MULB 1
R10 10 R12
P22
R9091.1
( ) R0.0
R9091.1
TRSET
P13
S1 (P10)
P11
S2 (P20)
P12
S3 (P22)
P13
S4 (P24)
P21 P23 P25
R9091.1
Examples
ww w.
cn cc
en ter
.co m
B–61863E/10 N. STEP SEQUENCE CORRESPONDED
C LANGUAGEAPPENDIX
991
R9091.0 MULB 1
R10 15 R12
P24
R9091.1
( ) R0.0
R9091.1
TRSET
P25
R9091.1
TRSET
P23
ww w.
cn cc
en ter
.co m
0. CHINESE CHARACTER CODE, HIRAGANA CODE, AND SPECIAL CODE LIST APPENDIX
CHINESE CHARACTER CODE, HIRAGANA CODE, AND SPECIAL
* Replace all tables with follows.
Pronun ciation
alpha nume
l-k
%
hi
ra
ga lla
.
G r e
:
JIS
2330
2350
2360
2370
2420
2430
2440
2450
2460
2470
2520
2530
2540
2550
2560
2570
2620
2630
2640
2650
Shift JIS
824F
825F
826F
8280
8290
8293
B2AE
B2BE
BZCE
BPDE
62EE
833F
834F
835F
836F
8380
8390
8393
63AE
BSBE
63CE
Segment and point
0123456789ABCDEF
0 12 3 4 5 6 7 8 9
X The characters with mark % cannot be displayed on FANUC Series 16-MODEL A.
- 992 -
4
ww w.
cn cc
en ter
.co m
1 AL
6--61863E/lO
0. CHINESE CHARACTER CODE, HIRAGANA APPENDIX CODE, AND SPECIAL CODE LIST
Vonun :iation
7
4
3
L
7t
n
4
9
JIS
1020
I030
1040
Fzj-
I050
1060
1070
$120
Kz
$130
3140
3140
3150
3160
3170 3170
3220
3230
3230
3240 3250
3260
3270
3320 3330
3340 3350 3360
3370 3420 3430
3440
3450 3460
3460
3470
3520
3530
3540
3550
3560
3570
3620
3630
3640
3650
3660
3660
3670
3720
Shift Segment and point
JIS 0 1 2 3 4 5 6 7 8 9 A B C D E F
- 993 -
ww w.
cn cc
en ter
.co m
0. CHINESE CHARACTER CODE, HIRAGANA CODE, AND SPECIAL CODE LIST APPENDIX 8-61863Em
Pronun ciation
JIS
3840
3870 3920 3930 3940 3950 3960 3970 3A20 3A30 3A30 3A40 3A50 3A60 3A70 3B20 3B30 3B40 3B40 3B50
3B60 3B70 3C20 3C30 3C40 3c50 3c60 3c70 3D20
3D30
3D40 3D50
3D60
3D70 3E20
3E30
3E40 3E50
3E60
Shin JIS
8C4F
8C4F 8C5F
8C6F
8C80 8C90 8C9E
SCAE
8CBE 8CBE
8CCE 8CDE 8CEE 8D3F 8D4F 8D5F 8D6F 8D80 8D90 8D9E 8DAE 8DAE 8DBE
8DCE 8DDE 8DEF 8E3F 8E4F 8E5F 8E5F 8E6F
8E80 8E90 8E9E 8EAE 8EBE
8ECE 8EDE 8EEE
8F3F 8F4F
8F5F
8F6F 8F80
8F90
8F9E
8FAE
8FBE 8FCE 8FDE
ronun iation 4
‘V
x
..: .,... ( _ . ..~ /.. ;; -i ” ‘.‘!I .:. .;;,.
. . I : :,. shows the character which is impossible to display.
ww w.
cn cc
en ter
.co m
prDnun ciation
&61863010 0. I..‘:.: + shows the character which is impossible to display. :j:;:;:;,. .,.: -‘.:;:;.. F’;“.’ :’ ::
- 995 -
ww w.
cn cc
en ter
.co m
0. CHINESE CHARACTER CODE, HIRAGANA CODE, AND SPECIAL CODE LIST APPENDIX ~1863Vlcl
Pronun ciation
/
4
,\ d-
7
4
JIS
4570
4620
4630
4640
4650
ziz
4670
4670
4720
4720
4720
4730
4730
4740
4740
4750
4760 4770
4820
4830
4850 zz
4860
4870
4920 4930
4940
4950 4950
4960
4970
MO
MO lm
a40
&A50
4A50
4A60 4A70
4B20
4B30
4B40
4B50
ZiY
4B70
4C20
zzii
4c30
4c30
_:~~~.~~~~~~~ail~~ shows the character which is impossible to display. . . . .
-!W6-
Pronun ciation
%
ww w.
cn cc
en ter
.co m
.
0. CHINESE CHARACTER CODE, HIRAGANA APPENDIX CODE, AND SPECIAL CODE LIST
- 997 -
ww w.
cn cc
en ter
.co m
IndexB–61863E/10
i–1
[A] ADD (Addition), 191
ADDB (Binary Addition), 193
Additions to Sequence Programs, 665
Address, 42
Address Change of Sequence Program, 453
Address of Counter (C), 73
Address of Data Table (D), 77
Address of Keep Relay and Nonvolatile Memory Con- trol (K), 75
Addresses, 304
Addresses Between PMC and CNC (PMC�NC), 52
Addresses Between PMC and Machine Tool (PMC�MT), 53
Addresses Between PMC and Machine Tool for PMC- RB/RC, 53
Addresses for Message Selection Displayed on CRT (A), 71
Addresses, Signal Names, Comments, and Line Num- bers, 304
Alarm Message List, 966
Alarm Screen (Alarm), 356
Alter, 637
Alteration of Sequence Programs, 445
AND, 90
AND. NOT, 90
AND. STK, 93
Applicable Fapt Ladder Editions, 953
Applications, 312
Arbitrary Functional Instructions, 243
Area Managed by the System Program, 68
Assignment of I/O Module Addresses, 55
Automatic Operation when the Power is Turned on, 340
Automatic Tracing Function at Power on, 359
Axctl (Axis Control by PMC), 285
[B] Block Step, 571
[C] C Input/Output, 477
CALL (Conditional Subprogram Call), 278
CALLU (Unconditional Subprogram Call), 279 Cautions for Subroutines, 319 Chinese Character Code, Hiragana Code, and Special
Code List, 992 Clearing the PMC Parameter, 466 Clearing the Sequence Program, 340, 465 Clearing the Sequence Program and Condensation of
the Sequence Program, 465 CNC → Offline Programmer, 958 COD (Code Conversion), 148 CODB (Binary Code Conversion), 151 Coding (Step 5), 22 COIN (Coincidence Check), 177 Collation of Program, 657 Collation of Source Programs, 657 COM (Common Line Control), 156 COME (Common Line Control End), 161 Comments, 305 COMP (Comparison), 173 Compatibility of Ladder Diagram, 603 Compatibility with CNC Basic Software, 947 COMPB (Comparison Between Binary Data), 175 Component Units, 423, 611, 948 Component Units and Connections, 422, 610, 948 Compress the Sequence Program, 466 Compressed Input by [COMAND] Key, 674 Condense, 950 Condense Command – Release of Deleted Area, 686 Configuration and Operation of Step- Sequence Pro-
grams, 562 Configuration of Command, 683 Confirming the Ladder Mnemonics, 526 Connecting Component Units, 428 Connecting the I/O Card, 941 Connecting the I/O Unit, 941 Connecting the Operator’s Panel for FS 0 with FS16,
FS18, FS21, or Power Mate, 938 Connection, 941 Connection of Components, 949 Connections of Units, 612 Convergence of Selective Sequence, 567 Convergence of Simultaneous Sequence, 569 Conversion, 935 Copy a Ladder Program [CPYLAD], 495 Copy I/O Module Data [CPYMDL], 496 Copy Message Data [CPYMSG], 495 Copy Symbol Data and Comment Data [CPYSYM],
495 Copy the Sequence Programs [CPYALL], 496 Copy Title Data [CPYTTL], 495 Copying a Sequence Program, 671 Copying Message Data (COPY), 464 Copying the Sequence Program, 451
ww w.
cn cc
en ter
.co m
Index B–61863E/10
i–2
Corresponding Function, 602
Counter Screen (COUNTR), 390
Creating a Program, 317
Creation of Interface Specifications (Steps 1 to 3), 21
Creation of Ladder Diagram (Step 4), 21
Cross Reference Display, 467
CRT/MDI Operation, 586
CTR (Counter), 133
CTRC (Counter), 139
[D] Data Display and Setting (Title, Symbol, Ladder Pro-
gram, Comment, Message, I/O Module), 630
Data Input to and Output from other Devices, 489
Data Keys and Screen Scroll Key, 618
Data Number, Data Attribute, Data Length, Data Area, 929
Data Table (DATA), 396
Data Transfer Between NB (4047 series) and FAPT LADDER, 964
Data Transfer Between NB (4047 series) and NB (4048 series), 965
Data Transfer Between NB/NB2 (4048 series) and FAPT LADDER, 964
DCNV (Data Conversion), 169
DCNVB (Extended Data Conversion), 171
Debugging, 504
DEC (Decode), 129
DECB (Binary Decoding), 131
Delete, 641
Delete of Sequence Program, 448
Delete of Symbol data and Comment, 459
Deleting a Sequence Program, 668
Deleting Title Data, 437
Deletion of Programs, 658
Descriptions of Displayed Items, 500
Details of Basic Instructions, 84
DIFD (Falling Edge Detection), 254
Difference of Status of Signals Between 1st Level and 2nd Level, 37
DIFU (Rising Edge Detection), 253
Direct Editing by Ladder Diagram, 660
DISP(Message Display) (PMC–RB/RB2/RB3/ RB4/RB5/RB6/RC/ RC3/RC4 Only), 209
DISPB, 223
Display of Ladder Diagram, 643
Display of Signal Status (Status), 355
Displayed Items, 503
Displaying and Setting the Configuration Status of I/O Devices(IOCHK), 370
Displaying Input Code (DSPMOD), 464
Displaying of Sequence Program, 587
Displaying the Contents of Memory, 360
Displaying the GDT (Global Descriptor Table), 498
Displaying the Memory Allocation Information of a User Program CODED IN C., 501
Displaying the Running State of a User Task (USRDGN), 368
Displaying Title Data, 353
DIV (Division), 203
DIVB (Binary Division), 205
Divergence of Selective Sequence, 567
Divergence of Simultaneous Sequence, 568
Dividing Display of Ladder Diagram, 415
Do–while Statement, 983
DSCH (Data Search), 181
DSCHB (Binary Data Search), 184
Dump Display on Ladder Diagram, 407
[E] Editing a Character String in Message Data, 463
Editing Character Strings of Symbol Data and Com- ment Data, 460
Editing Character Strings of Title Data, 438
Editing for Power Mate–MODEL D (PMC–PA1/PA3), 947
Editing Function of Ladd ER Diagram, 597
Editing Ladder Mnemonics, 525
Editing of Sequence Program (EDIT), 436
Editing Symbol Data and Comment at Once, 453
Editing the Sequence Program (EDIT), 524
Emergency Stop Signal (*ESP), 942
Enabling Automatic Debugging at Power-on, 508
END (End of a Ladder Program), 277
End of Block Step, 572
END1 (1st Level Sequence Program End), 120
END2 (2nd Level Sequence Program End), 121
End3 (End of 3rd Level Sequence) (PMC-RC/ RC3/RC4/ NB/NB2 Only), 122
Ending Edit of a Sequence Program, 675
ww w.
cn cc
en ter
.co m
B–61863E/10 Index
i–3
Ending Ladder Mnemonics Editing, 528
Entering Data on the Program Check Screen (*Low– Speed response) (Not available for Power Mate– D/F, Series 21–TA), 780
Entering Title Data, 437
Entering Torque Limit Data for the Digital Servo Motor (*Low–Speed response), 784
EOR (Exclusive OR), 255
Error Codes List (For FAPT Ladder P–G), 691
Error Details, 533
Error List, 537
Error Messages (For EDIT), 517
Error Messages (For I/O), 519
Error Messages (For Ladder Mnemonics Editing), 531
Example of Step Sequence Programs, 977
Examples of Structured Programming, 311
Examples of Using the Counter, 136
Except Power Mate–D and –F, 721
Exclusive Control for Functional Instructions, 583
Execution Method, 316
Execution of a Sequence Program, 472
Execution of Step Sequence, 558
Execution Procedure of Sequence Program, 26
EXIN (External Data Input), 233
Extended Ladder Instructions, 573
[F] F Keys (F1 to F0), 616
FAPT Ladder (System P Series), 955
FAPT LADDER System Floppy Loading, 625
FAPT Ladder, FAPT Ladder–II, Ladder Editing Pack- ages, 953
Fdlist Command – File Attribute Display, 684
File Editing Function, 679
For MDI Units other than Standard MDI Units (for FS20 PMC-RA1 and RA3), 340
For Power Mate–D and –F, 724
For Statement, 985
For the FS15 (PMC-NB), 417
For the FS16 (PMC-RC or PMC-RC3), 417
Forced Input/Output Function, 375
Forcibly Stopping the Sequence Program, 474
Foreign Language Display, 230
Format and Details of the Control Data of the Windr Functional Instruction, 838
Format And Details of the Control Data of the Windw Functional Instruction, 878
Formats and Details of Control Data, 698
Function, 315, 694, 833, 895, 935
Function for Displaying Signal Waveforms (Analys), 362
Function for Storing Data in Memory, 361
Function of Copying Symbol and Comment Data, 461
Functional Instruction Trset, 574
Functional Instruction WINDR, 835
Functional Instruction WINDW, 837
Functional Instructions, 98
Functions for Displaying Memory Areas and Debug- ging the Program (MONIT), 497
Functions of Processing, 608
[G] General Rules, 577
Graphical Symbols, 545
[H] Help Screen, 644
[I] I/O Error Messages, 493
I/O Link Connecting Check Screen, 371
I/O Link Connection Unit Assignment, 61
I/O Link–II Parameter Setting Screen, 372
I/O Signals to CNC, 36
I/O Unit Address Setting (MODULE), 455
I/O Unit Model B Assignment, 63
If Else Statement, 987
Implementation Techniques, 311
Infinite Number of Relay Contacts, 308
Initial Block Step, 572
Initial Step, 565
Input of Program, 645
Input PMC Parameters from MDI Panel, 388
Input Signal Processing, 35
ww w.
cn cc
en ter
.co m
Index B–61863E/10
i–4
Input with a Katakana Identification Code, 464
Input/Output Ladder/PMC–parameter by MDI/DPL, 534
Input/Output Method to FANUC FLOPPY CASSETE (Fixed 4800bit/sec.), 534
Input/Output Method to Office Programmer (P–g Mate/Mark II) (Fixed 9600bit/Sec.), 534
Input/Output of Ladder Program with P–G and Floppy Cassette/FA Card, 676
Inputting a Multi-byte Character (D.CHAR), 464
Insert, 640
Insert of Sequence Program, 445
Interlocking, 38
Internal Relay Addresses (R), 66
[J] JMP (Jump), 162
JMP Instructions with Label Specification, 321
JMPB (Label Jump), 282
JMPC (Label Jump), 283
JMPE (Jump End), 166
Jump, 570
[K] Keep Relay (KEEPRL), 390
Key Switch Signals (Xn, Xn+2), 942
Keyboard of System P Series, 615
[L] Label, 570
Label Addresses (JMPB, JMPC, LBL) (L), 80
Ladder Debugging Function, 509
Ladder Diagram Display, 406
Ladder Diagram Format, 303, 307
Ladder Password Function, 341
Ladder Screen, 590, 600
LBL (Label), 284
Level Up of Input/Output Function with Memory Card, 957
Limitations in SYSTEM P Mate, 660
Limitations with the SYSTEM P Mate, 624
Line Numbers, 305
List of Window Functions, 696
LOAD Key (System Program Loading Key), 616
Loading of Floppy, 624
Loading the Standard Ladder (for Power Mate –D/F PMC–PA1 AND PA3), 341
Location Search, 641
Logical AND, 257
Logical OR, 259
Low–Speed Response and High–Speed Response of Window Function, 833
Low–speed Response and High–speed Response of Window Function, 694
[M] Message Data Input, 463
Message Data Setting (MESSAGE), 462
Miscellaneous Item, 309
MMC3 R (MMC-III Window Data Read), 263
MMC3W (MMC-III Window Data Write), 266
MMCWR (Reading MMC Window Data) (Other than PMC–PA1/PA3), 246
MMCWW (Writing MMC Window Data) (Other Than PMC–PA1/PA3), 248
Modification Procedure, 936
Modifying the Converted Sequence Program, 936
Modifying the Ladder Mnemonics, 527
Modifying the Values of Signals by Forced Input/Out- put, 382
Monitor Time Screen, 595
Monitoring Elapsed Time, 594
MOVB (Transfer of 1 Byte), 250
MOVE (Logical Product Transfer), 153
Moving a Sequence Program, 672
Moving the Sequence Program, 452
MOVN (Transfer of an Arbitrary Number of Bytes), 252
MOVOR (Data Transfer After Logical Sum), 155
MOVW (Transfer of 2 Bytes), 251
MUL (Multiplication), 199
MULB (Binary Multiplication), 201
Multiple Data Input, 388
[N] NB/NB2 Data Compatibility, 964
ww w.
cn cc
en ter
.co m
B–61863E/10 Index
i–5
Nonvolatile Memory, 295
NOT (Logical NOT), 261
Note, 404, 961
Notes, 508
Notes on Using an MDI Keyboard without Cursor Keys (when using the FS20 PMC–MODEL RA1/RA3), 492
Notes when this Functional Instruction is Used in Sub- routine, 239
NUME (Definition of Constant), 207
NUMEB (Definition of Binary Constants), 208
[O] Offline Programmer → CNC, 960 On–line Debugging Function (Only for Power
Mate–H), 535
On–line Edit, 416
Online Function, 514
Online Setting Screen, 514
Operation, 357, 360, 362, 467, 498, 501, 504, 621, 958
Operations, 480
OR, 90
OR. NOT, 90
OR. STK, 93
Other Setting Screens, 401
Other Window Functions, 934
Outline of Leveled Up Contents, 957
Output of Program, 650
Output Signal Processing, 35
Override Signals (*OV1 to *OV8) and Program Pro- tect Key Signal (KEY), 942
Overview, 375
[P] Paper Command, 653
Parameter, 949
Parameter Display on Ladder Diagram, 408
Parameter Menu (for PMC–RB), 945
Parameter Screen, 363, 505
Parameter Setting and Display, 627
Parameter Setting Screen, 357, 468
PARI (Parity Check), 167
PMC Address (S ADDRESS), 574
PMC Basic Instructions, 82
PMC Data Table, 298
PMC I/O Signal Display and Internal Relay Display (PMCDGN), 352
PMC Ladder Diagram Display (PMCLAD), 405
PMC Menu Selection Procedure by Softkey, 346
PMC Operation for Loader Contorol Function, 345
PMC Parameters Setting and Display (PMCPRM), 386
PMC Programmer (CRT/MDI OR PDP/MDI) [Ladder Editing Function], 947
PMC Programmer (DPL/MDI) (Only for the Power Mate–D/F/H), 520
Power Mate–model D/H Assignment, 64
Preparation before Operation, 624
Priority of Execution (1st Level, 2nd Level and 3rd Level), 28
Procedure, 945
Processing I/O Signals, 34
Program Collation, 678
Program Configuration List (Main Screen), 587, 597
Program Editing, 630
Program Input, 676
Program Output, 677
Programmer Menu Screen, 626
Programming, 546
Programming from Keyboard, 636
PSGN2 (Position Signal Output 2), 293
PSGNL (Position Signal Output), 290
[R] R Keys (R0 to R3), 617
RD, 86
RD . NOT, 87
RD. NOT. STK, 92
RD.  (Not available for Power Mate–D/F, Series 21–TA), 768
Reading Tool Life Management Data (Cutter Com- pensation No. (2): Tool Order No.) (Not available for Power Mate–D/F, Series 21–TA), 770
Reading Tool Life Management Data (Cutter Com- pensation No.1) (Low–speed response), 867
Reading Tool Life Management Data (Cutter Com- pensation No.2) (Low–speed response), 868
Reading Tool Life Management Data (Number of Tool Groups) (Not available for Power Mate–D/F, Series 21–TA), 756
Reading Tool Life Management Data (Number of Tools) (Low–speed response), 862
Reading Tool Life Management Data (Number of Tools) (Not available for Power Mate–D/F, Series 21–TA), 758
ww w.
cn cc
en ter
.co m
B–61863E/10 Index
i–7
Reading Tool Life Management Data (Tool Group No.) (Not available for Power Mate–D/F, Series 21–TA), 754
Reading Tool Life Management Data (Tool Informa- tion (1) : Tool No.) (Not available for Power Mate– D/F, Series 21–TA), 772
Reading Tool Life Management Data (Tool Informa- tion (2): Tool Order No.) (Not available for Power Mate–D/F, Series 21–TA), 774
Reading Tool Life Management Data (Tool Informa- tion 1) (Low–speed response), 869
Reading Tool Life Management Data (Tool Informa- tion 2) (Low–speed response), 870
Reading Tool Life Management Data (Tool Length Compensation No. (1): Tool No.) (Not available for Power Mate–D/F, Series 21–TA), 764
Reading Tool Life Management Data (Tool Length Compensation No. (2): Tool Order No.) (Not avail- able for Power Mate–D/F, Series 21–TA), 766
Reading Tool Life Management Data (Tool Length Compensation No.1) (Low–speed response), 865
Reading Tool Life Management Data (Tool Life Counter Type) (Low–speed response), 864
Reading Tool Life Management Data (Tool Life Counter) (Low–speed response), 863
Reading Tool Life Management Data (Tool Life Counter) (Not available for Power Mate–D/F, Series 21–TA), 762
Reading Tool Life Management Data (Tool Life) (Low–speed response), 863
Reading Tool Life Management Data (Tool Life) (Not available for Power Mate–D/F, Series 21–TA), 760
Reading Tool Life Management Data (Tool No.) (Not available for Power Mate–D/F, Series 21–TA), 776
Reading Tool Life Management Data (Tool Number) (Low–speed response), 870
Reading Tool Setting Data by Specifying Tool Num- ber, 932
Reading Value of the P–code Macro Variable (*Low– speed response), 801
Registering the Tool Life Management Data (Tool Group) (*Low–Speed response) (Not available for Power Mate–D/F, Series 21–TA), 807
Remove Command – File Copy, 687
Rename Command – File Attribute Change, 685
Repetitive Operation, 27
Restrictions, 325, 496
ROM Format Program, 647, 654, 657
ROT (Rotation Control), 142
ROTB (Binary Rotation Control), 145
RST, 96
[S] Scratch Command – Deletion of Files, 686
Screen Display, 379
Screen for Displaying Traced Data, 508