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