06.03.2013 Views

Product Description XI/ON - Eaton Automation

Product Description XI/ON - Eaton Automation

Product Description XI/ON - Eaton Automation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

<strong>XI</strong>/<strong>ON</strong>: Gateways for Modbus TCP 6 Application example: Modbus TCP<br />

Table 56:<br />

Module<br />

parameters<br />

XN-2AI-I<br />

(0/4...20MA)<br />

A defaultsetting<br />

Figure 60:<br />

Parametrization of<br />

XN-2AI-I<br />

(0/4...20MA)<br />

A register-no.<br />

B register-value<br />

Example A:<br />

Module 0:<br />

The parameter of the module (1. slot in the station) can be accessed<br />

via registers 0×B000 to 0×B01F.<br />

1 Changing the measurement range for channel 0 from<br />

"0 to 20 mA" to "4 to 20 mA".<br />

The module shows the following parameter data structure<br />

(1 byte of parameters per channel):<br />

Byte Bit Parameter Value<br />

0/1 0 Current mode 0 = 0...20 mA A<br />

1 Measurement<br />

value representation<br />

1 = 4...20 mA<br />

0 = Integer (15bit + sign) A<br />

1 = 12bit (left justified)<br />

2 Diagnosis 0 = release A<br />

1 = block<br />

3 Channel 0 = activate A<br />

1 = deactivate<br />

Thus, for setting the current mode to "4 to 20 mA", register 0×B000,<br />

byte 0, bit 0 has to be set.<br />

Function Code 06, „Write Single Register“:<br />

A B<br />

M001973-01, 07/2007 139

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

Saved successfully!

Ooh no, something went wrong!