EAO - Your Expert Partner for Human Machine Interfaces EAO Configurable HMI Panel Installation Guide and User Manual Configurable HMI Panel Installation Guide and User Manual Product Name EAO Configurable HMI Panel Revision / Date V1.00 November 1, 2010 Record of Revisions Revision V1.00 Description First release Date 11-1-10 Changed by D. DiGioia Abbreviations DIP DMC HID ID PCB RS232 USB U-ID U-Name Dual Inline Package DMC Co. LTD (touch screen/controller manufacturer) Human Interface Device Identification Printed Circuit Board Recommended Standard 232 Universal Serial Bus Usage ID Usage Name Contact Information EAO Switch 98 Washington Street Milford, CT 06460 Product Information and Documents: www.eao.com For technical product support, please send an e-Mail to: sales@eaoswitch.com. Page 1 / 16 Configurable HMI Panel Installation Guide and User Manual Table of Content Record of Revisions .................................................................................................................1 Abbreviations............................................................................................................................1 Table of Content.......................................................................................................................2 List of Tables ............................................................................................................................2 List of Figures...........................................................................................................................2 Overview of variants.................................................................................................................3 Keyboard Design ..................................................................................................................4 Keyboard Interface ...................................................................................................................7 USB Interface .......................................................................................................................7 Serial Interface....................................................................................................................10 Port settings ....................................................................................................................10 RS232 protocol ...............................................................................................................10 Keyboard Interface settings ................................................................................................12 Key codes ..........................................................................................................................13 Touch Screen Interface ..........................................................................................................15 Driver Installation ................................................................................................................15 Calibration and General Touch Screen settings .................................................................15 Touch Screen Interface settings .........................................................................................15 List of Tables Table 1 - Keyboard Design.......................................................................................................5 Table 2 - LED assignment........................................................................................................9 Table 3 - RS232 frame commands ........................................................................................10 Table 4 - Data frames serial communication..........................................................................11 Table 5 - Keyboard settings ...................................................................................................12 Table 6 - Key assignment for C-HMI ......................................................................................14 List of Figures Figure 1 - Keyboard Interface.................................................................................................12 Figure 2 - Key Assignment ....................................................................................................13 Figure 3 - Saving Calibration Data .........................................................................................15 Figure 4 - Interface Settings : Touch Controller .....................................................................16 Page 2 / 16 Configurable HMI Panel Installation Guide and User Manual Overview of variants EAO offers 4 variations of the C-HMI Panel: EUS-C-HMI-06-AGL-EK8 - 5.7" window, acrylic glass lens, no display, E-Stop, keylock, 8 discrete pushbuttons EUS-C-HMI-06-AGLD-EK8 - 5.7" window, acrylic glass lens, with display, E-Stop, keylock, 8 discrete pushbuttons EUS-C-HMI-06-RTS-EK8 - 5.7" window, acrylic glass lens, resistive touch screen, no display, E-Stop, keylock, 8 discrete pushbuttons EUS-C-HMI-06-RTSD-EK8 - 5.7" window, acrylic glass lens, resistive touch screen, with display, E-Stop, keylock, 8 discrete pushbuttons The approved Sharp display for the C-HMI Panel is: LQ057Q3DC12 QVGA/320*240, CCFT backlight EAO # Touch screen Keyboard Interface1 EUS-C-HMI-06-AGL-EK8 - USB / RS232 EUS-C-HMI-06-AGLD-EK8 - USB / RS232 EUS-C-HMI-06-RTS-EK8 5.7" USB / RS232 USB / RS232 EUS-C-HMI-06-RTSD-EK8 5.7" USB / RS232 USB / RS232 Table 1: Product Variation Interfaces 1 2 The keyboard interface is set up via a DIP switch (see section "Keyboard Interface settings") The touch screen interface is set up via jumpers (see section "Touch Screen Interface settings") Page 3 / 16 Touch screen Interface2 Configurable HMI Panel Installation Guide and User Manual Specifications Front Panel Overall Size: 14" x 7"/355.6 mm x 177.8 mm Material: Polyester PVS-G on Aluminum Printing: 2 colors, printed on the reverse Embossing: All keys embossed EasyLabel: Several EasyLabel slide-in pockets for individual labeling of keys Display Window Visible Size: 4.65" x 3.52"/118.2 mm x 89.4 mm Material: Acrylic glass S000 Thickness: 0.08"/2.0 mm Coating: Non-reflexing, A1 Keys Number: 43 keys Operations: 1 million operations/key Pressure/key: 3 N per key on contact spring Material: Gold on silver polymer Resistive Touchscreen (optional) Size: 5.7" Type: DMC AST 057, resistive Connector: USB Controller: Integrated Electrical Specifications Voltage: 5V Connector: USB (cable included) EMC shielding: None LED's: 10 LED's, yellow User specified for auxiliary discrete pushbuttons and indicators Mechanical Specifications Material: Aluminum Thickness: 0.12"/3.0 mm Surface: Natural anodized Mounting: 6 stud bolts FH-832-10 (UNC thread) Emergency Stop Switch Actuator: Maintained with twist-to-release Contact: 1NO/1NC SM contact, solder/plug-in terminals Max rating: 3A/250VAC Front protection: IP 65 as per EN IEC 60529 This device complies with: EN IEC 60947-5-1, EN IEC 60947-5-5, and ISO 13850 Keylock Actuator: Flush mount 2 position maintained, Key: Removable in "A" position Contact: 1NO/1NC SA contact, solder/plug-in terminals Max rating: 5A/250VAC Front protection: IP 65 Mechanical life: 50,000 cycles of operations Illuminated Pushbuttons Actuator: Flush momentary action Contact: 1NO, Max rating: 100mA/42V Front protection: IP 65 Mechanical lifetime: > 1 million cycles of operations Animation sequence: Customer defined; illumination created by 8 SMT LEDs Page 4 / 16 Configurable HMI Panel Installation Guide and User Manual Keyboard Design Table 1 - Keyboard Design (see page 12 for key code output table and reference drawing) Page 5 / 16 Configurable HMI Panel Installation Guide and User Manual Page 6 / 16 Configurable HMI Panel Installation Guide and User Manual Keyboard Interface Both variants (with and without touch screen) of each series use the same key codes. If USB is selected as keyboard interface the keyboard sends standard HID codes according to the corresponding table of each series. If serial communication is selected the same hex-values are sent for the single keys. For serial communication a special protocol is defined (see section "Serial Interface"). USB Interface The keyboard is a standard HID device and is configured with two interfaces (keyboard and LED). Configuration descriptor: Keyboard interface descriptor: Page 7 / 16 Configurable HMI Panel Installation Guide and User Manual Keyboard report descriptor: Keyboard input report: (Num Lock, Caps Lock. Scroll Lock LED's are not used) Page 8 / 16 Configurable HMI Panel Installation Guide and User Manual LED interface descriptor: LED report descriptor: The LED report consists of two bytes. The single LED's of the keyboard can be controlled using the assignment of Table 3. Setting a bit to "1" turns the corresponding LED on. Otherwise setting a bit to "0" turns the LED off. LEDByte1 LEDByte2 Bit7 H8 H16 Bit6 H7 H15 Bit5 H6 H14 Bit4 H5 H13 Bit3 H4 H12 Bit2 H3 H11 Bit1 H2 H10 Bit0 H1 H9 Table 2 - LED assignment The LED positions on the individual keyboard can be found in the figures of the corresponding key code sections. Page 9 / 16 Configurable HMI Panel Installation Guide and User Manual Serial Interface Port settings To communicate via serial interface, the following settings must be used for the Host COM port: 38.400 bytes/s 8 data bytes 1 stop bit no parity RS232 protocol For the implementation of a serial connection between the host and keyboard, the information of the keyboard protocol is necessary. First, an overview of commands is given. Subsequently, the structure of the data frames and control sequences is defined. Command definitions Command START_HOST START_CONTROLLER END_IDENTIFIER ACK ERROR CODE_UNKNOWN CODE_LEDi CODE_LEDo Dec 170 171 204 240 242 243 176 177 Hex AA AB CC F0 F2 F3 B0 B1 Description Start of frame (from Host) Start of frame (from C) End of frame (both Host+C) Acknowledgement Error in data frame Unknown command Set LED status Get LED Status Table 3 - RS232 frame commands Data frame definition Within the host/keyboard protocol the following data frames are defined (see Table 4). The assignment of the LED's is the same as for the USB protocol and can be found in Table 2. The key codes (hex values) are also the same as the Usage ID"s for the HID keyboard report Page 10 / 16 Configurable HMI Panel Installation Guide and User Manual Byte sequence set LED status Host request START_HOST Keyboard response START_CONTROLLER CODE_LEDi CODE_LEDi LEDByte1 LEDByte1 LEDByte2 LEDByte2 END IDENTIFIER END IDENTIFIER Byte sequence get LED status Host request START_HOST Keyboard response START_CONTROLLER CODE_LEDo CODE_LEDo END IDENTIFIER LEDByte1 LEDByte2 END IDENTIFIER Messages of keyboard controller Error in frame START_CONTROLLER ERROR mirror received bytes Unknown command START_CONTROLLER CODE UNKNOWN mirror command END IDENTIFIER END IDENTIFIER Modifier Byte Key code byte1 Key code byte2 Data frame keyboard Byte sequence key codes START_CONTROLLER Table 4 - Data frames serial communication Page 11 / 16 Key code byte3 END IDENTIFIER Configurable HMI Panel Installation Guide and User Manual Keyboard Interface settings3 For the keyboard interface, different settings are available. Settings can be changed via the DIP switch (see Figure 1). To change settings, disconnect the keyboard from the host and set the switches according to table 6. Reconnect the key board to the host for the new settings to take effect. Figure 1 - Keyboard interface PLEASE NOTE: The figure shows the PCB of the keyboards with an integrated touch screen. The PCB of the keyboards without a touch screen is the same but not all SMD components shown in the figure are mounted! By default all switches are off. ON OFF DIP switch No. 1 2 3 4 ON RS232 communication Standard key assignment with 2nd layer activated - Table 5 - Keyboard settings 3 These settings are available for all OPAL keyboards Page 12 / 16 OFF USB communication (default) Standard key assignment (default) - Configurable HMI Panel Installation Guide and User Manual Key codes for C-HMI Figure 2 - Key codes for C-HMI (see page 5 for panel dimensions) Page 13 / 16 Configurable HMI Panel Installation Guide and User Manual Key Position S1 S2 S3 S4 S5 S9 S10 S11 S12 S13 S14 S21 S22 S23 S24 S25 S26 S27 S28 S29 S36 S37 S38 S39 S40 S44 S45 S46 S47 S48 S52 S53 S54 S55 Usage ID (dec/hex) 4 5 6 7 8 58 59 60 61 62 63 41 40 81 79 9 10 11 12 13 36 33 30 39 80 37 34 31 55 82 38 35 32 54 04 05 06 07 08 3A 3B 3C 3D 3E 3F 29 28 51 4F 09 0A 0B 0C 0D 24 21 1E 27 50 25 22 1F 37 52 25 23 20 36 Usage Name Modifier Byte Key Label Keyboard a and A Keyboard b and B Keyboard c and C Keyboard d and D Keyboard e and E Keyboard F1 Keyboard F2 Keyboard F3 Keyboard F4 Keyboard F5 Keyboard F6 Keyboard Escape Keyboard Return (ENTER) Keyboard Down Arrow Keyboard Right Arrow Keyboard f and F Keyboard g and G Keyboard h and H Keyboard i and I Keyboard j and J Keyboard 7 and & Keyboard 4 and $ Keyboard 1 and ! Keyboard 0 and ) Keyboard Left Arrow Keyboard 8 and * Keyboard 5 and % Keyboard 2 and @ Keyboard . and > Keyboard Up Arrow Keyboard 9 and ( Keyboard 6 and ^ Keyboard 3 and # Keyboard , and < 0x02 0x02 0x02 0x02 0x02 S1 (+ Module) S2 (+ Module) S3 (+ Module) S4 (+ Module) S5 (+ Module) F1 F2 F3 F4 F5 F6 Esc Enter Table 6 - Key assignment for C-HMI Page 14 / 16 0x02 0x02 0x02 0x02 0x02 S6 (+ Module) S7 (+ Module) S8 (+ Module) S9 (+ Module) S10 (+ Module) 7 (abc) 4 (jkl) 1 (stu) 0 (_) 8 (def) 5 (mno) 2 (vwx) . 9 (ghi) 6 (pqr) 3 (yz) , Configurable HMI Panel Installation Guide and User Manual Touch Screen Interface4 To operate the touch screen, the analog resistive touch screen controller TSC-30/IC from DMC is used. Driver Installation Before the touch screen can be used the TSC-10/DD driver from DMC must be installed onto the system. The actual driver can be downloaded from the download section of the DMC website (http://www.dmccoltd.com/english/). Please follow the instructions of the installation manual of DMC. Upon successful installation, the driver can be found in the Windows device manager ("Mice and other pointing devices") after plugging the EAO keyboard to the Host (via USB). Calibration and general Touch Screen settings To calibrate the touch screen, the UPDD console (installed during driver installation) from DMC can be used. Please refer to the DMC documentation for calibration and setting details. The EAO keyboard can save the calibration data. In order to do so (and before calibrating the touch screen), the appropriate check box must be activated. Figure 3 - Saving the calibration data Touch Screen Interface settings For the touch screen interface, two settings (USB/RS232 communication) are available. Settings can be changed via the jumpers on the right side of the PCB (see Figure 4). To change settings, disconnect the keyboard from the Host and set the jumper as desired. Reconnect the keyboard to the host for new settings to take effect. 4 Remember to connect the keyboard to the host with the appropriate cable according to the chosen interface! It is important to change all jumpers according to the desired setting. Otherwise the keyboard will not operate. These settings are only available for OPAL keyboards with integrated touch screen. Page 15 / 16 Configurable HMI Panel Installation Guide and User Manual Figure 4 - Interface settings touch controller By default, the USB interface is activated (see jumper position of Figure 4). To activate the RS232 interface, change the position of all jumpers so that the middle and the lower pin of every connector in the blue box are bypassed. Page 16 / 16