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