歡迎您進入深圳長欣自動化設(shè)備有限公司
免費咨詢熱線
177-5963-5229ABB REF620E_F NBFNAANNNCC1BNN1XF 繼電器模塊
產(chǎn)品詳情資料:
REF620E_F NBFNAANNNCC1BNN1X
參數(shù)化塊和本地數(shù)據(jù)參數(shù)化塊支持使用%P全局數(shù)據(jù)。參數(shù)化塊沒有自己的%L數(shù)據(jù),而是繼承其調(diào)用塊的%L的數(shù)據(jù)。參數(shù)化塊還繼承FST_EXE系統(tǒng)引用和“時間戳”數(shù)據(jù),這些數(shù)據(jù)用于從調(diào)用塊更新定時器函數(shù)。如果在參數(shù)化塊中使用%L引用,并且該塊由_MAIN調(diào)用,則無論在參數(shù)化的塊中遇到什么位置,%L引用都將從%P引用繼承(例如,%L0005=%P0005)。注意:通過在編程軟件中使用“測試和編輯”,可以使參數(shù)化塊使用的%L高于允許的值,因為它繼承數(shù)據(jù)的方式。使用逐字逐句的更改將此引用恢復(fù)到有效地址不會更正塊,因為變量仍然存在于變量列表中。從變量列表中刪除變量不會導(dǎo)致CPU更新,因此參數(shù)化塊仍然會看到引用超出范圍的故障。要更正此情況,必須在從邏輯中刪除未使用的變量后,從變量列表中刪除這些變量
產(chǎn)品英文詳情資料:
Parameterized Blocks and Local Data Parameterized blocks support the use of %P global data. Parameterized blocks do not have their own %L data, but instead inherit the %L data of their calling blocks. Parameterized blocks also inherit the FST_EXE system reference and “time stamp” data that is used to update timer functions from their calling blocks. If %L references are used within a parameterized block and the block is called by _MAIN, %L references will be inherited from the %P references wherever encountered in the parameterized block (for example, %L0005 = %P0005). Note: It is possible, by using Test and Edit in the programming software to cause a parameterized block to use %L higher than allowed because of the way it inherits data. Using a word-for-word change to restore this reference to a valid address does not correct the block because the variable still exists in the variable list. Deleting the variable from the variable list does not cause an update to the CPU, so the parameterized block still sees the reference out of range fault. To correct this condition, you must remove the unused variables from the variable list after deleting them from the logic