General Information; Command And Event Formats - TAIYO YUDEN EYSKJNAWB-VX Manual

Table of Contents

Advertisement

EYSKJNAWB-VX
3

General Information

3.1 Command and Event Formats

Commands follow a standard format.
コマンドは以下のフォーマットに準拠しています。
• Each command begins with a command start character '$'
各コマンドには、先頭に開始文字 '$'を付加してください
• The 4 character command code
コマンドは 4 文字に統一されています
• Input parameters for the command begin with a parameter token ':'
各コマンドにパラメータを入力する場合パラメータトークン':'を入力してください
• The command frame ends with CRLF "¥r¥n"
コマンド終端の改行コードは CR+LF (¥r¥n) を使用してください
"$CODE¥r¥n"
"$CODE:param1:param2¥r¥n"
A response will be returned for all commands. The response follows the same format described
above.
For commands that set configuration options, the response will provide a single parameter: "OK" if the
command was successful or "ERRxxx" if the command could not be executed. The error number
shows the reason that the command failed. Refer to Error Codes in the "Command API".
For commands that fetch configuration options, the parameters returned are described in the
"Command API".
Exceptions are for HRST (immediate reset) and FRST (factory reset) as the device will immediately
reset. In these cases.
各コマンド実行後、コマンドに対応するレスポンスコマンドが自動で出力されます。レスポンスコマ
ンドは上記のコマンドフォーマットに準拠します。オプション設定をするコマンドの場合、コマンド
が成功した場合は「OK」 、コマンドを実行できなかった場合は「ERRxxx」というレスポンスコマン
ドを出力します。 Error コードからコマンドを実行できなかった原因を確認することができます。 Error
コードに関しては「Command API」を参照してください。オプションを取得するコマンドの場合、
出力されるパラメータは「Command API」を確認ください。HRST(immediate reset)および FRST
(factory reset)は例外となっています。(デバイスが即座にリセットされるため)
Events may be generated during operation. Events follow the same format as commands, with the
addition of an 'E' character following the start character. A list of events can be found in the
"Command API".
イベントは動作中に出力されます。イベントは、コマンドと同じフォーマットに準拠し、さらにイベ
ントを示す'E'をコマンドの前に付与して出力します。イベントのリストは「Command API」を確認
ください。
"$ECODE¥r¥n"
"$ECODE:param1:param2¥r¥n"
TAIYO YUDEN CO., LTD.
3-Sep 2021 Ver.0.91
TAIYO YUDEN CO., LTD.
34/198

Advertisement

Chapters

Table of Contents
loading

Table of Contents