Quick Question robtargets

  • Hi,


    Quick Question,


    Im programming in S4C and I want to know if i can make new robtargets in notepad++ just by typing, and later on is it possible to change the position of the robtargets with my teach pendant?


    Example:


    when I type this in notepad++ : CONST robtarget pHome; ==> I will get an error when I load it in my controller


    Thank you,

  • Place your Ad here!
  • yes, you can write them manually, but you have to not forget value part of the declaration i.e.:


    Code
    CONST robtarget pHome := [[1404.10,1335.32,57.68],[1,0.000483106,4.76137E-06,-2.2697E-05],[-1,1,0,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]];


    anyway I think that by writting it manually, you will not write confdata correctly, therefore you will have to use ConfL\Off and ConfJ\Off, to get robot to those targets before modifying them!


    best regards,


    blinder

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account
Sign up for a new account in our community. It's easy!
Register a new account
Sign in
Already have an account? Sign in here.
Sign in Now

Advertising from our partners