RobotStudio event

Losing RAPID code when synchronising

Options
When I use the rapid editor to edit the code (targets, moves, add setDO, waitDI, waitTime etc.) and then synchronise to station, it does not seem to update the procedures to fully match the rapid code. When I synchronise back to rapid, I then lose some of the lines I originally added in rapid. The moves only remain. Do I have to add action instructions separately in both the station and the rapid editor?
Tagged:

Comments

  • Johannes Weiman
    Options
    Hi,
    For instructions to be synchronized they must be defined in Instruction Templates in the station. 
    To add instructions, open the Instruction Templates editor, click Add and select the desired instruction. (This applies to RS 6.05 which has a much improved editor.)

    Regards,
    Johannes
    Johannes Weiman
    Software Engineer
    RobotStudio Team, ABB Robotics
  • daguilar
    Options
    jake_g said:
    When I use the rapid editor to edit the code (targets, moves, add setDO, waitDI, waitTime etc.) and then synchronise to station, it does not seem to update the procedures to fully match the rapid code. When I synchronise back to rapid, I then lose some of the lines I originally added in rapid. The moves only remain. Do I have to add action instructions separately in both the station and the rapid editor?
    I had same problems since long time ago. The thing is that the "virtual" robot in the station can't run many things ,like triggers for example. Then, if you have a Trigger in your RAPID code, and synchronize to the station it won't appear there, that's why when you sinchronize back to the controller, the Trigger will disappear from your RAPID code... It took me a while understand how this work and now I am used to create a TeachingModule with MoveJ of all the targets to teach them in the station.



    Un saludokind regards,


    Daniel Aguilar

    Automation Engineering


  • jake_g
    Options
    Thanks for your replies. Currently I keep losing 'MoveL offs' commands when I sync from RAPID to station and back again. I cannot find this in the Action Instruction drop down list in the Instruction Templates.
  • svoldgaard
    Options
    I'm also just using a dummy module, to sync all the targets. Then I create my actual code in the rapid editor.
    The simulator still works as it should.
  • jake_g
    Options
    Can anyone explain further how best to utilise a dummy module?
  • graemepaulin
    Options

    I simply have a path in the station that contains all my robtargets (Robtargets have to be in a path to be able to be synchronized) - it does not matter what type of Move, zone, velocity, etc you use for each of the Robtargets in the path.

    When I Sync this path to the Virtual Controller it goes into a separate (dummy) Module so it does not get mixed up with the real Rapid code (you can select what module the Path gets Synchronized to in the Sync dialogue box).