• 検索結果がありません。

イネーブルレジスタ

ドキュメント内 XDC6KW.book (ページ 159-163)

イネーブルレジスタは、イベントレジスタのどのビットがサマリビットを生成 するかを指定します。

イベ ント レジ スタ とイ ネー ブル レジ スタ の対 応す るビ ット 同士 の論 理積 を とった後、すべてのビットの論理和をとりサマリビットを生成します。

生成されたサマリビットは、ステータスバイトレジスタに記録されます。

イネーブルレジスタは、読み取り、書き込みが可能です。

SCPI を 搭載する装置のステータスレ ジスタは、オペレーション・ステー タスレジ スタ、クエスチョナブル・ステータスレジスタ、スタンダードイベント・ステータ スレジスタ、およびステータスバイトの 4 つのレジスタを少なくとも搭載していな ければなりません。

PVD-T SERIES プログラミング 6-37

6.4.1 オペレーションステータスレジスタ

オペレーションステータスレジスタは、本機の動作状態に関する情報を格納してい る 16 ビットのレジスタです。

オペレーションステータスレジスタは 5 つのサブレジスタもち、それぞれ動作モー ド、シ ャット ダウン、保 護シャ ットダ ウン、リモー トコン トロー ル、ワンコ ント ロール並列運転の情報を格納しています。

各サブレジスタの情報は、オペレーションステータスレジスタのサマリビットに要 約されます。

図 6-2 は、オペレーションステータスレジスタの構造を表しています。

「+」は、レジスタの論理和を表します。

また、表 6-1〜 表 6-6では、ビットの重みや各ビットの意味について説明しています。

表 6-1 オペレーションステータスレジスタ(STATus:OPERation)

ビット ビット

の重み ビット名 説明

0 1 CALibrating 本機が校正(CAL)モードになっています。

1 2 Not Used 未使用

2 4 Not Used 未使用

3 8 Not Used 未使用

4 16 MEASuring 実行されていません

5 32 Waiting for TRIGger Summary 本機がトリガ(TRIG)を待っているかどうかを表 します。

6 64 Not Used 未使用

7 128 Not Used 未使用

8 256 REGulating Summary 動作モード(REG)サブレジスタの要約を表しま す。

9 512 SHUTdown Summary シャットダウン(SHUT)サブレジスタの要約を表 します。

10 1024 Remote CONtrol Summary リモートコントロール(CON)サブレジスタの要 約を表します。

11 2048 Current SHare Summary ワンコントロール並列運転サブレジスタの要約を 表します。

12 4096 Not Used 未使用

13 8192 Not Used 未使用

14 16384 PROGram Running オートシーケンスシーケンスが実行中です。

15 32768 Not Used 未使用

6-38 プログラミング PVD-T SERIES イベントレジスタの問い合わせ

オペレーションステータスレジスタのイベントを問い合わせます。

クエリ: STATus[<channel>]:OPERation[:EVENt]?

コンディションレジスタの問い合わせ

オペレーションステータスレジスタの状態を問い合わせます。

クエリ: STATus[<channel>]:OPERation:CONDition?

イネーブルレジスタの設定と問い合わせ

オペレーションステータスレジスタのイネーブルの設定と、問い合わせをします。

設定 : STATus[<channel>]:OPERation:ENABle

<status-enable>

クエリ: STATus[<channel>]:OPERation:ENABle?

ポジティブトランジションフィルタの設定と問い合わせ

オペレーションステータスレジスタのポジティブトランジションの設定と、問い合 わせをします。

設定 : STATus[<channel>]:OPERation:PTRansition

<status-enable>

クエリ: STATus[<channel>]:OPERation:PTRansition?

ネガティブトランジションフィルタの設定と問い合わせ

オペレーションステータスレジスタのネガティブトランジションの設定と、問い合 わせをします。

設定 : STATus[<channel>]:OPERation:NTRansition

<status-enable>

クエリ: STATus[<channel>]:OPERation:NTRansition?

PVD-T SERIES プログラミング 6-39 図 6-2 オペレーションステータスレジスタ(STATus:OPERation)

PROTection Summary INTerlock COMMand Not Used

1 0

3 2

5 4

7 6

9 8

11 10

13 12

15 14 Not Used Not Used Not Used Not Used

Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used

+ STATus:OPERation:SHUTdown

Analog Control Voltage Analog Control Current GPIB Control GPIB Control with LLO

1 0

3 2

5 4

7 6

9 8

11 10

13 12

15 14 RS-232 Control RS-232 Control with LLO Multi-channel Control Multi-channel Control with LLO

Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used

+ STATus:OPERation:RCONtrol

MASTer SLAVe Not Used Not Used

1 0

3 2

5 4

7 6

9 8

11 10

13 12

15 14 Not Used Not Used Not Used Not Used

Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used

+

STATus:OPERation:CSHare Over VOLtage

Under VOLTage Over CURrent Under CURrent

1 0

3 2

5 4

7 6

9 8

11 10

13 12

15 14 Over POWer Under POWer AC Off Over TEMperature

Not Used Not Used Not Used Not Used FOLDback Not Used Not Used

SENSe +

STATus:OPERation:SHUTdown:PROTection

CALibrating Not Used Not Used Not Used

1 0

3 2

5 4

7 6

9 8

11 10

13 12

15 14 MEASuring Waiting for TRIGger Not Used Not Used

PROGram running Not Used Not Used Not Used Remote CONtrol Summary

Current SHare Summary REGulating Summary SHUTdown Summary

+

STATus:OPERation CV

CC CP Not Used

1 0

3 2

5 4

7 6

9 8

11 10

13 12

15 14 Not Used Not Used Not Used Not Used

Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used

+

STATus:OPERation:REGulating

to Status Byte bit 7

6-40 プログラミング PVD-T SERIES

ドキュメント内 XDC6KW.book (ページ 159-163)