Could you Explain Fanuc Robot RJ 3 Code Segment

Coachman

Member
Join Date
Sep 2006
Location
Maryland
Posts
97
I lost my programming manual for a Fanuc Robot. Could you
explain this small segment of code. The segment is controlling
a measurement of a pallet height ,so it can start stacking.
I'm sorry I should know this.
Thanks, it as been 2 years since I somewhat understood the code.

26: !searching ;
27: SKIP CONDITION RI[4:lower off]=ON ; What is the Skip Condition
28:L PR[92:S2] 600mm/sec FINE ACC150 Skip,LBL[30]; What is S2
29: ;
30: !read actual position ;
31: PR[93:S3]=LPOS ; What is S3 and LPOS
32: ;
33: OVERRIDE=R[22:eek:verride act] ;
34: R[19:measure]=PR[93,3:S3]+R[20:measure corr.] ;
 
The Skip Condition is a condition handler. I'm not sure, but I think the way it works is when the I/O condition that is defined in this statement becomes true, the motion statement that contains the Skip LBL is interrupted and the next line is executed. If the motion is completed and the condition is still not satisfied, then the program will jump to wherever that label is and continue from there.


As far as S2 and S3, I think those are just the names that the original programmer has given to those particular Position Registers.
PR[93:S3]=LPOS Places the current cartesian coordinates into Position Register 93.
 
we use this to do searches on stack a metal
the skip is set up on line 27 and the robot will move to L PR[92:S2] if RI[4:lower off]=on while it is moving to L PR[92:S2]it stops the move and goes to the next line. if the robot makes it to point L PR[92:S2] before RI[92:S2] turns on it Skips to LBL[30]
 

Similar Topics

and then when i open the windowmaker, intouch is shutdown... that's not work that's demo I have 30days demo
Replies
3
Views
161
Hi All In my plc program in following picture there are functions FC50 in the begining and FC51 in end of organization block OB32. I can not...
Replies
3
Views
969
Just for readers in the US, when I write 'gas' I mean it as a state of matter, not shorthand for gasoline :-) I don't understand the logic of a...
Replies
39
Views
11,170
Hello all, I have recently been working on a project utilizing Allen Bradley PLC/HMI. It's an L16ER-BB1B PLC and a Panelview Plus 7 HMI. I'm...
Replies
15
Views
5,713
I’m using rslogix5000 v20 with ControlLogix L72. I added some rungs to monitor time meter of our propulsors. But with same ladder instruction I...
Replies
11
Views
4,022
Back
Top Bottom