So I'm very new to programming, so in your potential suggestions please assume I have zero background in programming.
Long story short, I'm a research student trying to learn KRL because my project deals with a KR90 R2700 HA robot. I've done the most basic programming with src files and simple movements such as LIN, PTP, and CIRC. But now i'm trying to get more advanced using a program called RoboDK. I'm currently attempting to make a "safety" program where there is just a simple linear movement that will be obstructed by a short wall (short enough so the robot can easily go over the wall and get back on track to complete the linear movement). The program is meant to detect this wall, and if detected it calls for an evasive maneuver to go around it and continue to its final destination. All this is just purely educational as a way for me to learn how to make a complex program. Can someone give me an example of a program demonstrating the necessary commands to accomplish this? And again assume I have zero background with programming. I am attaching a picture of my setup demonstrating the operation.