FANUC Programming & Software Integration 3 — Questions and Answers
Question 1: In FANUC's R-30iB controller, what is the function of the 'Background Logic' (BGL) feature?
- It runs a secondary TP program concurrently with the main motion program using the PLC-like scan cycle (Correct answer)
- It compiles Karel programs in the background while TP programs execute
- It caches frequently used motion paths in RAM to reduce interpolation latency
- It monitors battery voltage and logs warnings asynchronously
Correct answer: It runs a secondary TP program concurrently with the main motion program using the PLC-like scan cycle
Background Logic executes a designated TP program in a continuous scan-cycle loop (similar to a PLC), allowing I/O logic and conditional operations to run simultaneously with foreground motion tasks.
Question 2: Which FANUC ROBOGUIDE workcell component is required to simulate conveyor-tracking applications accurately?
- Virtual encoder simulation with a simulated line tracking schedule (Correct answer)
- A second robot designated as the conveyor proxy
- The iRVision virtual camera plug-in
- An external PLC hardware emulator connected via EtherNet/IP
Correct answer: Virtual encoder simulation with a simulated line tracking schedule
Accurate conveyor-tracking simulation in ROBOGUIDE requires configuring a virtual encoder that feeds simulated encoder pulses matching the configured line tracking schedule parameters.
Question 3: What is the effect of setting CNT (Continuous) value to 0 in a FANUC motion instruction?
- The robot moves at 0% speed through that point
- The robot comes to a complete stop at the programmed point before continuing (Correct answer)
- The motion blends fully and the robot never actually reaches the exact point
- The robot skips the point and continues to the next instruction
Correct answer: The robot comes to a complete stop at the programmed point before continuing
CNT 0 (or FINE termination) causes the robot to decelerate to a complete stop at the exact programmed position before executing the next instruction.
Question 4: In FANUC Karel, what is the purpose of the ROUTINE construct?
- It defines a reusable subroutine that can accept parameters and return values (Correct answer)
- It schedules a Karel program to run at a fixed time interval
- It establishes communication handshakes with external PLCs
- It declares global constants shared across all programs on the controller
Correct answer: It defines a reusable subroutine that can accept parameters and return values
A ROUTINE in Karel is a named subroutine block that can receive input parameters and return values, enabling modular and reusable program structure.
Question 5: When configuring FANUC EtherNet/IP as a scanner (master), what configuration file on the controller defines the I/O mapping for connected adapter devices?
- EIP.CF (Correct answer)
- IOCFG.EIP
- ETHIP_TAG.XML
- DEVICENET.DT
Correct answer: EIP.CF
The EIP.CF file on the FANUC controller stores the EtherNet/IP scanner configuration including connection parameters and I/O mapping for all adapter devices.
Question 6: A FANUC TP program uses 'IF R[1]>10, JUMP LBL[5]'. If R[1] equals 10, what happens?
- The condition is TRUE and the program jumps to LBL[5]
- The condition is FALSE and execution continues to the next line (Correct answer)
- An alarm is triggered because equality is not handled by '>'
- The register R[1] is reset to 0 and execution continues
Correct answer: The condition is FALSE and execution continues to the next line
The '>' operator requires the value to be strictly greater than 10; since R[1] equals 10 (not greater), the condition is FALSE and execution falls through to the next line.
Question 7: What is the primary advantage of using Position Registers (PR) over taught positions (P[]) in a FANUC TP program?
- Position Registers execute motion instructions faster due to hardware acceleration
- Position Registers can be calculated and modified at runtime, enabling flexible and adaptive motions (Correct answer)
- Position Registers support higher accuracy because they use floating-point math
- Position Registers eliminate the need for tool frame calibration
Correct answer: Position Registers can be calculated and modified at runtime, enabling flexible and adaptive motions
Position Registers can be written to and computed during program execution (e.g., via arithmetic or vision offsets), making them ideal for dynamic and adaptive applications unlike fixed taught points.
In FANUC's R-30iB controller, what is the function of the 'Background Logic' (BGL) feature?