Find DCS code

  • TDailey


    Please don't take this the wrong way, but have you written a Fanuc teach pendant program before? If not, I can probably help you.


    Edit: I think I know what you're asking now! Unfortunately, my RoboGuide license isn't working currently, so I'm going to be working from memory a bit here.


    In your TP program:


    F1-INST

    7-Miscellaneous (number might change)

    7-Parameter name

    2- ...=$... (This allows a System Variable to typed in)

    1 R[ ]


    On screen you should now have:


    R[...]=$...


    Change the R[...] to 20

    Change the $... to DCS_Code using the keyboard pop up.


    This will give you the R[20]=$DCS_Code

    It's always the robots fault, just ask management!

    Robots are always the solution, just ask management!

    Edited once, last by 00Red ().

  • Place your Ad here!
  • i tried that but could not find the option to write

    R[20]= $DCS_CODE Any Help on figuring out how to write that in a TP program would also be greatful

    dcs_code.zip


    TDailey,


    Attached is a zip file with a single TP program in it that will load the $DCS_CODE into R[20].


    Enjoy,


    00Red

    It's always the robots fault, just ask management!

    Robots are always the solution, just ask management!

  • You can also run that code (shown below) in a background task and it'll provide the DCS code in case you are unable to run a program because of a DCS error.


    R[1] = $DCS_CODE

    It's always the robots fault, just ask management!

    Robots are always the solution, just ask management!

  • It's always the robots fault, just ask management!

    Robots are always the solution, just ask management!

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