RobotStudio event

Visualisation

Part of my robot routine involves setting and resetting a digital output at critical times along a path.

I have run simulations of my path and it works fine but... my simulation can't visually show when any digital outputs are set or reset.

I would like if I could maybe change the colour of something to represent the output being set/reset during the simulation run.

Can this be done?


Answers

  • Yes. You can make a smart component to Show & Hide a component or to change colour of an object based on the status of a robot output. See attached example to show / hide a part. When you have imported this into your station right-click it and select properties, then select the part you want to Show & Hide in the 'Part' drop-down box. Click on the 'Test' signal to toggle the part visible / invisible. Now you can connect a robot output to the 'Test' signal - go to Simulation > Station Logic, select the Signals and Connections tab and Add I/O Connection. In the Source Object select the Robot and in the Source Signal select the Robot Output. In the target object select SmartComponent_1 and in the Target Signal select Test. Run your simulation!