13.07.2015 Views

Sepam - HV/MV Protection and control units (ENG) - Trinet

Sepam - HV/MV Protection and control units (ENG) - Trinet

Sepam - HV/MV Protection and control units (ENG) - Trinet

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.

Reading of diagnosiscounters: function 8Each <strong>Sepam</strong> 2000 is assigned event counters(or diagnosis counters). In all, there are 8 countersper <strong>Sepam</strong> 2000.The counters are 16-bit words. In the chart opposite,the value of data XXXX is equal to:c 0000 for the request,c the content of the counter concerned for the reply.If the counters reach FFFF, they automatically switchto 0000.Request / replyslavenumber8sub-functioncodesub-function datacodesthe <strong>Sepam</strong> 2000 must send the echo 0000 XYZT (1)of the requestrreset to zero of the diagnosis counters 000A 0000reading of the total number of:frames received with no CRC error (CPT1) 000B XXXXframes received with a CRC error (CPT2) 000C XXXXexception replies (CPT3) 000D XXXXframes addressed to <strong>Sepam</strong> 2000 (CPT4) 000E XXXX(excluding broadcasting)broadcasting requests received (CPT5) 000F XXXXexception replies(including broadcasting (CPT6 / function 13) 0010 XXXX<strong>Sepam</strong> 2000 not ready replies (CPT7) 0011 XXXXcharacters not processed (CPT8) 0012 XXXX(1)X, Y, Z, T set by the user (for transmission checking).dataCRC 161 byte 1 byte2 bytes 2 bytes2 bytesReading of event counter:function 11Each <strong>Sepam</strong> 2000 has an event counter (CPT9).The counter is incremented each time a frameis correctly received <strong>and</strong> interpreted by the slave(except for the specific counter reading com<strong>and</strong>:function 11). A correct broadcasting comm<strong>and</strong>increments the counter. If the slave transmitsan exception reply, the counter is not incremented.The counter makes it possible to find out fromthe master whether the <strong>Sepam</strong> 2000 has correctlyinterpreted the comm<strong>and</strong> (event counter incremented)or not interpreted if (counter not incremented).Reading of the different elements makes it possibleto diagnose the exchanges that have taken placebetween the master <strong>and</strong> the <strong>Sepam</strong> 2000.If the master counter = the <strong>Sepam</strong> 2000 counter,the comm<strong>and</strong> sent by the master has been executed.If the master counter = the slave counter + 1, thecomm<strong>and</strong> sent by the master has not been executed.RequestslavenumberReply0BCRC 161 byte 1 byte2 bytesslavenumber0B0slave countercontentPlease refer to the «implementation» chapter, «diagnosis counter» section.CRC 161 byte 1 byte 2 bytes 2 bytes2 bytesJbus/Modbus communication43

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

Saved successfully!

Ooh no, something went wrong!