使用位址

提示


位址不能與其他機器重複使用。在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