Altinex CP7317RS manual Input/Output Port Pin Configuration, SETPDp,b1b6b2b7b3b8b4b9, SETPRp,b,n

Models: CP7317RS

1 16
Download 16 pages 39.35 Kb
Page 9
Image 9
FIGURE 6: Input/Output Port Pin

CONTROLLERS

FIGURE 6: Input/Output Port Pin

Configuration

nThis letter designates the status of the pin as either high or low during “Power up” of the unit.

when n = 1 the pin is set as high when n = 0 the pin is set as low

Example: Set pin 1 of port 3 as low during POWER ON. [SETPD3,1,0]

[SETPDp,b1b6b2b7b3b8b4b9]

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”.

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”.

pThis 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.

bThis 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

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]

[SETPRp,b,n]

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

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”.

The factory preset of the CP7317RS is that all relays are set to open.

pThis 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.

bThis 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.

FIGURE 7

8

Page 9
Image 9
Altinex CP7317RS manual Input/Output Port Pin Configuration, SETPDp,b1b6b2b7b3b8b4b9, SETPRp,b,n, Controllers