![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/1/54/15499bf2-2128-4279-acbf-7f6c766a2866/15499bf2-2128-4279-acbf-7f6c766a2866-bgd.png)
CONTROLLERS
12
4.10.1. MEMORY 1
I/O port/memory is A
Sub-Register address is from 00 to 255
Sub-Register definitions
00 This location should be set to FFh if
memory initialization is required.
During the power up sequence this
location is checked for software
revision. If FFh is encountered then
all memories are reset to factory
condition. User memory is not
affected during initialization.
Normally you should not write into
this location. You can read this
location without affecting the
CP7317RS.
01 I/O definition for digital port 1. Define
if pin is Input or Output. If bit is set
to 1 then this pin is Input if bit is set
to 0 then this pin is output.
02 I/O definition for digital port 2. Define
if pin is Input or Output. If bit is set
to 1 then this pin is Input if bit is set
to 0 then this pin is output.
03 I/O definition for digital port 3. Define
if pin is Input or Output. If bit is set
to 1 then this pin is the input if the bit
is set to 0 then this pin is the output.
04 I/O definition for digital port 4. Define
if pin is Input or Output. If the bit is
set to 1 then this pin is the input if
the bit is set to 0 then this pin is
output.
05 Set baud rate for RS-232
communication.
1 300
2 600
3 1200
4 2400
5 4800
6 9600
7 Custom baud rate
06 Custom baud rate setup. Sub-
registers 6 and 7 are used to define
custom baud rate. This is usually not
required however if it is absolutely
necessary to set up non-standard
baud rate (as could be in case of
MIDI) then contact factory for
additional instructions. Register 5
must be set to 07h for this custom
baud rate to operate.
07 Custom baud rate setup.
08 Not available/ Do not read or write
into this location.
09 Not available/ Do not read or write
into this location.
10 Unit id number. Any number from 1
to 255. This id number is used
during control of multiple CP7317RS
units. If the id number is set to 1
then unit will respond to all
commands. Id number is factory set
to 1
11 Not available / Do not read or write
into this location.
12 Not available / Do not read or write
into this location.
13 Not available / Do not read or write
into this location.
14 Not available / Do not read or write
into this location.
15 Not available / Do not read or write
into this location.
16 These 8 locations are used to store
feedback codes for commands that
are properly executed.
. Factory default is “OK”. To disable
feedback set sub-register 16 to FFh.
.
23 End of feedback code for OK
24 These 8 locations are used to store
feedback code for command that
was not properly
. executed. Factory setting is “ERR”.
To disable feedback set sub-register
16 to FFh.
.
31 End of feedback code for ERR
32 Power up status of relays on port 1.
If bit is set to 0 then relay will be
closed on power up. If bit is set to 1
then relay will be open on power up.