01.07.2013 Views

Programming manual M238 | 3 MB - BERGER - POSITEC

Programming manual M238 | 3 MB - BERGER - POSITEC

Programming manual M238 | 3 MB - BERGER - POSITEC

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Serial Line Configuration<br />

The following table contains the Sub-function codes supported by the diagnostic<br />

Modbus request 08:<br />

Sub-Function Code Function<br />

Dec Hex<br />

10 0A Clear Counters and Diagnostic Register<br />

11 0B Return Bus Message Count<br />

12 0C Return Bus Communication Error Count<br />

13 0D Return Bus Exception Error Count<br />

14 0E Return Slave Message Count<br />

15 0F Return Slave No Response Count<br />

16 10 Return Slave NAK Count<br />

17 11 Return Slave Busy Count<br />

18 12 Return Bus Character Overrun Count<br />

The table below list the objects that can be read with a read device identification<br />

request (basic identification level):<br />

Object ID Object Name Type Value<br />

00 hex Vendor code ASCII String Schneider Electric<br />

01 hex Product code ASCII String Controller reference<br />

e.g. T<strong>M238</strong>LFDC24DT<br />

02 hex Major / Minor revision ASCII String aa.bb.cc.dd (same as device<br />

descriptor)<br />

The following section describes the differences between the Modbus memory<br />

mapping of the controller and HMI Modbus mapping. If you do not program your<br />

application to recognize these differences in mapping, your controller and HMI will<br />

not communicate correctly and it will be possible for incorrect values to be written to<br />

memory areas responsible for output operations.<br />

WARNING<br />

UNINTENDED EQUIPMENT OPERATION<br />

Program your application to translate between the Modbus memory mapping used<br />

by the controller and that used by attached HMI devices.<br />

Failure to follow these instructions can result in death, serious injury, or<br />

equipment damage.<br />

When the controller and the HMI are connected via Modbus (HMI is master of<br />

Modbus requests), the data exchange uses simple word requests.<br />

146 EIO0000000384 04/2012

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

Saved successfully!

Ooh no, something went wrong!