Rs232 command summary, Model hr-4p programmer, Help – Hall Research HR-4P User Manual
Page 14
Model HR-4P Programmer
14
Help
The Help menu consists of the following menu items as shown in Figure 17.
Contents – Display the help file contents. A PDF reader will be required in order to view the
document.
About… – Display the Version and Support information for the software.
Figure 17
– Help Menu
RS232 Command Summary
The HR-4P uses a simple command protocol that can be used by other software in order to control and/or configure the
unit.
The unit uses a baud rate of 19200, 8 Data bits, 1 Stop bit and No Parity and it must be in PRG MODE (Power Led
is blinking)
The HR-4P supports a command format as shown in the following table.
Each command is terminated by a single CARRIAGE RETURN
Command
Function
Response
VER?
Read Firmware version
Version x.y
CLnm
Configure I/O line n to m
n = 1 to 4
m = 1 : 2 : 3 : ? = contact input : voltage input : output : status
Nothing except Status Reads return:
CLX1 = I/O line X configured as contact type input
CLX2 = I/O line X configured as voltage type input
CLX3 = I/O line X configured as output
IOnm
Set or Read State of I/O line n to m
n = 1 to 4 = output
m = 0 : 1 : ? = low : high : status
Input X = 1 or 0
Output X = 1 or 0
TOGn
Toggle the state of I/O line n
n = 1 to 4
Input X = 1 or 0
Output X = 1 or 0
IRCn
Set or inquire IR
n = 0 : 1 : ? = input : output : status
IRC0 = IR configured as Rxd
IRC1 = IR configured as Txd
IRSn,m
Send IR code stored in 1 of 32 IR memory locations
n = 9 (Learned IR)
m = 1 – 32 (Memory Location)
Nothing
IRSn,m,k
Send IR code with a specified IR protocol, IR address, and IR command
n = 0 - 6 (NEC, JVC, Sharp, RCA, RC5, Sony-sirc, and Extended NEC)
m = 0 - 255 (or 0 - 65535 for Extended NEC) = IR address in DECIMAL
k = 0 - 255 = IR command in DECIMAL
Nothing
IRPn
Set or Read Current IR protocol State
n = 0 - 5 (NEC, JVC, Sharp, RCA, RC5, and Sony-sirc)
n = ? = status
IRP0 = Current IR protocol = NEC
IRP1 = Current IR protocol = JVC
IRP2 = … and so on
RTSn
Set or Read State of RTS line
n = 0 : 1 : T: ? = low : high : toggle : status
Nothing except Status Reads return:
RTS? = RTS0
CTSn
Read State of CTS line
n = ? = status
CTS? = CTS0
FDFT
Factory default
Are you sure (Y,N)?
User must send CAPITOL “Y” before 8 Second Timeout
RST
Unit Reset/Restart
MODE
Return current mode status
00 = Run mode
01 = Program mode
00 or 01
RE
Reserved – Active only in PROGRAM MODE
Factory use only
WE
Reserved – Active only in PROGRAM MODE
Factory use only
RDIO
Reserved – Active only in PROGRAM MODE
Factory use Only
RDIN
Reserved – Active only in PROGRAM MODE
Factory use Only