4 diagnostic flag commands, Diagnostic flag commands – Rice Lake iQUBE2 Digital Diagnostic Junction Box User Manual
Page 56

52
iQUBE
2
Installation Manual
specified range. In this example, the 5% range allowed represents 6000 lb (120000 x 0.05), but cells 1 and 2 exceed
that range (17760.0 – 4500.0 = 13260.0).
Parameter Setting Commands Example:
SC1.DIA.UNBAL=ON
Enables the unbalanced load diagnostic test for Scale 1.
SC1.DIA.UNBAL.RANGE=10
Sets the allowed difference in weight between load cells to 10% of scale capacity. The default value is 5 (5%);
allowed values are 5–75.
SC1.DIA.UNBAL.THRESH=15
Sets the threshold for running the unbalanced diagnostic test to 15% of scale capacity. (That is, the test for an
unbalanced load is not made until the scale reaches 15% of capacity.) The default value is 10 (10%); allowed val-
ues are 0–50.
6.2.4 Diagnostic Flag Commands
When data is streamed from the iQUBE
2
, the
DIA.FLAGS command can be used to show all errors present in the system.
The DIA.FLAGS command returns either an
OK
(no error) response or a scale name followed by a hexadecimal
value. The hexadecimal value shows the bits set on for all errors present on that scale.
Table 6-4 lists the mask bits set for each diagnostic error condition. Table 6-5 shows the bits and their associated
error conditions as they appear in the hexadecimal value returned by the DIA.FLAGS commands.
For example, if the DIA.FLAGS command returns the following:
DIA.FLAGS=SC2 0x28; SC4 0x20;
Referring to Table 6-5 shows that an overload condition (V) exists on both Scale 2 and Scale 4 (0x20), with a cell
connection error (C) also on Scale 2 (0x08).
Because the diagnostic code (
2
shows only the highest priority error, only the cell
connection error (C) would appear in the data.
The DIA.CLEAR command clears all diagnostic flags. The completed command responds with an
OK
.
Mask Bit
Error Type
—
‘ ‘
OK
0x001
P
Power supply error
0x002
S
Secondary connection error
0x004
E
Excitation error
0x008
C
Cell connection error
0x010
R
Zero reference
0x020
V
Cell overload
0x040
D
Cell drift
0x080
U
Cell underload
0x100
N
Peak-to-peak noise
0x200
L
Unbalanced load
Table 6-4. Mask Bits and Codes for Diagnostic Errors
0x100–0x800
0x010–0x080
0x001–0x008
8
4
2
1
8
4
2
1
8
4
2
1
—
—
L
N
U
D
V
R
C
E
S
P
Table 6-5. Diagnostic Flag Mask Bits