RobotStudio event

Renaming files on Robot Controller

Options

Hi,

Is there a way of renaming files and moving them to different directories on the robot controller through rapid commands? My main objective is to change the background image if the operator decides to run a different part.

Thanks,

Dustin

Dustin

Comments

  • PerSvensson
    Options
    Take a look at RenameFile
    Per Svensson
    Robotics and Vision Specialist
    Consat Engineering
  • luketao
    Options

    RenameFile is used to give a new name to an existing file. It can also be used to move a file
    from one place to another in the directory structure.

    Look at the manual "RAPID instructions, functions and data types"

  • Thanks per and luke, I ran into another issue, however I'm not sure if it's possible to find a work around. When I replace the background file, it won't change until I go in to the background selection screen and hit "ok", is there anyway to refresh something like the background automatically, I would assume not, but it's worth a shot.<?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

    Dustin
  • RussD
    Options
    A simpler method might be to have a FlexPendant SDK application that displays a picture of the current part or tool, etc. Do you have the RW Option FlexPendant Interface on your robot(s)?
    Russell Drown