BRAKE BCC-1 工業(yè)模塊
構(gòu)造此命令時(shí)未使用數(shù)據(jù)庫值。與命令一起使用的限定符參數(shù)通過將以下列表中的選項(xiàng):
參數(shù)限定符:0=未使用
1=先前加載參數(shù)的作用/失效(點(diǎn)索引=0)
2=指定點(diǎn)索引參數(shù)的作用/失效
3=尋址數(shù)據(jù)的持續(xù)循環(huán)或周期性傳輸?shù)膭?dòng)作/動(dòng)作對(duì)象
4至127=按標(biāo)準(zhǔn)保留
128至255=專用(專用范圍)
激活限定符:0=停用256=激活此部分定義在端口x上運(yùn)行的會(huì)話y。會(huì)話計(jì)數(shù)
配置[IEC-870-5-101主文件]部分中的參數(shù)(第47頁)確定此端口的會(huì)話數(shù)(受控設(shè)備)。
會(huì)話由從零開始的索引值引用。例如,如果模塊配置為四個(gè)會(huì)話,配置文件應(yīng)包含會(huì)話0至3的章節(jié)(即,[IEC-101主會(huì)話0]至[IEC-101主會(huì)話3))。
[IEC-101主會(huì)話y]中的參數(shù)定義了接口的特定受控設(shè)備。
MVI56-101M模塊的應(yīng)用需要梯形邏輯。
任務(wù)必須由梯形圖邏輯處理模塊數(shù)據(jù)傳輸、特殊塊處理和狀態(tài)數(shù)據(jù)接收。此外,加電處理器可以是
需要處理模塊數(shù)據(jù)的初始化并清除任何處理器故障狀況。
對(duì)示例梯形圖邏輯進(jìn)行了廣泛的注釋,以提供有關(guān)每個(gè)梯級(jí)的目的和功能。對(duì)于大多數(shù)應(yīng)用程序,示例梯形圖將不加修改地工作。模塊數(shù)據(jù)與MVI56-101M模塊相關(guān)的所有數(shù)據(jù)都存儲(chǔ)在用戶定義的數(shù)據(jù)類型中。
在使用模塊之前,需要數(shù)據(jù)類型的實(shí)例。這是通過在控制器標(biāo)記編輯標(biāo)記中聲明數(shù)據(jù)類型的變量來完成對(duì)話框。
3.1.1模塊狀態(tài)數(shù)據(jù)和變量(101MmoduleDef)與MVI56-101M相關(guān)的所有狀態(tài)和變量數(shù)據(jù)存儲(chǔ)在用戶定義的系統(tǒng)中數(shù)據(jù)類型。在使用模塊之前,需要數(shù)據(jù)類型的實(shí)例習(xí)慣于這是通過在控制器標(biāo)記中聲明數(shù)據(jù)類型的變量來實(shí)現(xiàn)的“編輯標(biāo)記”對(duì)話框。下表描述了對(duì)象的結(jié)構(gòu)。
No database value used with the construction of this command.
The Qualifier Parameter used with the command is determined by summing the
options from the lists that follow:
Parameter Qualifier:
0=Not used
1=Act/Deact of previously loaded parameters (point index = 0)
2=Act/Deact of the parameter of the point index specified
3=Act/Deact of persistent cyclic or periodic transmission of the addressed
object
4 to 127 = Reserved by standard
128 to 255 = Reserved for special use (private range)
Activation Qualifier:
0=Deactivate
256=Activate This section defines Session y, which runs on Port x.The Session Count
parameter in the [IEC-870-5-101 Master] section of the configuration (page 47)
determines the number of sessions (controlled devices) for this port.
The sessions are referenced by a zero-based index value. For example, if the
module is configured for four sessions, the configuration file should contain
sections for Sessions 0 to 3 (that is, [IEC-101 Master Session 0] to [IEC-101
Master Session 3]).
The parameters in [IEC-101 Master Session y] define the characteristics of the
specific controlled device to interface. Ladder logic is required for application of the MVI56-101M module. Tasks that
must be handled by the ladder logic are module data transfer, special block
handling, and status data receipt. Additionally, a power-up handler may be
needed to handle the initialization of the module’s data and to clear any
processor fault conditions.
The sample ladder logic is extensively commented, to provide information on the
purpose and function of each rung. For most applications, the sample ladder will
work without modification. Module Data
All data related to the MVI56-101M module is stored in a user defined data type.
An instance of the data type is required before the module can be used. This is
done by declaring a variable of the data type in the Controller Tags Edit Tags
dialog box.
3.1.1 Module Status Data and Variables (101MmoduleDef)
All status and variable data related to the MVI56-101M is stored in a user defined
data type. An instance of the data type is required before the module can be
used. This is done by declaring a variable of the data type in the Controller Tags
Edit Tags dialog box. The following table describes the structure of the object.