SmartComponents
SmartComponentCollection
This project consists of collection of SmartComponents created as SmartComponent project. It contains complete SmartComponents that could be used to Convert GroupInput to DigitalOutput, Convert DigitalInput to Group Output, Sense a Line, Create a ParametricBox and Moving to viewPoint.
The end result of this SmartComponent project is a collection of SmartComponent libraries.
Download
Click here to download
Note
If you encounter some build errors when add-in is built, you need to add the DLL references from RobotStudio application folder. Refer to the How to add a reference to your Add-in section in (Creating a RobotStudio Add-in](xref:Creating-a-RobotStudio-Add-In) tutorial.
List of SmartComponents
Convert GroupInput(GI) to DigitalOutput(DO)
This SmartComponent takes GroupInput signal as input and represents the output in the form of DigitalOuptut signals. The DigitalOuptut signals are updated dynamically based on the GroupInput signal value change. The DOCount is an input which specifies the number of Digital Output signals required. The screenshot below gives a snapshot of the SmartComponent.
Convert DigitalInput(DI) to GroupOutput(GO)
This SmartComponent takes DigitalInput signal as input and represents the output in the form of GroupOutput signals. The DICount is an input which specifies the number of Digital Input signals required. The GroupOutput signal is represented based on DigitalInput signal value change. The screenshot below gives a snapshot of the SmartComponent.
Parametric Box
The ParametricBox generates a box with dimensions specified by length, width, and height. Based on any change in the size properties the box size changes accordingly and can be see in graphical window. The screenshot below gives a snapshot of the SmartComponent.
Line Sensor
The LineSensor defines a line by the Start, End, and Radius. When an Activesignal is high, the sensor detects objects that intersect the line. Intersecting objects are displayed in the SensedPart property and the point on the intersecting part that is closest to the line sensors start point is displayed in the SensedPoint property. When intersection occurs the SensorOut output signal is set.
Move to ViewPoint
Moves to the selected viewpoint in the given time, when the input signal Execute is set. The output signal Executed is set when the operation is completed. The screenshot below gives a snapshot of the SmartComponent.
How to run SmartComponents
Note
While loading a Smart Component, RobotStudio displays a warning message if the Smart Component contains an embedded non-signed assembly or an embedded assembly which is signed with a non-trusted signature. Any embedded code-behind assembly must be digitally signed using Microsoft’s Authenticode technology.
For more details, see Digital signing of Smart Components.
View SmartComponent: Go to Modelling tab and click on SmartComponent or Go to Simulation tab and click on Station Logic. Inorder that the SmartComponents appear along with RobotStudio SmartComponents, the SmartComponent with .rslib extension should be placed under
%ProgramFiles(X86)%\ABB\RobotStudio version\ABB Library\Components
.Click on StationLogic: Click on Add Component and select Move To ViewPoint. SmartComponent will appear as shown below
SmartComponent Window: Right click on the SmartComponent and select Properties.