SLM8000 API 詳細 ============================ | 各クラスのメソッドの詳細を説明します. | ※コマンドの説明にある(REQ_XXXやDAT_XXX)は, | SLM8000送受信データマニュアル(TB00-1134)に記載されているコマンド番号です. .. csv-table:: クラス概略 :header: "クラス名", "概略" "pyfinemotion.slm8000", "統合クラス" "pyfinemotion.slm8000comm", "通信コマンド発行" "pyfinemotion.slm8000tpclogging", "TPCロギング項目設定&取得データ変換" "pyfinemotion.slm8000status", "ステータス確認" "pyfinemotion.slm8000param", "パラメーター確認" "pyfinemotion.slm8000iniParser", "iniファイル読込" "pyfinemotion.slm8000tcnv", "テクノコードプログラム変換" "pyfinemotion.slm8000gcnv", "Gコードプログラム変換" "pyfinemotion.slm8000const", "モーションコントローラ内部定数定義" "pyfinemotion.slm8000data", "通信データフォーマット定義" "pyfinemotion.commerror", "通信エラー定義" "pyfinemotion.prgconverror", "プログラム変換エラー定義" pyfinemotion.slm8000 -------------------------------- | SLM8000を操作するクラスです. このクラスをインスタンス化して下さい. | slm8000commを継承しています. | またslm8000tpclogging ,slm8000tcnv,slm8000gcnvをインスタンス化しています. | ほとんどのメソッドはslm8000commのメソッドを継承しているだけですが, | プログラム読込&書込,TPCロギングなど, | プログラム変換クラスやTPCロギングクラスのメソッドを使用する必要がある処理については, | このクラスで実装してます. .. automodule:: pyfinemotion.slm8000 :members: :undoc-members: :show-inheritance: pyfinemotion.slm8000comm ------------------------------------ | SLM8000との通信コマンドを実装したクラスです. slm8000クラスが継承します. | 通信ライブラリコマンド番号と適切なデータを渡してコマンドを発行し, | 戻り値をPython型として受け取るための処理が実装されています. | 各コマンドの詳細については[SLM8000送受信データマニュアル:TB00-1134]内の, | 対応する通信コマンド番号(例:DAT_PROGRAM=0x01)をご確認ください. .. automodule:: pyfinemotion.slm8000comm :members: :undoc-members: :show-inheritance: pyfinemotion.slm8000tpclogging ----------------------------------- | TPCロギングでSLM8000からデータを取得する際に使用するモジュールです. | ロギング項目の設定及び取得したデータをPythonで使用できる型に変換します. .. automodule:: pyfinemotion.slm8000tpclogging :members: :undoc-members: :show-inheritance: pyfinemotion.slm8000status -------------------------------------- | SLM8000のステータス情報をPythonクラスとして定義しています. .. automodule:: pyfinemotion.slm8000status :members: :noindex: :undoc-members: :show-inheritance: pyfinemotion.slm8000param ------------------------------------- | SLM8000で使用するパラメータ設定をPythonクラスとして定義しています. .. automodule:: pyfinemotion.slm8000param :members: :noindex: :undoc-members: :show-inheritance: pyfinemotion.slm8000iniParser ---------------------------------- | セッティングPCソフトで作成したslm8000drv.iniファイルをPythonで読み込み, | slm8000クラス内で使用できる形式にパースするクラスです. .. automodule:: pyfinemotion.slm8000iniparser :members: :undoc-members: :show-inheritance: pyfinemotion.slm8000tcnv ---------------------------------- | Tコードで作成した運転プログラムをSLM8000用のバイナリに変換, | またはSLM8000内のバイナリプログラムをTコードのテキストプログラムに変換するモジュールです. | SLM8000インスタンスがプログラムを変換する際に使用します. .. automodule:: pyfinemotion.slm8000tcnv :members: :undoc-members: :show-inheritance: pyfinemotion.slm8000gcnv ---------------------------------- | Gコードで作成した運転プログラムをSLM8000用のバイナリに変換, | またはSLM8000内のバイナリプログラムをGコードのテキストプログラムに変換するモジュールです. | SLM8000インスタンスがプログラムを変換する際に使用します. .. automodule:: pyfinemotion.slm8000gcnv :members: :undoc-members: :show-inheritance: pyfinemotion.slm8000const ------------------------------------- | SLM8000の内部定数をPythonクラスとして定義しています. | 直接操作する必要はありませんが, カスタムクラスを作成する際に参考として下さい. .. automodule:: pyfinemotion.slm8000const :members: :undoc-members: :show-inheritance: pyfinemotion.slm8000data ------------------------------------ | SLM8000の内部データをPythonクラスとして定義しています. | 直接操作する必要はありませんが, カスタムクラスを作成する際に参考として下さい. .. automodule:: pyfinemotion.slm8000data :members: :noindex: :undoc-members: :show-inheritance: pyfinemotion.commerror ---------------------------------- | SLM8000を操作した際にエラーが発生した場合に, Pythonが投げるエラーを設定しています. | エラー内容に応じ必要な例外処理を実装してください. .. automodule:: pyfinemotion.commerror :members: :noindex: :undoc-members: :show-inheritance: pyfinemotion.prgconverror ---------------------------------- | Tコード又はGコードのプログラムの変換に失敗した場合に, Pythonが投げるエラーを設定しています. | エラー内容に応じ必要な例外処理を実装してください. .. automodule:: pyfinemotion.prgconverror :members: :noindex: :undoc-members: :show-inheritance: