Safe zones are another thing I need to learn about. I haven't been involved in that part of setting up a robot yet, so I haven't learned how to do it. But I have a feeling that the main programmer in my factory probably hasn't done it right. He's more of a PLC guy than a robot guy, and never went out of his way to learn any more than he thought was necessary.
Posts by Rex Tyrran
-
-
Just out of curiosity, I have seen a lot of topics relating to BGLogic, which is something I'm not yet familiar with. Is this something that could work as BGLogic program so that it can check continuously instead of at a single point in the program?
-
I tend to use IF THEN statements alot. so that isn't an issue. I find IF...., JMPLBL annoying for most purposes.
I put the code in just as you said, and it worked just fine. Thank you very much.
-
Would I not need to include the states, i.e., ON or OFF in my IF statement?
-
Hello,
I'm new to the forum, and somewhat new to programming, so I'll probably be posting a few questions over the next few days.
The first question I have is, is there a way to use the state of the teach pendant on/off switch in a program.
The application is a robot welding cell in which an operator managed to find a hard to repeat method of getting the robot to weld a part without the flash screen down.
The flash screen is controlled by the PLC, which I do not have access to.
My plan is to add a few lines to the program such as
- LBL [1]
- IF TP=ON, JMPLBL [2]
- IF DI[11](ARC ENABLE)=ON AND DI[17](SCREEN CLOSED)=OFF, THEN
- UALM[3](SCREEN OPEN)
- PAUSE
- JMPLBL [1]
- ENDIF
- LBL [2]
To clarify, the reason the robot can move with the screen open, which it is only supposed to be able to do in teach or with the weld turned off, is for one of our engineers who likes to check weld paths in auto, and for me who likes to make program adjustments with the weld on in teach. We have a light curtain in front of the cell which will stop the robot if it is running in auto with the screen opened.
I have done something similar to this with the weld enable button by using the system address, but I don't know where to find the system address for the teach pendant switch.
Thank you