
130
CMC TECHNICAL REFERENCE MANUAL
1X36003 Version 2.52
1996-1999 Ingersoll-Rand Company
Date of Issue: 18-Oct-1999
The response from this command is:
DLE
STX
DST
SRC
CMD
STS
TNS
Data
DLE
ETX
BCC
10
02
0B
0D
4F
00
D4
27
69
00
A0
0F
10
03
86
The first two bytes in data field represent the integer portion, 106 (00-69h), of the setpoint.
The second two bytes represent the fraction portion, 4000 (0F-A0h), of the setpoint.
Example: Reading Multiple Analog Values
The following command reads analog inputs channels 3-9 as integer:
DLE
STX
DST
SRC CMD STS
TNS
FNC
Byte
Size
File
No.
File
Type
Ele
No.
S/Ele
No.
DLE ETX
BCC
10
02
0D
0B
0F
00
D5
A9
A2
1C
0B
89
03
00
10
03
06
The response from this command is:
DLE
STX
DST
SRC
CMD
STS
TNS
Data
10
02
0B
0D
4F
00
D5
A9
63
00
5C
21
09
00
0F
0A
20
00
D6
00
62
00
E7
0B
Data
DLE
ETX
BCC
00
00
FF
0B
2E
00
66
14
BC
00
83
1E
10
03
C0
Example: Reading Single Discrete Data
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). The CMC data table
address is ADh for the input in question. Therefore, to read the state of the emergency stop
push button as a two byte integer, the following command is issued:
DLE
STX
DST
SRC CMD STS
TNS
FNC
Byte
Size
File
No.
File
Type
Ele
No.
S/Ele
No.
DLE ETX
BCC
10
02
0D
0B
0F
00
D6
79
A2
02
0B
89
AD
00
10
03
A5
The response from this command is:
DLE
STX
DST
SRC
CMD
STS
TNS
Data
DLE
ETX
BCC
10
02
0B
0D
4F
00
D6
79
01
00
10
03
49
The data response (01) means that the input is ON, or the emergency stop push button is
pressed.
Example: Reading 16 Bit-Packed Discrete Data
To read 16 bit-packed discrete values for digital outputs as a two-byte integer, the following
command is sent:
DLE
STX
DST
SRC CMD STS
TNS
FNC
Byte
Size
File
No.
File
Type
Ele
No.
S/Ele
No.
DLE ETX
BCC
10
02
0D
0B
0F
00
E1
41
A2
02
0A
85
0B
00
10
03
79
Note that the file number must be 10. The local data file used to store the returned data can
be either bit (85h) or integer (89h) type. The response from this command is:
DLE
STX
DST
SRC
CMD
STS
TNS
Data
DLE
ETX
BCC