sepam 20 user manual - Schneider Electric
sepam 20 user manual - Schneider Electric
sepam 20 user manual - Schneider Electric
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
5<br />
Modbus communication Disturbance recording<br />
5/32<br />
If the master requests more exchanges than necessary, the exchange number<br />
remains unchanged and the number of usable bytes is forced to 0. To guarantee the<br />
data transfers, it is necessary to allow a response time of about 500 ms between<br />
each reading operation at 2300h.<br />
The first word transmitted is an exchange word. The exchange word comprises two<br />
fields:<br />
b the most significant byte contains the exchange number. It is incremented by 1 by<br />
the Sepam each time a successful transfer takes place. When it reaches the value<br />
FFh, it automatically goes back to zero<br />
b the least significant byte contains the number of usable bytes in the data zone. It<br />
is initialized to zero after energizing and must be different from FFh.<br />
The exchange word may also have the following values:<br />
b xxyy: the number of usable bytes in the data zone yy must be different from FFh<br />
b 0000h: no "read requeste frame" has been formulated yet, as it is the case in<br />
particular, when the Sepam is switched on. The other words are not significant,<br />
b FFFFh: the "request frame" has been processed, but the results in the reply zone<br />
are not yet available.<br />
It is necessary to repeat "reply frame" reading.<br />
The other words are not significant.<br />
The words which follow the exchange word make up the data zone.<br />
Since the configuration and data files are adjacent, a frame may contain the end of<br />
the configuration file and the beginning of the data file of a record.<br />
It is up to the remote monitoring and control system software to reconstruct the files<br />
in accordance with the transmitted number of usable bytes and the size of the files<br />
indicated in the identification zone.<br />
Acknowledging a transfer<br />
To inform the Sepam that a record block that it has just read has been received<br />
correctly, the master must write the number of the last exchange that it has carried<br />
out in the "exchange number" filed and set the "number of usable bytes in the data<br />
zone" of the exchange word to zero.<br />
The Sepam only increments the exchange number if new acquisition bursts are<br />
present.<br />
Rereading the identification zone<br />
To ensure that the record has not been modified, during its transfer by a new record,<br />
the master rereads the contents of the identification zone and ensures that the<br />
recovered record date is still present.<br />
PCRED301005EN - 06/<strong>20</strong>08