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

AVEVA™ InTouch HMI

HTGetTimeAtScooter() 関数

  • Last UpdatedMar 13, 2018
  • 1 minute read

HTGetTimeAtScooter() は、ScootNumScootLoc 引数で指定したスクータ位置のサンプルの時刻を、1970 年 1 月 1 日午前 0 時から数えた秒数で返します。

カテゴリ

履歴

構文

IntegerResult=HTGetTimeAtScooter(Hist_Tag, UpdateCount,ScootNum,ScootLoc);

引数

Hist_Tag

トレンド名が割り当てられた履歴トレンドのタグ変数

UpdateCount

トレンドの.UpdateCountドットフィールドを示す整数値。

ScootNum

左または右スクータを示す整数値:
1 = 左スクータ
2 = 右スクータ

ScootLoc

トレンド上の .ScooterPosRight または .ScooterPosLeft の位置の値を示す実数値。

備考

引数の UpdateCount、ScootNum、および ScootLoc に割り当てられた値が変わると、この式の値が再度求められます。これにより、新しいデータの検索後やスクータの移動後にこの式が評価されて値が更新されます。

以下のステートメントでは、Trend1 トレンドの現在の左スクータ位置の値に対応する時刻が秒単位で取得されます。

HTGetTimeAtScooter("Trend1",Trend1.UpdateCount,1, Trend1.ScooterPosLeft);