新聞中心

        EEPW首頁 > 嵌入式系統(tǒng) > 設(shè)計(jì)應(yīng)用 > 如何在T-CPU中激活掛在DP總線的第二套編碼器作為測量系編碼器

        如何在T-CPU中激活掛在DP總線的第二套編碼器作為測量系編碼器

        作者: 時間:2012-12-10 來源:網(wǎng)絡(luò) 收藏

          圖3

          7.完成參數(shù)設(shè)定后,保存編譯。

          三、關(guān)于"MC_ChangeDataset"功能塊的應(yīng)用體會

          1.變換發(fā)生的時間,有四種選擇。

          ①NEVER:

          Data record changeover not allowed. "MC_ChangeDataset" is terminated with

          error (ErrorID = 8045).

          ②IN_POSITION:

          (Default setting in S7T Config after an axis was inserted)

          Changeover of the data record takes place when the active motion has

          reached the programmed positioning window. Position control must be enabled

          at the axis. If the axis is disabled, the data record is changed over immediately

          after the axis is enabled.

          The data records are not changed at following axes which are in synchronism

          (InSync = TRUE or InGear = TRUE) Use the value IN_STANDSTILL or

          IMMEDIATELY for following axes

          ③IN_STANDSTILL:

          The data record is changed over when the standstill signal of the relevant axis

          is output The data record is changed immediately after the axis has stopped

          ④?IMMEDIATELY:

          The data record is changed over immediately

          這四種方式可以通過軸屬性下的專家參數(shù)設(shè)定,也可以通過"MC_WriteParameter"功能塊切換,主要根據(jù)工藝。默認(rèn)為"IN_POSITION:",圖4給出在專家參數(shù)下設(shè)定為"IMMEDIATELY",主要為調(diào)試方便。   圖4.1   圖4.2

          2.功能塊執(zhí)行的有效期

          當(dāng)測量從第一套切換到第二套編碼器后,不管"MC_ChangeDataset"功能塊中的"Execute"信號處于什么狀態(tài),上次執(zhí)行的切換一直有效。


        上一頁 1 2 下一頁

        關(guān)鍵詞: T-CPU DP總線 編碼器

        評論


        相關(guān)推薦

        技術(shù)專區(qū)

        關(guān)閉
        主站蜘蛛池模板: 新野县| 安陆市| 五家渠市| 湖州市| 福安市| 大名县| 上林县| 清水河县| 永顺县| 田林县| 始兴县| 塘沽区| 邳州市| 兴和县| 北票市| 通化县| 沂源县| 杭锦后旗| 大化| 定日县| 喜德县| 肥城市| 安平县| 香格里拉县| 威远县| 信宜市| 娱乐| 会同县| 吉木萨尔县| 宾川县| 浙江省| 贵州省| 肃北| 苏尼特左旗| 青龙| 阿巴嘎旗| 浦北县| 保亭| 高阳县| 达拉特旗| 灵石县|