19.01.2013 Views

Citect for Windows Driver Specification DanBuss DNIP Driver

Citect for Windows Driver Specification DanBuss DNIP Driver

Citect for Windows Driver Specification DanBuss DNIP Driver

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.11 <strong>Driver</strong> Error Help<br />

The following entries should be included in the <strong>Citect</strong> ProtErr.DBF spec file.<br />

<strong>Driver</strong> Design <strong>Specification</strong><br />

PROTOCOL MASK ERROR MESSAGE REFERENCE ACTION COMMENT<br />

DANBUSS 101 Cache Memory<br />

Allocation<br />

Error<br />

4.12 Debug Messages<br />

Shows the outgoing/incoming data packets in hex. If error report level is set to ERROR the driver<br />

will report errors, i.e. if any point is asked <strong>for</strong> that is not configured in the device. The <strong>for</strong>mat is of<br />

Undefined Point: 013:001/AI02.7, which means device 013:001, Analog Input 2, parameter 7 (this is<br />

the same address that is entered in the tag variable database, AI02.7 or AI2.7). If TagDebugMode is<br />

off in CITECT.INI then all tags that are asked <strong>for</strong> in one request (up to 36) is shown. To see which<br />

one that has an invalid address, the TagDebugMode must be set on. The <strong>DanBuss</strong> protocol does<br />

not return any value at all if only one fail.<br />

4.13 Stats Special Counters<br />

Number Label Purpose/Meaning of this counter<br />

0 DCB Requests Number of DCB requests (accumulated).<br />

1 Inbuffer max Maximum used bytes in the input buffer <strong>for</strong> the CPU service function<br />

(be<strong>for</strong>e they have been handled by the packet receive routine).<br />

2 Unrequested packets Packets received that was not asked <strong>for</strong>.<br />

3 Packets received Total number of received packets.<br />

4 Cache hits Number of DCB’s that has been read directly from the Cache (did<br />

not cause a physical read).<br />

5 Cache hit rate (%) The hit rate (Cache hits / DCB Requests x 100).<br />

6 Sent <strong>DanBuss</strong> packets Number of sent packets.<br />

7 Resent packets Resents packets caused by timeout.<br />

8 Cache alloc's Number of allocated Cache Elements (accumulated).<br />

9 Cache elements Momentary number of Cache Elements. Is equal to the number of<br />

DCB requests within the CacheLiveTime (default 30 seconds)<br />

10 Trashed elements Number of Cache Elements (Read or Write) that has been deleted<br />

due to timeout of the CacheLiveTime (default 30 seconds), be<strong>for</strong>e<br />

the outstanding request has returned from DANBUSS.<br />

11 Outstanding DCB's The momentary value of outstanding DCB’s that is serviced by the<br />

driver (default max 75).<br />

12 Max outst. DCB's The top value of DCB’s that has been requested by <strong>Citect</strong> to be<br />

serviced by the driver.<br />

13 Phys. read time (ms) The time DANBUSS consumed to service the last request. The<br />

requests are blocked together by the driver if possible (max 36<br />

varables can be read in a single request).<br />

14 ScanList reads Number of blocked reads that has been requested of the total sent<br />

<strong>DanBuss</strong> <strong>DNIP</strong>.doc 24

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!