3BSE018295R1運(yùn)動(dòng)控制卡件
FIP網(wǎng)絡(luò)、FIP總線控制器和PLC之間的I/O數(shù)據(jù)交換
CPU通過(guò)FIP總線控制器的雙端口存儲(chǔ)器進(jìn)行。雙端口存儲(chǔ)器中的數(shù)據(jù)
以支持FIP的各種掃描操作所需的方式組總線控制器和PLC CPU。
下圖顯示了FBC雙端口中I/O數(shù)據(jù)的排列內(nèi)存和數(shù)據(jù)流的方向。每個(gè)輸入和輸出區(qū)域細(xì)分為在PLC CPU和FIP總線控制器應(yīng)用傳輸變量(TVAs)之間配置的單個(gè)掃描集
FIP總線控制器和網(wǎng)絡(luò)之間交換的I/O數(shù)據(jù)包括:應(yīng)用程序傳輸變量(TVA),如圖底部所示。
有兩種類(lèi)型的TVA,數(shù)據(jù)TVA和驗(yàn)證程序TVA
數(shù)據(jù)TVA包括輸入數(shù)據(jù)TVA(包括狀態(tài)、抖動(dòng)和專(zhuān)用
報(bào)警數(shù)據(jù))和輸出數(shù)據(jù)TVAs(包括狀態(tài)和閃爍數(shù)據(jù));
驗(yàn)證程序TVA包括離散輸入驗(yàn)證程序(每點(diǎn)1位)和模擬輸入驗(yàn)證器(每個(gè)通道1字節(jié));
I/O模塊的所有TVA(數(shù)據(jù)和驗(yàn)證器)自動(dòng)放置在同一位置COMV。FBC存儲(chǔ)器的離散和模擬輸入數(shù)據(jù)區(qū)
FBC雙端口存儲(chǔ)器的該區(qū)域包含每個(gè)配置的輸入應(yīng)用程序傳輸變量(TVA)。FIP總線控制器放置消耗的數(shù)據(jù)TVA,包括狀態(tài)、振顫和專(zhuān)用報(bào)警數(shù)據(jù),直接輸入其存儲(chǔ)器的I/O數(shù)據(jù)區(qū)。
這是隨后將映射到PLC的%I和%AI參考的數(shù)據(jù)桌子。如果無(wú)法從網(wǎng)絡(luò)中使用數(shù)據(jù)TVA,通常是因?yàn)榭焖倩蛩⑿拢現(xiàn)IP總線控制器將數(shù)據(jù)默認(rèn)為0或保持最后狀態(tài))。
FBC存儲(chǔ)器的輸入點(diǎn)、故障觸點(diǎn)和報(bào)警數(shù)據(jù)區(qū)該區(qū)域包含與輸入數(shù)據(jù)相關(guān)的驗(yàn)證程序TVA。PLC使用驗(yàn)證器
驅(qū)動(dòng)與離散點(diǎn)相關(guān)的點(diǎn)故障觸點(diǎn)狀態(tài)的信息,以及模擬信道。PLC還使用該信息驅(qū)動(dòng)任何高報(bào)警和低報(bào)警與一些模擬輸入相關(guān)的觸點(diǎn)。每個(gè)都有一個(gè)位點(diǎn)故障觸點(diǎn)離散輸入位。包含點(diǎn)故障和報(bào)警故障觸點(diǎn)的單個(gè)字節(jié)為:存在于每個(gè)模擬輸入通道。
FIP總線控制器在該區(qū)域中成功放置已消費(fèi)的驗(yàn)證程序TVA,無(wú)需修改如果驗(yàn)證器TVA無(wú)法使用,通常是由于缺乏及時(shí)性或刷新時(shí),F(xiàn)BC僅設(shè)置影響離散和模擬數(shù)據(jù)。模擬TVA的剩余位保持其最后狀態(tài)。因此,如果有報(bào)警觸點(diǎn)位已設(shè)置,如果驗(yàn)證器TVA不再被使用,則保持設(shè)置。
The exchange of I/O data among the FIP network, the FIP Bus Controller and the PLC
CPU occurs via the FIP Bus Controller’s dual–port memory. Data in dual–port memory
is organized in a manner necessary to support the various scanning operations of the FIP
Bus Controller and PLC CPU.
The following diagram shows the arrangement of the I/O data in the FBC dual– port
memory and the direction of data flow. Each input and output area is subdivided into the
individual scan sets configured between the PLC CPU and the FIP Bus Controller Application Transfer Variables (TVAs)
I/O data in the exchanged between the FIP Bus Controller and the network consists of
application transfer variables (TVAs), as shown at the bottom of the diagram.
There are two types of TVAs, data TVAs and validator TVAs..
Data TVAs—consist of input data TVAs (including state, chatter, and specialized
alarm data) and output data TVAs (including state and blink data);
Validator TVAs—consist of discrete input validators (1 bit per point) and analog
input validators (1 byte per channel);
All TVAs (data and validators) of an I/O module are automatically placed in the same
COMV.Discrete and Analog Input Data Area of FBC Memory
This area of the FBC’s dual-port memory contains each configured input application
transfer variable (TVA). The FIP Bus Controller places consumed data TVAs, including
state, chatter, and specialized alarm data, directly into this I/O data area of its memory.
This is the data that will subsequently be mapped to the PLC’s %I and %AI reference
tables. If a data TVA cannot be consumed from the network, usually for lack of
promptness or refreshment, the FIP Bus Controller defaults the data (to 0 or to hold its
last state) according to its configuration.
Input Point Fault Contacts and Alarm Data Area of FBC Memory
This area contains validator TVAs associated with input data. The PLC uses validator
information to drive the states of point fault contacts associated with discrete points and
analog channels. The PLC also uses this information to drive any high and low alarm
contacts associated with some analog inputs. There is a bit point fault contact for each
discrete input bit. A single byte containing the point fault and alarm fault contacts is
present for each analog input channel.
The FIP Bus Controller places successfully consumed validator TVAs in this area without
modification. If a validator TVA cannot be consumed, usually for lack of promptness or
refreshment, the FBC sets only the bit that affects the point fault contact for the discrete and
analog data. The remaining bits of the analog TVA hold their last state. Therefore, if any
alarm contact bit is set, it remains set if the validator TVA can no longer be consumed.