53
Appendix D: - System Parameter Inquiry Commands
System parameter inquiry commands are used to check system parameter settings. Command format as below: -
a. Hex code 0D (ASCII code $0D), then
b. Hex code 0A (LF) (ASCII code $0A), then
c. Command code listed on below table (all commands are case sensitive), then
d. Hex code 20 (ASCII code $20).
Number & Description Responded Parameters
Notes: -
a. If more than one parameter, semi colon separation is inserted
between parameters.
b. Response from instrument always end up with Hex code 0D 0A
Calibration weight
unit and application
d1 = calibration weight unit: - 0 = kg; 1 = lb.
d2 = application: - 0 = none; 1 = OIML; 2= NTEP
Decimal format,
decimal point of kg, g
and lb
d1 = decimal format: - 0 = dot (fixed)
d2 = kg: - 0 = no decimal; 1 = 1 decimal place…… 4 = 4
decimal place
d3 = g: - 0 = no decimal; 1 = 1 decimal place…… 4 = 4 decimal
place; n = not applicable
d4 = lb: - 0 = no decimal; 1 = 1 decimal place…… 4 = 4 decimal
place
d1 = capacity in kg. Data length = 8 including decimal with
leading space (Hex code 20)
d2 = capacity = g. Data length = 8 including decimal with
leading space (Hex code 20)
d3 = capacity = lb. Data length = 8 including decimal with
leading space (Hex code 20)
d1 = mode: - 0 = Off; 1 = dual weighing range; 2 = dual interval
d2 = capacity in kg. Data length = 8 including decimal with
leading space (Hex code 20)
d3 = capacity = g. Data length = 8 including decimal with
leading space (Hex code 20)
d4 = capacity = lb. Data length = 8 including decimal with
leading space (Hex code 20)
d1 = kg: - 0 = 1; 1 = 2; 2 = 5; 3 = 10; 4 = 20; 5 = 50
d2 = g: - 0 = 1; 1 = 2; 2 = 5; 3 = 10; 4 = 20; 5 = 50
d3 = lb: - 0 = 1; 1 = 2; 2 = 5; 3 = 10; 4 = 20; 5 = 50
d1 = kg: - 0 = 1; 1 = 2; 2 = 5; 3 = 10; 4 = 20; 5 = 50
d2 = g: - 0 = 1; 1 = 2; 2 = 5; 3 = 10; 4 = 20; 5 = 50
d3 = lb: - 0 = 1; 1 = 2; 2 = 5; 3 = 10; 4 = 20; 5 = 50
Gravity Factor of
Calibration Place and
Operation Place
d1 = gravity factor of calibration place. Data length = 8 including
decimal with leading space (Hex code 20).
d2 = gravity of location of operation place. Data length = 8
including decimal with leading space (Hex code 20).
Linearity
Compensation
Function
ad value of zero
point (offset) value,
weight value of LD1,
d1 = ad value of zero point. Data length = 8 including decimal
with leading space (Hex code 20).
Connect the external peripheral which generates system parameter inquiry commands to Comport 2 and set Comport 2 to CMD.