HID Device (Gen1)
6 min
review the following information for setting up and configuring the hid device (gen1) driver introduction human interface devices (hid) can be polled for data an hid is a usb connected peripheral device such as a scanner (generally for barcodes or qr codes) belden horizon data operations compatible series compatibility parameter compatible items driver type serial validated devices/series human interface devices examples include scanners used for barcodes and qr codes to set up and configure this device in belden horizon data operations, you will need to do the following step 1 set up and configure the plc device step 2 set up the plc device in belden horizon data operations devicehub step 3 configure the list of registers step 1 set up and configure the plc device record the serial communication parameters for the device otherwise, use plc software on your computer to look up these parameters these parameters will be used for setting up the driver in the next step step 2 set up the plc device in belden horizon data operations devicehub configure the following parameters when you docid\ t cwpe0 jsfw5 aoj8wpp with this driver update default values to the specific setup of your device parameter value type hid devices driver hid device (gen1) communication port local serial connection file path step 3 configure the list of registers in the context of belden horizon data operations, the following characteristics are relevant for this serial device the hid remains disconnected because hids send data only when there is data to send only one tag is required in order to read the data only one register name and data type are available to select use this one name and data type to connect to the hid device the tag supports only ascii characters by default, the polling interval is set to "1 " the default value cannot be changed in belden horizon data operations the actual interval is defined by the device's publishing rate data can be collected onto flows when it is scanned refer to the following tag parameters tag parameters name select r value type select raw polling interval enter a value in seconds tag name enter a name description (optional) enter a description for the tag tag formula enter a formula for the tag to process the generated data two variables are permitted value (current tag value) and timestamp (current tag unix time in milliseconds) the following math functions are available sin cos sqrt tan power log exp only publish on change of value select the checkbox to customize nats messages to be published only when the value parameter changes from a previous value to a new one change of value only applies to boolean, numeric (such as int or float), and simple string data types it does not apply to complex types, such as json or array poll once topics will not be affected by change of value settings these topics will still only see a single message meta data metadata summarizes basic information about data this feature allows you to define key value pair data for the device output payload later on it can then be used to find, use, and reuse particular instances of data