26.12.2012 Views

Serial Communications Protocol Specifications - Swissvacuum.com

Serial Communications Protocol Specifications - Swissvacuum.com

Serial Communications Protocol Specifications - Swissvacuum.com

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.

067: 049 0031 error check<br />

> 068: 068 0044 error check<br />

� End packet.<br />

> Data received: (idx) (dec) (hex)<br />

> 000: 017 (0011) mplc address<br />

> 001: 016 (0010) modbus function number<br />

> 002: 008 (0008) high order address<br />

> 003: 252 (00FC) low order address<br />

> 004: 000 (0000) quantity<br />

> 005: 030 (001E) quantity<br />

> 006: 128 (0080) error check<br />

> 007: 193 (00C1) error check<br />

> End packet.<br />

READING OPERATION<br />

- 20 -<br />

Let’ s say that the following data are returned from the slave to the master:<br />

Temperature: 137.6 Celsius degree<br />

Rel. Humidity: 0.0%<br />

Temperature channel: ON<br />

Rel. Humidity channel: ON<br />

Run bit: ON<br />

Dedicated contacts: ON<br />

In the example below we read 104 registers, starting at address 2000. Please note that many of the data returned by<br />

the controller are not used, so it is also possible to read just a sub-block of these registers, containing only the data<br />

we really need to know.<br />

See the controller memory map to know more about the reading area.<br />

> Query sent:<br />

> 000: 017 0011 mplc address<br />

> 001: 003 0003 modbus function number<br />

> 002: 007 0007 memory address high<br />

> 003: 208 00D0 memory address low<br />

> 004: 000 0000 number of registers high<br />

> 005: 104 0068 number of registers low<br />

> 006: 070 0046 error check<br />

> 007: 057 0039 error check<br />

� End packet.<br />

> Data received: (idx) (dec) (hex)<br />

> 000: 017 (0011) mplc address<br />

> 001: 003 (0003) modbus function number<br />

> 002: 208 (00D0) byte count<br />

> 003: 053 (0035) mplc addr. 2000 (h.o. data) [ pt100 sensors ]<br />

> 004: 189 (00BD)<br />

> 005: 000 (0000) mplc addr. 2001 (h.o. data)<br />

> 006: 000 (0000)<br />

> 007: 058 (003A) mplc addr. 2002 (h.o. data)<br />

> 008: 243 (00F3)<br />

> 009: 000 (0000) mplc addr. 2003 (h.o. data)<br />

> 010: 000 (0000)<br />

> 011: 000 (0000) mplc addr. 2004 (h.o. data)<br />

<strong>Serial</strong> <strong>com</strong>munications protocol vers. 2.02 Angelantoni Industrie Spa Massa Martana (PG) Italy

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

Saved successfully!

Ooh no, something went wrong!