Documente Academic
Documente Profesional
Documente Cultură
38
80446685
Revision A
March 2012
Instruction Manual
EN Instruction Manual
ES Manual de instrucciones
FR Manuel d’instructions
IT Manuale di istruzioni
DE Bedienungsanleitung
PT Manual de Instruções
CS Návod k použití
PL Instrukcja obsługi
TU Kullanma Kılavuzu
EN
CONTENTS
OVERVIEW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
SUPPORTED PROTOCOLS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
REGISTER ADDRESSES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
RELAY OUTPUTS AND COMPRESSOR STATUS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
DIGITAL INPUTS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
ANALOG INPUTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
ANALOG OUTPUTS, SETTINGS, AND CALCULATED DATA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
REMOTE START, STOP, LOAD, UNLOAD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8
EXCEPTION CODES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
INSTALLATION GUIDELINES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
RS-485 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
ETHERNET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
EXAMPLES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
GETTING ADDRESS INFO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
WONDERWARE INTOUCH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
MODBUS TESTER SOFTWARE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
TROUBLESHOOTING MODBUS RTU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
EN
OVERVIEW
Connections to user systems (DCS, PLC, etc.) are done configuration of these ports is done through the DCU. RS-
through the DCU. The DCU has both a RS-485 and Ethernet 485 has configurable baud rate, stop bit, data bit, and parity.
connection for this purpose. The RS-485 port supports Ethernet has configuration IP addresses.
Modbus RTU. The Ethernet supports Modbus TCP. The
SUPPORTED PROTOCOLS
The DCU directly supports Modbus RTU and Modbus TCP.
Other protocols may be supported through the use of
additional converters. Refer to the manual for those devices
for more information.
The RS-485 connection is made to terminal blocks in the
panel. These will be labeled as DL3+ and DL3-. The Ethernet
connection is made directly to the DCU. This is illustrated in
the picture below:
EN
REGISTER ADDRESSES
Two addresses are shown for each parameter. The address to The compressor’s schematics are necessary to find
use is dependent on the PLC or software in the master system. addresses in the following sections.
Wonderware products, for example, use the absolute address.
RELAY OUTPUTS AND COMPRESSOR STATUS
The absolute address is truly a combination of function
The compressor status and value of output relays may be
code and address. The relative address is an address only.
read using Modbus function code 01 (Read Coil Status). The
The appropriate function code must be known when using
following table lists addresses:
relative addressing.
EN
DIGITAL INPUTS code 02 (Read Input Status). The following table lists
addresses:
The status of digital inputs may be read by Modbus function
ANALOG INPUTS (This also applies to Input Registers.) The first method uses
two 16-bit integers to represent the integer and fraction part
The value of analog inputs may be read using function
of the value. The second method uses one 32-bit IEEE floating
04 (Read Input Registers). The Xe controller supports two
point number. The following table lists addresses:
methods for determining the value for each holding register.
Unsigned 16-Bit
Signed 16-Bit Integer Signed IEEE 32-Bit Float
Fraction
Input Register Name Absolute Relative Absolute Relative Absolute Relative
Address Address Address Address Address Address
(decimal) (decimal) (decimal) (decimal) (decimal) (decimal)
Analog Input, Channel 1 (J2-P1,3) 30003 0002 30004 0003 33003 3002
Analog Input, Channel 2 (J2-P5,7) 30005 0004 30006 0005 33005 3004
Analog Input, Channel 3 (J1-P1) 30007 0006 30008 0007 33007 3006
Analog Input, Channel 4 (J1-P4) 30009 0008 30010 0009 33009 3008
Analog Input, Channel 5 (J1-P5) 30011 0010 30012 0011 33011 3010
Analog Input, Channel 6 (J1-P8) 30013 0012 30014 0013 33013 3012
Analog Input, Channel 7 (J1-P9) 30015 0014 30016 0015 33015 3014
Analog Input, Channel 8 (J1-P12) 30017 0016 30018 0017 33017 3015
Analog Input, Channel 9 (J1-P13) 30019 0018 30020 0019 33019 3018
Analog Input, Channel 10 (J1-P16) 30021 0020 30022 0021 33021 3020
Analog Input, Channel 11 (J1-P17) 30023 0022 30024 0023 33023 3022
Analog Input, Channel 12 (J1-P20) 30025 0024 30026 0025 33025 3024
Analog Input, Channel 13 (J1-P21) 30027 0026 30028 0027 33027 3026
Analog Input, Channel 14 (J1-P24) 30029 0028 30030 0029 33029 3028
Analog Input, Channel 15 (J1-P25) 30031 0030 30032 0031 33031 3030
Analog Input, Channel 16 (J1-P28) 30033 0032 30034 0033 33033 3032
Analog Input, Channel 17 (J1-P29) 30035 0034 30036 0035 33035 3034
Analog Input, Channel 18 (J1-P32) 30037 0036 30038 0037 33037 3036
Analog Input, Channel 19 (J1-P33) 30039 0038 30040 0039 33039 3038
Analog Input, Channel 20 (J1-P36) 30041 0040 30042 0041 33041 3040
Analog Input, Channel 21 (J1-P37) 30043 0042 30044 0043 33043 3042
Analog Input, Channel 22 (J1-P40) 30045 0044 30046 0045 33045 3044
Analog Input, Channel 23 (J1-P41) 30047 0046 30048 0047 33047 3046
CT Input (J9-P1,2) 30049 0048 30050 0049 33049 3048
EN
ANALOG OUTPUTS, SETTINGS, AND CALCULATED DATA set using either function code 06 (Preset Single Register) or
function code 16 (Preset Multiple Registers). The following
The value of analog outputs, and various settings may be read
table lists addresses. This is supported by the following
using Modbus function code 03 (Read Holding Registers), and
functions:
EN
EN
IMPORTANT
For all of the following Remote Coils, the compressor’s REMOTE COMMUNICATIONS
DISABLED/ENABLED check box must be checked (see page Error! Bookmark not
defined.) for these commands to execute. When DISABLED, the Xe-145F ignores (there
is no exception response) these coils being forced ON or OFF.
EN
EXCEPTION CODES
The controller supports the following exception codes:
INSTALLATION GUIDELINES
Connections are made to the controller using RS485 or • Tape shield providing 100% coverage
Ethernet. Either can work successfully if the following • Braided shield providing 90% coverage
installation guidelines are followed:
• Wide temperature range
RS-485
• Approved by multiple agencies (CE, UL, etc)
RS-485 is a proven method for communications in the
• Avoid routing the wire parallel to higher voltage cables.
industrial environment.
High voltage cables should be crossed perpendicular
• The maximum distance from the first device on the when necessary.
network to the last device is 1219 m (4000 ft). This
distance is in electrical feet which should include vertical • Install two 120 ohm ½ watt resistors. One at each end of
wire runs as well as any other routing. the network.
• The maximum number of devices on a single network is • Connect the shield drain wires together and ground in
32. one place. This will prevent ground loops. There may
be a situation where multiple ground connections on
• Wire can make or break an installation. There are many the shield is necessary if there is a particularly noisy
variations of wire. The recommended wire is Belden environment and grounds are at the same potential.
9841. Other kinds of wire may work. This wire has
proven to be reliable over a great distance in a number • Connect to terminal blocks in the panel.
of environments. Features of this wire include • Variations exist in labeling of the wires. IR uses L1 and
• Twisted pair L2. Please note the following:
EN
Xe-145F Panel
Xe-145F Panel
DCS/PLC
L1 L2 S L1 L2 S L1 L2 S
120 ohm
termination
resistor 120 ohm
termination
resistor
CMC Panel
DCS/PLC
L1 L2 S
Xe-145F Panel
T+ T- R+ R- S T+ T- R+ R- S
Terminate E B D A
shield drain in
one location L H K G
Converter
Note: SW7 on 4 wire
side must be on
EN
DCS/PLC
DCS/PLC
ASC/ASM
EN
EXAMPLES
GETTING ADDRESS INFO 01 04 00 06 00 01 D1 CB
Example 1: Read Analog Input Value 01 Modbus address of device. This address is
The schematics are needed to obtain address information. configured on the screen.
The pictures below are an excerpt from schematics: 04 Modbus function code for reading input
registers.
00 06 Address 6. This is the relative address. The
relative address is what is sent to the controller.
The absolute address is used by systems such
as Wonderware. The absolute address allows
Wonderware to automatically determine the
function code to use.
00 01 Total number of registers to get data
D1 CB CRC. This value is calculated from the message.
It is used to verify messages are correct. The
message is ignored by the receiver if the CRC and
Figure 8: Example Schematic message do not match.
The reply from the controller is:
01 04 02 00 5D 78 C9
EN
01 03 06 00 00 00 00 00 64 20 9E
01 Modbus address (echo of transmitted message if
successful)
03 Function code for reading input registers (echo of
message if successful)
06 Indicates that a total six bytes of data follows
00 00 Two bytes of data. The value of the first register
is 0.
00 00 Two bytes of data. The value of the second
register is 0.
00 64 Two bytes of data. The value of the third register
is 64 hex or 100 decimal.
20 9E This value is calculated from the message. It is
used to verify messages are correct.
This means 40053 = 0, 40054 = 0, 40055 = 100. The inlet valve
is 0% open and the bypass is 100% open.
Example 3: Read Digital Inputs Values
The schematics are needed to obtain address information.
The picture below is an excerpt from schematics:
01 03 00 34 00 03 44 05
EN
The channels are identified as digital inputs 1 through 8. Use The reply from the controller is:
the table on page 6 to find the addresses for these channels.
01 02 01 88 A1 EE
The table shows digital input 1 as 10171.
The example below collects all registers in one message. 01 Modbus address (echo of transmitted message if
More data can be transferred from the controller at a quicker successful)
rate if fewer messages are used. Sending one message for 02 Function code for reading input status (echo of
two registers is much quicker than sending two different message if successful)
messages. The intent is to request 10171 – 10178. 01 Indicates that a total one byte of data follows
The transmitted message to the controller is for the 10171 88 Bytes of data. 88 hex is converted to 1000 1000
register (and eight additional registers) is: in binary. The register data starts from right to
01 02 00 AA 00 08 59 EC left.
A1 EE This value is calculated from the message. It is
01 Modbus address of device. This address is used to verify messages are correct.
configured on the screen.
This means:
02 Modbus function code for reading input status.
00 AA Address AA hex is equivalent to 170 in decimal. 10171 Remote Stop = 0 (from left)
This is the relative address. The relative address 10172 Not used = 0
is what is sent to t he controller. The absolute
10173 Not used = 0
address is used by systems such as Wonderware.
The absolute address allows Wonderware to 10174 Remote Start = 1
automatically determine the function code to use. 10175 Not used = 0
00 08 Total number of registers to get data 10176 Not used= 0
59 EC CRC. This value is calculated from the message. 10177 CR6 = 0
It is used to verify messages are correct. The 10178 E-Stop = 1. Note E-Stop is normally closed
message is ignored by the receiver if the CRC and therefore this indicates that E-Stop is not pressed.
message do not match.
Example 4: Read Digital Outputs
The schematics are needed to obtain address information.
The picture below is an excerpt from schematics:
EN
2D F4 CRC. This value is calculated from the message. The address for remote start is found on page 10. The
It is used to verify messages are correct. The absolute address given on this page is 00225.
message is ignored by the receiver if the CRC and The transmitted message to the controller is for the 00225
message do not match. register is:
The reply from the controller is: 01 05 00 E0 FF 00 8D CC
01 01 01 00 51 88
01 Modbus address of device. This address is
01 Modbus address (echo of transmitted message if configured on the screen.
successful) 05 Modbus function code for forcing coils. Function
01 Function code for reading input registers (echo of code 15 may also be used.
message if successful) 00 E0 Address 224. This is the relative address. 224
01 Indicates that one byte of data follows converted to hex is E0.
00 One byte of data. The value is 0. FF 00 FF forces the coil
51 88 This value is calculated from the message. It is 8D CC CRC. This value is calculated from the message.
used to verify messages are correct. It is used to verify messages are correct. The
message is ignored by the receiver if the CRC and
This means CR1 is not engaged. message do not match.
The reply from the controller is:
Example 5: Write target pressure 01 05 00 E0 FF 00 8D CC
The address for Target Pressure is found on page 8. The The same message is returned indicating that the controller
absolute address given on this page is 40269. This command received and processed the command.
will change this setpoint to 101.
WONDERWARE INTOUCH
The transmitted message to the controller for 40269 register is:
Device configuration in DASMBTCP Manager
01 06 01 0C 00 65 88 1E
EN
EN
Pressure reading
from controller
EN
C om m unication
Problem
C heck device
address in PC /
PLC and device
address on
D o you get R efer to Exception controller
Yes
exception code C ode Section
No
ingersollrandproducts.com
© 2012 Ingersoll-Rand Company