MODBUSProtocol
MODBUSProtocol
This chapter primarily describes the communications interface protocol for the Recorder.
7.1 Description
The Communications Interface is a field installable option. The user can choose either an RS232
compatible communications port, or an RS485 compatible communications port. An RS232C interface
allows a single Data Recorder to communicate with a computer at a distance of up to 50 feet (16m). An
RS485 interface is required for distances up to 4000 feet (1300m).
An RS485 interface will support up to 31 Data Recorders linked to a single computer. Each of the
Recorders will be identified by a unique unit address (programmed under “Com Ports” in the Programming
Menu).
Two modes of operation, Modbus RTU and Modbus ASCII, are supported in RS232C and RS485
communication interfaces.
NOTE: Many registers are reserved or are not used. Use the defined registers only.
NOTE: The Registers flagged as “Reserved” are intended for the Companion software only and
should not be used with any other software.
7.1.5 Modbus Floating Point Formats
Page 7-1
Chapter 7 Communications Interface
The registers most users will be interested in are the Point 1-C Data Registers. These registers hold
the current floating point value for each data point. The actual Modbus specification has no mention
of floating point numbers. Therefore several common methods of transferring a floating point number
has emerged. We support two of those methods. One method is compatible with the Modicon 984
PSC and the other is sometimes referred to as the Daniel’s Extension.
IEEE floating point number requires 4 bytes (2 words). The modbus registers are all 2 bytes (1
word).
Modicon 984 PLC Compatible Format (2 register addresses for one floating point number):
The two words MUST always be accessed together to ensure valid values.
Page 7-2
Chapter 7 Communications Interface
NOTE: Momentary coils activate the corresponding function every time a one is written to them.
Page 7-3
Chapter 7 Communications Interface
Page 7-4
Chapter 7 Communications Interface
Table 7-2 Status Inputs 1XXX Read Only (Use Function 2 to Access)
Register # FUNCTION AND STATE
1001 0=No Alarms Present 1=Alarm(s) Present
1002-1008 Reserved
1009 Digital Input 1
1010 Digital Input 2
1011 Digital Input 3
1012 Reserved
1013 Reserved
1014 Reserved
1015 Reserved
1016 Reserved
1017 Point 1 Status 1=Invalid
1018 Point 1 Status 1=Overflow
1019 Point 1 Status 1=Overrange
1020 Point 1 Status 1=T.C.B.O.
1021 Point 1 Status 1=Bypassed
1022 Reserved
1023 Reserved
1024 Reserved
1025 Point 1 Status 1=Alarm #1
1026 Point 1 Status 1=Alarm #2
1027 Point 1 Status 1=Alarm #3
1028 Point 1 Status 1=Alarm #4
1029 Point 1 Status 1=Alarm #5
1030 Reserved
1031 Reserved
1032 Reserved
1033 Point 2 Status 1=Invalid
1034 Point 2 Status 1=Overflow
1035 Point 2 Status 1=Overrange
1036 Point 2 Status 1=T.C.B.O.
1037 Point 2 Status 1=Bypassed
Page 7-5
Chapter 7 Communications Interface
Table 7-2 Status Inputs 1XXX Read Only (Use Function 2 to Access)
Register # FUNCTION AND STATE
1038 Reserved
1039 Reserved
1040 Reserved
1041 Point 2 Status 1=Alarm #1
1042 Point 2 Status 1=Alarm #2
1043 Point 2 Status 1=Alarm #3
1044 Point 2 Status 1=Alarm #4
1045 Point 2 Status 1=Alarm #5
1046 Reserved
1047 Reserved
1048 Reserved
1049 Point 3 Status 1=Invalid
1050 Point 3 Status 1=Overflow
1051 Point 3 Status 1=Overrange
1052 Point 3 Status 1=T.C.B.O.
1053 Point 3 Status 1=Bypassed
1054 Reserved
1055 Reserved
1056 Reserved
1057 Point 3 Status 1=Alarm #1
1058 Point 3 Status 1=Alarm #2
1059 Point 3 Status 1=Alarm #3
1060 Point 3 Status 1=Alarm #4
1061 Point 3 Status 1=Alarm #5
1062 Reserved
1063 Reserved
1064 Reserved
1065 Point 4 Status 1=Invalid
1066 Point 4 Status 1=Overflow
1067 Point 4 Status 1=Overrange
Page 7-6
Chapter 7 Communications Interface
Table 7-2 Status Inputs 1XXX Read Only (Use Function 2 to Access)
Register # FUNCTION AND STATE
1068 Point 4 Status 1=T.C.B.O.
1069 Point 4 Status 1=Bypassed
1070 Reserved
1071 Reserved
1072 Reserved
1073 Point 4 Status 1=Alarm #1
1074 Point 4 Status 1=Alarm #2
1075 Point 4 Status 1=Alarm #3
1076 Point 4 Status 1=Alarm #4
1077 Point 4 Status 1=Alarm #5
1078 Reserved
1079 Reserved
1080 Reserved
1081 Point 5 Status 1=Invalid
1082 Point 5 Status 1=Overflow
1083 Point 5 Status 1=Overrange
1084 Point 5 Status 1=T.C.B.O.
1085 Point 5 Status 1=Bypassed
1086 Reserved
1087 Reserved
1088 Reserved
1089 Point 5 Status 1=Alarm #1
1090 Point 5 Status 1=Alarm #2
1091 Point 5 Status 1=Alarm #3
1092 Point 5 Status 1=Alarm #4
1093 Point 5 Status 1=Alarm #5
1094 Reserved
1095 Reserved
1096 Reserved
1097 Point 6 Status 1=Invalid
1098 Point 6 Status 1=Overflow
Page 7-7
Chapter 7 Communications Interface
Table 7-2 Status Inputs 1XXX Read Only (Use Function 2 to Access)
Register # FUNCTION AND STATE
1099 Point 6 Status 1=Overrange
1100 Point 6 Status 1=T.C.B.O.
1101 Point 6 Status 1=Bypassed
1102 Reserved
1103 Reserved
1104 Reserved
1105 Point 6 Status 1=Alarm #1
1106 Point 6 Status 1=Alarm #2
1107 Point 6 Status 1=Alarm #3
1108 Point 6 Status 1=Alarm #4
1109 Point 6 Status 1=Alarm #5
1110 Reserved
1111 Reserved
1112 Reserved
1113 Point 7 Status 1=Invalid
1114 Point 7 Status 1=Overflow
1115 Point 7 Status 1=Overrange
1116 Point 7 Status 1=T.C.B.O.
1117 Point 7 Status 1=Bypassed
1118 Reserved
1119 Reserved
1120 Reserved
1121 Point 7 Status 1=Alarm #1
1122 Point 7 Status 1=Alarm #2
1123 Point 7 Status 1=Alarm #3
1124 Point 7 Status 1=Alarm #4
1125 Point 7 Status 1=Alarm #5
1126 Reserved
1127 Reserved
1128 Reserved
1129 Point 8 Status 1=Invalid
Page 7-8
Chapter 7 Communications Interface
Table 7-2 Status Inputs 1XXX Read Only (Use Function 2 to Access)
Register # FUNCTION AND STATE
1130 Point 8 Status 1=Overflow
1131 Point 8 Status 1=Overrange
1132 Point 8 Status 1=T.C.B.O.
1133 Point 8 Status 1=Bypassed
1134 Reserved
1135 Reserved
1136 Reserved
1137 Point 8 Status 1=Alarm #1
1138 Point 8 Status 1=Alarm #2
1139 Point 8 Status 1=Alarm #3
1140 Point 8 Status 1=Alarm #4
1141 Point 8 Status 1=Alarm #5
1142 Reserved
1143 Reserved
1144 Reserved
1145 Point 9 Status 1=Invalid
1146 Point 9 Status 1=Overflow
1147 Point 9 Status 1=Overrange
1148 Point 9 Status 1=T.C.B.O.
1149 Point 9 Status 1=Bypassed
1150 Reserved
1151 Reserved
1152 Reserved
1153 Point 9 Status 1=Alarm #1
1154 Point 9 Status 1=Alarm #2
1155 Point 9 Status 1=Alarm #3
1156 Point 9 Status 1=Alarm #4
1157 Point 9 Status 1=Alarm #5
1158 Reserved
1159 Reserved
1160 Reserved
Page 7-9
Chapter 7 Communications Interface
Table 7-2 Status Inputs 1XXX Read Only (Use Function 2 to Access)
Register # FUNCTION AND STATE
1161 Point A Status 1=Invalid
1162 Point A Status 1=Overflow
1163 Point A Status 1=Overrange
1164 Point A Status 1=T.C.B.O.
1165 Point A Status 1=Bypassed
1166 Reserved
1167 Reserved
1168 Reserved
1169 Point A Status 1=Alarm #1
1170 Point A Status 1=Alarm #2
1171 Point A Status 1=Alarm #3
1172 Point A Status 1=Alarm #4
1173 Point A Status 1=Alarm #5
1174 Reserved
1175 Reserved
1176 Reserved
1177 Point B Status 1=Invalid
1178 Point B Status 1=Overflow
1179 Point B Status 1=Overrange
1180 Point B Status 1=T.C.B.O.
1181 Point B Status 1=Bypassed
1182 Reserved
1183 Reserved
1184 Reserved
1185 Point B Status 1=Alarm #1
1186 Point B Status 1=Alarm #2
1187 Point B Status 1=Alarm #3
1188 Point B Status 1=Alarm #4
1189 Point B Status 1=Alarm #5
1190 Reserved
1191 Reserved
Page 7-10
Chapter 7 Communications Interface
Table 7-2 Status Inputs 1XXX Read Only (Use Function 2 to Access)
Page 7-11
Chapter 7 Communications Interface
Page 7-12
Chapter 7 Communications Interface
Page 7-13
Chapter 7 Communications Interface
Table 7-4 Input Registers 7XXX 32 Bits IEEE Floating Point Read Only
(Use Function 4 to Access)
Register # FUNCTION AND STATE
7001 Point 1 Data
7002 Point 2 Data
7003 Point 3 Data
7004 Point 4 Data
7005 Point 5 Data
7006 Point 6 Data
7007 Point 7 Data
7008 Point 8 Data
7009 Point 9 Data
7010 Point A Data
7011 Point B Data
7012 Point C Data
7013 Reserved
7014 Reserved
7015 Reserved
7016 Point 1 Output Scale Low End
7017 Point 1 Output Scale High End
7018 Point 2 Output Scale Low End
7019 Point 2 Output Scale High End
7020 Point 3 Output Scale Low End
7021 Point 3 Output Scale High End
7022 Point 4 Output Scale Low End
7023 Point 4 Output Scale High End
7024 Point 5 Output Scale Low End
7025 Point 5 Output Scale High End
7026 Point 6 Output Scale Low End
7027 Point 6 Output Scale High End
7028 Point 7 Output Scale Low End
7029 Point 7 Output Scale High End
7030 Point 8 Output Scale Low End
7031 Point 8 Output Scale High End
Page 7-14
Chapter 7 Communications Interface
Table 7-4 Input Registers 7XXX 32 Bits IEEE Floating Point Read Only
(Use Function 4 to Access)
Register # FUNCTION AND STATE
7032 Point 9 Output Scale Low End
7033 Point 9 Output Scale High End
7034 Point A Output Scale Low End
7035 Point A Output Scale High End
7036 Point B Output Scale Low End
7037 Point B Output Scale High End
7038 Point C Output Scale Low End
7039 Point C Output Scale High End
7040 Reserved
7041 Reserved
7042 Reserved
7043 Reserved
7044 Reserved
7045 Reserved
7046 Reserved
7047 Reserved
7048 Reserved
7049 Reserved
7050 Reserved
7051 Reserved
7052 Reserved
7053 Reserved
7054 Reserved
7055 Reserved
7056 Reserved
7057 Reserved
7058 Reserved
7059 Reserved
7060 Reserved
7061 Reserved
7062 Reserved
Page 7-15
Chapter 7 Communications Interface
Table 7-5 Holding Registers 4xxx 16 Bits Integers (Use Functions 3, 6 and 16 to Access)
Page 7-16
Chapter 7 Communications Interface
Table 7-5 Holding Registers 4xxx 16 Bits Integers (Use Functions 3, 6 and 16 to Access)
Page 7-17
Chapter 7 Communications Interface
Table 7-5 Holding Registers 4xxx 16 Bits Integers (Use Functions 3, 6 and 16 to Access)
Page 7-18
Chapter 7 Communications Interface
Table 7-5 Holding Registers 4xxx 16 Bits Integers (Use Functions 3, 6 and 16 to Access)
Page 7-19
Chapter 7 Communications Interface
Page 7-20
Chapter 7 Communications Interface
Table 7-6 Holding Registers 6XXX 32 Bits Integers (Use Functions 3 and 16 to Access)
Page 7-21
Chapter 7 Communications Interface
Page 7-22