Altinex CP7317RS manual SETDp, b1b6b2b7b3b8b4b9, SETRp,b,n, SETRp,b1b2b3b4b5b6b7b8, Rset, READDp,b

Models: CP7317RS

1 16
Download 16 pages 39.35 Kb
Page 11
Image 11
[SETDp, b1b6b2b7b3b8b4b9]

CONTROLLERS

Bit No.

Connector Pin No.

7

4

8

9

nData that defines the status of the pin n=1 or n=0.

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

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

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

[SETRp,b,n]

SET each relay on the particular port of the unit. This command defines if relay will be open or closed.

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

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

n=

Data that defines the status of the

 

relay.

n=1 relay is open or n=0 relay is closed.

[SETRp,b1b2b3b4b5b6b7b8]

SET all relays on the particular port of the unit. This command defines if port relays will be high or low.

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

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

[RSET]

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.

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

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

Bit No.

Connector pin No.

1

1

2

6

3

2

4

7

5

3

6

8

7

4

8

9

10

Page 11
Image 11
Altinex CP7317RS manual SETDp, b1b6b2b7b3b8b4b9, SETRp,b,n, SETRp,b1b2b3b4b5b6b7b8, Rset, READDp,b, Controllers