background image

30

Serial/Ethernet/USB Communication (SCOM) Interface

IND100084-18

SCOM Section: Service

Commands to review Service related information available for the unit.

"SWI" - Main Software Version Query

This query is sent to the unit in order to get the microcontroller software version ID. Length of DATA must be zero. 

The DATA field will be an ASCII text string indicating the software version. The Maximum length of DATA is 13 bytes. 

Example:

Get Software Version: 

0x07 

0xFF 

0x53 

0x57 

0x49 

0x00 

0x06 

Reply from unit:

0x06

0xFF 

0x53

0x57 

0x49

0x0D

0x07

0x46

0x57

0x31

0x30

0x30

0x30

0x30

0x32

0x2D

0x30

0x41

0x30

0x31

0x40

0x??

  = Where 

??

 are HEX value (ASCII chars A-Z, 0-9 + symbols).

"SWV" - Video Scaler Software Version Query

This query is sent to video scaler in order to get the firmware version ID. Length of DATA must be zero. The DATA 

field will be an ASCII text string indicating the software version. The Maximum length of DATA is 13 bytes. 

The SWV command will be forwarded to the video scaler. The microcontroller does not need to process this data 

other than forwarding request and reply.

Example:

Get Software Version: 

0x07 

0xFF 

0x53 

0x57 

0x49 

0x00 

0x06 

Reply from unit:

0x06

0xFF 

0x53

0x57 

0x49

0x0D

0x07

0x46

0x57

0x32

0x30

0x30

0x30

0x30

0x31

0x2D

0x30

0x41

0x30

0x31

0x40

0x??

  = Where 

??

 are HEX value (ASCII chars A-Z, 0-9 + symbols).

Summary of Contents for HATTELAND TECHNOLOGY X MMD G2 Series

Page 1: ...Display MMD HD 15T22 MMD xxx xxxx HD 17T22 MMD xxx xxxx HD 19T22 MMD xxx xxxx HD 24T22 MMD xxx xxxx HD 26T22 MMD xxx xxxx HD 27T22 MMD xxx xxxx Serial Ethernet USB Communication Control Interface SCO...

Page 2: ...righted to the respective owners The products may not be copied or duplicated in any way This documentation contains proprietary information that is not to be disclosed to persons outside the user s c...

Page 3: ...Data Length LEN 13 Inverse Header Checksum IHCHK 13 Data Field DATA 13 Inverse Data Checksum IDCHK 13 SCOM Section Brightness 14 BRI Minimum Backlight Brightness 15 BRM Maximum Backlight Brightness 16...

Page 4: ...ownload package 37 DL Request Number of packages available 38 CAL Calibration brightness level 39 SCOM Section Factory 40 RCF Recall Factory Configuration 40 SCOM Section Power 41 PWR Power On Off Sle...

Page 5: ...mmediately while the others keep silent Broadcast commands will be processed by all linked units simultaneously once the last byte of the message is received In order to avoid confliction on bus each...

Page 6: ...em finish receiving at the same time then the address 0 unit will respond with no latency The other two units with higher address stay silent until the calculated delay expires For the user computer t...

Page 7: ...m must accept communication in out on port 10001 open port The SCOM message contained in TCP is the same as the one used in RS232 485 422 Check the section later in this manual C Pseudo Ethernet TCP C...

Page 8: ...orts at the same time This means for example that while using Ethernet through a RJ 45 port to communicate with unit users can now also at the same time communicate via RS 232 port simultaneously Only...

Page 9: ...ires soldering and assembly It is expected that the technician has experience in electronics soldering and assembling cables and connectors Use a cable that contains at least 2 wires not 2 single wire...

Page 10: ...ased on standard characters in the ASCII table 0 to 255 to send or receive messages in a human readable input output No further decoding or decrypting functionality is needed or required Every command...

Page 11: ...ACK or NAK to a Command All units will support the broadcast address The factory default adress is 0x00 while in this manual illustrated throughout as 0xFF Only in use when in RS 485 RS 422 mode Othe...

Page 12: ...psed Time Counter Query System R 32 0x4D 0x41 0x4E MAN Read Manufacture ID Code R 33 0x54 0x4D 0x50 TMP Read Temperature Sensor R 33 0x56 0x45 0x52 VER Inquiry specific Type Number R 34 0x46 0x57 0x56...

Page 13: ...ply with the attention code set to NAK and no data field DATA Data Field DATA The bytes is the DATA field which will only be transmitted if LEN is greater than 0 This field depends on the CMD transmit...

Page 14: ...Backlight brightness BRU User backlight brightness BRI and BRM value define the min max boundary of the visual backlight brightness BRT gives the global backlight brightness value However BRT should b...

Page 15: ...klight brightness Range 0x00 0xFF 0x00 is off 0xFF is max brightness After unit reset the value is set to last stored value After microcontroller reset the value is set to last stored value 0xFF if no...

Page 16: ...klight brightness Range 0x00 0xFF 0x00 is off 0xFF is max brightness After unit reset the value is set to last stored value After microcontroller reset the value is set to last stored value 0xFF if no...

Page 17: ...be adjusted directly by press of a button etc Range 0x00 0xFF 0x00 is off 0xFF is max brightness After unit reset the value is set to Load BRT value from factory configuration file After microcontroll...

Page 18: ...0x00 0xFF 0x00 is off 0xFF is max brightness After unit reset the value is set to last stored value After microcontroller reset the value is set to last stored value 0xFF if no stored value Write Sets...

Page 19: ...K BRU IDCHK BRU A value describing the brightness This command can be directly adjusted using buttons Range 0x00 0xFF 0x00 is off 0xFF is max brightness After unit reset the value is set to last store...

Page 20: ...ter microcontroller reset the value is set to last stored value 0x00 if no stored value Write This command will set the minimum brightness level of the button LEDs The brightness value shall be sent a...

Page 21: ...ommand Range Valid levels in table 0x00 Keypad brightness will be set manually 0xAA Keypad brightness will follow brightness sensor 0xFF Keypad brightness will follow LCD backlight level After unit re...

Page 22: ...nerate proper PWM to keypad GMB defines the low end saturated value of keypad brightness BRL defines the high end saturated value of keypad brightness Logic Keypad brightness Auto follow LCD brightnes...

Page 23: ...generate proper PWM to LCD Convert the position of Light sensor value to Keypad PWM Curve based on gamma Use the converted value to generate proper PWM to keypad GMB defines the low end saturated valu...

Page 24: ...ensor of GDC in GDC system Example Read Light Sensor 0x07 0xFF 0x4C 0x49 0x53 0x00 0x11 Reply from unit 0x06 0xFF 0x4C 0x49 0x53 0x02 0x10 0x02 0x34 0xC9 DATA0 Most Significant Byte DATA1 Least Signif...

Page 25: ...s user absence for more than 5s ODM is activated again Byte 0 1 2 3 4 5 6 7 8 0x07 0xFF 0x4F 0x44 0x4D 0x01 IHCHK OUT IDCHK OUT Describes the status of the OUT variable Range Valid levels in table 0x0...

Page 26: ...alue 0x00 POT Restore to value 0xFF Byte 0 1 2 3 4 5 6 7 8 0x07 0xFF 0x52 0x45 0x43 0x01 IHCHK Recall IDCHK RECALL Range Valid levels in table 0xFF Recalls GDC After unit reset the value is set to Not...

Page 27: ...1 Range Valid levels in table 0x00 Backlight Controlled by SCOM only Brightness Button on GDC is disabled 0xFF Backlight controlled by SCOM and GDC keypad 0x0F Backlight Controlled by POT meter only 0...

Page 28: ...ed in BYTE 5 with 0x01 Byte 0 1 2 3 4 5 6 7 8 0x07 0xFF 0x42 0x5A 0x5A 0x01 0x02 Buzzer IDCHK Byte 7 Buzzer Describes the status of the Buzzer in this example Single Operation either 0x00 for OFF or 0...

Page 29: ...lue is set to 0x00 ON Byte 8 Define the Buzzer on time in the pattern Range values multiplied in milliseconds 0x00 0xFF On time ON x 100ms OFF Byte 9 Define the Buzzer off time in the pattern Range va...

Page 30: ...0x30 0x30 0x30 0x30 0x32 0x2D 0x30 0x41 0x30 0x31 0x40 0x Where are HEX value ASCII chars A Z 0 9 symbols SWV Video Scaler Software Version Query This query is sent to video scaler in order to get the...

Page 31: ...0x00 0xFC Reply from unit 0x06 0xFF 0x54 0x59 0x50 0x11 0xEC 0x48 0x44 0x30 0x38 0x54 0x33 0x30 0x4D 0x4D 0x43 0x4D 0x41 0x31 0x46 0x41 0x47 0x41 0xA9 0x Where are HEX value ASCII chars A Z 0 9 symbo...

Page 32: ...om unit 0x06 0xFF 0x53 0x43 0x49 0x02 0x19 0x30 0x31 0x9E CSI Read Customer Service ID This command is used to read the Customer Service ID The length of DATA is zero bytes The command should not retu...

Page 33: ...llowing Data length is 1 return the value from temperature sensor 0x00 Byte 0 1 2 3 4 5 6 7 8 0x07 0xFF 0x54 0x4D 0x50 0x01 IHCHK TMP IDCHK Data length is 2 return the value from assigned temperature...

Page 34: ...0 0x0C ACK Reply from unit 0x06 0xFF 0x56 0x45 0x52 0x03 0x0A 0x4A 0x48 0x44 0x29 FWV Read Firmware information This command will be used to read various firmware versions The purpose of defining this...

Page 35: ...ange Valid levels in table 0x00 RS232 Port 0xFF RS485 422 Port Baudrate Define the COM Port s baudrate Range Valid levels in table 0x00 9600 bps 0xFF 115200 bps After unit reset the value is set to la...

Page 36: ...ACK on Broadcast messages Range Valid levels in table 0x00 Broadcast ACK OFF 0xFF Broadcast ACK ON After unit reset the value is set to last stored value After microcontroller reset the value is set t...

Page 37: ...eply shall be a maximum length of 32 bytes The DATA field of the message is not required to be of maximum length it may be smaller than 32 bytes Example Requesting package 80 active ECDIS table 0x07 0...

Page 38: ...ration mode is set to Calibration VGA the Data field will contain table nr 0 If the Calibration mode is set to Calibration DVI the Data field will contain table nr 1 If the Calibration mode is set to...

Page 39: ...dicates that the backlight brightness is at calibrated level Byte 0 1 2 3 4 5 6 7 8 0x07 0xFF 0x43 0x41 0x4C 0x01 IHCHK CAL IDCHK CAL Inquiry Mark 0x3F Inquiry the active CAL value Read Get the calibr...

Page 40: ...Configuration Type 1 Brightness 2 Backlight GDC FAN PWM lookup table 3 Buzzer Configuration 4 GDC configuration Byte 0 1 2 3 4 5 6 7 8 0x07 0xFF 0x52 0x43 0x46 0x01 IHCHK Recall IDCHK Recall Range Val...

Page 41: ...reset the value is set to Nothing is stored After microcontroller reset the value is set to Nothing is stored Write Example Power unit 0x07 0xFF 0x50 0x57 0x52 0x01 0xFF 0xFF 0x00 ACK reply from unit...

Page 42: ...The configuration saves OSD settings The user configuration table size is 256 bytes The read process will be divided into 4 packets 64 bytes in each Byte 0 1 2 3 4 5 6 7 8 9 0x07 0xFF 0x56 0x55 0x52...

Page 43: ...cess will be divided into 4 packets 64 bytes in each Byte 0 1 2 3 4 5 6 7 8 9 10 72 73 0x07 0xFF 0x56 0x55 0x53 0x42 IHCHK Bank Packet Number 0xFF 0x02 0x00 IDCHK Bank Defines which user saved configu...

Page 44: ...ollowing pages for details Reference Engineering Change Notification ECN https www hattelandtechnology com product notifications update series x maritime multi display mmd firmware update GEV1 Referen...

Page 45: ...EN 8 LEN 0x07 0xFF 0x4D 0x43 0x43 LEN IHCHK Command ID Data1 Datax IDCHK Command ID Supported Command ID in video scaler Command list Data Defines the data of option numbers inquiry reset and so on Wr...

Page 46: ...crement decrement reset query Hue Range 0 0 2 5 5 Default 1 2 8 Hue Range 0 0 6 4 Default 3 2 Value Range changed from 0 100 to 0 255 Manual Phase control 0x85 nn Set dot clock phase value increment d...

Page 47: ...D menu timeout Range 0 0 1 E Default 0 A Same as GEV1 Select OSD language 0x95 n r R Select language value reset query Language 0 English default 1 French 2 German 3 Italian 4 Spanish 5 Japanese 6 Sim...

Page 48: ...o function is changed to 9 PIP brightness control 0xA2 nn r R Set PIP brightness value increment decrement reset query PIP window brightness Range 0 0 2 5 5 Default 1 2 8 PIP window brightness Range 0...

Page 49: ...n horizontal frequency nnn horizontal frequency Same as GEV1 Graphic vertical sync frequency 0xBA Vertical sync frequency in units of 0 1Hz in 3 digit hex number and 1char nnnc vertical frequency c i...

Page 50: ...Add new options to hold and release Same as GEV1 Add new options to hold and release GDC up Button 0xFB Physical button press equivalent No Data Single press release 0x00 Press and hold 0xFF Release...

Page 51: ...valid input signal AND Selected Source Composite 1 0x21 Only active if selected source has a valid input signal AND Selected Source Composite 2 0x22 Only active if selected source has a valid input s...

Page 52: ...Mode 0x7B n r R 0 Auto 1 DVI D 2 DVI A VGA N A New command in GEV2 DVI I 2 Port Mode 0x7C n r R 0 Auto 1 DVI D 2 DVI A VGA N A New command in GEV2 RS Address extended 0x7D n 0xFF r 0xFF R 0xFF 4 See...

Page 53: ...ompletely Off and Low Power Mode the LAN is powered Off When this setting is selected and computer is turned off in Off Completely Off and Low Power Mode the LAN is unpowered 3 External Power button T...

Page 54: ...al mode RS 485 broadcast command messages after the last byte of the command message is received all units will reply within the time period defined for Te below Further more any gap between these ind...

Page 55: ...l be processed to check for the start of a new command 0x07 ASCII Bell If the header checksum is valid but the first byte of the command message is not 0x07 as specified the unit may wait until after...

Page 56: ...56 This page left intentionally blank...

Page 57: ...57 Appendixes...

Page 58: ...l to binary We place in the table below marked in green 1 or 0 for the highest available decimal number in that cell and subtract until we reach 0 So in the case of 55 it is 55 32 16 4 2 1 0 1 or 0 0...

Page 59: ...e 0001 1101 inverted is by using explanations on previous page 1110 0010 Convert 1110 0010 to decimal is 226 or as HEX 0xE2 Attention Address CMD CMD CMD Length IHCHK 55 230 226 IDCHK with three data...

Page 60: ...or as HEX 0x42 CMD 2 field 82 or as HEX 0x52 CMD 3 field 73 or as HEX 0x49 Length field 1 or as HEX 0x01 Length of 1 indicates only 1 byte 55 is present in DATA field Add all the fields together 7 25...

Page 61: ...oft XOFF 0x14 20 00010100 DC4 Device Control 4 0x15 21 00010101 NAK Negative Acknowledgement 0x16 22 00010110 SYN Synchronous Idle 0x17 23 00010111 ETB End of Transmit Block 0x18 24 00011000 CAN Cance...

Page 62: ...1001000 H Uppercase H 0x49 73 01001001 I Uppercase I 0x4A 74 01001010 J Uppercase J 0x4B 75 01001011 K Uppercase K 0x4C 76 01001100 L Uppercase L 0x4D 77 01001101 M Uppercase M 0x4E 78 01001110 N Uppe...

Page 63: ...11110 Equivalency sign tilde 0x7F 127 01111111 Delete no visible character 0x80 128 10000000 Euro sign 0x81 129 10000001 no visible character 0x82 130 10000010 Single low 9 quotation mark 0x83 131 100...

Page 64: ...e sign 0xB1 177 10110001 Plus or minus sign 0xB2 178 10110010 Superscript two squared 0xB3 179 10110011 Superscript three cubed 0xB4 180 10110100 Acute accent spacing acute 0xB5 181 10110101 Micro sig...

Page 65: ...th circumflex 0xE3 227 11100011 Latin small letter a with tilde 0xE4 228 11100100 Latin small letter a with diaeresis 0xE5 229 11100101 Latin small letter a with ring above 0xE6 230 11100110 Latin sma...

Page 66: ...sion of the SCOM package byte byteMessage byte commessage Message ToArray typeof byte Display IP adresse IPAddress displayAddr IPAddress Parse DisplayIPAddress Int32 port 10001 constant Connecting tcp...

Page 67: ...32 illustration page 8 Changed BRT Backlight to BRU User Brightness Control page 44 first row column in table Added ECN reference to page 44 Removed wrong max 16 limit for Ethernet page 7 09 VM JE SE...

Page 68: ...Hatteland Technology AS www hattelandtechnology com Enterprise no NO974533146...

Reviews: