Skip to content

compas_rrc.PrintText moer than 80 characters will cause a error on ABB controller #16

Description

@yck011522

I tried to print an manifesto on the ABB TP. And I realize it throws an obscured error which took me a while to fugure out.

Turns out RAPID String class only holds less than 80 characters.....
https://forums.robotstudio.com/discussion/8948/why-string-length-is-limited-to-80-characters-in-rapid#:~:text=It%20is%20described%20in%20the,)%20enclosed%20by%20quotation%20marks%22.

Expected Result

I want this behavior to be documented or have an error thrown at me in a more understandable error message. Ideally throwing it back to me in code not just something viewable from RobotStudio.

Maybe the RAPID side can implement something behind the scene to deal with longer string and display it one way or another.

Actual Result

A error message quickly flashed on the TP, it is viewable from Robot Studio.

Reproduction Steps

Just try print a long text with rrc.PrintText

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions