FANUC Series 16i/18i/21i One Touch Macro call function Additional Manual Page 3

Additional Manual
2/11
A- 77823E
DRAW.No.
FANUC Series 16i /18i /21i
Specifications of One Touch Macro call
Title
Timing chart,etc. is changed
Newly registration
DESCRIPTION
A.Fukumoto
DESIGNE
29.Jul.1999
02.Jul.1999
DATE
02
01
EDIT.
E.Gennma
1. Outline
This function enables the following three operations in pushing the switch installed in the
machine only by the change in a minimum LADDER program.
(1) Changes to MEM mode.
(2) Execution of macro program registered in memory.
(3) Return to the mode before macro program is executed.
And the program which had been selected before macro program is executed is
automatically selected.
This function is effective only in the reset state. That is, this function cannot be used in
cycle start state, feed hold state, and automatic operation stop state.
This function is an optional function.
2. Specification
2.1 Sequence between PMC and CNC
The signal must be processed between PMC and CNC according to the following
procedures.
Start
(1) The macro call start signal (MCSTx) is input from PMC to CNC based on the signal
from the macro call switch installed in the machine.
Mode change
(2) CNC outputs the mode notification signal and the mode change request signal
(MCRQ) when the macro call start signal (MCSTx) is detected. At this time, MEM
mode is notified as the mode notification signal. The macro call executing signal
(MCEXE) is output at the same time.
(3) PMC must change the mode based on the signal output in the step of above (2).
(4) Please set “1” in the mode change completion signal (MCFIN) by PMC when the mode
change is completed. If the mode when MCFIN signal is set to “1” is different from
the mode specified from CNC in the step of (2), the alarm of P/S5306 is generated.
Execution of macro program
(5) When MCFIN signal is set to “1”, CNC executes the macro program.

Contents Summary of FANUC Series 16i/18i/21i One Touch Macro call function Additional Manual

  • Page 1TECHNICAL REPORT (MANUAL) NO.TMN 99/175E NO.TMN 99/175E Date: Dec. 20, 1999 General Manager of Software Laboratory FANUC Series 16i/18i/21i One Touch Macro call function 1. Communicate this report to: Your information ○ GE Fanuc-N, GE Fanuc-E FANUC Robotics CINCINNATI MILACRON ○ Machine tool builder
  • Page 2FANUC Series 16i / 18i / 21i Specifications of One Touch Macro call CONTENTS 1. Outline 2 2. Specification 2 3. Signal 7 4. Parameter 10 5. Alarm 11 TitleFANUC Series 16i /18i /21i Specifications of One Touch Macro call 02 29.Jul.1999 Timing chart,etc. is changed 01 02.Jul.1999 A.Fukumoto Newly regi
  • Page 31. Outline This function enables the following three operations in pushing the switch installed in the machine only by the change in a minimum LADDER program. (1) Changes to MEM mode. (2) Execution of macro program registered in memory. (3) Return to the mode before macro program is executed. And th
  • Page 4• End of macro program (6) Please instruct M02 or M30 at the end of the macro program. Moreover, please input external reset signal (ERS) or reset&rewind signal (RRW) with M02 or M30 on the PMC side. The program which had been selected before the macro is executed is automatically selected by reset.
  • Page 52.2 Interruption of sequence 2.2.1 Interruption by reset or emergency stop The abnormal end signal (MCSP) becomes “1” when the operation is interrupted by reset or emergency stop, and the execution of the program is stopped. At this time, the mode change request signal (MCRQ) and mode notification s
  • Page 6Least 32ms 02 MCST (PMC→CNC) MCRQ (CNC→PMC) Mode notification MEM before macro execution signal(CNC→PMC) Mode Change process(PMC) 02 MCFIN (PMC→CNC) 02 Mode indefinite MEM before macro execution MCEXE (CNC→PMC) MCEXx (CNC→PMC) Program Execution (CNC) AL (Alarm) (CNC→PMC) MCSP (CNC→PMC) Reset Fig.2 T
  • Page 72.3 Notes (1) Even if the macro call is being executed, mode selection signal (MD1,MD2,MD4) is effective. Therefore, please change the LADDER program to disable the mode change when the macro call executing signal (MCEXE) is “1” when the inconvenience is caused if the mode change is done. (2) Other
  • Page 83. Signal 3.1 Signal list The list of the signal used by this function is shown as follows. In this function, R signal is used instead of G and F signal. Address “n” in the table below is specified by parameter No.6097. 02 Address #7 #6 #5 #4 #3 #2 #1 #0 R(n) MCST8 MCST7 MCST6 MCST5 MCST4 MCST3 MCST
  • Page 93.2 The detail of signal • Macro call start signal MCSTx [Classification] Input signal [Function] This signal starts the macro call sequence. [Operation] When the standing fall of this signal is detected, CNC starts the corresponding macro program. O number of the program started b
  • Page 10• Mode notification signal MD1R, MD2R, MD4R, DNCIR, and ZRNR [Classification] Output signal [Function] This signal notifies the mode which should be changed. [Output condition] This signal is set to "1" in the following case: - When CNC detects the standing fall of Macro call start signal (
  • Page 114. Parameter 6095 The number of programs used by the macro call function 02 Data type : Byte Unit of data : Number Valid data range : 0 to 16 Specify the number of programs used by the macro call function. For instance, when three is set, macro call start signal MCST1, MCST2, and MCST3 become effect
  • Page 125. Alarm Number Message Contents 059 PROGRAM NUMBER NOT FOUND The program of the specified O number is not registered in the memory. 5306 MODE CHANGE ERROR The mode is not correctly changed at start 02 of sequence. 02 TitleFANUC Series 16i /18i /21i Specifications of One Touch Macro call 02 29.Jul.1