使用するアドレス

キーポイント


アドレスは、他の機器と重複して使用することはできません。PLCプロジェクト内では、"アドレスの重複"に注意してください。

VAR_CONFIG内では、ロボットコントローラーへの割りつけを以下のように行ってください。

ライブラリでの変数名 ロボットへの割りつけ ロボットでのbit番号
In_ExtCmdGet Byte0の0Bit目 (スレーブ出力)512
In_ExtRespSet Byte0の1Bit目 (スレーブ出力)513
In_ExtCmdResult Byte0の2Bit目 (スレーブ出力)514
In_ExtError Byte0の3Bit目 (スレーブ出力)515
In_ExtResp_W0 Byte2とByte3 (スレーブ出力)528-543
In_ExtResp_W1 Byte4とByte5 (スレーブ出力)544-559
In_ExtResp_W2 Byte6とByte7 (スレーブ出力)560-575
In_ExtResp_W3 Byte8とByte9 (スレーブ出力)576-591
In_ExtResp_W4 Byte10とByte11 (スレーブ出力)592-607
In_ExtResp_W5 Byte12とByte13 (スレーブ出力)608-623
In_ExtResp_W6 Byte14とByte15 (スレーブ出力)624-639
In_ExtResp_W7 Byte16とByte17 (スレーブ出力)640-655
Out_ExtCmdSet Byte0の0Bit目 (スレーブ入力)512
Out_ExtRespGet Byte0の1Bit目 (スレーブ入力)513
Out_ExtCmdReset Byte0の2Bit目 (スレーブ入力)514
Out_ExtCmd_W0 Byte2とByte3 (スレーブ入力)528-543
Out_ExtCmd_W1 Byte4とByte5 (スレーブ入力)544-559
Out_ExtCmd_W2 Byte6とByte7 (スレーブ入力)560-575
Out_ExtCmd_W3 Byte8とByte9 (スレーブ入力)576-591
Out_ExtCmd_W4 Byte10とByte11 (スレーブ入力)592-607
Out_ExtCmd_W5 Byte12とByte13 (スレーブ入力)608-623
Out_ExtCmd_W6 Byte14とByte15 (スレーブ入力)624-639
Out_ExtCmd_W7 Byte16とByte17 (スレーブ入力)640-655

キーポイント


RC+ 7.0バージョン7.5.1に含まれるCODESYSのファンクションブロックでは、以下の"固定アドレス"が使用されます。アドレスの変更はできません。

  • 入力アドレス: 0.0 ~ 31.7
  • 出力アドレス: 0.0 ~ 31.7
名前 アドレス ロボットへの割りつけ
In_ExtCmdGet %IX0.0 Byte0の0Bit目
In_ExtRespSet %IX0.1 Byte0の1Bit目
In_ExtCmdResult %IX0.2 Byte0の2Bit目
In_ExtError %IX0.3 Byte0の3Bit目
In_ExtResp_W0 %IW1 Byte2とByte3
In_ExtResp_W1 %IW2 Byte4とByte5
In_ExtResp_W2 %IW3 Byte6とByte7
In_ExtResp_W3 %IW4 Byte8とByte9
In_ExtResp_W4 %IW5 Byte10とByte11
In_ExtResp_W5 %IW6 Byte12とByte13
In_ExtResp_W6 %IW7 Byte14とByte15
In_ExtResp_W7 %IW8 Byte16とByte17
Out_ExtCmdSet %QX0.0 Byte0の0Bit目
Out_ExtRespGet %QX0.1 Byte0の1Bit目
Out_ExtCmdReset %QX0.2 Byte0の2Bit目
Out_ExtCmd_W0 %QW1 Byte2とByte3
Out_ExtCmd_W1 %QW2 Byte4とByte5
Out_ExtCmd_W2 %QW3 Byte6とByte7
Out_ExtCmd_W3 %QW4 Byte8とByte9
Out_ExtCmd_W4 %QW5 Byte10とByte11
Out_ExtCmd_W5 %QW6 Byte12とByte13
Out_ExtCmd_W6 %QW7 Byte14とByte15
Out_ExtCmd_W7 %QW8 Byte16とByte17