
2.3 Display and System variable
The screen which displays M code like the Modal, Current, Next and so on, displays
the values of the M code which was described in the program.
System variable #4113 (the modal information of M code) stores the value of the M
code which was described in the program.
2.4 Example
The concrete example
The example in case of the following parameter setting
Path 1: 13550=1103, 13551=1203, 3781=1, 3782=2 •
• Path 2: 13550=2103, 13551=2203, 3781=3, 3782=4
The result when ordering each program by above-mentioned parameter setting is
shown below.
M03 S100 P1; (Runs the 1st spindle on Path 1 in 100min
-1
)
• To PMC: M1103 is output.
• The display: M03 is displayed.
M03 S100 P2; (Runs the 2nd spindle on Path 1 in 100min
-1
)
• To PMC: M1203 is output.
• The display: M03 is displayed.
M03 S100 P3; (Runs the 1st spindle on Path 2 in 100min
-1
)
• To PMC: M2103 is output.
• The display: M03 is displayed.
M03 S100 P4; (Runs the 2nd spindle on Path 2 in 100min
-1
)
• To PMC: M2203 is output.
• The display: M03 is displayed.
Even if it commands from the different path, if commanding the same program, the
same result will be gotten.
A-79124E
Sheet
Title
Draw
No.
Ed. Date Design Description
Date Apr.28.’03 Desig. Apprv.
FANUC Series 16i/18i/21i – TB
Spindle control M, S, P format specifications
5/12