RAND

RAND

PROGRAM RAND_DEMO
  VAR
     LR1: LREAL;
 END_VAR
 LR1:= RAND();
END_PROGRAM

Returns a random value from the interval 0 to 1.

OutputType Description
LREALOutput value

  • © Energocentrum Plus, s.r.o. 2017 - 2024