Instruction manual

accQcomm Interface Module
Appendix A Commands, Constants, and Registers
A-6
SP
Serial port configuration
Param 1 (Range 0 to 3): The serial port that is being configured. Values are
as follows:
1 = Instrument 1 (Serial Port B)
2 = Instrument 2/Modbus alternate (Serial Port F)
3 = Programming port (Serial Port C)
4 = Instrument 3 (Serial Port A)
5 = Modbus (Serial Port D, only when Modbus is enabled on Serial D).
Param 2 (Range 1200 – 115200): Baud rate for the port, entered as an inte-
ger.
Param 3 (0 or 1): The data bits for the port, 1 is 8 bits, 0 is 7 bits.
Param 4 (Range 0 to 3): The parity on the port. Values are as follows:
0 = None
1 = Odd
2 = Even
3 = Two stop bits
Example —
Sets Instrument 1 to defaults.
?>SP 1 9600 1 0
SR
System restart
NOTE: A system restart is required after changing any settings. To correctly
program the unit, enter all commands, enter SS to save the settings to flash
memory, and SR to restart the unit with the new settings.
SS
Save settings to flash
To correctly program the unit, enter all commands, enter SS to save the set-
tings to flash memory, and SR to restart the unit with the new settings.
ST
Sets the system time
Param 1 (Range 1980 - 2047): Year
Param 2 (Range 1 - 12): Month
Param 3 (Range 1 – 31): Day
Param 4 (Range 0 – 23): Hour
Param 5 (Range 0 - 59): Minute
Param 6 (Range 0 – 59): Second
SU
Display units for a given measurement
type
Param 1: An abbreviation for the display units. The accQcomm will automat-
ically determine the measurement type and display all measurements in the
units. Valid entries are as follows.
Level measurements: FT, IN, CM, MM, M
Velocity measurements: M/S, CM/S, MM/S, FT/S,
Flow measurements: MGD, GPM, CFS, CUMECS, CUBICCM/S, LPS
Area measurements: FT^2, IN^2, CM^2, M^2
Volume measurements: LITERS, MEGALITERS, CUBICMETERS, GAL-
LONS, KGALLONS, MGALLONS, CUBICFEET, ACREFEET
Temperature measurements: C, F
Example —
Sets flow measurements to display in Million Gallons per Day
?>SU MGD
SX
Prepare unit for firmware flash
Param 1: Flash baud rate. This differs from the regular configuration port
baud rate. It must match the flash program baud rate. This command is
generally issued by the software flash program.
Table A-1 accQcomm Program Commands (Continued)
Commands and Definitions Functions