Altinex Network Card CP7317RS User Manual

CONTROLLERS  
MANUAL PART NO. 400-0017-003  
PRODUCT REVISION: 0  
CP7317RS  
RS – 232 CONTROLLER  
USER’S GUIDE  
Download from Www.Somanuals.com. All Manuals Search And Download.  
CONTROLLERS  
DA1298FC, Rack Mount Ears DA1299RM) and  
PRECAUTIONS / SAFETY WARNINGS  
1
cables for optimum setup.  
Please read this manual carefully before using your  
CP7317RS RS-232 Controller. Keep this manual  
handy for future reference. These safety  
instructions are to ensure the long life of your  
CP7317RS and to prevent fire and shock hazard.  
Please read them carefully and heed all warnings.  
·
To turn off the main power, be sure to remove  
the cord from the power outlet. The power outlet  
socket should be installed as near to the  
equipment as possible, and should be easily  
accessible.  
·
·
Do not pull the power cord or any cable that is  
attached to the CP7317RS.  
1.1 GENERAL  
·
Unauthorized personnel shall not open the unit  
since there are high-voltage components inside.  
If the CP7317RS is not used for an extended  
period of time, disconnect the power cord from  
the power outlet.  
·
Qualified Altinex service personnel, or their  
authorized representatives must perform all  
service.  
1.4 CLEANING  
·
Unplug the CP7317RS power cord before  
cleaning. Clean surfaces with a dry cloth. Never  
use strong detergents or solvents such as  
alcohol or thinner. Do not use a wet cloth or  
water to clean the unit.  
1.2 SAFETY GUIDELINES FOR THE RACK-  
MOUNTING OF THE CP7317RS  
· Maximum operating ambient temperature is 35  
(degrees C).  
· Never restrict the air flow through the devices’  
1.5 FCC / CE NOTICE  
fan or vents.  
·
·
This device complies with part 15 of the FCC  
Rules. Operation is subject to the following two  
conditions: (1) This device may not cause  
harmful interference, and (2) this device must  
accept any interference received, including  
interference that may cause undesired  
operation.  
· When installing equipment into a rack, distribute  
the units evenly. Otherwise, hazardous  
conditions may be created by an uneven  
weight distribution.  
· Connect the unit to a properly rated supply  
circuit.  
· Reliable Earthing (Grounding) of Rack-Mounted  
This equipment has been tested and found to  
comply with the limits for a Class A digital  
device, pursuant to Part 15 of the FCC Rules.  
These limits are designed to provide reasonable  
protection against harmful interference when the  
Equipment should be maintained.  
1.3 INSTALLATION  
·
For best results, place the CP7317RS on a flat,  
level surface in a dry area away from dust and  
moisture.  
equipment is operated in  
a
commercial  
environment. This equipment generates, uses,  
and can radiate radio frequency energy and, if  
not installed and used in accordance with the  
instruction manual, may cause harmful  
interference to radio communications. Operation  
of this equipment in a residential area is likely to  
cause harmful interference in which case the  
user will be required to correct the interference  
at his own expense.  
·
To prevent fire or shock, do not expose this unit  
to rain or moisture. Do not place the CP7317RS  
in direct sunlight, near heaters or heat radiating  
appliances, or near any liquid. Exposure to  
direct sunlight, smoke, or steam can harm  
internal components.  
·
·
Handle the CP7317RS carefully. Dropping or  
jarring can damage internal components.  
·
Any changes or modifications to the unit not  
expressly approved by Altinex, Inc. could void  
the user’s authority to operate the equipment.  
Do not place heavy objects on top of the  
CP7317RS. If the CP7317RS is to be mounted,  
to a table or wall, use only Altinex made  
mounting accessories (Rack Mount Shelf  
2
Download from Www.Somanuals.com. All Manuals Search And Download.  
CONTROLLERS  
ABOUT CP7317RS - RS-232 CONTROLLER  
TECHNICAL SPECIFICATIONS  
3
2
FEATURES/DESCRIPTION  
GENERAL  
CP7317RS  
The CP7317RS RS-232 Controller is designed to  
provide expanded capabilities to any control  
system. The CP7317RS is designed to accept RS-  
232 commands from a control device and output  
those commands as relay contacts or digital high or  
low. The CP7317RS also is able to convert digital  
inputs through I/O ports to the preprogrammed RS -  
232 command. There are a variety of applications  
that are available with this versatile and very  
flexible controller. The CP7317RS has one RS-232  
port, 16 relay contacts, and 32 digital I/O pins. The  
unit can be easily set-up and controlled using  
Windows software.  
9-pin D Female  
(4) 9-pin D Female  
(5) 5-pin terminal block  
connectors  
RS-232  
Digital I/O Ports  
Relays  
Table 1. CP7317RS General  
MECHANICAL  
CP7317RS  
Width (inches)  
Height (inches)  
Depth (inches)  
Weight (pounds)  
Ship Weight (pounds)  
Material  
8.50in (216mm)  
1.75in (44mm)  
4.93in (125mm)  
2.0lbs (0.91kg)  
4.0lbs (1.82kg)  
0.1” Al  
Finish  
Gray  
Front/Back Panels  
T° Operating  
Lexan  
10°C-35°C  
T° Maximum  
50°C  
Humidity  
MTBF (calculations)  
90% non-condensing  
40,000hrs.  
Table 2. CP7317RS Mechanical  
ELECTRICAL  
CP7317RS  
Baud Rate  
Default  
2400  
Max  
19,200  
Handshake  
Default  
8 bit, No parity, & 1  
stop bit  
Relay Max Voltage  
I/O Max voltage  
non-inductive  
25ma sink@12v  
0.1ma source  
Power  
Internal Power Supply  
Power Consumption  
Table 3. CP7317RS Electrical  
90-140/200-240 V AC  
10 watts max.  
3
Download from Www.Somanuals.com. All Manuals Search And Download.  
CONTROLLERS  
CP7317RS DESCRIPTION  
CP7317RS FEATURES  
4
4.1  
RS-232 PORT  
This port (located next to the power outlet) is a fully  
programmable, bi-directional, and full duplex port  
that has the ability to operate at any baud rate up  
to 9600. The general standard on transmission is 8  
bits, no parity, and 1 stop bit. The factory default  
for communication through this port is 2400 baud.  
Several standard baud-rates are available through  
programming: 300, 600, 1200, 2400, 4800, and  
9600 baud. The following table shows the pin-out  
configuration of RS-232 ports on the CP7317RS.  
FIGURE 2  
Port 3 and 4 consist of 2 single-pole, single-throw  
(SPST) isolated relays each, as shown in Figure 3.  
Pin No. on RS-232 port  
Function  
TX (Transmit)  
RX (Receive)  
Ground  
2
3
5
FIGURE 3  
Subsequently, Port 2,3, and 4 can be treated as a  
single port with 8 relays or as three independent  
ports. Port 2 can be treated as a single port with 4  
relays and Port 3 and 4 with 2 relays each.  
4.2  
RELAY CONTACTS  
The CP7317RS has 4 ports with relay contacts.  
Port 1 has two groups of 4 relays. The relays are  
single-pole, single-throw (SPST) type and can be  
set to default to either a normally open or normally  
closed condition. Each relay of port 1 can be  
individually turned “ON” or “OFF”. Figure 1 shows  
port 1 configuration.  
In addition to relay contacts the CP7317RS  
Controller has “+5” voltage available on ports 3 and  
“GND”(ground) available on port 4. The  
(+5) volts output is designed to drive external  
circuitry and has 280mA maximum current output.  
The graph below shows the maximum of allowable  
current from +5V pin and through digital I/O pins as  
a function of the number of relays turned ON at any  
given time.  
The ground pin on Port 4 is true ground and is  
connected to the system ground but it is not  
connected to any common pins.  
FIGURE 1  
4.3  
DIGITAL I/O PORTS  
Port 2 has one group of 4 relays. The relays are  
single-pole, single-throw (SPST) type and can be  
set to default to either a normally open or normally  
closed condition. Each relay of Port 2 can be  
individually turned “ON” or “OFF”. Figure 2 shows  
Port 2 configuration.  
These ports are designed as general-purpose  
input/output ports (see Figure 4).  
4
Download from Www.Somanuals.com. All Manuals Search And Download.  
CONTROLLERS  
INTERNAL POWER SUPPLY  
4.4  
The CP7317RS comes with its own built-in power  
supply, which will work with either 100 or 240 volts.  
To change the input voltage for this unit, follow the  
procedure below:  
1. Remove the fuse box.  
Available +5 volts current  
2. Remove the gray fuse holder from the fuse box,  
by gently squeezing the black tabs together.  
300  
200  
100  
0
3. Look on the rear of the gray fuse holder. You  
will find two numbers (110 and 220), turn the  
gray fuse holder to the desired voltage.  
4. Gently insert the fuse holder in the fuse box.  
5. Check the display window for the proper voltage  
setting.  
1
3
5
7
9
11  
13  
15  
4.5  
SOFTWARE & CUSTOM  
Number of relays "ON"  
PROGRAMMING  
Soon the CP7317RS will be supplied with a  
Windows based software that allows easy  
configuring and programming of the unit through a  
computer.  
FIGURE 4  
The following table shows the pin-outs on the  
connector corresponding to the following I/O port  
pin numbers.  
The ASCII and binary communication formats are  
currently available. As an option, custom  
programming is available. If you know your  
requirements and would like for ALTINEX to  
program the unit prior to shipment, our technical  
support team will be happy to discuss your needs  
and provide programming at a very reasonable fee.  
Connector 1 2 3 4  
Pin No.  
5
6
2
7 8  
4 6  
9
8
I/O Port  
Pin No.  
1 3 5 7  
9
Ground  
There are 4 ports with 8 I/O pins and one ground  
pin, #5 on each port. Each pin of each port can be  
individually addressed and programmed to be high  
or low. The “power ON” status of each pin is also  
fully programmable. Each pin can be programmed  
as an input pin or output pin. If the pin is  
programmed as an output pin, it can be set to high  
or low. When set to high, the I/O pin is pulled to 5  
volts with a 10k resistor. When set to low, the I/O  
pin can sink up to 25 mA. If the pin is programmed  
as input then this pin is internally pulled up to 5  
volts with a 10k resistor. In this condition external  
circuitry or switch can set the input high or low. The  
CP7317RS provides feedback through RS-232 port  
at any time when transition on the pin of any I/O  
port occurs. Transition on the pin from low to high  
or from high to low will produce different feedback  
codes on RS-232 port. These feedback codes are  
fully programmable and can also be fully disabled.  
4.6  
ASCII (RS-232) COMMUNICATION  
ASCII commands for controlling the CP7317RS  
Controller are divided into two categories:  
Programming commands and control commands.  
These commands are sent or received through the  
RS-232 port of the controller.  
A. Programming commands are used to setup the  
CP7317RS Controller. The action of these  
commands is stored in a non-volatile memory  
and is maintained in “POWER ON/OFF”  
service.  
B. Control commands are used to operate  
CP7317RS Controllers in everyday use. Control  
commands are lost when the unit is powered  
down.  
5
Download from Www.Somanuals.com. All Manuals Search And Download.  
CONTROLLERS  
Bit No.  
Connector pin No.  
4.7 PROGRAMING COMMANDS  
6
7
8
8
4
9
The commands below are used for presetting the  
default status of the unit.  
Note: AFTER USING THE PROGRAMMING  
COMMANDS LISTED BELOW, THE CP7317RS  
SHOULD BE POWERED OFF AND THEN ON.  
[SETIp,b,n]  
FIGURE 5: Input/Output Port Pin Configuration  
This command sets individual pins of each I/O port  
to input or output status. It is a programming  
command and needs to be issued only once during  
the configuration of the CP7317RS. Once issued, it  
is stored in the non-volatile memory  
n
This letter designates the status of the pin  
on that particular port as either input or  
output.  
and is maintained during the “Power ON/OFF”.  
when n = 1 the pin is set as input  
when n = 0 the pin is set as output.  
The factory preset for the CP7317RS is that all  
pins on I/O ports are set as output pins.  
Example:  
[SETI1, 6,1] – this would set  
port 1, pin 6, to an input status.  
When the pin is set as input, then an RS-232 code  
is produced whenever the pin changes from high to  
low or from low to high. When the pin is set as an  
output, then the RS-232 command is sent through  
the RS-232 port can change the specified pin to  
high or low. (The RS-232 code cannot be produced  
when the pin is set to the output status and the pin  
set to the input status cannot be set to low with the  
[SETD] command as all the pins with input status  
are always high).  
[SETIp,b1b6b2b7b3b8b4b9]  
This sets all the pins in an I/O port to either input or  
output status. It is a programming command and  
needs to be issued only once during the  
configuration of the CP7317RS. Once issued, it is  
stored in the non-volatile memory and is  
maintained during the “Power ON-OFF”.  
p
This letter designates a port number. It is  
an ASCII character ranging from 1 to 4 and  
matching the port number on the rear panel  
The factory preset for the CP7317RS is that all pins  
are set as output pins.  
When the pin is set as the input, then an RS-232  
code is produced whenever the pin changes from  
high to low or from low to high. When the pin is set  
as an output, then RS-232 commands sent to the  
RS-232 port can change a specified pin to high or  
low. (The RS-232 code cannot be produced when  
the pin is set to an output status and the pin set to  
an input status can not be set low with [SETD]  
command as all pins with input status are always  
high).  
of the  
CP7317RS Controller. The  
acceptable values are 1, 2, 3 or 4. Any  
other value will cause an error as a  
feedback code.  
b
Bit number. This bit number relates to  
the pin number on the 9-pin connector on  
the back of the CP7317RS according to the  
following table. A valid range of numbers is  
from 1 to 8, inclusive. Any other numbers  
will cause an error as a feedback code.  
p
This letter designates a port number. This is  
an ASCII character from 1 to 4 that  
matches the I/O port number on the rear  
panel of the CP7317RS. The acceptable  
values are 1,2,3 or 4. Any other value will  
cause an error as a feedback code.  
Bit No.  
Connector pin No.  
1
2
3
4
5
1
6
2
7
3
6
Download from Www.Somanuals.com. All Manuals Search And Download.  
CONTROLLERS  
b
This letter defines the status of a pin, while  
its position in a string number corresponds  
to the pin number on the I/O Port of the  
CP7317RS. For example b4 represents the  
status of Pin 4 on the I/O connector. The  
valid pins on I/O port are from 1 to 9 except  
5. A valid range for the b is either 1 or 0.  
Any other number will cause an error as a  
feedback code.  
[RSTF]  
Reset the CP7317RS to the factory settings.  
Re-initialize non-volatile memory to the factory pre-  
sets. This command also resets the baud rate of  
the RS-232 communication port to 2400 baud.  
This command also resets the unit ID to 1.  
[SETPDp,b,n]  
This command sets the “Power ON” status of each  
pin on the particular I/O port of the CP7317RS.  
This command determines whether port pins will be  
high or low during “Power up”. It is a programming  
command and should be issued only once during  
the configuration of the CP7317RS. Once issued,  
this command is stored in the non-volatile memory  
and is maintained during the “Power ON/OFF”  
sequence.  
When b is 1, the corresponding pin is set as  
input.  
When b is 0, the corresponding pin is set as  
output.  
Example: Set pins 1 through 4 of port 2 as  
inputs, and 6 through 9 as outputs  
[SETI2,10101010]  
[BAUDn]  
The factory preset of the CP7317RS is that  
all pins in the I/O ports are set as output  
pins.  
This command sets the baud rate for the  
CP7317RS. This command is a programming  
command and should be issued only once during  
the configuration of the CP7317RS.  
If it is required that the pin is set to low during  
power up, the pin status must be set as output. If a  
particular pin is set as the input then it can not be  
set low by this command during “Power up”.  
Once issued it is stored in the non-volatile memory  
and is maintained during “Power ON-OFF”.  
p
This letter designates the port number. It is  
an ASCII character from 1 to 4 that  
matches the port number on the back of the  
CP7317RS. The only acceptable values are  
1, 2, 3 or 4. Do not use any other value for  
port number.  
The factory preset for the CP7317RS is  
n=4, which corresponds to the 2400 baud  
rate. When the [RSTF] command is issued  
the baud rate is set to 2400.  
Do not set the baud rate to any other numbers  
except the ones specified below. The baud rate,  
n=7 is reserved for future use and is not active with  
the current version of this product.  
b
Bit number. This bit number corresponds to  
the pin number on the 9-pin connector on  
the back of the CP7317RS according to  
following table. A valid range of numbers is  
from 1 to 8, inclusive. Any other numbers  
will cause an error as a feedback code.  
n
The baud rate number. This number ranges  
from 1 to 7 and sets the baud rate for RS-  
232 communication.  
Bit No.  
Connector pins No.  
n
1
2
3
4
5
6
7
Baud rate  
300  
600  
1200  
2400  
4800  
9600  
Custom baud rate  
1
2
3
4
5
6
7
8
1
6
2
7
3
8
4
9
7
Download from Www.Somanuals.com. All Manuals Search And Download.  
CONTROLLERS  
for b is 1 or 0. Any other numbers will cause  
an error as a feedback code.  
Example: Set pins 1 through 3 on port 2 as  
high; set pins 4, 6, 7 and 8 as low and pin 9  
as high. [SETPD2,10101001]  
FIGURE 6: Input/Output Port Pin  
Configuration  
[SETPRp,b,n]  
n
This letter designates the status of the pin  
as either high or low during “Power up” of  
the unit.  
This command sets the “Power ON” status of each  
relay on a particular port of the unit. This command  
determines whether a relay will be open or closed  
when n = 1 the pin is set as high  
when n = 0 the pin is set as low  
during “Power up”.  
This command is  
a
programming command and should be issued only  
once during the configuration of the CP7317RS.  
Once issued, this command is stored in the non-  
volatile memory and is maintained during “Power  
ON/OFF”.  
Example: Set pin 1 of port 3 as low during  
POWER ON. [SETPD3,1,0]  
[SETPDp,b1b6b2b7b3b8b4b9]  
The factory preset of the CP7317RS is that all  
This command sets the “Power ON” status of all  
the pins on the particular port of the unit. This  
command determines whether port pins will be high  
or low during “Power up”. It is a programming  
command and should be issued only once during  
the configuration of the CP7317RS. Once issued,  
this command is stored in the non-volatile memory  
and is maintained during Power “ON/OFF”.  
relays are set to open.  
p
This letter represents the port number. This  
is an ASCII character from 1 to 4 that  
matches the port number on the back of the  
CP7317RS. The acceptable values are 1, 2,  
3 or 4. Any other value will cause an error  
as a feedback code.  
b
This letter represents the relay number.  
This number corresponds to the number on  
the terminal block connector of the  
CP7317RS as shown on the diagram  
below. A valid range of numbers is from 1 to  
8, inclusive. Any other numbers will cause  
an error as a feedback code.  
The factory preset of the CP7317RS is that all pins  
in all ports are set as output pins.  
If it is required that the pin is set to low during  
power up. The pin status must be set as output. If a  
particular pin is set as the input then it can not be  
set low by this command during “Power up”.  
p
b
This letter designates the port number. It is  
an ASCII character from 1 to 4 that  
matches the port number on the back of the  
CP7317RS. The acceptable values are 1, 2,  
3 or 4. Any other value will cause an error  
as a feedback code.  
This letter designates the pin numbe r. The  
position of this number corresponds to the  
number on the 9 pin connector on the back  
of the CP7317RS. For example, b4 is the  
fourth pin on the connector. A valid range  
FIGURE 7  
8
Download from Www.Somanuals.com. All Manuals Search And Download.  
CONTROLLERS  
This letter represents unit ID number. It  
could be any number ASCII or Hex. The 0  
and 1 are used for special purpose  
controlling as described in greater detail  
under [UIDn] command.  
n
n
This letter designates the status of the relay  
during “Power up”.  
n=1relay is open  
n=0 relay is closed  
1
0
enables all units regardless of the unit ID  
disables all units regardless of the unit ID  
Example: Set relay 6 of port 2 to be open  
at power up.[SETPR2,6,1]  
Set relay 2 of port 4 to be closed at power  
up.[SETPR4,2,0]  
The factory default of the CP7317RS is set to Unit  
ID = ASCII "1"  
[SETPRp,b1b2b3b4b5b6b7b8]  
This command sets the “Power ON” status of all  
relays on the particular port of the unit. This  
command determines whether the port relays will  
be set to high or low during “Power up”. This  
command is a programming command and should  
be issued only once during the configuration of the  
CP7317RS. Once issued, this command is stored  
in the non-volatile memory and is maintained  
during “Power ON/OFF”.  
4.8 CONTROL COMMANDS  
The following codes are for controlling of the  
CP7317RS controller. These commands are not  
permanent and will be lost when power is removed  
from the unit. These commands are used during  
the normal operation of the CP7317RS.  
[SETDp,b,n]  
SET each pin on the particular port of the unit. This  
command switches pins high or low during normal  
operation of the unit. The pin must be set as output  
if it needs to be low during the execution of this  
command. If particular pin is set as input then it  
can not be set low by this command.  
The factory preset of the CP7317RS is that all  
relays are set open.  
p
This letter designates the port number. It is  
an ASCII character from 1 to 2 that  
matches the port number on the back of the  
CP7317RS or as shown above. The  
acceptable values are 1 or 2. Since Port 3  
and 4 are only extensions of Port 2 . The  
settings of Port 3 and Port 4 are  
accomplished as part of Port 2 settings.  
p
Port number. This is an ASCII character  
from 1 to 4 that matches the port number  
on the back of the CP7317RS. The  
acceptable values are 1, 2, 3 or 4. Any  
other value will cause an error as a  
feedback code.  
b
This letter designates the relay number.  
The position of this number corresponds to  
the number shown on the diagram of the  
terminal block connector layout on the back  
of the CP7317RS (See figure 7). For  
example b5 is a fifth relay on the connector.  
Valid range for b is 1 or 0. Any other  
numbers will cause error as a feedback  
code.  
B
Bit number. This bit number corresponds to  
the pin number on the 9-pin connector on  
the back of the CP7317RS according to  
following table. A valid range of numbers is  
from 1 to 8, inclusive. Any other numbers  
will cause error as a feedback code. Use  
b=0 id you want to set all pins high or low  
on this port.  
[SETIDn]  
Bit No.  
Connector Pin No.  
1
2
3
4
5
6
1
6
2
7
3
8
This command sets unit ID number (n=1 to 9, A to  
Z, and a to z). Total of up to 61 units, using ASCII  
code, can be controlled simultaneously. Additional  
units can be controlled using Hex code.  
9
Download from Www.Somanuals.com. All Manuals Search And Download.  
CONTROLLERS  
[SETRp,b1b2b3b4b5b6b7b8]  
Bit No.  
Connector Pin No.  
7
8
4
9
SET all relays on the particular port of the  
unit. This command defines if port relays  
will be high or low.  
n
Data that defines the status of the pin n=1  
or n=0.  
p
b
Port number, this is an ASCII character  
from 1 to 2 that matches the port number  
on the back of the CP7317RS. The  
acceptable values are 1or 2. Any other  
value will cause error as a feedback code.  
[SETDp, b1b6b2b7b3b8b4b9]  
SET all pins on the particular I/O port of the unit.  
This command defines if I/O port pins will be high  
or low. The pin must be set as output if it needs to  
be set low. If particular pin is set as input then it  
can not be set low by this command.  
Relay number. The position of this number  
corresponds to the number on the terminal  
block connector on the back of the  
CP7317RS. For example b5 is a fifth relay  
on the connector. Valid range for b is 1 or 0.  
Any other numbers will cause error as a  
feedback code.  
p
Port number, this is an ASCII character  
from 1 to 4 that matches the port number  
on the back of the CP7317RS. The  
acceptable values are 1,2,3 or 4. Any other  
value will cause error as a feedback code.  
[RSET]  
b
Bit or pin number. The position of this  
number corresponds to the number on the 9  
pin connector on the back of the  
CP7317RS. For example b8 is a eighth pin  
on the connector. Valid range for b is 1 or 0.  
Any other numbers will be ignored and  
status of the port pin will not be changed.  
Reset unit to the same condition as power on .  
[READDp,b]  
Read Digital status of a particular pin on the digital  
I/O port. The feedback is in the following format [1]  
if pin is high or [0] if pin is low.  
[SETRp,b,n]  
p
Port number, this is an ASCII character  
from 1 to 4 that matches the port number  
on the back of the CP7317RS. The  
acceptable values are 1,2,3 or 4. Any other  
value will cause error as a feedback code.  
SET each relay on the particular port of the unit.  
This command defines if relay will be open or  
closed.  
p
b
Port number, this is an ASCII character  
from 1 to 4 that matches the port number  
on the back of the CP7317RS. The  
acceptable values are 1,2,3 or 4. Any other  
value will cause error as a feedback code.  
b
Bit number. This bit number corresponds to  
the pin number on the 9-pin connector on  
the back of the CP7317RS according to  
following table. Valid range of numbers is  
from 1 to 8, inclusive. Any other numbers  
will cause error as a feedback code. Use  
b=0 id you want to set all pins high or low  
on this port.  
Relay number. This number corresponds to  
the number on terminal block connector on  
the back of the CP7317RS from left to right.  
Valid range of numbers is from 1 to 8,  
inclusive. Any other numbers will cause  
error as a feedback code. Use b=0 id you  
want to set all pins high or low on this port.  
Bit No.  
Connector pin No.  
1
2
3
4
5
6
7
8
1
6
2
7
3
8
4
9
n=  
Data that defines the status of the  
relay.  
n=1 relay is open or n=0 relay is closed.  
10  
Download from Www.Somanuals.com. All Manuals Search And Download.  
CONTROLLERS  
will respond only to another [UIDn]  
command. If n=1 then all units will be  
enable regardless of their Unit ID number.  
Additional [UIDn] commands will enable  
units that have the corresponding UID  
number. [UIDn] command is additive. This  
means that as you issue additional UID  
commands, the corresponding CP7317RS  
units will become active on the line. To  
reset everything, issue [UID0] command  
followed by the required [UIDn] command.  
[READDp]  
Read Digital status of a particular port. The  
feedback is in the following format [10011100] 1 is  
for high 0 is for low. The feedback provides status  
of all pins. Left most character is a bit pin number  
1.  
p
Port number, this is an ASCII character  
from 1 to 4 that matches the port number  
on the back of the CP7317RS. The  
acceptable values are 1,2,3 or 4. Any other  
value will cause error as a feedback code.  
4.9 BINARY COMMUNICATION PROTOCOL  
In Binary Communication Protocol (BCP) there are  
basically two commands that control all of  
the functions of CP7317RS Controller.  
[READRp,b]  
Read Relay status of a particular relay on the relay  
ports. The feedback is in the following format [1] if  
relay is closed or [0] if relay is open.  
[BRxyy]  
Binary Read command  
x – I/O port /Memory in ASCII  
p
Port number. This is an ASCII character  
from 1 to 4 that matches the port number  
on the back of the CP7317RS. The  
acceptable values are 1,2,3 or 4. Any other  
value will cause error as a feedback code.  
yy - sub-register address in ASCII hex One  
Hex byte is returned for each [BRxyy]  
command, which contains data, and  
followed by [OK]  
b
Relay number. This number corresponds to  
the number on terminal block on the back of  
the CP7317RS from left to right. Valid range  
of numbers is from 1 to 8, inclusive. Any  
other numbers will cause error as a  
feedback code.  
[x] [OK]  
hex byte  
[BWxyydd]  
Binary Write command  
x – I/O port / Memory number in ASCII  
yy - sub-register address in ASCII hex  
dd - data to be written into sub-register  
yy in ASCII hex format  
[READRp]  
Read Relay status of all relays on the particular  
port. The feedback is that in the following format  
[10011100] 1 is for closed relay 0 is for open relay.  
The feedback provides status of all relays.  
4.10 REGISTER DEFINITIONS  
p
Port number. This is an ASCII character  
from 1 to 4 that matches the port number  
on the back of the CP7317RS. The  
acceptable values are 1,2,3 or 4. Any other  
value will cause error as a feedback code.  
Memory registers:  
There are 4 memories available in the CP7317RS.  
Three of these memories are dedicated to the  
operation of the CP7317RS and one is a general  
purpose memory for user applications. Each  
memory contains 256 locations each 8 bits long.  
That means that each memory can store up to 256  
characters or 256 bytes of information.  
[UIDn]  
Communicate with Unit ID number (n=0 to 9, A to  
Z, and a to z) Up to 62 units can be controlled  
together.  
n
Unit ID number. if n=0 then all units with  
different ID numbers will be disabled. Unit  
11  
Download from Www.Somanuals.com. All Manuals Search And Download.  
CONTROLLERS  
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.  
4.10.1. MEMORY 1  
I/O port/memory is A  
Sub-Register address is from 00 to 255  
Sub-Register definitions  
07  
08  
Custom baud rate setup.  
Not available/ Do not read or write  
into this location.  
Not available/ Do not read or write  
into this location.  
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  
Not available / Do not read or write  
into this location.  
Not available / Do not read or write  
into this location.  
00  
This location should be set to FFh i f  
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  
09  
10  
affected  
during  
initialization.  
Normally you should not write into  
this location. You can read this  
location without affecting the  
CP7317RS.  
11  
12  
13  
14  
15  
01  
02  
03  
04  
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.  
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.  
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.  
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.  
Not available / Do not read or write  
into this location.  
Not available / Do not read or write  
into this location.  
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  
05  
Set  
baud  
rate  
for  
RS-232  
communication.  
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.  
1
2
3
4
5
6
7
300  
600  
1200  
2400  
4800  
9600  
.
31  
Custom baud rate  
End of feedback code for ERR  
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  
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.  
12  
Download from Www.Somanuals.com. All Manuals Search And Download.  
CONTROLLERS  
33  
Power up status of relays on port  
2,3,4. 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.  
length is 8 bytes. Each pin is assigned to a  
location of the memory.  
Sub-Register definitions  
34  
35  
Left bracket for beginning command  
code. Factory set to “[“.  
Right bracket for ending command  
code. Factory set to “]“.  
00  
00-7 locations for return code for  
port 1 pin 1 for transition from 0 to 1.  
This return code should include any  
necessary brackets.  
.
.
36  
37  
38  
39  
40  
Power on default status of digital  
port 1  
Power on default status of digital  
port 2  
Power on default status of digital  
port 3  
Power on default status of digital  
port 4  
.
.
07  
08  
.
.
end of return code  
00-07 locations for return code for  
port 1 pin 2 for transition from 1 to 0.  
This return code should include any  
necessary brackets.  
.
.
.
.
Not available / Do not read or write  
into this location.  
.
.
.
.
15  
end of return code  
.
.
Default return code is in the following format  
[Px.yd]  
127  
Not available / Do not read or write  
into this location.  
x
port number 1, 2, 3, 4  
128  
User programmable  
y
pin number 1, 2, 3, 4, 5, 6,  
.
.
.
.
7, 8  
d
direction U for 0->1 or D for  
255  
User programmable  
1->0 transition  
4.10. 4. MEMORY 4  
4.10.2. MEMORY 2  
I/O port / memory is D  
I/O port / memory is B  
Sub-Register address is from 00 to 255  
These registers are used to feed back code for  
transition of input I/O pins from 0 to 1. If any of  
the I/O pins are designated as inputs then these  
pins will produce RS-232 code when shorted to  
ground and another code when they transition  
from 0 to 5 volts. The maximum feedback code  
length is 8 bytes. Each pin is assigned to a  
location of the memory.  
Sub-Register address is from 00 to 255  
Sub-Register definitions  
00  
User Programmable  
.
.
.
.
.
.
255  
User programmable  
4.10.3. MEMORY 3  
Sub-Register definitions  
I/O port /memory is C  
Sub-Register address is from 00 to 255  
00  
00-07 locations for return code for  
port 1 pin 1 for transition from 1 to 0.  
This return code should include any  
necessary brackets.  
These registers are used to feed back code for  
transition of input I/O pins from 1 to 0. If any of  
the I/O pins are designated as inputs then these  
pins will produce RS-232 code when shorted to  
ground and another code when they transition  
from 0 to 5 volts. The maximum feedback code  
.
07  
.
end of return code  
13  
Download from Www.Somanuals.com. All Manuals Search And Download.  
CONTROLLERS  
4.11.3. I/O PORT 3  
08  
00-07 locations for return code for  
port 1 pin 2 for transition from 0 to 1.  
This return code should include any  
necessary brackets.  
.
.
Register number is G  
Sub-Register number -not used  
When writing into this port, any character can be  
inserted into Sub-register position. The software  
on CP7317RS will ignore this information. Also  
make sure that the pin that you are trying to  
control is set as output through memory  
registers.  
.
.
15  
end of return code  
Default return code is in the following format  
[Px.yd]  
4.11.4. I/O PORT 4  
x
y
port number 1, 2, 3, 4  
pin number 1, 2, 3, 4, 5, 6,  
Register number is H  
Sub-Register number -not used  
7, 8  
d
1->0 transition  
When writing into this port, any character can be  
inserted into Sub-register position. The software  
on the CP7317RS will ignore this information.  
Also make sure that the pin that you are trying to  
control is set as output through memory  
registers.  
direction U for 0->1 or D for  
4.11 I/O PORT REGISTERS  
These registers are used to control I/O ports  
directly. Writing into these registers will affect  
status of the I/0 ports immediately. Writing 0 into  
each bit position will set the output of this pin to 0,  
writing 1 will set output high. If I/O pin is configured  
as Input pin, then writing into this bit position will  
not affect output. Keep in mind that default factory  
setting is that all I/O pins are inputs. Make sure to  
define pins as outputs before writing into them. Use  
memory registers to define pins as outputs.  
4.12 RELAY PORT REGISTERS  
These registers are used to control Relay ports  
directly. Writing into these registers will affect  
status of the Relay ports immediately. Writing 0  
into each bit position will set the relay open, writing  
1 will set the relay closed.  
4.12.1. RELAY PORT 1  
Register number is I  
Sub-Register number -not used  
When writing into this port, any character can be  
inserted into Sub-register position. The software  
on the CP7317RS will ignore this information.  
4.11.1. I/O PORT 1  
Register number is E  
Sub-Register number -not used  
When writing into this port, any character can be  
inserted into Sub-register position. The software  
on the CP7317RS will ignore this information.  
Also make sure that the pin that you are trying to  
control is set as output through memory  
registers.  
4.12.2. RELAY PORT 2,3,4  
Register number is J  
Sub-Register number -not used  
When writing into this port, any character can be  
inserted into Sub-register position. The software  
on the CP7317RS will ignore this information.  
4.11.2. I/O PORT 2  
Register number is F  
Sub-Register number -not used  
When writing into this port, any character can be  
inserted into Sub-register position. The software  
on the CP7317RS will ignore this information.  
Also make sure that the pin that you are trying to  
control is set as output through memory  
registers.  
14  
Download from Www.Somanuals.com. All Manuals Search And Download.  
CONTROLLERS  
If your product is out of warranty and needs  
service, contact the Altinex Sales Department for  
an RMA (Return Material Authorization). Products  
returned without an RMA number may experience  
a delay in service. The service charges will be  
quoted to you before the actual repairs are done.  
ALTINEX POLICY  
5
5.1 LIMITED WARRANTY  
Altinex warrants that its products and cables are  
free from defects in materials under normal use  
and service. This warranty is limited to repairing at  
company’s factory any part or parts of the product,  
which upon company’s examination shall disclose  
to be, thus defective. Products considered  
defective shall be returned to company with  
transportation charges pre-paid returned within 2  
years (90 days for cables) from date of shipment  
to the purchaser. The warranty is expressly  
instead of all other warranties expressed or  
implied. Altinex neither assumes nor authorizes  
any other person to assume for it any other liability  
in connection with the sale of the products. This  
warranty shall not apply to any product that shall  
have been repaired or altered outside of  
company’s factory in any way so as, in its  
judgment, to affect its stability or reliability, or that  
has been subject to misuse, negligence or  
accident.  
5.3 CONTACT INFORMATION  
Sales Department  
Phone:  
Fax:  
714-990-2300  
714-990-3303  
Accounting Department  
Phone:  
Fax:  
714-990-6088  
5.2 RETURN POLICY  
It is very important that you receive products that  
you have ordered and that this product fulfills your  
need. In the unlikely event that an Altinex product  
needs to be returned please follow the policies  
below:  
Altinex will accept product returns for a period of  
30 days from authorized Altinex dealers. Products  
must be returned in an unopened package.  
If a product has been opened, the restocking fees  
will apply. For the restocking fee amount, please  
contact an Altinex Sales Representative.  
If the product is in your possession for more than  
30 days, the restocking fees will apply.  
Altinex will not accept any returns on cables or  
custom products.  
If your product is in warranty and needs service,  
contact the Altinex Sales Department for an RMA  
(Return Material Authorization). Products returned  
without an RMA number may experience a delay  
in service.  
15  
Download from Www.Somanuals.com. All Manuals Search And Download.  

3Comr TCM 465V 459V 36 User Manual
AEG Freezer C 7 18 41 I User Manual
Aigo MP3 Player A208 User Manual
Aiphone Intercom System 2 MK 1MD A User Manual
American DJ Indoor Furnishings Multi Star User Manual
Asus Computer Hardware 90MB0FU0M0AAY0 User Manual
Audiovox Car Stereo System ACD 27 User Manual
Axis Communications Security Camera Q604 User Manual
Bacharach Carbon Monoxide Alarm 3015 4256 User Manual
Behringer DJ Equipment Synthisizer User Manual