Parker Hannifin
30 Programmer’s Guide
Example 5
The following flashes the first 30 outputs in a random sequence.
PROGRAM
DIM DV(1) : REM dimension 1 floating point variable
_LOOP2
DV0=RND(4294967295) : REM set DV0 equal to random number
P4097= DV0 : REM set onboard outputs equal to DV0
GOTO LOOP2
ENDP