# \#function

**URL:** https://tech-community.robotics.abb.com/tag/function/118.md

[Latest](https://tech-community.robotics.abb.com/latest.md) · [Categories](https://tech-community.robotics.abb.com/categories.md) · [Tags](https://tech-community.robotics.abb.com/tags.md)

---

## [Universal data type Function](https://tech-community.robotics.abb.com/t/universal-data-type-function/9725)

<div class="topic-metadata">

**Author:** [@dvlcek](https://tech-community.robotics.abb.com/u/dvlcek)\
**Replies:** 12\
**Last updated:** [October 5, 2020, 12:40pm UTC](https://tech-community.robotics.abb.com/t/universal-data-type-function/9725 "2020-10-05T12:40:28Z")

</div>

Hello, I am trying to create universal function to check if array contains something. Parameters should be of any type, how “Present(ANYTYPE# DatObj)” function works, for example. Is this possible? Thank you D.V.

---

## [Smoothing Trajectories](https://tech-community.robotics.abb.com/t/smoothing-trajectories/8679)

<div class="topic-metadata">

**Author:** [@Christopher\_Pp](https://tech-community.robotics.abb.com/u/Christopher_Pp)\
**Replies:** 1\
**Last updated:** [February 4, 2019, 1:02pm UTC](https://tech-community.robotics.abb.com/t/smoothing-trajectories/8679 "2019-02-04T13:02:58Z")

</div>

Hi guys, What is the best method to perform smooth trajectories without losing speed? I currently use the PathAccLim function, but I do not know if it is the best or most effective option. Any comment? Thank you!

---

## [FUNC rawbytes?](https://tech-community.robotics.abb.com/t/func-rawbytes/7271)

<div class="topic-metadata">

**Author:** [@SteveMob](https://tech-community.robotics.abb.com/u/SteveMob)\
**Replies:** 1\
**Last updated:** [July 18, 2016, 2:26pm UTC](https://tech-community.robotics.abb.com/t/func-rawbytes/7271 "2016-07-18T14:26:13Z")

</div>

Hello, I am trying to build a function: FUNC rawbytes PackCustomMessage(VAR num messageNumber,\\VAR string messageString) ! Creates a custom message (error/warning/validation) ! Inputs: ! -messageNumber: num ! -opti…

---

## [How to make a custom function in my rapid program?](https://tech-community.robotics.abb.com/t/how-to-make-a-custom-function-in-my-rapid-program/5624)

<div class="topic-metadata">

**Author:** [@laov](https://tech-community.robotics.abb.com/u/laov)\
**Replies:** 5\
**Last updated:** [December 13, 2013, 10:12am UTC](https://tech-community.robotics.abb.com/t/how-to-make-a-custom-function-in-my-rapid-program/5624 "2013-12-13T10:12:38Z")

</div>

Can I make myself a function the same way I make a procedure in RAPID programming? If yes then what is the proper syntax for it?
