Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ InTouch HMI

ランダム数を生成する

  • Last UpdatedSep 26, 2024
  • 1 minute read

スクリプトで、以下のコマンドを使用すると、0 ~ 255 までのランダム数を生成できます。

OLE_CreateObject(%SR,"System.Random");

randtag = (%SR.NextDouble)*255;