background image

 

 
STATUS REPORT 
 
A status report is an 8 byte report received by the host on the Input interrupt endpoint 
whenever the device changes state. When the host requests an interrupt packet and no 
status change report is pending, the unit will respond with a NAK reply. A status report 
can be made pending by the host by using the operational command RequestStatus. 
 
Status report: 
 

byte  open; 

 

byte  alarm; 

 

byte  padding[6]; 

 
The open parameter will have a value of 1 or 0. A 1 indicates that the relay is powered 
open. 
 
The alarm parameter is reserved for future development. 
 
 
OPERATIONAL COMMANDS 
 
Operation Command report: 
 

byte  cmnd; 

 

byte  data[7]; 

 
OpenRelay 
cmnd = 0x01 
parameters: 
 

none 

 
The relay is activated and the duration timer started. 
 
CloseRelay 
cmnd = 0x02 
parameters: 

none 
 

The relay is de-activated and the duration timer dismissed. 
 
OpenRelayDuration 
cmnd = 0x03 
parameters: 
 

byte  padding; 

 

32bit  duration; 

 

 

// in 1/20 second increments 

 
The relay is activated and the duration timer started. However, the configured duration 
is overridden with the supplied duration. This command is useful to open the relay 
“indefinitely” by setting the duration parameter to a large value. 
 

Содержание 1543

Страница 1: ...1 RINGDALE USB UNIVERSAL SERIAL BUS HID RELAY CONTROLLER 1543 TECHNICAL REFERENCE MANUAL Rev 1 0 April 2006 Copyright 2006 Ringdale Inc Printed in the United States of America ...

Страница 2: ...mitted in any form or by any means electronic or mechanical for any purpose without the express written permission of Ringdale Inc Ringdale is a registered trademark of Ringdale Inc USB Universal Serial Bus Specification is Copyright 1998 by Compaq Computer Corporation Intel Corporation Microsoft Corporation NEC Corporation ...

Страница 3: ...e specifications can be downloaded free from www usb org This is a full speed USB device This device has a number of programmable configuration properties These properties are stored in non volatile EEPROM memory These properties can be configured at the factory or by the end user More details about these properties can be found later in this document in the command section The device does not sup...

Страница 4: ...iptorType Interface 04 bInterfaceNumber 00 bAlternateSetting 00 bNumberEndpoints 02 bInterfaceClass 03 bInterfaceSubClass 00 bInterfaceProtocol 00 iInterface 00 bLength 09 bDescriptorType HID 21 HID Class Spec release 1 11 0111 Target Country 00 No of HID Class Descriptors 01 Report Descriptor Type 22 wDescriptorLength 21 bLength 07 bDescriptorType Endpoint 05 bEndpoiuntAddress 81 bmAttributes Int...

Страница 5: ...es for mice and keyboards can be found in the HID Usage Tables document and can be downloaded free at www usb org Vendor defined usages must have a usage page in the range 0xff00 0xffff All usages for this device use vendor defined relay controller usage page 0xff00 The usage IDs for this device are defined in the following table The usage types are also listed These usage types are defined in the...

Страница 6: ...e reserved1 write 0 byte configbits byte reserved2 write 0 32bit duration in 1 20 sec increments configbits bit 7 Dev2 0 No SPP 1 SPP side pressure pulsing 6 Dev1 0 No SPP 1 SPP side pressure pulsing 5 Dev1 0 Pulsed 1 Standard 4 Dev1 0 PTO Fail Closed 1 PTC Fail Open 3 Dev2 0 Bolt 1 Strike 2 Dev1 0 Bolt 1 Strike 1 Dev2 0 PTO Fail Closed 1 PTC Fail Open 0 Dev2 0 Pulsed 1 Standard The configbits par...

Страница 7: ...s that the relay is powered open The alarm parameter is reserved for future development OPERATIONAL COMMANDS Operation Command report byte cmnd byte data 7 OpenRelay cmnd 0x01 parameters none The relay is activated and the duration timer started CloseRelay cmnd 0x02 parameters none The relay is de activated and the duration timer dismissed OpenRelayDuration cmnd 0x03 parameters byte padding 32bit ...

Страница 8: ...8 RequestStatus cmnd 0x04 parameters none The device will respond to the next In interrupt pipe request with a status report ...

Отзывы: