beautypg.com

Remcmd, Appendix c remote operation (command mode), H-5223 – Xylem H-5223 User Manual

Page 60

background image

Appendix C

Remote Operation (Command Mode)

Rev 1.01

C.1 Command Interface

The H-5223 has a command interface mode for applications that require another computer
systme to communicate with the H-5223 through the RS-232 port. Commands are used to setup,
monitor and control the H-5223. To access the command interface, the H-5223 must have the
startup mode set to command mode. The connected computer must be running some terminal
emulation program or some custom software to control communications on the serial port. The
following list shows the default serial port settings of the H-5223.

BAUD RATE:

9600

DATA BITS:

8

STOP BITS:

1

PARITY:

N

DUPLEX:

FULL

TERMINAL EMULATION: VT52

When the computer is connected and ready to communicate, pressing the ENTER key will cause
the command interface prompt to be displayed. This prompt is an arrow “->” on the left side
of the screen. The first key press wakes up the H-5223 but it may take a second for the prompt to
be displayed. Once the prompt is displayed the H-5223 is ready to receive commands. If no
commands are received in a five minute time period the H-5223 will turn off automatically,
returning to a low power mode.

The command interface is best suited for communications with other computer equipment. The
command interface allows a user to easily develop their own custom interface, or for RS-232
devices to access the H-5223 inputs and outputs. For human interaction with the H-5223 the
menu interface is normally used as discussed in chapter 3. This chapter will give a detailed
description of the commands used by the command interface.

All commands must be terminated with a carriage return and a line feed character. The “

5

character in the examples is used to represent the ENTER key and signifies a carriage return and
a line feed being sent to the H-5223. Any parameters must follow the command as described
with the proper spacing between the command and the parameter. The command may be in
upper or lower case. When starting in command mode the characters typed on the host system
will be received by the H-5223 and echoed back to the host system. This allows the user to
verify that what was typed was also received by the H-5223. The BACKSPACE key may be

H-5223

Remote Operation (Command Mode) C-1