【正文】
命令。如果使用的是C代碼生成器,就具有就較高的下載優(yōu)先權(quán),并調(diào)用建立下載文件的C語言編譯器 。斷點位置取決于當前窗口中程序結(jié)構(gòu)單元的編程格式。單擊Delete按鈕將刪除列表中突出顯示的斷點,Delete All按鈕將刪除所有的斷點。如果沒有變量被強制,該命令將沒有實際效果。如果程序不是在仿真模式下運行的時候,程序?qū)⒃赑LC中運行。 Window Messages快捷方式: Shift+Esc用此命令打開或者關(guān)閉信息窗口。關(guān)鍵字不用作為變量。例: Home_X_Switch AT %:BOOL。綠色注釋還可以用注釋符號將一段程序屏蔽,便于調(diào)試。Insert Function插入函數(shù)。文本編輯器中的行號離線模式下單擊行號將選中整行。 CNC outputs,PLC只能讀,CNC能指定。后面是接口信號集合: NCInput NCoutput INGENERAL1 DWORD 1 ONGENERAL1Bitn1 INEMERGENCn ON_CYCLEON2 IN_START ON_STOPNCn3 IN_STOPn ON_STARTNC4 IN_TRANSF ON_AUTO5 ENABLE ON_SINGLE6 free ON_MDI7 free ON_JOGMODE8 INPLAYBACK ON_HOMING9 IN_AFC_EN free10 free free11 free free12 free ON_EMERGn13 free ON_PRG_STP14 free ON_PRG_END15 free ON_RESET16 free ON_NO_CNTR17 free ON_HOME_OK18 free ON_NCERROR19 free ON_ADDKEY120 free ON_ADDKEY221 free ON_PROGRAM22 free ON_ADMISSN23 free ON_PANEL24 free ON_RETREAT25 free ON_BACKW26 free ON_TEACHED27 free ON_BLKCHNG28 free free29 free free30 free free31 free free32 free free NCInput NCoutput INGENERAL2 DWORD 2 ONGENERAL2Bitn1 IN_REPEAT ON_STAND2 IN_INTERVA ON_RAPID3 IN_INSPECT ON_THREAD4 free ON_HOMEOK5 free ON_INTVEND6 free ON_INTRET7 free ON_INTVHLD8 free free9 IN_MIRR_STROBE free10 ... free free2829 free ON_STROBE130 free ON_STROBE231 free ON_STROBE332 free ON_STROBE4 NCInput NCoutput IN_DRIVEON DWORD 3 ONBCDWORD1Bitn1 IN_DRON01 ON_BCD012 IN_DRON02 ON_BCD023 IN_DRON03 ON_BCD034 IN_DRON04 ON_BCD045 IN_DRON05 ON_BCD056 IN_DRON06 ON_BCD067 IN_DRON07 ON_BCD078 IN_DRON08 ON_BCD089 IN_DRON09 ON_BCD0910 IN_DRON10 ON_BCD1011 IN_DRON11 ON_BCD1112 IN_DRON12 ON_BCD1213 IN_DRON13 ON_BCD1314 IN_DRON14 ON_BCD1415 IN_DRON15 ON_BCD1516 IN_DRON16 ON_BCD1617 IN_DRON17 ON_BCD1718 IN_DRON18 ON_BCD1819 IN_DRON19 ON_BCD1920 IN_DRON20 ON_BCD2021 IN_DRON21 ON_BCD2122 IN_DRON22 ON_BCD2223 IN_DRON23 ON_BCD2324 IN_DRON24 ON_BCD2425 IN_DRON25 ON_BCD2526 IN_DRON26 ON_BCD2627 IN_DRON27 ON_BCD2728 IN_DRON28 ON_BCD2829 IN_DRON29 ON_BCD2930 IN_DRON30 ON_BCD3031 IN_DRON31 ON_BCD3132 IN_DRON32 ON_BCD32 NCInput NCoutput IN_DRIVEEN DWORD 4 ONBCDWORD2Bitn1 IN_DREN01 ON_BCD332 IN_DREN02 ON_BCD343 IN_DREN03 ON_BCD354 IN_DREN04 ON_BCD365 IN_DREN05 ON_BCD376 IN_DREN06 ON_BCD387 IN_DREN07 ON_BCD398 IN_DREN08 ON_BCD409 IN_DREN09 ON_BCD4110 IN_DREN10 ON_BCD4211 IN_DREN1。有些信號是靜態(tài)的,而有些信號是動態(tài)的。 暗灰色: 此行可能為斷點位置Extras Monitoring Options用此命令設(shè)置監(jiān)視窗口。Image : Text Editors for the Instruction List and Structured Text單擊鼠標右鍵會彈出context 菜單,里面包含了一些最為重要和常用的命令。Red輸入錯誤 (如關(guān)鍵字、字母大小寫等等)Insert Declarations keywords 用此命令可以打開一個包含所有關(guān)鍵字列表的對話框,從中選定一關(guān)鍵字,按確定按鈕就將所需的關(guān)鍵字插入到光標當前位置。 {}里面的內(nèi)容是可選的 。所有的程序結(jié)構(gòu)單元包括定義變量部分和程序主體部分。在菜單條的末尾包含了所有的打開的窗口。{bmc }x Example of a Call Stack第一個程序結(jié)構(gòu)單元總是PLC_PRG,因為PLC_PRG是程序執(zhí)行的起始點。{bmc }x Breakpoint Editing Dialog BoxTo set or delete breakpoints, you can also use the Online Toggle Breakpoint mand.Online Single Cycle 快捷方式: Ctrl+F5此命令執(zhí)行一個PLC循環(huán),一個循環(huán)結(jié)束后程序?qū)⑼V箞?zhí)行。在文本編輯器中,可以通過鼠標單擊行號來設(shè)置或者去除斷點。Online Run在工具欄中的符號: 快捷方式: F5此命令啟動PLC中或者仿真模式下的程序。如果對工程做過修改之后沒有經(jīng)過編譯,那么首先需要進行編譯(需要通過Project Rebuild all命令)。假如出現(xiàn)提示信息The password does not agree with the confirmation,說明鍵入密碼時兩次輸入不相同。你也可以用Project Project info命令處理工程信息。 Save選項如果選擇此選項,你可以看到如下圖所示的對話框:在選項復(fù)選框中選擇希望激活的選項,在選項前打(252。保存)Edit Previous error快捷方式: Shift+F4當工程編譯出錯時執(zhí)行此命令,程序?qū)⑻D(zhuǎn)到前一個錯誤對應(yīng)編輯窗口的出錯處,與此同時出錯處被選中,消息窗口中顯示相應(yīng)的出錯信息。此命令以最近一次Edit Find命令中的查找文本為對象查找下一個與該文本一致的文本信息。對對象管理器的操作與編輯器的操作類似。每個窗口都有自己的動作列表。Project View instanceWith this mand you can open and show single instances of function blocks. The function block whose instance should be open must first be selected in the Object Organizer before you can execute this mand. In the resulting dialog box you can choose the desired instance of this function block. Note: Instances can be opened only after logging in! (Project was correctly piled and sent with Online Login to the PLC).{bmc }x Dialog box for opening an instanceProject Show call treeWith this mand you open a window which shows the call tree of the object chosen in the Object Organizer. For this the project must be piled (see Rebuild all). The call tree contains both calls for POUs and references to data types.{bmc }x Example of a call treeProject Show cross reference listWith this mand you open a dialog box which makes possible the output of all application points for a variable, address, or a POU. For this the project must be piled (see Rebuild all).Choose first the category Variable, Address, or POU and then enter the name of the desired element. By clicking on the button Get References you get the list of all application points. Along with the POU and the line or network number, it is shown whether this point has read only access or full access and whether it is a local or global