April 25, 2019, 02:41:00 AM
Robotforum | Industrial Robots Community

 Overwriting Position Variable While Load

Author Topic:  Overwriting Position Variable While Load  (Read 243 times)

0 Members and 1 Guest are viewing this topic.

April 15, 2019, 02:14:01 PM
Read 243 times
Offline

rAviteja_g


The robot program is actually generated by external software, where it also defines shift of a position variable. In the Program postion variable value is initialised as all zeros.
For the same position variable using teachpendent I wrote z value as something, as soon as I load the program to robot, it overwrites to zero, Its Clear for me as in the program the values are initialised to zero.
Is there a way to stop overwriting position vars by loading a progam ?

Today at 02:41:00 AM
Reply #1

Advertisement

Guest

April 15, 2019, 03:35:55 PM
Reply #1
Offline

Mr Goo


Are you modifying the job on the robot teach pendant or are you modifying the job using external software. It seems that one of the robot jobs is initializing the z value to zero. Some where in one of the robot jobs the value is being set back to zero. You need to step thru the various jobs follow.the code and see where the instruction is that's setting the value back to zero.
 

Sent from my SM-N920I using Tapatalk


April 15, 2019, 07:22:24 PM
Reply #2
Offline

95devils


I don't know of a parameter to prevent this.  What I do to prevent this is indirect address the position variable.  The position variable will not show up in the job header.

In this example assuming the SFTON instruction:

SFTON P005   This information will be in the header in the correct format, tool, and element values.  This will overwrite P005 when the job is loaded from an external device.

SFTON P[005]   This information will not be in the header since it is indirectly addressed.  This will not overwrite P005 when loaded into the controller.


To use this the controller has to be in expanded language level.

Alcohol:  The cause and solution to all life's problems

April 16, 2019, 06:20:16 AM
Reply #3
Offline

rAviteja_g


@95devils, Thanks a lot man. The job header section is defined and generated by external cad/cam software__ where it is initialsing the position variable to zero, where even if i use indirect addressing which doesnt help me. I tought by setting some parameter I can avoid it.

April 16, 2019, 09:47:15 AM
Reply #4
Offline

Reintz


There is no parameter for that. At least on a DX200 there isn't.
I was in contact with Yaskawa Finland about this issue last year. I'm loading JOB files from external memory device (YasXfer) and I also needed it not to overwrite the existing position variables.

April 16, 2019, 02:25:21 PM
Reply #5
Offline

95devils


When the external source creates the job, does the job automatically get loaded into the controller or can it be intercepted? 

A fairly easy program could be written in some computer software to strip the position variables from the header and rewrite the position variable(s) to indirect addressing.  Or could be manually done.

April 17, 2019, 04:58:29 AM
Reply #6
Offline

rAviteja_g


 :icon_smile:I sent it by batch program using ftp, in my batch programm I can manipulate or remove initialisation of position variable.

Today at 02:41:00 AM
Reply #7

Advertisement

Guest


Share via facebook Share via linkedin Share via pinterest Share via reddit Share via twitter

xx
Overwriting JBI file via ftp server

Started by Roboteer on Yaskawa Motoman Robot Forum

5 Replies
1139 Views
Last post March 23, 2018, 10:31:16 PM
by rAviteja_g
xx
Script command to load script with a variable name

Started by CT on Universal Robots

0 Replies
1014 Views
Last post October 05, 2017, 09:22:05 AM
by CT
xx
Position variable?.

Started by multani33 on Yaskawa Motoman Robot Forum

3 Replies
246 Views
Last post March 11, 2019, 06:35:25 PM
by 95devils
xx
position variable

Started by mookie on KUKA Robot Forum

19 Replies
9629 Views
Last post August 06, 2017, 12:35:27 AM
by 4u