First, ensure the Profibus option is enabled on the Fanuc robot controller. On the teach pendant, access relevant setup menus.Then, obtain the robot’s Profibus GSD (General Station Description) file and install it in the master device’s configuration software (such as PLC programming software). Set the slave station address on the robot to match the master’s settings.Configure the input and output data lengths according to the communication requirements between the robot and the master. Adjust parameters like baud rate and parity bits to be consistent with the Profibus network settings.Finally, connect the Profibus cable properly between the robot and the master device. After powering on, perform test operations, such as sending commands from the master to check if the robot can receive and execute them correctly, and verify the data feedback from the robot to the master. This completes the basic Profibus DP slave communication configuration for the Fanuc robot.
- Overview
As a ProfibusDP slave, the Fanuc robot is allowed to communicate with the master (usually a PLC or DCS system) through the ProfibusDP bus. This configuration allows the robot to receive control signals and data from the master, and send status information and feedback data to the master. This article describes the setting of the FANUC robot Profibus as a slave communication, and the master is a PLC with Profibus DP function. - Configuration steps
2.1 Robot Profibus function confirmation
1) First confirm whether the robot has Profibus function installed. Select the [Menu] key on the teach pendant – find the Profibus function in the 6th [Setup] menu, as shown in the figure below. If it is installed, it means that the Profibus function has been installed. If not, you need to add the option function. You can reply to the background to learn more about the flash package and option addition of each version.
2.2 Confirmation of GSD file installation on the PLC side
Import the GSD file provided by FANUC into the PLC programming software for installation, and the client electrical PLC engineer will operate according to the operation requirements. On the PLC side, you need to set the input and output byte size, baud rate and station address.
2.3 Set SLAVE
Enter the main menu → 6 Settings → Profibus, then press F3[OTHER], select 1SLAVE, and enter the interface as shown below. According to the requirements of the PLC, set the first item OUTPUT BYTES (output byte number), the second item INPUT BYTES (input byte number), and the third item STATION ADDRESS (station address).
2.4 Set BUS PARAM
Enter the main menu → 6 Settings → Profibus, press F3 to select BUS PARAM, the first item is the station address, the second item is the baud rate, the baud rate is consistent with the master station setting, and the other options do not need to be set.
2.5 Communication test after setting is completed
After the customer’s electrical engineer completes the Profibus setting on the PLC side, perform a communication test between the robot and the PLC. Select the [Menu] key on the teach pendant – select Digital in the 5th IO menu, send a DO signal to the PLC, and check whether the PLC side can receive the corresponding signal. If it can, it means that the communication is OK and the signal test is normal. - Common alarms
Fault phenomenon:
PROF-017 STOP.G Slave disconnected. Communication disconnection abnormal alarm, check the teach pendant alarm interface.
Fault cause:
(1). The cable of the DP slave of the PROFIBUS circuit board in the robot control device is not connected.
(2). The communication with the DP master has been cut off.
(3). The configuration data of the robot’s DP slave does not match the configuration data set on the DP master.
(4). The parameter data of the robot’s DP slave does not match the parameter data set on the DP master.
Solution:
(1). Reconnect the cable or replace the damaged wiring.
(2). Confirm that the DP master is operating and can communicate with the DP slave.
(3). Change the robot’s DP slave settings to match the configuration data, or change the configuration data of the robot’s DP slave of the DP master.
(4). Change the parameter data of the robot’s DP slave of the DP master.
(5). For the robot’s PROFIBUS slave, be careful to avoid “PROF-003 STOP.G slave configuration data error” and “PROF-004 STOP.G slave parameter data error”.
Note:
If you want to block the PRIO-017 alarm, you can enable the 6th item ERROR ONE SHOT (single error) in the Profibus setting interface. Be sure to set this item to disabled during normal production.