1. Home
    1. Dashboard
    2. Search
  2. Forum
    1. Unresolved Threads
    2. Members
      1. Recent Activities
      2. Users Online
      3. Team Members
      4. Search Members
      5. Trophys
  3. Articles
  4. Blog
  5. Videos
  6. Jobs
  7. Shop
    1. Orders
  • Login or register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • Blog Articles
  • Products
  • More Options
  1. Robotforum - Support and discussion community for industrial robots and cobots
  2. Forum
  3. Industrial Robot Support and Discussion Center
  4. Fanuc Robot Forum
Your browser does not support videos RoboDK Software for simulation and programming
Visit our Mainsponsor
IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Sponsored Ads

Ethernet ip connection with siemens plc

  • Gorosabel
  • October 5, 2023 at 3:58 PM
  • Thread is Unresolved
  • Gorosabel
    Trophies
    1
    Posts
    3
    • October 5, 2023 at 3:58 PM
    • #1

    Hi everybody

    I have a problem between my plc and robot. I have a siemens plc s1500 and a fanuc robot, im trying to comunicate them with ethernet ip. I have follow all the steps but i cant comunicate the plc with the robot, both of them are in the same ip range and i can ping each one from the computer. Also i can ping the plc from the robot. The plc is the scanner and the robot is the adapter

    In the Fanuc robot, the ethernet ip connection is online but not running. I have checked all the EDS data from the robot and i am sending thease values correctly from the plc. Also the tcp/ip connection has been initialized.

    ¿Could someone help me?

    I would like to know at least if the problem is in the robot configuration or in the plc.

    Thanks very much

  • Lemster68 October 5, 2023 at 4:12 PM

    Approved the thread.
  • Online
    pdl
    Reactions Received
    270
    Trophies
    9
    Posts
    1,548
    • October 5, 2023 at 5:43 PM
    • #2

    Can you please post your settings? We're operating blind here.

  • Sergei Troizky
    Reactions Received
    71
    Trophies
    6
    Posts
    664
    • October 5, 2023 at 5:53 PM
    • #3

    https://support.industry.siemens.com/cs/document/109782314/ethernet-ip-scanner-–-connecting-third-party-i-o’s-using-ethernet-ip?dti=0&lc=en-US

    Do it well right away. It will become bad by itself.

  • Gorosabel
    Trophies
    1
    Posts
    3
    • October 6, 2023 at 8:31 AM
    • #4

    I have a 1517TF-3 plc with v2.0 firmware, im using tia portal v15.1 and the robot controller is Fanuc R-30iB Plus. Im trying to communicate the plc with the robot using ethernet ip. In Tia portal im using LCCF enetScanner block, the plc works as scanner and the robot as adapter. Im sending to the robot the IP address, vendor identifier, product type,...

    The robot is configured to work in rack 89 and slot 1, also it has the ip address and it communicates with the plc. But in the plc the scanner active signal is always off. The ethernet ip connection is activated and the status is online, but is not running, im using the first connection.

    The settings of the robot are these:

    Vendor identifier: 356

    Product type:12

    Product code:4

    Revision Major: 3

    Revision MInor:1

    Assembly instance:100

    Pack interval:32 ms

    Output identifier: 151

    Output size:32

    Input identifier:101

    Input size:32

    Config data size:0

    Rack:89

    Slot:1

    Ethernet ip connection:1

    Robot ip address; 192.168.0.10

    PLC ip address:192.168.0.1

    Also in the robot ethernet ip configuration the input and output data size is 32 words

    I hope this information could help more

    Thanks in advice

  • Online
    pdl
    Reactions Received
    270
    Trophies
    9
    Posts
    1,548
    • October 6, 2023 at 4:28 PM
    • #5

    I am unfamiliar with the Siemens function block, but it looks like that is used to configure your Siemens PLC as a scanner.

    You need one scanner one adapter, not two of the same.

    Is the robot configured as an adapter, or as a scanner?

  • hermann
    Reactions Received
    411
    Trophies
    9
    Posts
    2,623
    • October 6, 2023 at 4:33 PM
    • #6
    Quote from Gorosabel

    ..The plc is the scanner and the robot is the adapter..

    Read and understand. :winking_face:

  • Online
    pdl
    Reactions Received
    270
    Trophies
    9
    Posts
    1,548
    • October 6, 2023 at 6:12 PM
    • #7
    Quote from hermann

    Read and understand. :winking_face:

    I did read. I don't understand. When I don't understand something, I like to ask a clarifying question.

    I don't understand because if the robot was setup as an adapter, this wouldn't make sense:

    Quote

    The settings of the robot are these:

    Vendor identifier: 356

    Product type:12

    Product code:4

    Revision Major: 3

    Revision MInor:1

    Assembly instance:100

    Pack interval:32 ms

    Output identifier: 151

    Output size:32

    Input identifier:101

    Input size:32

    Config data size:0

    Rack:89

    Slot:1

    Display More

    When the robot is configured as an adapter, the only thing to setup on the Fanuc side is the number of 16-bit words in and out.

    If those are the PLC settings, that would make sense, but, I don't know, hence my question.

  • Gorosabel
    Trophies
    1
    Posts
    3
    • October 10, 2023 at 8:44 AM
    • #8

    Hi everybody

    The robot is the adapter and the plc the scanner.

    Quote from pdl

    I did read. I don't understand. When I don't understand something, I like to ask a clarifying question.

    I don't understand because if the robot was setup as an adapter, this wouldn't make sense:


    When the robot is configured as an adapter, the only thing to setup on the Fanuc side is the number of 16-bit words in and out.

    If those are the PLC settings, that would make sense, but, I don't know, hence my question.

    I mean the this are the settings that i send from the plc to the fanuc robot. I have read in the document that fanuc have sent me that the plc must send all this values to the robot.

    I have spoken with fanuc and they have said that its probably a problem with the LCCF block of Tia Portal. It seems that they have had more problems with this library of Tia Portal.

    Thanks to all

  • AtomCore
    Trophies
    3
    Posts
    2
    • January 25, 2024 at 3:04 AM
    • #9

    When in Fanuc number of input and autput registers is for example 16 in siemens must be 32.

  • M.Ozkan
    Reactions Received
    22
    Trophies
    5
    Posts
    538
    • January 25, 2024 at 6:16 PM
    • #10
    Quote

    I have spoken with fanuc and they have said that its probably a problem with the LCCF block of Tia Portal. It seems that they have had more problems with this library of Tia Portal.

    Tia libraries of Ethernet/IP working very well. You should make settings correctly in TIA program. Call program in Cyclic Interrupt OB. Use RPI >= 32 ms.


    Images

    • pasted-from-clipboard.png
      • 113.75 kB
      • 1,239 × 1,157
      • 40
  • olko
    Trophies
    1
    Posts
    1
    • January 30, 2024 at 7:52 AM
    • #11
    Quote from M.Ozkan

    Tia libraries of Ethernet/IP working very well. You should make settings correctly in TIA program. Call program in Cyclic Interrupt OB. Use RPI >= 32 ms.

    May I ask, where you get the "RPI >= 32 ms" from? I am currently configurating a Fanuc <-> Siemens connection with this function block and did not find this value in any of the manuals. Is this something you have found out by experiments?

  • M.Ozkan
    Reactions Received
    22
    Trophies
    5
    Posts
    538
    • January 30, 2024 at 1:47 PM
    • #12

    RPI for PLC side. Use "packetinterval" parameter of Function block. You can found parameter in instance DB of FB. If you using RPI less than 32 connection problems occured randomly. Because Siemens PLC is not powerfull CPU for Ethernet/IP

  • AtomCore
    Trophies
    3
    Posts
    2
    • February 7, 2024 at 8:48 AM
    • #13
    Quote from M.Ozkan

    RPI for PLC side. Use "packetinterval" parameter of Function block. You can found parameter in instance DB of FB. If you using RPI less than 32 connection problems occured randomly. Because Siemens PLC is not powerfull CPU for Ethernet/IP

    S7-1500 manages to support EIP Communication, S7-1200 does not have enough power (communicates but when loading a new configuration in the PLC, the communication drops). For me, the main problem was the incorrect configuration of the input and output registers on both sides (Robot and PLC). In the robot, the registers are 16 bits, while in the S7 they are 8 bits.

Advertising from our partners

IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Advertise in Robotics
Advertise in Robotics

Job Postings

  • Anyware Robotics is hiring!

    yzhou377 February 23, 2025 at 4:54 AM
  • How to see your Job Posting (search or recruit) here in Robot-Forum.com

    Werner Hampel November 18, 2021 at 3:44 PM
Your browser does not support videos RoboDK Software for simulation and programming

Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • krc5
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Thread Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • krc5
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Similar Threads

  • Fanuc R-30iA Mate interfacing

    • BGabor
    • February 26, 2020 at 11:35 PM
    • Fanuc Robot Forum
  • Siemens / Fanuc Profisafe Connection Issue

    • FLT17
    • January 5, 2020 at 7:16 PM
    • Fanuc Robot Forum
  • Plc with roboguide

    • Moises
    • September 15, 2018 at 9:16 AM
    • Fanuc Robot Forum
  • i try to use for the first time my two kuka agilus kr6 r700 sixx robots and i have some problems,could you please give some help?

    • angelos vassiliou
    • October 24, 2020 at 5:09 PM
    • KUKA Robot Forum
  • Vinculación Profinet de PLC Siemens s7-1200 con robot kawasaki Bx130X-C

    • Matias Quiencke
    • June 2, 2023 at 2:45 PM
    • Kawasaki Robot Forum
  • Explicit Messaging between R30iB and OMRON PLC

    • Famous_Fella
    • March 12, 2020 at 10:24 AM
    • Fanuc Robot Forum
  • ESAB interfacing

    • glory00
    • June 13, 2017 at 8:10 AM
    • Kawasaki Robot Forum
  • Setting up Profisafe KRC4 Siemens S7-1500

    • Carleton Hall
    • January 23, 2020 at 6:30 PM
    • KUKA Robot Forum
  • MFC RJ-45 port

    • herzeg
    • December 14, 2019 at 6:23 PM
    • KUKA Robot Forum

Tags

  • Fanuc
  • tia portal
  • scanners
  • Ethernet IP
  1. Privacy Policy
  2. Legal Notice
Powered by WoltLab Suite™
As a registered Member:
* You will see no Google advertising
* You can translate posts into your local language
* You can ask questions or help the community with your knowledge
* You can thank the authors for their help
* You can receive notifications of replies or new topics on request
* We do not sell your data - we promise

JOIN OUR GREAT ROBOTICS COMMUNITY.
Don’t have an account yet? Register yourself now and be a part of our community!
Register Yourself Lost Password
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on Google Play
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on the App Store
Download