PROGRAM RAND_DEMO VAR LR1: LREAL; END_VAR LR1:= RAND(); END_PROGRAM
Returns a random value from the interval 0 to 1.
To make sure that our site works in the best way possible and provides you with the best user experience, we recommend allowing all types of cookies. Below you have the opportunity to edit cookies by category, in line with your own preferences. For more see
List of Cookies.
These cookies are required to ensure proper functioning, security, and proper display on a computer or mobile phone, to save products in the shopping basket, and to make sure that filling in and submitting forms and the like all works properly. Technical cookies can be deactivated, but without them our site will not work properly.
Statistics cookies help website owners understand how visitors use a website and how they can continue to improve it. They collect and share information anonymously.
These cookies allow us to show you the website the way you know it. We display, for example, language, time, or display settings in line with your own settings.
We don’t want to bother you with inappropriate ads. These cookies allow us and our advertising partners to show only relevant adverts.
To make sure the site works the way you know it (consent to cookies)
It is importnat to us that you quickly find what you are looking for on our site, save a lot of clicks, do not see ads that do not interest you, and see the site in the view you are used to. That is why we need your consent to the processing of cookies - small files that are temporarily stored in your browser. By pressing the "OK" button, you agree to the setting of cookies so that we can provide you with meaningful and useful services based on your data. You can change your consent at any time on the Personal Data Processing Page.