I like the ease of inline form but would like to remap the LIN and CIRC Velocities to a global REAL variable. This would allow multiple points to be changed on the fly via the variable. Is there anyway of doing this? I looked at the fold of the point and the BAS(#cp_parms,2) contains the current speed. I tried changing this to BAS(#cp_parms,speed_1) but it doesn't seem to matter.
Thanks
Change LIN inline form velocity to a global value
-
KC1234 -
December 2, 2015 at 10:56 PM -
Thread is marked as Resolved.
-
-
why do you think it does not work?
of course it works though it will be messed up if anyone edits the inline form. if you only tested it at T1, you may not see difference due speed reduction in that mode. try really low values like 0.02 m/s and 0.2m/s and you will see the difference....
as said, hacking standard ILF by hand is not really something you would want, but IF using ILF is something you like, consider using UserTech and making own set of ILF instructions that will use variable instead of constant for speed limit.
-
why do you think it does not work?
of course it works though it will be messed up if anyone edits the inline form. if you only tested it at T1, you may not see difference due speed reduction in that mode. try really low values like 0.02 m/s and 0.2m/s and you will see the difference....
as said, hacking standard ILF by hand is not really something you would want, but IF using ILF is something you like, consider using UserTech and making own set of ILF instructions that will use variable instead of constant for speed limit.
Hi panic, if anyone makes a touchup position (with or without changing the speed by hand ) in that inline form whats happen? The whole fold of the LIN will be rewritten and the speed came back to a constant?
Thanks a lot
-
i've tried on a test application.
If i write in the fold of the LIN inline form
BAS(#cp_parms, my_variable) if anyone edit for example the speed, the CONT of the LIN inline form the entire fold will be rewritten.
So i think it is better choose another way to make this "safe".
Hope that this is helpful.
-
if would be good to post KSS version and example code when discussing behavior...
of course one can hack ILF but it is well known that such change will only have a temporary effect.
beside hiding things inside standard ILF is really bad practice. if custom ILF is needed, no problem, simply make one with UserTech.