|
|
|||||||
|
About Us | Shipping | View Cart | Your Account | Help | ||||||
|
|
19-Jun-2013 | ||||||
|
|
|||||||
|
|
|||||||
|
|
|
|
QualityKits Part #: QK108U QK108U: Dual QK108 Upgrade
This kit is an upgrade to allow 2 x QK108(A) kits to be connected together to provide 16 relay outputs and 6 opto-isolated inputs. Kit QK108 has proved to be very popular. With 8 relay outputs and 4 opto-isolated inputs it can be used in a variety of applications in industry and around the home. However, a number of users wanted more inputs and outputs. They wanted to know if it was possible to hook up two QK108 kits to the one serial port. This was not possible for two reasons: 1. RS232 serial ports are only designed to have one device at a time connected to them. While it is possible for the PC to send data to multiple kits it is not possible for those kits to send data back. In the first case you would have one output driving many inputs OK. In the second case you would have multiple outputs connected together trying to drive a single input not possible. 2. Even if the above was possible, how would each kit know that the command it received was intended for it and not the other kit? Each kit would need a unique address and there was no way to do this without redesigning the whole kit. To overcome these problems the two kits are connected together via a data link in a master/slave setup. Only one kit is connected to the PC this becomes the master. Input 4 of each kit is used for the data link, which means each kit now has only 3 opto-isolated inputs instead of 4. The master kit contains relays 1 to 8 and inputs 1 to 3. The slave kit contains relays 9 to 16 and inputs 4 to 6. When the master receives a relay or input number that belongs to the slave kit it simply sends the command on to the slave kit for processing.
The # character is output as a prompt to indicate the kit is waiting for a command. Each character received is echoed back. On completion of each command, good or bad, a carriage return/line feed combination is output followed by the # prompt. If the command or parameter is invalid, the command is ignored and a ? is output before the next # prompt. Note: " Commands are not processed until the carriage return character is received. " Commands can be in upper or lower case. " Relays are numbered 01 to 16. Relay number 00 (zero) indicates ALL relays. " Inputs are numbered 1 to 6. Input number 0 (zero) indicates ALL inputs. Where a hex byte or word is used, each bit represents its corresponding relay or input. Bit 0 indicates relay or input 1, bit 1 indicates relay or input 2, etc. If the data link between kits is broken (or the slave kit not working) an following error message will be returned. Timeout error: Check connection to other kit This will only happen with commands that return the status of a relay or input in the slave unit ie. S00, S09-16 or I0, I4-6.
A 0 (zero) is returned if the relay is released, 1 if operated. The command S00 returns the status of ALL relays. A 16-bit hex word is returned. Each bit within the word indicates the status of the corresponding relay.
Price: Special: 10-49 items at $26.96 each
|
|
|
|
||||||||||||||||||||
| About Us | View Cart | Your Account | Help |
|
|
|
|
|
|
19-Jun-2013 | ||||||
|
|
|||||||
|
|
|||||||
|
Privacy Policy |
QKits Limited - 620 Cataraqui Woods Dr. Unit # 2, Kingston, ON K7P 1T8 - Canada Toll Free Order Line: 1-888-464-5487 (no technical help at this number) or EMail: sales@qkits.com Technical Support: (613) 544-6333 - EMail: tech@qkits.com - Fax: (613) 544-4944 |
Terms of Use |
|