omron — Rand

Appendix: Built-in Scripting Language optNumIgnore Integer or Real tags containing a value to be ignored in the analysis. Returned value Returns the minimum value of the set. Examples Rand Generates a random number between 0 and 1. Syntax Rand() This function has no parameters. Returned value Returns a real number between 0 and 1.

Examples InduSoft Web Studio Page 457 Tag Name Expression Tag Min( 1, 2.34, 5, 7, 4, 8, 9.4 ) // Returned value = 1 Tag Min( 1, 5, -9, 0, 5, 3 ) // Returned value = -9 Tag Min( "tagArray[1]", 3 ) // If tagArray[1]=10, tagArray[2]=20 and tagArray[3]=60, then the Returned Value = 10 Tag Min( "tagArray[1]", 3, 10 ) // If tagArray[1]=10, tagArray[2]=20 and tagArray[3]=60, then the Returned Value = 20 Function Group Execution Windows Embedded Thin Client Rand Statistical Synchronous Supported Supported Supported Tag Name Expression Tag Rand() // Returned value = ?, Where: 0