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

Intermittent IMSTP over Ethernet connection

  • RoTaTech
  • October 10, 2018 at 6:20 PM
  • Thread is Resolved
  • RoTaTech
    Trophies
    3
    Posts
    8
    • October 10, 2018 at 6:20 PM
    • #1

    We have three nearly identical Fanuc P100 robots each with a R30-iA controller connected to an Omron PLC. One was added after the original installation. We are getting communication errors on the newest robot, approximately 6 times daily. The Net Config for all three looks identical (other than the address mapping and IP address, of course)

    We have been having the SRVO-037 IMSTP input Group 1 alarm. (UOPs are mapped to Ethernet Rack 89)
    We are also seeing PRIO-230 Ethernet/IP adapter error 1 and PRIO-231 Ethernet/IP adapter Idle.

    We replaced the Ethernet cable from the robot to the hub in the main cabinet, still have same issue, we then changed from port 7 on the hub to port 8 same issues.

    There are three robots on this line all communicating over Ethernet to the one PLC and we are not seeing these issues on the others; this leads me to believe there is a problem with the Ethernet controller itself or with the configuration.

    Status to date:
    • Three robots in cell only robot 3 exhibits faults (this is the used Robot)
    • Faults 4-5 times a shift
    • Discussed issue with FANUC – they suggested Ethernet issues
    • Replaced cable – no impact
    • Upgraded cable Cat 6 helped for a bit then issue returned
    • Facility is climate controlled

    Rob talked to a TSE at Fanuc. Our conclusions and suggestions:

    The PRIO-230 errors point to a loss of Ethernet comms; problems with cable or hardware. They mean that the adapter is idle – not receiving comms from PLC. Somewhere we are losing connection.
    Re-map the IMSTP to an internal memory bit that we know will not change.
    Check EtherNet cable for extra length – never coil excess cable
    Ensure cable is not run alongside HV cables or near VFD.

    Fanuc was adamant that it is “an Ethernet problem”. Another idea is to connect with software such as WireShark and see what is going on with the network traffic, or a network analyser to check for noise, etc., but we have no-one in the area experienced with those.

    We are at a loss as to what else to try, other than try swapping the Ethernet card within a good controller to the suspect controller. So far we have not had an opportunity to do this.

    Any suggestions will be most welcome.

    Edited once, last by RoTaTech (October 10, 2018 at 9:41 PM).

  • Fabian Munoz
    Reactions Received
    134
    Trophies
    9
    Articles
    1
    Posts
    1,517
    • October 10, 2018 at 9:00 PM
    • #2

    Hi

    Do yo have a heartbeat programmed on the robot ?

    Something very simple in the background task

    do heaartbeatout on
    wait for heartbeatin on

    the plc will control the timing

    Retired but still helping

  • bagged2drag
    Trophies
    3
    Posts
    79
    • October 10, 2018 at 9:02 PM
    • #3

    I have seen switches set up using DHCP cause this problem (usually a MUCH larger network of devices though, based on your description). We had a similar problem once. We would randomly drop connection, and anytime someone powered down a piece of equipment on the network, it would take out a few PLC and robot connections as well. We ended up setting static IP's on the switch (you need a managed switch). Each port was exclusive to a specific piece of hardware then. This completely eliminated the issue. The biggest drawback was that you HAD to make sure you plugged everything in to the appropriate port.

  • RoTaTech
    Trophies
    3
    Posts
    8
    • October 10, 2018 at 9:45 PM
    • #4

    Addendum to first post: UOPs are mapped to rack 89 Ethernet.
    Fabian - thanks for your suggestion. There is a heartbeat but it is of no use in this situation: the UOP IMSTP is getting dropped.
    Bagged - it is an industrial un-managed switch, with nothing on it but the PLC and three robots. All four devices have static IPs.

    If I can figure out how to insert an image here, I will post a screen-shot of the network configuration: I added img /img and tried to paste my clipboard image, but it is not showing . . .

    Edited once, last by RoTaTech (October 10, 2018 at 9:53 PM).

  • pdl
    Reactions Received
    271
    Trophies
    9
    Posts
    1,548
    • October 10, 2018 at 10:43 PM
    • #5

    Are you using a shielded Ethernet cable?

  • bagged2drag
    Trophies
    3
    Posts
    79
    • October 11, 2018 at 12:40 AM
    • #6

    The devices have static IP's, which I would expect, but if it is an un-managed switch, the switch is going to be DHCP. Again, with such few devices, I wouldn't expect this to be a problem, but it is a possibility.

    What are you using for Ethernet cable, per pdl's question? Is it shielded? Cat5 or Cat6? Cat6 is recommended.


    Quote from RoTaTech


    Addendum to first post: UOPs are mapped to rack 89 Ethernet.
    Fabian - thanks for your suggestion. There is a heartbeat but it is of no use in this situation: the UOP IMSTP is getting dropped.
    Bagged - it is an industrial un-managed switch, with nothing on it but the PLC and three robots. All four devices have static IPs.

    If I can figure out how to insert an image here, I will post a screen-shot of the network configuration: I added img /img and tried to paste my clipboard image, but it is not showing . . .

  • Fabian Munoz
    Reactions Received
    134
    Trophies
    9
    Articles
    1
    Posts
    1,517
    • October 11, 2018 at 2:04 AM
    • #7

    Hi
    When you hit reply, at the left bottom, dont you see Attach

    With the heartbeat you can check in the network goes down, it's all in the PLC side
    The PLC can monitor if at the same time, another device loses connection, etc,etc. It won't solve the problem but at least yo might see wich end is wrong. Maybe your robot is fine

    Images

    • sample.jpg
      • 94.9 kB
      • 890 × 662
      • 66

    Files

    sample.jpg_thumb 11.49 kB – 315 Downloads

    Retired but still helping

  • pyrioun
    Trophies
    3
    Posts
    35
    • October 11, 2018 at 11:00 AM
    • #8

    Cat 5 ethernet cable is minimum, did you connect ethernet cable shield inside the controler? if no try with connecting shield
    Be sure the factory network is not on the same line than your Ethernet IP
    Second ethernet port on main board have best priority for communication, use this port if possible

  • vmec
    Reactions Received
    7
    Trophies
    3
    Posts
    41
    • October 11, 2018 at 11:19 PM
    • #9

    I have had the same problems with unmanaged switches in the past - systems where multiple PLCs were connected where the Ethernet/IP and TCP connections would drop. I replaced the two switches with one Dlink for home and it all worked perfectly. That's the first thing I would try.

    I would also consult the documentation for your PLC. Is it using a ETN21 card, or a built-in RJ45? What model of PLC do you have?

    The suggestion of using Wireshark is great - you simply have to plug your computer to that network and let Wireshark monitor your ethernet adapter. You'll see the list of connections and you can examine each packet sent from an IP to another - there you can see if the PLC, for example, is sending the command to end the connection.

    Edited once, last by vmec (October 11, 2018 at 11:22 PM).

  • RobotRon
    Trophies
    3
    Posts
    49
    • October 14, 2018 at 4:33 PM
    • #10

    I have seen this a few times. Typically cable or switch always cured.

  • dha
    Reactions Received
    29
    Trophies
    6
    Posts
    397
    • October 15, 2018 at 2:11 PM
    • #11

    I've solved this with delaying IMSTP or HOLD signal a bit in BG logic. IMSTP must be OFF for 60 ms (or at least 5 cycles) before robot actually reads this signal.

    It worked for me on multiple projects.

  • RoTaTech
    Trophies
    3
    Posts
    8
    • October 15, 2018 at 4:11 PM
    • #12

    Regarding the Ethernet cable - yes, the customer has changed out the Cat-5 for Cat 6. None of the three robots have shielded cable. I am not on site, so am only relaying what he has told me.

    Yes, it was (and is) originally plugged in to the second port, same as the other two robots.

    The PLC is an Omron CJ2M-CPU31 using its CJ2M-EIP21 built-in port.

    I will advise him to swap the switch - that is well within his capacity.

    re. the suggestion about adding time delay to the PLC IMSTP output: It has nought but an Always On condition in the rung, so there is no delay to be added. Good idea thought - if I have any other projects with a controlled IMSTP I shall keep that in mind.

    I offer thanks for the ideas.

    Edited once, last by RoTaTech (October 15, 2018 at 6:34 PM).

  • RoTaTech
    Trophies
    3
    Posts
    8
    • October 15, 2018 at 4:22 PM
    • #13

    Net Config screen-shot.

    Images

    • net config.PNG
      • 45.98 kB
      • 1,211 × 602
      • 67

    Files

    net config.PNG_thumb 9.48 kB – 303 Downloads
  • pdl
    Reactions Received
    271
    Trophies
    9
    Posts
    1,548
    • October 15, 2018 at 6:11 PM
    • #14

    You still haven't let us know if it is a shielded cable...

  • RoTaTech
    Trophies
    3
    Posts
    8
    • October 15, 2018 at 6:19 PM
    • #15

    re: shielded cable

    None of the three robots have shielded Ethernet cable.

    Edited once, last by RoTaTech (October 15, 2018 at 6:35 PM).

  • dha
    Reactions Received
    29
    Trophies
    6
    Posts
    397
    • October 15, 2018 at 6:38 PM
    • #16

    We use S/FTP cables and industrial unmanaged ethernet switch. Communication network is separated from company's and we have usually 4-5 devices connected.

    But still I have problems with IMSTP or HOLD signal.
    That's why I delay it on robot side ...

  • jrv5207
    Reactions Received
    1
    Trophies
    3
    Posts
    94
    • October 15, 2018 at 6:44 PM
    • #17
    Quote from dha


    We use S/FTP cables and industrial unmanaged ethernet switch. Communication network is separated from company's and we have usually 4-5 devices connected.

    But still I have problems with IMSTP or HOLD signal.
    That's why I delay it on robot side ...

    Curious on how you delay it on the Robot Side?

  • dha
    Reactions Received
    29
    Trophies
    6
    Posts
    397
    • October 15, 2018 at 6:49 PM
    • #18

    I map UOP for HOLD signal to a flag.
    I'm checking actual HOLD DI signal from PLC in GB logic.
    If it goes off, I'm counting register value and every cycle I check if it is still OFF.
    If it is still off after 5 cycles, I set flag for UOP HOLD to OFF, else it is ON.

  • jrv5207
    Reactions Received
    1
    Trophies
    3
    Posts
    94
    • October 15, 2018 at 7:27 PM
    • #19
    Quote from dha


    I map UOP for HOLD signal to a flag.
    I'm checking actual HOLD DI signal from PLC in GB logic.
    If it goes off, I'm counting register value and every cycle I check if it is still OFF.
    If it is still off after 5 cycles, I set flag for UOP HOLD to OFF, else it is ON.

    Thanks,

    So you are using the robot to control to keep the HOLD and IMSTP signal high instead of the PLC. You added a buffer to ensure that the signal is loss.

  • smurrill73
    Reactions Received
    4
    Trophies
    3
    Posts
    45
    • October 17, 2018 at 7:19 PM
    • #20

    I'm going to make an assumption--namely, that you are communicating Ethernet/IP? I had exactly this problem a while back, and found that the problem was in the Omron configuration, I had the input connection set to Multicast (which is default). I changed it to point-to-point and the problem went away.

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
  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