Hello all.
I want to update continuously angles of robot axes into registers of PLC.
May anyone tell me how to do it.
Thanks.
Hello all.
I want to update continuously angles of robot axes into registers of PLC.
May anyone tell me how to do it.
Thanks.
Have you tried using the forum search function? This has been discussed here several times.
Try searching for $SCR_GRP[1].$MCH_ANG
Do you have ethernet/ip? You could pull the values directly out of the robot with explicit messaging.
Have you tried using the forum search function? This has been discussed here several times.
Try searching for $SCR_GRP[1].$MCH_ANG
Thanks pdl. I have done it although I can't enter value into R and GO like some below example:
23: R[152:Pos Out X Val 2]=(TRUNC[R[152]]) ;
24: ;
25: GO[1:0:Echo Pos X Val 1]=R[151:Pos Out X Val 1] ;
Do you have ethernet/ip? You could pull the values directly out of the robot with explicit messaging.
Hi Nation. what is explicit messaging. Is it in Roboguide.
Thanks pdl. I have done it although I can't enter value into R and GO like some below example:
23: R[152:Pos Out X Val 2]=(TRUNC[R[152]]) ;
24: ;
25: GO[1:0:Echo Pos X Val 1]=R[151:Pos Out X Val 1] ;
Not really sure what your two code examples were trying to explain, but if you want to set a group output or a register equal to a system variable (Like $SCR_GRP[1].$MCH_ANG) you need to select the "parameter name" option. You'll then have to type out or select the desired variable.
Not really sure what your two code examples were trying to explain, but if you want to set a group output or a register equal to a system variable (Like $SCR_GRP[1].$MCH_ANG) you need to select the "parameter name" option. You'll then have to type out or select the desired variable.
I only can type R[152] not R[152:Pos Out X Val 2]
Where can I see the "parameter name" option. I'm sorry for this question because my version is Japenese so some name are not same meaning in both languages.
select Instruction
select REGISTER, ...=(...), R[], 152, the cursor moves over between (...)
select PARAMETER NAME, you should see R[152]=($...) with the cursor between (...)
press enter, select Options/Keybd, press KEYBOARD, type SCR_GRP[1].$MCH_ANG[1], exit
I only can type R[152] not R[152:Pos Out X Val 2]
Where can I see the "parameter name" option. I'm sorry for this question because my version is Japenese so some name are not same meaning in both languages.
Are you simply trying to add a label to the registers? That is done in the data screen where you can view and modify both the name and value of the register.
Are you simply trying to add a label to the registers? That is done in the data screen where you can view and modify both the name and value of the register.
But just to clarify, adding a label to a register does not change the data contained in that register in any way. Labels are only for readability.
But just to clarify, adding a label to a register does not change the data contained in that register in any way. Labels are only for readability.
Erik,
Charles says you need to get back to work.