
90
CMC TECHNICAL REFERENCE MANUAL
1X36003 Version 2.52
1996-1999 Ingersoll-Rand Company
Date of Issue: 18-Oct-1999
Example: Read Single Discrete Input
After reviewing the Electrical Schematic for your compressor, you determine that the digital
input for emergency stop push button is located on J4-P5 (Channel 4). From the table
above, the Absolute Address is decimal 10174 (Relative Address is hexadecimal 00AD) for
the input in question. Therefore, to read the state of the emergency stop push button the
following command is issued (the following data are presented in hexadecimal format):
The response from this command is:
The data (01) means that the input is on, or the emergency stop push button is pressed.
Example: Read Multiple Discrete Inputs
The method for reading multiple Discrete Inputs is the same as reading multiple coils. See
the example for “Reading Multiple Coils”.
Absolute
Address
(decimal)
Relative Address
(hex)
Input Name - Read Only*
10171
00-AA
Digital Input, Channel 1 (J4-P2)
10172
00-AB
Digital Input, Channel 2 (J4-P3)
10173
00-AC
Digital Input, Channel 3 (J4-P4)
10174
00-AD
Digital Input, Channel 4 (J4-P5)
10175
00-AE
Digital Input, Channel 5 (J4-P6)
10176
00-AF
Digital Input, Channel 6 (J4-P7)
10177
00-B0
Digital Input, Channel 7 (J4-P8)
10178
00-B1
Digital Input, Channel 8 (J4-P9)
10179
00-B2
Digital Input, Channel 9 (J5-P2)
10180
00-B3
Digital Input, Channel 10 (J5-P3)
10181
00-B4
Digital Input, Channel 11 (J5-P4)
10182
00-B5
Digital Input, Channel 12 (J5-P5)
10183
00-B6
Digital Input, Channel 13 (J5-P6)
10184
00-B7
Digital Input, Channel 14 (J5-P7)
10185
00-B8
Digital Input, Channel 15 (J5-P8)
10186
00-B9
Digital Input, Channel 16 (J5-P9)
NOTE
: (J4-P2) is interpreted as Connector J4, Pin 2 on the Base Control
Module.
* IMPORTANT
:
These Digital Inputs are defined as read only. If you
decide to write to these Inputs, unexpected results could occur.
Number of
Device
Function
Address
Digital Inputs
CRC
Address
Code
Hi
Lo
Hi
Lo
Lo
Hi
01
02
00
AD
00
01
28
2B
Device
Function
Byte
CRC
Address
Code
Count
Data
Lo
Hi
01
02
01
01
60
48