如何設(shè)置 EGD 通信的更新超時(shí)
描述
客戶應(yīng)在消費(fèi)交換中設(shè)置正確的更新超時(shí)值
解決
對(duì)于 RX3i 和 ENIU(IC695NIU001) 應(yīng)用,消費(fèi)者的更新超時(shí)應(yīng)至少是生產(chǎn)周期的 3 倍 + 2mSec。
請(qǐng)參閱 gfk-2439D 第 8-10 頁的表格,其中列出了建議的消耗超時(shí)值(注意所有超時(shí)值都是生成周期的 3x + 2mSec)。
筆記:
有關(guān) EGD 通信的更多詳細(xì)信息,請(qǐng)參閱 GFK-2224 PACS_Ethernet_Manual
有關(guān)以太網(wǎng)網(wǎng)絡(luò)接口單元的更多詳細(xì)信息,請(qǐng)參閱 GFK-2439 PACSystems RX3i 以太網(wǎng) NIU 手冊(cè)
與 IC695NIU001 進(jìn)行交換的超時(shí)值
描述
RX3i ENIU (IC695NIU001) 能夠?qū)⑵漭敵鲈O(shè)置為默認(rèn)值或在與控制器的通信丟失時(shí)保持其狀態(tài)。這是通過使用“控制”字從控制器產(chǎn)生的交換來完成的。控制字定義為:
解決
控制數(shù)據(jù)格式
以太網(wǎng) NIU 消耗的前 10 個(gè)字是控制數(shù)據(jù)。它們確定通信丟失時(shí)的輸出行為,并可用于清除故障。此外,如果有兩個(gè)控制器,則控制數(shù)據(jù)決定了它們中的哪一個(gè)將提供 I/O 站輸出。(有關(guān)更多信息,請(qǐng)參閱 GFK-2439)。
一旦通信丟失,NIU 根據(jù)控制器發(fā)送的控制字中設(shè)置的某些位來確定輸出的狀態(tài):
在確定正在從活動(dòng)控制器接收數(shù)據(jù)后,以太網(wǎng) NIU 將離散和模擬輸出數(shù)據(jù)移動(dòng)到 %Q 和 %AQ 表中。如果沒有可用的活動(dòng)控制器,則 ENIU 根據(jù)來自一個(gè)活動(dòng)控制器的控制位的指示,將零、保持狀態(tài)或默認(rèn)值移動(dòng)到 %Q 和 %AQ 表中。
如果 NIU 的已消費(fèi)交換的 Timeout 值設(shè)置為 0,這意味著交換永遠(yuǎn)不會(huì)超時(shí),則由控制字確定的狀態(tài)不會(huì)在 NIU 生效。
Troubleshooting
Troubleshooting IC695NIU001
Troubleshooting information is available on IC695NIU001's website page; it also includes a datasheet user-manual and a wiring diagram.
How to Check the Forced Value Variable in PACSystem
Description
Check the forced value variable in PACSysterm
Resolution
- On all CPU modules in PACSystem, as well as the IC695NIU001 module, there is a LED named as I/O FORCE. And the LED will turn on once there is at least one forced bit in ME.
- In the system variable, there is one %S0011. This system bit will be set once there is at least one forced bit in ME.
- When ME goes online with PLC, we find a Forces in controller report in ME by right clicking target name and then choosing report. In this report, we can find out the variable list for the forced variable.
- In the SVC_REQ block, the command 18 can be used to find out whether there is forced value in ME.
Note: For the #OVR_PRE reference, %S00011, which indicates whether one or more overrides is active, is not supported by the Redundant CPU and should not be used. At the same time, the LED I/O FORCE on the redundant CPU is not available to show whether there is one or more override. For the redundant system, we can just refer to the method 3 and 4 to check the forced value.
How To Set Update Timeout For EGD Communication
Description
Customer should set the proper Update Timeout value in the consumed exchange
Resolution
The Update Timeout of the Consumer should be at least 3x the Produced Period + 2mSec, for RX3i and ENIU(IC695NIU001) application.
Refer to gfk-2439D page 8-10 for a table listing the suggested consumed timeout values (notice all timeout values are 3x + 2mSec of the produced period).
Note:
More detail information about EGD communication, please refer to GFK-2224 PACS_Ethernet_Manual
More detail information about Ethernet Network Interface Unit, please refer to GFK-2439 PACSystems RX3i Ethernet NIU Manual
Timeout Value for Consumed Exchange with IC695NIU001
Description
The RX3i ENIU (IC695NIU001) has the ability to set its outputs to Defaults or to hold their last states when communications with the controller(s) is lost. This is done via the produced exchange from the controller(s) by using "Control" words. The Control Words are defined as:
Resolution
Control Data Format
The first 10 words of data consumed by the Ethernet NIU are control data. They determine the behavior of outputs if communications are lost, and can be used to clear faults. In addition, if there are two controllers, the control data determines which of them will supply the I/O Station outputs. (See GFK-2439 for more info).
The NIU determines the states of the outputs based on certain bits being set in the Control Word(s) being sent from the Controller(s) once communications are lost:
The Ethernet NIU moves the discrete and analog output data to the %Q and %AQ tables after determining that data is being received from an active controller. If no active controller is available then ENIU moves zeros, hold last state, or default values to the %Q and %AQ tables as directed by the control bit from the last active controller.
If the Timeout value for the consumed exchange(S) at the NIU are set to a value of 0, this means that the exchange never times out then the state as determined by the Control Word does not take effect at the NIU.