RAND
PROGRAM RAND_DEMO VAR LR1: LREAL; END_VAR LR1:= RAND(); END_PROGRAM
Returns a random value from the interval 0 to 1.