bilingual

Usages for PnPSA

Usage Page: Not yet assigned.

Usages are non-contiguous assigned in a way that rarely-used usages occupy 16-bit (0x0100 upto 0xFFFF) whereas basic usages are 8-bit only (0x00 upto 0xFF). This helps for short HID report descriptors.

Table

Usage ID (hex.)Usage NameUsage TypeSection
00unassigned
Top-level collections
01PnP SensorCA
02PnP ActorCA
03PnP Sensor+Actor (with builtin, configurable or at least describeable fast control path)CA
04Interface emulationCA
05TMC (or other classes like Imaging or Audio) supplemental description dataCA
Typical laboratory equipment
21MultimeterCL
22OscilloscopeCL
23Power SourceCL
24Function GeneratorCL
25Network AnalyzerCL
26Logic AnalyzerCL
27Bus AnalyzerCL
28Power AnalyzerCL
29Chemical AnalyzerCL
2AAmateur radioCL
2BProgrammable chip (microcontroller)CL
2CSerial PortCL
2DParallel PortCL
30Home appliance, Presentation room controlsCL
31Stage illumination, Discothek equipmentCL
32AutomotiveCL
Simple equipment
41Single sensorCL
42Multi-channel DAQ systemCL
43Triggerable DAQ systemCL
Measurement values, electrical
61Simple ADCDVNo unit
62Voltage in VDV
63Current in ADV
64Resistance in ΩDV
65Conduction in SDV
66Capacitance in FDV
67Inductance in HDV
68hFEDV
69Continuity in V or ΩDV
6APhase angle in °DV
6BLoss factor in %DV
6CQuality factor in %DV
6EFrequency in HzDV
6FPeriod in sDV
70Duty Cycle in %DV
71BFO frequency in HzDV
72Power in WDV
73Work in WsDV
74cosφDV
75Apparent power in VADV
76Blindleistung in varDV
77VerzerrungsblindleistungenDV?
Measurement values, mechanical
E1Force in NDV
E2Momentum in mNDV
E3Pressure in PaDV
E4Volume flow in m³/sDV
E5Mass flow in kg/sDV
E6Mass in kgDV
E7Temperature in KDV
E8Time in sDV
E9World TimeDV
EAHumidity in %DV
Modifiers & attributes
80Direct sample valueC0,DF
81DC, mean Value (should be used for integrating ADC)C0,DF
82AC (DC is removed by a capacitor, time constant τ s)CV,DF
83AC+DCC0,DF
84rectified mean valueC0,DF
85+peak valueC0,DF
86-peak valueC0,DF
87mean of rectified peak valuesC0,DF
88peak-peak valueC0,DF
89Sine shapeC0,DF
8ATriangular shapeC0,DF
8BRectangular shapeC0,DF
8CNoiseC0,DF
8DArbitrary waveformC0,DF
8ELower Side Band
8FUpper Side Band
90time constant τ in s for the sensor channelCV
91Measurement rate?
92USB frame clock?
93External physical clock?
94Internal fixed clock?
95Radio clock?
96Mains supply clock (50 or 60 Hz)
97Has physical clock output
98Clock is allowed to be unstableUM
99Supports software clock (client)UM
9ASupports software clock (server)UM
9BPossible sample ratesCV
9CPossible measurement ratesCV
A0Sum of phasesUM
A1Mean of phasesUM
A2Phase L1 (electrical), X (force), A (momentum)UM
A3Phase L2 (electrical), Y (force), B (momentum)UM
A4Phase L3 (electrical), Z (force), C (momentum)UM
A5liquidUM
A6gasUM
A7gas, normalizedUM
A8plasmaUM
A9differential value between two probesUM,DF
AAdifference to a previously set zero valueUM,DF
ABSupports software trigger (client)UM
ACSupports software trigger (server)UM
ADFlashUM
AERAMUM
AFXRAMUM
B0ROMUM
B1EEPROMUM
B2Boot AreaUM
B3Fuses and lock bitsUM
B4von-Neumann address spaceUM
??Size ofCV
??Page Size ofCV
B5Baud rateDV
B6Data bitsDV
B7Stop bitsDV
B8ParityDV
B9RTS/CTS flowDF,DV,Nary,CF,CV
BADSR/DTR flowDF,DV,Nary,CF,CV
BBXON/XOFF flowDF,Nary,CF
180RS-232CL,Nary
181RS-422CL,Nary
182RS-485CL,Nary
183ProfibusCL,Nary
184OneWireCL,Nary
185I²CCL,Nary
186SPICL,Nary
187AppleTalkCL,Nary
188IEEE488 serial bus (C64)CL,Nary
189DMX (mostly: light control)CL,Nary
1A8Half stop bitsDF,DV
1ADBinary modeDF
1AEFor sending onlyUM
1AFFor receiving onlyUM
1B0No parityNary
1B1Odd parityNary
1B2Even parityNary
1B4Parity bit = 0 (mark parity)Nary
1B5Parity bit = 1 (space parity)Nary
1B3Toggling parity bitNary
1B61 stop bitNary
1B71½ stop bitsNary
1B82 stop bitsNary
1BAXON charDV,CV
1BBXOFF charDV,CV
1BCError charDV,CV
1BDEof charDV,CV
1BEEvent charDV,CV
1C0XON limDV,CV
1C1XOFF limDV,CV
1C2Maximum BaudrateCV
1C3TXContinueOnXoffDF,CF
1C4SynchronousDF,CF
1C5MSB firstDF,CF
1C6Null discardDF,CF
1C7Abort on errorDF,CF
1C8Baudrate divider capabilitiesCV
1CFMicrocode for serial port operationBufB
100Data portDV
101Status portDV
102Control portDV
103EPP address portDV
104EPP data portDV
105Wait 4µsDV
106Read portDV
107Microcode for parallel port operationBufB
108ECP FIFO port or Configuration register “A”DV,CV
109Configuration register “B”CV,DV
10AECR portDV,CV
10CData direction registerCV,DV
10DStatus direction registerCV,DV
10EControl direction registerCV,DV
10FOther featuresDV
Other collections
C1Same sample rateC?
C2Rational sample rateC?
C3Chain of conditioners (measurement processing)C?
C4Feature output value and measured value (Soll- und Istwert)CL
C5Values with associated time stampCL
Features
F1Channel on/offOOC
F2Set ZeroOOC
F3Release ZeroOOC
F4Start auto-calibrationOOC
F5Continuous samplingOOC
F6Triggered samplingOOC
F7Trigger valueDV
F8Trigger typeDV
F9Byte AddressDV
FALength, in bytesDV
F8Section size, in bytesDV
F9Data bytes
FAreceivingOOC
FBon airOOC
Auxiliary
220Resolution controlOOC,DV
221No OTP reloadOOC
222HeaterOOC,DV
223Device self-testOOC
226Low battery warningOOC,DV

Extra data types

A 16-bit covering aggregate data type consisting of a 12-bit signed mantissa and a 4-bit signed exponent of base 10. Needed for: The exponent resides in the four most-significant bits. The mantissa is large enough to hold the reading of wide-spread 3½ digit digital multimeters (–1999 upto +1999). Examples: Alternatively: Half precision floating-point format

Extension to the HID standard (proposal and possible workarounds)

Main items

New main items: Changed meaning of existing main items:

Global items

Current implementation situation

Local items

All local items may influence Collections items (not only Usage). All editable descriptors should be reset-able to factory defaults. PROBLEM: String descriptors are device-global, cacheable things per USB definition.

Current implementation situation

unknown

Long item format

The HID standard imposes item format with more than 4 bytes data, but that's currently not used.

Current implementation situation

Other extensions

The HID standard is obviously Tree oriented. Trees have the most versatile (universal) data representation. However, the HID builtin data representation has direct impact to presentation software appearance, so the OSI layer 7.

Sometimes, Graphs are more useful. Graphs can be represented by trees with links.

Moreover, Tables (at least two-dimensional) are needed. There is no efficient tree representation for tables, therefore, an extra collection type seems to be useful, and changed processing for the items herein are necessary. Sparse tables (with some or mire empty fields) should be supported.

More descriptors

There are I need more

Bridge technologies

Because PnPSA heavily resides onto USB and HID, which does not ease migrating existing devices with software-only, a software layer similar to USB and HID is to be defined. These bridges should have:

PnPSA over TCP

This bridge is intended for: This is an upside bridge. Converting USB (device) to TCP (host) is not intended.

This bridge has the following capabilities:

PnPSA over serial line

This bridge is intended for: This is merely an upside bridge. Converting USB (device) to serial (host) is not intended. One application for a downside bridge is converting TCP (device) to serial (host) especially as a driver running on remote computers.

This bridge has the following capabilities:

Other bridges

Whereas the two bridges above are to be defined by this standard, other bridges are easy to implement using a driver, mostly with TCP at the upper end. This way, other sensors or sensor buses are adoptable to PnPSA.

While drivers for TCP and Serial Line has to be written by the Standard maker, other drivers are intended to be vendor specific.