PVC

PVC

FANUC Ethernet IP Communication

Video Tutorial of Ethernet IP Setup Process

Section 1: System Config Settings:

These need to be set to allow for the robot to be controlled by an external device using the UOP signals.

Menu –> System –> Config

(#6) Enable UI Signals – Set to True

  • This allows the UOP signals to be used to start and stop the robot

(#41) Remote/Local Setup – Set to Remote

  • This will allow the robot to be started by an external device when in auto mode.
  • If you need to run a program using the teach pendant, this needs to be set back to Local.

Section 2: Host Communication

Menu –> Setup –> Host Comm

Highlight TCP/IP and select Detail (F3)

Set the Port#1 IP Address

  • First three octets need to be the same as your PLC / PC
  • Fourth octet is the identifier and needs to be different than the other devices on the network (any number from 1 to 254)

Subnet Mask needs to match that of the other devices (typically 255.255.255.0)

The second section is where you list names and IP addresses of the devices you are connecting to (PLC or PC)

Section 3: Ethernet IP Adapter Config

Select Menu –>I/O–> Ethernet I/P

If Ethernet I/P is not on option on your controller, this means the software option is not installed.

  • You will need to call FANUC Spare Parts to purchase the Ethernet I/P Scanner or Adapter option.

Notice under the “TYP” Column it says “ADP”

  • This means that this is the Ethernet Adapter we are configuring.
  • If you installed the Ethernet Scanner option, you would have the option to configure the scanner as well.

If there are multiple ethernet scanners connected to the robot (PLC and PC), each scanner will use a different slot # (Slot 1 and 2)

Highlight “Connection1” and select “CONFIG”

Here is where you configure the amount of data to transmit between devices, the default will be 4 words for both the input and output.

  • Each “word” consists of 16 bits
  • The Scanner IP will automatically populate when the connection is made, this will determine the slot that your connection is
  • API O=>T – Actual Packet Interval the scanner is producing. This will auto populate based on the Requested Packet Interval (RPI) set in Studio 500 or other scanner you are using
  • API T=>O – Actual Packet Interval the adapter is producing (min of 8msec)

To change the parameters in the adapter config menu, the connection must be disabled first.

  • If the connection is enabled you will see “read only” on top of the screen like shown above.

Section 4: Studio 5000 Generic Ethernet Module

Create a new Studio 5000 file and establish communication with the PLC

Right click the ethernet connection and select “New Module”

Search “Generic Ethernet Module” and select the option shown below:

Below is the default module that will appear in Studio 5000:

Default Module Information

Populate the new module with the information below:

Remote Scanner Config from FANUC Manual
Correct Module Information

Make sure that the size of the input and output is the same as the robot side (4 words) otherwise there will be communication issues.

Select the RPI based on the system needs, I usually just use 30msec

Unicast Connection is correct

Once finished, you will see the new module in the controller organizer.

Put the controller in run mode to make sure the module connects properly.

To see the tags produced by the new module, double click “Controller Tags”

Robot Controller Tags from New Module

Notice there are four 16 bit words produced under both the Robot:I.Data and Robot:O.Data

When mapping the DI/DO and UOP signals from the robot, the start bit will determine where on the four 16 bit words the signal will be mapped to:

  • If the DI range start is set to 1, that will map to Robot:I.Data[0].0
  • If the DI range start is set to 21, that will map to Robot:I.Data[1].4

May 12, 2022   Pete VanCamp 

Shopping Basket