CONTROLLERS
bThis 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.
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]
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.
Once issued it is stored in the
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.
nThe baud rate number. This number ranges from 1 to 7 and sets the baud rate for RS- 232 communication.
n | Baud rate |
1300
2600
31200
42400
54800
69600
7Custom baud rate
[RSTF]
Reset the CP7317RS to the factory settings.
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
The factory preset of the CP7317RS is that all pins in the I/O 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 only acceptable values are 1, 2, 3 or 4. Do not use any other value for port number.
bBit number. This bit number corresponds to the pin number on the
Bit No. | Connector pins No. |
1 | 1 |
2 | 6 |
3 | 2 |
4 | 7 |
5 | 3 |
6 | 8 |
7 | 4 |
8 | 9 |
7