14.11.2012 Views

sepam 20 user manual - Schneider Electric

sepam 20 user manual - Schneider Electric

sepam 20 user manual - Schneider Electric

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.

Modbus communication Reading Sepam identification<br />

PCRED301005EN - 06/<strong>20</strong>08<br />

Presentation<br />

The "Read Device Identification" function is used to access in a standardized manner<br />

the information required to clearly identify a device.<br />

The description is made up of a set of objects (ASCII character strings).<br />

Sepam series <strong>20</strong> accepts the "read identification" function (conformity level 02).<br />

For a complete description of the function, go to www.modbus.org. The description<br />

below covers a subset of the function, adapted to Sepam series <strong>20</strong>.<br />

Implementation<br />

Request frame<br />

The request frame is made of the following components.<br />

Field Size (bytes)<br />

Slave number 1<br />

43 (2Bh) 1 Generic access function code<br />

14 (0Eh) 1 Read device identification<br />

01 or 02 1 Type of read<br />

00 1 Object number<br />

CRC16 2<br />

Sepam series <strong>20</strong> identification<br />

The type of read is used to select a simplified (01) or a standard (02) description.<br />

Reply frame<br />

The objects making up the Sepam series <strong>20</strong><br />

The reply frame is made of the following components.:<br />

identification are listed below.<br />

Field Size (bytes)<br />

Number Type Value Slave number 1<br />

0 VendorName "Merlin Gerin" or<br />

43 (2Bh) 1 Generic access function code<br />

"<strong>Schneider</strong> <strong>Electric</strong>"<br />

14 (0Eh) 1 Read device identification<br />

1 ProductCode Application EAN13 code 01 or 02 1 Type of read<br />

2 MajorMinorRevision Application version number<br />

02 1 Conformity level<br />

(Vxxyy)<br />

00 1 Continuation-frame flag (none for Sepam)<br />

3 VendorURL "www.schneider-electric.com" 00 1 Reserved<br />

4 ProductName "Sepam series <strong>20</strong>" n 1 Number of objects (according to read type)<br />

5 ModelName Application name<br />

0bj1 1 Number of first object<br />

(e.g. "M<strong>20</strong> Motor")<br />

lg1 1 Length first object<br />

6 UserAppName Sepam marking txt1 lg1 ASCII string of first object<br />

..... ...<br />

objn 1 Number nth object<br />

lgn 1 Length nth object<br />

txtn Ign ASCII string of nth object<br />

CRC16 2<br />

Exception frame<br />

If an error occurs during request processing, a special exception frame is sent.<br />

Field Size (bytes)<br />

Slave number 1<br />

171 (ABh) 1 Generic access exception (2Bh + 80h)<br />

14 (0Eh) 1 Read device identification<br />

01 or 03 1 Type of error<br />

CRC16 2<br />

5/33<br />

5

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

Saved successfully!

Ooh no, something went wrong!