RobotStudio event

Simulation not working

Hi all,

I created a station with one robot with about 3 Smart Components. I am having trouble running the simulation through "Play", but I found that the program runs fine if I run it through the Rapid Editor, but certain object movement e.g. LinearMover doesn't work.

I have tested each one Smart Components individually by saving them as individual libraries, where the simulation runs fine and I can see the object move with a time delay.

When I try and run the simulation through "Play" I get error as such:

"Robot: Could not set program pointer to entrypoint for task T_ROB1 Please check your program for errors 1/04/2011 8:54:48 PM Controllers"

"Robot: The program could not be started 1/04/2011 8:54:49 PM Controllers"

Can anyone advise?

Thanks and regards

Comments

  • Go to Simulation Setup and ensure that the entry point is defined as you want it (usually 'main'). The next step is to add your path to the entry point procedure (move the procedures from left to right in the Simulation Setup window.) Note that the path must be synchronized to the VC to be available in the Simulation Setup window.
    Henrik Berlin
    ABB
  • Hi,
    Have you added a procedure to the Main Sequence in the Setup Simulation?

     

    You can also deselect the Virtual Controller from the simulation and run it from the Rapid Editor, which is explained here:


     

    image
    Best regards,
    Anders Spaak
    ABB Robotics
  • Thanks Henrik and Anders, I will give this a go 
  • You guys are amazing!! problem solved Thanks heaps!!
  • Hi, everyone I'm new on this forum and barely started work with RS.

    I have problem with 'starting simulation'. I push play button and after 1 secound simulation is stoped (it look like RS try to start, but something disturbing??).



    I have to put every movable object on stage to the SmartComponent (including robot with controler I gues), because I don't lern yet how to writhe script in RAPID. So, in simulation setup I can't modify entry point and add precedure (technicly I don't have robot on stage).

    I do all simulation in Station Logic siglan by signal.



    The funny thing is, that simulation was ok in the morning... If I open and modify backup copy everything is ok, but "after some time" IT HAPEND AGAIN and I don't know where is the problem.



    Please help :)



    EDIT: have no error message from RS miszowaty2012-07-15 23:22:57


  • Hi,
    If you not have any working RAPID program in the Virtual Controller you should deselect the VC (system) in Simulation Setup:
     
    image
    image
    Best regards,
    Anders Spaak
    ABB Robotics
  • Station with I work on, send me my friend. He writhe empty RAPID script, just to run simulation without VC (is this posible??).

    I have robot in SC:



    image

    image

    imagemiszowaty2012-07-16 14:01:46


  • Yes that is possible, but the whole idea with RobotStudio is to create real (RAPID) programs for ABB robots with one or more Virtual Controllers.
    Best regards,
    Anders Spaak
    ABB Robotics
  • Ok, but what I could modify, just to play simulation?


  • It is difficult to say why the simulation stops working after a while. But most likely is something wrong in some of the Smart Components. Talk to your friend who sent it to you for support.
    Best regards,
    Anders Spaak
    ABB Robotics
  • Is there anybody that have problem like this: I run simulation. In my RAPID file, there is a pointer that moves correctly, but in graphic window robot isn't moveing?