
A-90371E/01
Title
Draw
Ed. Date Design Description
Date Dec.01.’05 Design. Apprv.
4/ 7
page
FANUC Series 30i/31i/32i -MODEL A
M code protection function
Note
(1) When the protected M code is commanded in a
subprogram, it is possible to execute it if the sub
program is already called from a macro program.
Example)
Main program
-> Macro call
-> Sub program call
(Protected M code is commanded)
It is possible to execute protected M code because
the sub program is called from macro program.
(2) The macro call to be able to execute the protected M
code is as follows.
- Macro call by G code/M code/T code
- Macro interrupt (M96)
The following macro calls cannot execute the
protected M code.
- Macro call (simple call G65/modal call G66, G66.1)
(3) Protected M code commanded from the execution
macro is always executable.
(4) Protected M code commanded in the MDI mode is
also similarly checked.
The protected M code is set as follows.
(1) Setting of M code individually
The protected M code is set to parameter xxx1-xx10.
Maximum 10 of M codes can be set.
(2) Setting of the range of M codes
The range of the protected M codes is set to parameter
xx11-xx16.
Maximum 3 of ranges can be set.
Setting example)
First group Second group
Third group
M code
No.xx11=100
No.xx13=150 No.xx15=900
Number
No.xx12=10 No.xx14=5 No.xx16=30
Protected
M code
M100 to M109
M150 to M154 M900 to M929