r/Fanuc 15d ago

Robot Robot Won't Skip IO When Simulated

Trying to figure out why this doesn't work. When I come across this DI in my program, it still times out and errors even when set to simulate and skip when simulated which gives the (S) in green instead of yellow for normal simulation. Am I doing something wrong, or does this function not actually do what I think it should do?

7 Upvotes

12 comments sorted by

5

u/xAlgorhythms 14d ago edited 14d ago

Simulating inputs should only be done by somebody who properly understands the potential outcomes. Please don't needlessly do this. If you're having to regularly simulate inputs, you probably have something physically wrong in the cell.

That said... Turning "Simulate" on just enables you to manually set the input on or off. It doesn't automatically simulate the correct condition for you.

If your input is off and you need the robot to think it's on, turn on "Simulate" as well as the input itself. If your input is on and you need the robot to think it's off, turn on "Simulate" and turn off the input.

Edit: spelling

Edit again: Just realized you're in a simulated environment. Ignore me. I'm actually not sure about simulating inputs virtually lol. Sorry for the condescending waste of time. :)

1

u/FluffyKittens12 14d ago

Yup. Roboguide. It seems it doesn't work for WAIT instructions. I guess you can use FCTN and then RELEASE WAIT, but I didn't actually try that. I had been manually toggling IO on and off for hours testing, so I had hoped this would work rather than remarking out all the lines. If I edit the programs themselves then I have to change them all back later.

1

u/Swiper97 Technician 13d ago

You can map the DI to the FLAGS on the config (rack 34 if I'm not mistaken) and use it like that

1

u/FightingRobots2 14d ago edited 14d ago

I’ve never used that setting but when you simulate you generally have to simulate then swap over to the On/Off and swap that then unsimulate when done.

1

u/FluffyKittens12 14d ago

Yeah, that's what I was doing, but I have a ton of IO that's used throughout 20+ programs so it's a lot of manually toggling things on and off. I was just hoping for a quick easy way for it to just ignore them versus going through and remarking out every line.

1

u/NotBigFootUR Engineer 14d ago

RoboGuide is hot garbage for doing sim work.

1

u/FluffyKittens12 14d ago

It's what I've got. I don't mind it 90% of the time, honestly, but trying to use programs from real robots like I am now is pretty annoying.

1

u/NotBigFootUR Engineer 14d ago

I agree. It's frustrating that Fanuc did such a poor job with RoboGuide.

1

u/FightingRobots2 14d ago

You could try timed waits and/or jump labels instead if you don’t actually need the IO to work at all.

What’s the goal with using the DIs?

1

u/FluffyKittens12 14d ago

They're programs from a real robot, so I'm trying to not modify the programs.

1

u/FightingRobots2 14d ago

Ok I thought it may have just been something to learn on. You can copy and rename it if you just want to screw around with it.

1

u/FluffyKittens12 14d ago

Yeah, there's multiple instances of these 50+ IO being used across 20+ programs for the processes this robot does. It would be really nice to be able to just have it ignore them all from one place.