Friday, May 4, 2012

Reading a value from FlexPendant in ABB Robots, TPRead

On ABB robots, one have access to a syntax in RAPID programming language called TPRead. TPRead allows the programmer to read live values from the user (operator) while your code is being run.

TPReadNum reg1,"Text";


PROC readJNumFromPendant()
TPErase;
TPReadNum reg1,"Enter Input Number?";
readValue := reg1;
TPWrite "Read Value is: " + ValToStr(testRead);
ENDPROC

RAPID_refer4.0

No comments:

Post a Comment