SCOM Protocol Manual MAEN975, 2009-02 English
Foreword SCOM Protocol Foreword The Lauer SCOM Protocol is designed for remote control of Beijer Electronics MT230 Nautic Monitor over different kind of interfaces. It is based on the SCOM Protocol, which allows easy replacement of existing units. Besides the standard command set, the Lauer SCOM Protocol includes a rich set of special purpose commands for extended remote controlling options. The SCOM Protocol is extended with these special features, without affecting the compatibility.
Contents Contents 1 Interface Configuration 7 2 Ethernet Communication 8 UDP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 TCP/IP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 HTTP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 WINS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents II 6.11 MCC_REDLEVEL (0xB4) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38 Red Channel Level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38 6.12 MCC_GREENLEVEL (0xB5). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .41 Green Channel Level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .41 6.13 MCC_BLUELEVEL (0xB6) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .44 Blue Channel Level . . . . .
Contents 6.32 LAU_CONFIG_GETCOMSERMODE (0x0110) . . . . . . . . . . . . . . 67 SCOM Serial Interface Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 6.33 LAU_CONFIG_GETCOMBAUD (0x0111) . . . . . . . . . . . . . . . . . . 69 SCOM Serial Interface Baudrate . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 6.34 LAU_CONFIG_GETC118BAUD (0x0112) . . . . . . . . . . . . . . . . . . . 70 Internal Video Controller Serial Interface Baudrate . . . . . . . . . . . . . 70 6.
Contents 6.53 LAU_CONFIG_GETDISPLAYGROUP (0x0127). . . . . . . . . . . . . . .93 Monitor Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .93 6.54 LAU_CONTROL_ECDISMODE (0x0201) . . . . . . . . . . . . . . . . . . .94 ECDIS Mode Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .94 6.55 LAU_CONTROL_BUZZER (0x0202). . . . . . . . . . . . . . . . . . . . . . . .96 Buzzer Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Interface Configuration 1 Interface Configuration A command can be sent either using the serial interface (RS232 or RS485) or the Ethernet interface via UDP.
Ethernet Communication 2 Ethernet Communication In addition to serial communication via the built-in RS232- and RS485 interfaces, Beijer Electronics MT230 Nautic Monitor also supports Ethernet communication for remote controlling, device configuration and firmware update. For a wide range of software support, the firmware includes standard network protocols such as TCP/IP, HTTP, UDP and WINS. The main communication channel uses UDP (User Datagram Protocol), which is a connectionless and simple protocol.
Ethernet Communication UDP UDP (User Datagram Protocol) is a connectionless protocol. SCOM messages are encapsulated within UDP, which allows sending and receiving them via Ethernet. Connectionless means that no individual destination address is specified. Instead, UDP packets are sent to the predefined broadcast address 255.255.255.255, at which any Beijer Electronics MT230 Nautic Monitor listens. Individual addressing is done in the upper protocol layers, such as SCOM and TCP/IP.
Ethernet Communication WINS WINS (Windows Internet Naming Service) allows a Beijer Electronics MT230 Nautic Monitor to register a unique name (host name) and map it to its IP-address. Once registered, the Beijer Electronics MT230 Nautic Monitor can be accessed using this configurable name, without the knowing its IP-address.
Message Format and Description 3 Message Format and Description A SCOM message is a stream of bytes, containing the destination, type of message and the corresponding data, if available. The complete stream is protected by two checksums. Data transfer is initiated by sending a command message. Depending on the command, a response message may be sent back. Some commands may contain sub-commands and data, which are sent in the data field of the message.
Message Format and Description Byte 5 Field LEN Value 0 to 74 (0x00 to 0x4A) Size 1 byte Description The size of the DATA-field in bytes. To protect the message header (bytes 0 to 5), a simple 8-bit checksum is calculated as follows: 6 ICHKH ... 1 byte 1. Calculate the sum of bytes 0 to 5. 2. Reduce the sum width to 8 bits (AND 0xFF). 3. Invert all bits. The result is ICHKH. The checksum is verified as follows: 1. Calculate the sum of bytes 0 to 6. 2. Reduce the sum width to 8 bits (AND 0xFF). 3.
Monitor Addressing 4 Monitor Addressing By default, a Beijer Electronics MT230 Nautic Monitor supports the standard SCOM addressing scheme, which allows a total count of 16 monitors within a network. The address of a monitor is set with four DIP switches. If a SCOM command is sent to a monitor, the ADR field must contain either the broadcast address 0xFF, or the address of the destination device set by the DIP switches.
Protocol Description and Timings 5 Protocol Description and Timings The protocol used for transferring SCOM messages and receiving response messages is optimized for easy software implementation. Regardless of the type of interface, a connected monitor is always passive and listening for a command to be received by any available communication interface. A monitor never sends SCOM messages by itself, unless it is configured as a remote controller.
Protocol Description and Timings Conditions for Response Message The conditions for a response message generated by the monitor are described below: Interface RS232 RS485 Ethernet Address condition Command status Response Address does not match monitor address not EXECUTED No response not EXECUTED No response Address matches monitor address if COMPLETED ACK if FAILED NAK Address is Broadcast address (0xFF) if COMPLETED ACK if FAILED NAK Address does not match monitor address not EXEC
Protocol Description and Timings The Lr value depends on the command, for which the response message is generated. Detailed information and the “Maximum Lr value” for each response message can be found in Command Reference chapter. Note: The given “Maximum Lr value” is specified for a valid command. If an invalid command with a data field exceeding the specification is sent, the Lr value will grow accordingly.
Command Reference 6 Command Reference The Lauer SCOM protocol exposes many commands for remote control of a Beijer Electronics MT230 Nautic Monitor by a dedicated software. It supports all standard SCOM commands, as well as the new Lauer command set for special purpose functions.
Command Reference 6.1 BRT Backlight Brightness Sets the backlight level to the given value. This command affects only the brightness of the backlight lamp or LED array, not the brightness value of the video controller. Supported since Firmware Version MT230 Nautic Monitor: 1.
Command Reference Maximum Lr for this Command 9 Example 1 Set the backlight level of monitor at address 0.7 (group 0, address 7) to 130 (0x82): 0 1 2 3 4 5 6 7 0x07 0x07 0x42 0x52 0x54 0x01 0x08 0x82 8 0x7D Monitor at address 0.7 (group 0, address 7) has acknowledged the new backlight level 130 (0x82): 0 1 2 3 4 5 6 7 0x06 0x07 0x42 0x52 0x54 0x01 0x09 0x82 8 0x7D Example 2 Send an invalid “BRT” command to the monitor at address 0.7 (group 0, address 7).
Command Reference 6.2 MAN Manufacturer ID Requests the manufacturer ID from the monitor. The manufacturer ID is a short, max. 7 character ASCII-string containing the manufacturer specific code. For monitors manufactured by Beijer Electronics, the returned code is always “LAU”. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 1 0x07 ADR 2 0x4D 3 4 5 6 0x41 0x4E 0x00 ICHKH 5 6 7...
Command Reference 6.3 VER Unit ID and Model / Version Number Requests the preassigned unit ID and model code, and the version of the serial communications interface software. For compatibility reasons, this code is always static and does not return information specific to Beijer Electronics Nautic Monitors. To get device informations specific to Beijer Electronics Nautic Monitors, such as firmware version etc., use the Lauer Extension command “LAU”. Supported since Firmware Version MT230 Nautic Monitor: 1.
Command Reference 6.4 POT Local Control Enables or disables the local backlight level control. If the local backlight control is enabled, the backlight level can be changed using the front panel buttons and by remote control (serial or Ethernet interface, analog or digital input). If the local backlight control is disabled, the backlight level cannot be changed using the front panel buttons. It can be still changed by any remote control option. Supported since Firmware Version MT230 Nautic Monitor: 1.
Command Reference Maximum Lr for this Command 9 Example 1 Disable the local control of monitor at address 0.7 (group 0, address 7): 0 1 2 3 4 5 0x07 0x07 0x50 0x4F 0x54 0x01 6 0xFD 7 8 0x00 0xFF Monitor at address 0.7 (group 0, address 7) has acknowledged, that the local control is disabled: 0 1 2 3 4 5 6 7 8 0x06 0x07 0x50 0x4F 0x54 0x01 0xFE 0x00 0xFF Example 2 Send an invalid “POT” command to the monitor at address 0.7 (group 0, address 7).
Command Reference 6.5 MCC Unit Control Command This command is used for remote configuration of the video controller within the monitor. The video controller is an independent device, which controls the LCD panel. Because each monitor model can be equipped with different kind of LCD panel (size, resolution, type etc.), the used video controller can be also different from model to model. The MCC command is a container for video controller specific commands.
Command Reference Response Message (Acknowledge) 0 0x06 1 ADR 2 3 4 0x4D 0x43 0x43 5 LEN 6 ICHKH 7...7+[LEN]-1 SCMD Param Ret 7+[LEN] ICHKD SCMD / Param Video controller specific sub-command and parameter(s), sent with the command stream Ret Data returned by the monitor, i.e. current value of the selected video controller setting Response Message (Negative Acknowledge) Under normal operation conditions, a device never sends a negative acknowledge in response to this command.
Command Reference 6.6 MCC_BRIGHTNESS (0x81) Brightness Adjusts or queries the brightness value of the video controller. This command affects only the brightness of the video controller, not the brightness of the backlight lamp or LED array. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 0x07 1 ADR 2 0x4D 3 0x43 4 0x43 5 LEN 6 ICHKH 7...
Command Reference Response Message (Acknowledge) 0 0x06 1 ADR 2 3 4 5 0x4D 0x43 0x43 6 LEN 7...7+[LEN]-1 ICHKH 0x81 Param 7+[LEN] Ret ICHKD Ret Value: “00”: dark … “FF”: bright Type: Two-digit ASCII-encoded hexadecimal number Length: 2 Description: Current brightness value Maximum Lr for this Command 13 Example 1 Set the brightness level of monitor at address 0.
Command Reference Example 3 Increment the current brightness level of monitor at address 0.7 (group 0, address 7): 0 1 0x07 0x07 2 0x4D 3 4 5 0x43 0x43 0x02 6 0x1C 7...8 0x81 9 0x2B 0x53 Monitor at address 0.7 (group 0, address 7) has returned the new brightness level 201 (0xC9): 0 0x06 1 2 3 4 5 6 0x07 0x4D 0x43 0x43 0x04 0x1B 7...10 0x81 0x2B 11 0x43 0x39 0xD7 Example 4 Reset the brightness level of monitor at address 0.
Command Reference 6.7 MCC_CONTRAST (0x82) Contrast Adjusts or queries the contrast value of the video controller. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 0x07 1 ADR 2 3 4 0x4D 0x43 0x43 5 LEN 6 ICHKH 7...7+[LEN]-1 0x82 Ext Ret 7+[LEN] ICHKD Ext: Value: “A” or “a” (0x41 or 0x61) Type: ASCII character Length: 1 Description: Command extension. This character must be always sent as part of the subcommand.
Command Reference Response Message (Acknowledge) 0 1 2 0x06 ADR 3 0x4D 0x43 4 5 6 7...7+[LEN]-1 0x43 LEN ICHKH 0x82 Ext Param 7+[LEN] Ret ICHKD Ret Value: “00”: low … “FF”: high Type: Two-digit ASCII-encoded hexadecimal number Length: 2 Description: Current contrast value Maximum Lr for this Command 14 Example 1 Set the contrast level of monitor at address 0.
Command Reference Example 3 Decrement the current contrast level of monitor at address 0.7 (group 0, address 7): 0 0x07 1 0x07 2 3 0x4D 4 0x43 5 0x43 0x03 6 0x1B 7...9 0x82 0x41 10 0x2D 0x0F Monitor at address 0.7 (group 0, address 7) has returned the new contrast level 196 (0xC4): 0 0x06 1 2 3 4 5 6 7...11 12 0x07 0x4D 0x43 0x43 0x05 0x1A 0x82 0x41 0x2D 0x43 0x34 0x98 Example 4 Reset the contrast level of monitor at address 0.
Command Reference 6.8 MCC_SCALINGMODE (0x8C) Scaling Mode Sets or queries the main scaling mode. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 0x07 1 ADR 2 0x4D 3 0x43 4 0x43 5 LEN 6 ICHKH 7...
Command Reference Response Message (Acknowledge) 0 0x06 1 ADR 2 3 4 5 0x4D 0x43 0x43 6 LEN 7...7+[LEN]-1 ICHKH 0x8C Param Ret 7+[LEN] ICHKD Ret Value: “0”: One to one “1”: Fill all “2”: Fill aspect ratio Type: One-digit ASCII-encoded hexadecimal number Length: 1 Description: Current scaling mode Maximum Lr for this Command 11 Example Query the current scaling mode of monitor at address 0.15 (group 0, address 15): 0 1 0x07 0x0F 2 0x4D 3 4 5 6 0x43 0x43 0x02 0x14 7...
Command Reference 6.9 MCC_GAMMAVALUE (0x9D) Gamma Value Sets or queries the gamma value. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 1 0x07 ADR 2 0x4D 3 4 5 0x43 0x43 LEN 6 7...
Command Reference Example 1 Set the gamma value of monitor at address 0.7 (group 0, address 7) to “CRT” (which is ASCII “1” with ASCII-codes 0x31): 0 1 0x07 0x07 2 0x4D 3 4 5 6 0x43 0x43 0x02 0x1C 7...8 0x9D 9 0x31 0x31 Monitor at address 0.7 (group 0, address 7) has acknowledged the new gamma value “CRT” (0x31): 0 0x06 1 0x07 2 3 0x4D 4 0x43 5 0x43 6 0x03 7...9 0x01C 0x9D 10 0x31 0x31 0x00 Example 2 Query the current gamma value of monitor at address 0.
Command Reference 6.10 MCC_COLOURTEMP (0xB3) Color Temperature Sets or queries the current color temperature. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 0x07 1 2 ADR 3 0x4D 4 0x43 5 0x43 6 LEN 7...
Command Reference Maximum Lr for this Command 11 Example 1 Set the colour temperature of monitor at address 0.15 (group 0, address 15) to “5000K” (which is ASCII “3” with ASCII-code 0x33): 0 1 0x07 0x0F 2 0x4D 3 4 5 6 0x43 0x43 0x02 0x14 7...8 0xB3 9 0x33 0x19 Monitor at address 0.15 (group 0, address 15) has acknowledged the new colour temperature “5000K” (0x33): 0 0x06 1 0x0F 2 3 0x4D 4 0x43 5 0x43 6 0x03 7...
Command Reference 6.11 MCC_REDLEVEL (0xB4) Red Channel Level Adjusts the level of the red channel. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 1 0x07 ADR 2 0x4D 3 4 5 0x43 0x43 LEN 6 ICHKH 7...7+[LEN]-1 0xB4 7+[LEN] Param ICHKD Param: ABSOLUTE Value: “00”: low...
Command Reference Response Message (Acknowledge) 0 0x06 1 ADR 2 3 4 0x4D 0x43 0x43 5 6 LEN 7...7+[LEN]-1 ICHKH 0xB4 Param 7+[LEN] Ret ICHKD Ret Value: “00”: low...“FF”: high Type: Two-digit ASCII-encoded hexadecimal number Length: 2 Description: Current value of the red channel Maximum Lr for this Command 13 Example 1 Set the red channel level of monitor at address 0.
Command Reference Example 3 Decrement the current red channel level of monitor at address 0.7 (group 0, address 7): 0 1 0x07 0x07 2 0x4D 3 4 5 0x43 0x43 0x02 6 0x1C 7...8 0xB4 9 0x2D 0x1E Monitor at address 0.7 (group 0, address 7) has returned the new red channel level 189 (0xBD): 0 1 2 3 4 5 6 0x06 0x07 0x4D 0x43 0x43 0x04 0x1B 7...10 0xB4 0x2D 11 0x42 0x44 0x98 Example 4 Reset the red channel level of monitor at address 0.
Command Reference 6.12 MCC_GREENLEVEL (0xB5) Green Channel Level Adjusts the level of the green channel. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 1 0x07 ADR 2 0x4D 3 4 5 0x43 0x43 LEN 6 ICHKH 7...7+[LEN]-1 0xB5 7+[LEN] Param ICHKD Param: ABSOLUTE Value: “00”: low...
Command Reference Response Message (Acknowledge) 0 0x06 1 ADR 2 3 4 0x4D 0x43 0x43 5 6 LEN 7...7+[LEN]-1 ICHKH 0xB5 Param 7+[LEN] Ret ICHKD Ret Value: “00”: low...“FF”: high Type: Two-digit ASCII-encoded hexadecimal number Length: 2 Description: Current value of the green channel Maximum Lr for this Command 13 Example 1 Set the green channel level of monitor at address 0.
Command Reference Example 3 Increment the current green channel level of monitor at address 0.7 (group 0, address 7): 0 1 0x07 0x07 2 0x4D 3 4 5 0x43 0x43 0x02 6 0x1C 7...8 0xB5 9 0x2B 0x1F Monitor at address 0.7 (group 0, address 7) has returned the new green channel level 191 (0xBD): 0 1 2 3 4 5 6 0x06 0x07 0x4D 0x43 0x43 0x04 0x1B 7...10 0xB5 0x2B 11 0x42 0x46 0x97 Example 4 Reset the green channel level of monitor at address 0.
Command Reference 6.13 MCC_BLUELEVEL (0xB6) Blue Channel Level Adjusts the level of the blue channel. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 1 0x07 ADR 2 0x4D 3 4 5 0x43 0x43 LEN 6 ICHKH 7...7+[LEN]-1 0xB6 7+[LEN] Param ICHKD Param: ABSOLUTE Value: “00”: low...
Command Reference Response Message (Acknowledge) 0 0x06 1 ADR 2 3 4 0x4D 0x43 0x43 5 6 LEN 7...7+[LEN]-1 ICHKH 0xB6 Param 7+[LEN] Ret ICHKD Ret Value: “00”: low...“FF”: high Type: Two-digit ASCII-encoded hexadecimal number Length: 2 Description: Current value of the blue channel Maximum Lr for this Command 13 Example 1 Set the blue channel level of monitor at address 0.
Command Reference Example 3 Decrement the current blue channel level of monitor at address 0.7 (group 0, address 7): 0 1 0x07 0x07 2 0x4D 3 4 5 0x43 0x43 0x02 6 0x1C 7...8 0xB6 9 0x2D 0x1F Monitor at address 0.7 (group 0, address 7) has returned the new blue channel level 189 (0xBD): 0 1 2 3 4 5 6 0x06 0x07 0x4D 0x43 0x43 0x04 0x1B 7...10 0xB6 0x2D 11 0x42 0x44 0x96 Example 4 Reset the blue channel level of monitor at address 0.
Command Reference 6.14 TYP Unit Type and Model Number Queries the monitor type and model. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 1 0x07 2 ADR 3 0x54 4 0x59 5 0x50 6 0x01 ICHKH (This command has no data) Response Message (Acknowledge) 0 1 2 3 4 5 0x06 ADR 0x54 0x59 0x50 LEN 6 ICHKH 7...7+[LEN]-1 7+[LEN] Type/Model ICHKD Type/Model Value: ASCII characters Type: String Length: 1...
Command Reference 6.15 ETC Elapsed Time Counter Queries the total operation time in hours. Internally, each monitor is equipped with a software counter, which counts the full number of operation hours. The counter value is limited to 298261, which is equivalent to approximately 34 years of operation time. After this time, each monitor returns always the maximum value. The counter is incremented only, if the monitor was powered on one full hour without interruption.
Command Reference Example Query the total operation time in hours of the monitor at address 0.7 (group 0, address 7): 0 1 0x07 0x07 2 3 0x45 0x54 4 5 0x43 0x00 6 0x15 The monitor at address 0.7 (group 0, address 7) has returned “0x00 0x00 0x9C”, which indicates that the monitor was used 156 hours: 0 0x06 1 0x07 2 0x45 3 0x54 Beijer Electronics, MAEN975 4 0x43 5 0x03 6 0x13 7...
Command Reference 6.16 LAU Lauer Extension The Lauer Extension is a new SCOM command specially developed for Beijer Electronics Nautic Monitors. It extends the standard SCOM command set with more powerful functions, which add special remote configuration, controlling and status capabilities to each device. Like the MCC command, the LAU command is a container for specific subcommands and their parameters. They are encapsulated within the DATA field of the command stream.
Command Reference Response Message (Acknowledge) 0 1 0x06 ADR 2 0x4C 3 4 5 0x41 0x55 LEN 6 ICHKH 7...7+[LEN]-1 7+[LEN] Ret ICHKD Ret Data returned by the monitor, if available The following sections describe all supported LAU sub-commands in each functional group in the order CONFIGURATION, CONTROL and STATUS.
Command Reference 6.17 LAU_CONFIG_GETFWVERSION (0x0101) Firmware Version Returns the current firmware name and version including build date. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 1 2 3 4 5 0x07 ADR 0x4C 0x41 0x55 0x02 6 7...8 ICHKH 0x01 9 0x01 ICHKD 7...7+[LEN]-1 7+[LEN] Ret ICHKD Response Message (Acknowledge) 0 1 0x06 ADR 2 0x4C 3 4 5 0x41 0x55 LEN 6 ICHKH Ret Value: ASCII characters Type: String Length: 1...
Command Reference 6.18 LAU_CONFIG_GETHOSTNAME (0x0102) Host Name Returns the network name of the monitor. The network must support the WINS protocol for name resolution, to access the monitor using its name. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 1 2 3 4 5 0x07 ADR 0x4C 0x41 0x55 0x02 6 7...8 ICHKH 0x01 9 0x02 ICHKD 7...
Command Reference 6.19 LAU_CONFIG_GETIFNAME (0x0103) Internal Network Interface Name Returns the internal network interface name. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 1 2 3 4 5 0x07 ADR 0x4C 0x41 0x55 0x02 6 7...8 ICHKH 0x01 9 0x03 ICHKD 7...7+[LEN]-1 7+[LEN] Ret ICHKD Response Message (Acknowledge) 0 1 0x06 ADR 2 0x4C 3 4 5 0x41 0x55 LEN 6 ICHKH Ret Value: ASCII characters Type: String Length: 0...
Command Reference 6.20 LAU_CONFIG_GETMACADR (0x0104) MAC (Ethernet) Address Returns the MAC (Ethernet) address of the network interfaces. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 1 2 3 4 5 0x07 ADR 0x4C 0x41 0x55 0x02 6 7...8 ICHKH 0x01 0x04 9 ICHKD Response Message (Acknowledge) 0 1 0x06 ADR 2 0x4C 3 4 5 0x41 0x55 0x06 6 ICHKH 7...12 Ret 13 ICHKD Ret Value: 0...
Command Reference 6.21 LAU_CONFIG_GETIPADR (0x0105) Static IP Address Returns the configured static IP address, which is used, if no DHCP server is available. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 1 2 3 4 5 0x07 ADR 0x4C 0x41 0x55 0x02 6 7...8 ICHKH 0x01 9 0x05 ICHKD Response Message (Acknowledge) 0 1 0x06 ADR 2 0x4C 3 4 5 0x41 0x55 0x04 6 7...10 ICHKH 11 Ret ICHKD Ret Value: 0...
Command Reference 6.22 LAU_CONFIG_GETIPMASK (0x0106) Subnet Mask Returns the configured static subnet mask, which is used, if no DHCP server is available. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 1 2 3 4 5 0x07 ADR 0x4C 0x41 0x55 0x02 6 7...8 ICHKH 0x01 9 0x06 ICHKD Response Message (Acknowledge) 0 1 0x06 ADR 2 0x4C 3 4 5 0x41 0x55 0x04 6 ICHKH 7...10 11 Ret ICHKD Ret Value: 0...
Command Reference 6.23 LAU_CONFIG_GETGWADR (0x0107) Gateway Address Returns the configured static gateway IP address. Currently, the gateway address is not used and internally set to 0.0.0.0. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 1 2 3 4 5 0x07 ADR 0x4C 0x41 0x55 0x02 6 7...8 ICHKH 0x01 9 0x07 ICHKD Response Message (Acknowledge) 0 1 0x06 ADR 2 0x4C 3 4 5 0x41 0x55 0x04 6 7...10 ICHKH 11 Ret ICHKD Ret Value: 0...
Command Reference 6.24 LAU_CONFIG_GETDHCPMODE (0x0108) DHCP Mode Returns the DHCP mode. The DHCP mode indicates, whether the monitor should communicate with a DHCP server to dynamically get an IP address. If a DHCP server should be used, but there is no server or free IP addresses available, the configured static IP address is used. This is also true, if no DHCP server should be used. Supported since Firmware Version MT230 Nautic Monitor: 1.
Command Reference 6.25 LAU_CONFIG_GETDHCPTIMEOUT (0x0109) DHCP Timeout Returns the DHCP timeout value in milliseconds. If the monitor is configured to use a DHCP server to dynamically get an IP address, this value determines the time, in which a DHCP server must assign an IP address to the monitor. After the time is elapsed, the configured static IP address is used. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 1 2 3 4 5 6 0x07 ADR 0x4C 0x41 0x55 0x02 7...
Command Reference 6.26 LAU_CONFIG_GETUDPRCVPORT (0x010A) UDP Receive Port All Beijer Electronics Nautic Monitors use two UDP ports for sending and receiving SCOM command and response messages within UDP packets. This setting returns the port number used to receive UDP packets. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 1 2 3 4 5 0x07 ADR 0x4C 0x41 0x55 0x02 6 ICHKH 7...
Command Reference 6.27 LAU_CONFIG_GETUDPSNDPORT (0x010B) UDP Send Port All Beijer Electronics Nautic Monitors use two UDP ports for sending and receiving SCOM command and response messages within UDP packets. This setting returns the port number used to send UDP packets. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 1 2 3 4 5 0x07 ADR 0x4C 0x41 0x55 0x02 6 ICHKH 7...
Command Reference 6.28 LAU_CONFIG_GETMANUFACTURER (0x010C) Manufacturer Requests the manufacturer ID from the monitor. The manufacturer ID is a short, max. 7 character ASCII-string containing the manufacturer specific code. For monitors manufactured by Beijer Electronics, the returned code is always “LAU”. Actually, this command returns the same value as the standard SCOM command “MAN”. Supported since Firmware Version MT230 Nautic Monitor: 1.
Command Reference 6.29 LAU_CONFIG_GETDEVICENAME (0x010D) Device Name Returns the monitor type and model. Actually, this command returns the same value as the standard SCOM command “TYP”. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 1 2 3 4 5 0x07 ADR 0x4C 0x41 0x55 0x02 6 7...8 ICHKH 0x01 9 0x0D ICHKD 7...
Command Reference 6.30 LAU_CONFIG_GETDILMODE (0x010E) DIL Switch Mode For a base configuration, Beijer Electronics Nautic Monitors are equipped with DIL (DIP) switches, where the monitor address and the serial interface mode can be selected. Besides this configuration option, Beijer Electronics Nautic Monitors allow full software configuration, which is stored in an internal flash memory. The software configuration also includes monitor address and serial interface mode setting.
Command Reference 6.31 LAU_CONFIG_GETDISPLAYADR (0x010F) Monitor Address Returns the software configured monitor address. This address is used, if the monitor is configured to override the DIL (DIP) switch settings. The returned address does not contain group information. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 1 2 3 4 5 6 0x07 ADR 0x4C 0x41 0x55 0x02 7...
Command Reference 6.32 LAU_CONFIG_GETCOMSERMODE (0x0110) SCOM Serial Interface Mode Returns the software configured serial interface mode. The value returned by this functions is used, if the monitor is configured to override the DIL (DIP) switch settings. The serial interface mode indicates the physical type of the serial interface used for the SCOM communication. Available modes are RS232 and RS485. RS232 allows a point-to-point communication, i.e. computer and monitor or monitor and monitor.
Command Reference Example Get the serial interface configuration of the monitor at address 0.7 (group 0, address 7): 0 1 2 0x07 0x07 0x4C 3 4 5 0x41 0x55 0x02 6 0x0D 7...8 0x01 0x10 9 0xEE According to the data returned by the monitor at address 10.
Command Reference 6.33 LAU_CONFIG_GETCOMBAUD (0x0111) SCOM Serial Interface Baudrate Returns the configured baudrate for the SCOM communication over serial interface. While the original SCOM specification defines only one baudrate at 9600 bits/second, Beijer Electronics Nautic Monitors can be configured to use another baudrate than the given default. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 1 2 3 4 5 6 0x07 ADR 0x4C 0x41 0x55 0x02 7...
Command Reference 6.34 LAU_CONFIG_GETC118BAUD (0x0112) Internal Video Controller Serial Interface Baudrate Returns the baudrate of the internal serial interface used to communicate with the video controller. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 1 2 3 4 5 6 0x07 ADR 0x4C 0x41 0x55 0x02 7...8 ICHKH 0x01 9 0x12 ICHKD Response Message (Acknowledge) 0 1 2 3 4 5 0x06 ADR 0x4C 0x41 0x55 0x04 6 7...10 ICHKH Ret 11 ICHKD Ret Value: 300...
Command Reference 6.35 LAU_CONFIG_GETPOTMODE (0x0113) POT Mode Returns the local backlight level control configuration. If the local backlight control is enabled, the backlight level can be changed using the front panel buttons and by remote control (serial or Ethernet interface, analog or digital input). If the local backlight control is disabled, the backlight level cannot be changed using the front panel buttons. It can be still changed by any remote control option.
Command Reference 6.36 LAU_CONFIG_GETECDISMODE (0x0114) ECDIS Mode This command returns the configuration for the startup ECDIS mode. ECDIS mode is used to configure the display with a set of default configurations for color and brightness. All Beijer Electronics Nautic Monitors supporting ECDIS mode have a dedicated button on the front panel, to manually enable or disable ECDIS mode, but can also be configured to automatically enter ECDIS mode at power on.
Command Reference 6.37 LAU_CONFIG_GETECDISBACKLIGHT (0x0115) ECDIS Default Backlight Level If ECDIS mode is enabled, the backlight and video controller are configured with predefined settings. This command returns the backlight level used to setup the backlight in ECDIS mode. Note: The backlight level for ECDIS mode depends on the backlight level value sent with the “BRT” command. Whenever the monitor receives a new backlight level value, it is automatically assumed to be used in the ECDIS mode, too.
Command Reference 6.38 LAU_CONFIG_GETECDISCONTRAST (0x0116) ECDIS Default Contrast Level If ECDIS mode is enabled, the backlight and video controller are configured with predefined settings. This command returns the predefined contrast level used to setup the video controller in ECDIS mode. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 1 2 3 4 5 6 0x07 ADR 0x4C 0x41 0x55 0x02 7...
Command Reference 6.39 LAU_CONFIG_GETECDISCOLOURTEMP (0x0117) ECDIS Default Color Temperature If ECDIS mode is enabled, the backlight and video controller are configured with predefined settings. This command returns the predefined color temperature used to setup the video controller in ECDIS mode. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 1 2 3 4 5 6 0x07 ADR 0x4C 0x41 0x55 0x02 7...
Command Reference 6.40 LAU_CONFIG_GETECDISREDVALUE (0x0118) ECDIS Default Red Channel Value If ECDIS mode is enabled, the backlight and video controller are configured with predefined settings. This command returns the predefined red channel value used to setup the video controller in ECDIS mode. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 1 2 3 4 5 6 0x07 ADR 0x4C 0x41 0x55 0x02 7...
Command Reference 6.41 LAU_CONFIG_GETECDISGREENVALUE (0x0119) ECDIS Default Green Channel Value If ECDIS mode is enabled, the backlight and video controller are configured with predefined settings. This command returns the predefined green channel value used to setup the video controller in ECDIS mode. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 1 2 3 4 5 6 0x07 ADR 0x4C 0x41 0x55 0x02 7...
Command Reference 6.42 LAU_CONFIG_GETECDISBLUEVALUE (0x011A) ECDIS Default Blue Channel Value If ECDIS mode is enabled, the backlight and video controller are configured with predefined settings. This command returns the predefined blue channel value used to setup the video controller in ECDIS mode. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 1 2 3 4 5 6 0x07 ADR 0x4C 0x41 0x55 0x02 7...
Command Reference 6.43 LAU_CONFIG_GETECDISGAMMA (0x011B) ECDIS Default Gamma Value If ECDIS mode is enabled, the backlight and video controller are configured with predefined settings. This command returns the predefined gamma value used to setup the video controller in ECDIS mode. Note: On devices based on firmware 1.0-DSCALE2, the ECDIS gamma value is not used to setup the video controller. Supported since Firmware Version MT230 Nautic Monitor: 1.
Command Reference 6.44 LAU_CONFIG_GETREMOTECONTROL (0x011C) Remote Control Configuration This command returns the configuration value that indicates whether the monitor is configured to act as a remote controller. Beijer Electronics Nautic Monitors can be used as passive devices, but can also be set up as remote controller devices to alter the backlight level of any other monitor within the network. Supported since Firmware Version MT230 Nautic Monitor: 1.
Command Reference 6.45 LAU_CONFIG_GETUSEBROADCAST (0x011D) Remote Control Broadcast Mode If a Beijer Electronics Nautic Monitor is configured as remote controller, this configuration defines the used address mode. If the remote control broadcast mode is enabled, the monitor uses the broadcast address 0xFF in the address field, so all monitors within the network can be controlled simultaneously. Individual remote control addressing is ignored, if this mode is enabled.
Command Reference 6.46 LAU_CONFIG_GETADDRESSLIST (0x011E) Remote Control Address List If a Beijer Electronics Nautic Monitor is configured as remote controller, this command returns the addresses of monitors which should be controlled remotely. The address list is returned as a bit field with 16 bits, enabling a total number of 16 monitors to be controlled remotely. A Beijer Electronics Nautic Monitor always addresses the monitors within its own group, starting with the lowest address.
Command Reference Example Get the list of device addresses from the monitor at address 0.7 (group 0, address 7), which are used to control other devices within its own group in a network, if the broadcast mode is disabled: 0 1 0x07 0x07 2 0x4C 3 4 5 0x41 0x55 0x02 6 0x0D 7...8 0x01 0x1E 9 0xE0 According to the data returned by the monitor at address 0.
Command Reference 6.47 LAU_CONFIG_GETANALOGTOBRT (0x011F) Analog to Brightness Routing Mode Some Beijer Electronics Nautic Monitor models are equipped with an expansion port, where an analog potentiometer or a variable voltage can be connected, to control the backlight level of the monitor. This command returns the configuration of the analog input port usage. If the analog port control is enabled, the backlight level cannot be changed using the front panel keys, digital input or SCOM commands.
Command Reference 6.48 LAU_CONFIG_GETLCDCONTROLDISABLE (0x0120) Video Controller Control Mode This command returns the state of the OSD (video controller) keys (i.e.
Command Reference 6.49 LAU_CONFIG_GETDINCONFIG (0x0121) Digital Input Configuration Some Beijer Electronics Nautic Monitor models are equipped with an expansion port with digital I/O. The digital I/O pins can be used for remote control with a PLC etc., by assigning predefined commands to the port. This command returns the command assigned to the digital I/O port. The digital I/O control has the same priority as SCOM commands or manual control, because only a pin level change triggers the command.
Command Reference Under normal operation conditions, a device never sends a negative acknowledge in response to this command. Maximum Lr for this Command 9 Example Read the digital input port configuration for the monitor at address 0.7 (group 0, address 7): 0 1 2 0x07 0x07 0x4C 3 4 5 0x41 0x55 0x02 6 0x0D 7...8 0x01 0x21 9 0xDD According to the data returned by the monitor at address 0.
Command Reference 6.50 LAU_CONFIG_GETBRTRANGEDELTAM (0x0122) Backlight Level Down Range By default, the backlight level of a Beijer Electronics Nautic Monitor can be changed within the full range of 0 to 255 steps by using the front panel keys. To allow the backlight level change within a limited range, a delta value can be defined. The delta value sets the upper and lower backlight level range limits relative to the ECDIS backlight value (which is set by the SCOM command “BRT”).
Command Reference Example Read the lower backlight level range limit configuration for the monitor at address 0.7 (group 0, address 7): 0 1 2 0x07 0x07 0x4C 3 4 5 0x41 0x55 0x02 6 0x0D 7...8 0x01 0x22 9 0xDC According to the data returned by the monitor at address 0.7 (group 0, address 7), the lower backlight level range limit is 0 (0x00).
Command Reference 6.51 LAU_CONFIG_GETBRTRANGEDELTAP (0x0123) Backlight Level Up Range By default, the backlight level of a Beijer Electronics Nautic Monitor can be changed within the full range of 0 to 255 steps by using the front panel keys. To allow the backlight level change within a limited range, a delta value can be defined. The delta value sets the upper and lower backlight level range limits relative to the ECDIS backlight value (which is set by the SCOM command “BRT”).
Command Reference Example Read the upper backlight level range limit configuration for the monitor at address 0.7 (group 0, address 7): 0 1 2 0x07 0x07 0x4C 3 4 5 0x41 0x55 0x02 6 0x0D 7...8 0x01 0x23 9 0xDB According to the data returned by the monitor at address 0.
Command Reference 6.52 LAU_CONFIG_GETSERIALNUMBER (0x0125) Serial Number Returns the serial number of the device. By default, the returned two serial number bytes and the two last bytes of the MAC (Ethernet) address are equal. Supported since Firmware Version MT230 Nautic Monitor: 1.2-C118 Command Stream 0 1 2 3 4 5 6 0x07 ADR 0x4C 0x41 0x55 0x02 7...8 ICHKH 0x01 0x25 9 ICHKD Response Message (Acknowledge) 0 1 2 3 4 5 0x06 ADR 0x4C 0x41 0x55 0x02 6 7...
Command Reference 6.53 LAU_CONFIG_GETDISPLAYGROUP (0x0127) Monitor Group Besides the standard addressing scheme, where the lowest four address bits in field ADR are used to address a total count of 16 monitors in a network, the Beijer Electronics Nautic Monitors use also the upper four bits, that indicate a group of monitors in a network (max. 14 groups). The monitor grouping is activated, if the software configured monitor address is used (i.e. the DIL/DIP switch settings are ignored).
Command Reference 6.54 LAU_CONTROL_ECDISMODE (0x0201) ECDIS Mode Control This control command activates or deactivates ECDIS mode. It has the same effect as using the front panel ECDIS-key or digital input control. The setting is temporary, and does not change the startup ECDIS mode configuration. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 0x07 1 2 ADR 3 0x4C 0x41 4 5 6 0x55 0x03 7...
Command Reference Example Read the ECDIS mode of the monitor at address 0.7 (group 0, address 7): 0 1 2 3 4 5 0x07 0x07 0x4C 0x41 0x55 6 0x03 7...9 0x0C 0x02 0x01 10 0x01 0xFB The monitor at address 0.7 (group 0, address 7) acknowledged the new ECDIS mode: 0 0x06 1 0x07 2 0x4C Beijer Electronics, MAEN975 3 0x41 4 0x55 5 0x03 6 0x0D 7...
Command Reference 6.55 LAU_CONTROL_BUZZER (0x0202) Buzzer Control Activates the built-in buzzer, if available. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 0x07 1 2 ADR 3 0x4C 4 0x41 5 0x55 6 0x03 7...9 ICHKH 0x02 0x02 10 Param ICHKD Param Value: 0x00: Disable buzzer 0x01: Enable buzzer Type: Byte Length: 1 Description: Buzzer control Response Message (Acknowledge) 0 0x06 1 ADR 2 3 0x4C 4 0x41 5 0x55 6 0x03 7...
Command Reference Example Enable the buzzer of the monitor at address 0.7 (group 0, address 7): 0 0x07 1 0x07 2 0x4C 3 0x41 4 0x55 5 0x03 6 0x0C 7...9 0x02 0x02 10 0x01 0xFA The monitor at address 0.7 (group 0, address 7) acknowledged that the buzzer is enabled: 0 0x06 1 0x07 2 0x4C 3 4 5 6 0x41 0x55 0x03 0x0D Beijer Electronics, MAEN975 7...
Command Reference 6.56 LAU_CONTROL_DIGITALOUT (0x0203) Digital Output Control Sets the output pin state of the digital I/O port, if available. Note: On some devices, the output port bit 0 is internally wired to the buzzer. Setting this bit will activate also the buzzer. In turn, enabling the buzzer with command LAU_CONTROL_BUZZER will also set output port bit 0. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 0x07 1 ADR 2 3 4 5 6 0x4C 0x41 0x55 0x03 ICHKH 7...
Command Reference Response Message (Negative Acknowledge) 0 1 2 3 4 5 0x15 ADR 0x4C 0x41 0x55 0x02 6 ICHKH 7...8 0x02 0x03 9 ICHKD Under normal operation conditions, a negative acknowledge message does not contain any status data in response to this command. This response message is only sent, if there is insufficient data in the command stream. Maximum Lr for this Command 11 Example Set digital port output bit 1 of the monitor at address 0.
Command Reference 6.57 LAU_CONTROL_ANALOGTOBRT (0x0204) Analog to Brightness Routing Control This command activates or deactivates the backlight level control using the analog input. The setting is temporary, and does not change the startup analog port usage. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 0x07 1 ADR 2 3 4 5 0x4C 0x41 0x55 6 0x03 7...
Command Reference Maximum Lr for this Command 11 Example Disable the analog port usage of the monitor at address 0.7 (group 0, address 7): 0 0x07 1 0x07 2 0x4C 3 0x41 4 0x55 5 0x03 6 0x0C 7...9 0x02 0x04 10 0x00 ICHKD The monitor at address 0.7 (group 0, address 7) acknowledged this request: 0 0x06 1 0x07 2 0x4C 3 4 5 6 0x41 0x55 0x03 0x0D Beijer Electronics, MAEN975 7...
Command Reference 6.58 LAU_CONTROL_LCDCONTROLDISABLE (0x0205) Video Controller Mode Control This command enables or disables the OSD (video controller) keys (i.e.
Command Reference Example Enable the OSD keys of the monitor at address 0.7 (group 0, address 7): 0 0x07 1 0x07 2 0x4C 3 0x41 4 0x55 5 0x03 6 0x0C 7...9 0x02 0x05 10 0x00 0xF8 The monitor at address 0.7 (group 0, address 7) acknowledged the request: 0 0x06 1 0x07 2 0x4C 3 0x41 Beijer Electronics, MAEN975 4 0x55 5 0x03 6 0x0D 7...
Command Reference 6.59 LAU_CONTROL_DINCONFIG (0x0206) Digital Input Configuration This command configures the digital input port. The setting is temporary, and does not change the startup digital input port configuration. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 0x07 1 ADR 2 0x4C 3 0x41 4 0x55 5 6 0x03 ICHKH 7...
Command Reference Response Message (Acknowledge) 0 0x06 1 ADR 2 0x4C 3 0x41 4 0x55 5 0x03 6 ICHKH 7...
Command Reference 6.60 LAU_STATUS_IPADR (0x0301) Current IP Address Returns the current IP address of the monitor. If a DHCP server is used, this is the IP address assigned by the DHCP server. If no DHCP server is used, this is the configured static IP address. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 1 2 3 4 5 6 0x07 ADR 0x4C 0x41 0x55 0x02 7...
Command Reference 6.61 LAU_STATUS_DISPLAYADR (0x0302) Current Monitor Address Returns the current monitor address. If the DIL (DIP) switch settings are used, this is the address configured via DIL switches. The group bits within the address field are always set to 0. If the DIL switch settings are overridden, this is the configured monitor address. The group bits are set as defined by the group configuration. Supported since Firmware Version MT230 Nautic Monitor: 1.
Command Reference 6.62 LAU_STATUS_SCOMSERMODE (0x0303) Current SCOM Serial Interface Mode Returns the current serial interface mode. If the DIL (DIP) switch settings are used, this is the serial interface mode configured via DIL switches. If the DIL switch settings are overridden, this is the configured serial interface mode. The serial interface mode indicates the physical type of the serial interface used for the SCOM communication. Available modes are RS232 and RS485.
Command Reference Example Read the current serial interface mode of the monitor at address 0.7 (group 0, address 7): 0 1 2 0x07 0x07 0x4C 3 4 5 0x41 0x55 0x02 6 0x0D 7...8 0x03 0x03 9 0xF9 According to the data returned by the monitor at address 0.
Command Reference 6.63 LAU_STATUS_POTMODE (0x0304) Current POT Mode Returns the current local backlight level control state. The local backlight level control mode can be changed by the standard SCOM command “POT” or digital input. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 1 2 3 4 5 6 0x07 ADR 0x4C 0x41 0x55 0x02 7...
Command Reference 6.64 LAU_STATUS_ECDISMODE (0x0305) Current ECDIS Mode Returns the current ECDIS mode. The ECDIS mode can be changed by the SCOM command “LAU_CONTROL_ECDISMODE”, digital input or using the front panel key. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 1 2 3 4 5 6 0x07 ADR 0x4C 0x41 0x55 0x02 7...
Command Reference 6.65 LAU_STATUS_BUZZER (0x0306) Current Buzzer State Returns the current buzzer state. The buzzer state can be changed using the SCOM commands “LAU_CONTROL_BUZZER” and “LAU_CONTROL_DIGITALOUT”, or digital input. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 1 2 3 4 5 6 0x07 ADR 0x4C 0x41 0x55 0x02 7...
Command Reference 6.66 LAU_STATUS_BACKLIGHT (0x0307) Current Backlight State Returns the current backlight level value. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 1 2 3 4 5 6 0x07 ADR 0x4C 0x41 0x55 0x02 7...8 ICHKH 0x03 0x07 6 7 9 ICHKD Response Message (Acknowledge) 0 1 2 3 4 5 0x06 ADR 0x4C 0x41 0x55 0x01 ICHKH Ret 8 ICHKD Ret Value: 0: dark...
Command Reference 6.67 LAU_STATUS_DIGITALOUT (0x0308) Current Digital Output Pin State Returns the current pin state at digital output port, which can be altered with the SCOM command “LAU_CONTROL_DIGITALOUT”. Note: On some devices, the output port bit 0 is internally wired to the buzzer, thus, the state of the output port bit 0 is also affected, if the buzzer is activated using the SCOM command “LAU_CONTROL_BUZZER”. Supported since Firmware Version MT230 Nautic Monitor: 1.
Command Reference Example Read the current digital output port bit state of the monitor at address 0.7 (group 0, address 7): 0 1 2 0x07 0x07 0x4C 3 4 5 0x41 0x55 0x02 6 0x0D 7...8 0x03 0x08 9 0xDE According to the data returned by the monitor at address 0.
Command Reference 6.68 LAU_STATUS_DIGITALIN (0x0309) Current Digital Input Pin State Returns the current pin state at digital input port, if available. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 1 2 3 4 5 6 0x07 ADR 0x4C 0x41 0x55 0x02 7...8 ICHKH 0x03 0x09 6 7 9 ICHKD Response Message (Acknowledge) 0 1 2 3 4 5 0x06 ADR 0x4C 0x41 0x55 0x01 ICHKH Ret 8 ICHKD Ret Value: Bit 0: Bit 1: Bit 2: Bit 3...
Command Reference 6.69 LAU_STATUS_ANALOGIN (0x030A) Current Analog Input Value Returns the current measured and normalized value at the analog input port, if available. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 1 2 3 4 5 6 0x07 ADR 0x4C 0x41 0x55 0x02 7...8 ICHKH 0x03 0x0A 6 7 9 ICHKD Response Message (Acknowledge) 0 1 2 3 4 5 0x06 ADR 0x4C 0x41 0x55 0x01 ICHKH Ret 8 ICHKD Ret Value: 0: no signal...
Command Reference 6.70 LAU_STATUS_ANALOGTOBRT (0x030B) Current Analog to Brightness Routing Mode Returns the current state of the analog input port usage. The analog input port usage can be modified using the SCOM command “LAU_CONTROL_ANALOGTOBRT” or digital input. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 1 2 3 4 5 6 0x07 ADR 0x4C 0x41 0x55 0x02 7...
Command Reference 6.71 LAU_STATUS_LCDCONTROLDISABLE (0x030C) Current Video Controller Control State Returns the current state of the OSD (video controller) keys (i.e.
Command Reference 6.72 LAU_STATUS_DINCONFIG (0x030D) Current Digital Input Configuration Returns the current digital input configuration, i.e. the command assigned to the digital input port. Supported since Firmware Version MT230 Nautic Monitor: 1.0 Command Stream 0 1 2 3 4 5 6 0x07 ADR 0x4C 0x41 0x55 0x02 7...
Command Reference Response Message (Negative Acknowledge) Under normal operation conditions, a device never sends a negative acknowledge in response to this command. Maximum Lr for this Command 9 Example Query the current digital port input configuration of the monitor at address 0.7 (group 0, address 7): 0 1 2 0x07 0x07 0x4C 3 4 5 0x41 0x55 0x02 6 0x0D 7...8 0x03 0x0D 9 0xEF According to the data returned by the monitor at address 0.
Command Reference 6.73 LAU_STATUS_CFGWRITECOUNTER (0x030E) Configuration Write Counter Beijer Electronics Nautic Monitors store their configuration data in a non-volatile memory called EEPROM (Electrically Erasable Read Only Memory). An EEPROM has limited count of write/erase cycles (at least 100,000). This command returns the amount of configuration writes, which may help to replace a device in time, if necessary.
Command Reference Example Query the current count of configurations of the monitor at address 0.15 (group 0, address 15): 0 1 0x07 0x0F 2 0x4C 3 4 5 6 0x41 0x55 0x02 0x05 7...8 0x03 9 0x0E 0xEE According to the data returned by the monitor at address 0.
Command Reference 124 Beijer Electronics, MAEN975
Sample Communication Application 7 Sample Communication Application This chapter provides the full source code of a simple command line application, which can be used to remote control a Beijer Electronics Nautic Monitor. It has been successfully compiled and tested under Linux and Windows. The source code contains all basic routines necessary to create valid SCOM messages and send it via Ethernet using UDP with broadcast addressing.
Sample Communication Application /*=====================================================================*/ /* SCOM #define #define #define limits. */ _SCOM_MSG_HDR_SIZE 7 _SCOM_MAX_MSG_LEN 82 _SCOM_MAX_DAT_LEN 74 /* SCOM #define #define #define attention _ATTN_CMD _ATTN_ACK _ATTN_NAK /* SCOM #define #define #define #define #define #define #define #define message fields.
Sample Communication Application /*======================================================================= A local version of strupr. */ char* mystrupr(char *pc) { char *pcu; /*========*/ for (pcu=pc;*pcu!=0;pcu++) *pcu=toupper(*pcu); return pc; } /*======================================================================= Displays the given message and software usage. */ void printUsage(char *pucMessage) { printf(">>> "); printf(pucMessage); printf(".
Sample Communication Application Hello world... ;-) */ int main(int argc,char *argv[],char *envp[]) { int i; char *pcEnd; unsigned char aucSCOM[_SCOM_MAX_MSG_LEN]; int s; int iso; struct sockaddr_in sai; int iBytesToSend; int iBytesRead; #ifdef _WIN32 WSADATA wsad; #endif /* _WIN32 */ /*========*/ printf(_ "lscom +++ Lauer SCOM Sample Communication Application"_ "(c) Elektronik-Systeme Lauer GmbH & Co.
Sample Communication Application aucSCOM[_SCOM_MSG_OFS_ATTN]=_ATTN_CMD; aucSCOM[_SCOM_MSG_OFS_LEN]=i; aucSCOM[_SCOM_MSG_OFS_ICHK]=getICHKH(aucSCOM); aucSCOM[_SCOM_MSG_OFS_DATA+i]=getICHKD(aucSCOM,(unsigned char)i); #ifdef _WIN32 WSAStartup(MAKEWORD(2,2),&wsad); #endif /* _WIN32 */ /* === SEND SCOM MESSAGE === */ printf("> Opening UDP socket for sending.
Sample Communication Application printf(" HEX : "); for (i=0;i No data received."_); } else printError("Cannot bind to receive socket"); printf("> Receive socket closed."_); } else printError("Cannot open receive socket"); } else printError("Cannot open send socket"); printf("> Exit.
HEAD OFFICE SUBSIDIARIES SWEDEN GERMANY USA Beijer Electronics Products AB Box 426 SE-201 24 Malmö, Sweden Tel: +46 40 35 86 00 Fax: +46 40 93 23 01 info@beijerelectronics.com Elektronik-Systeme Lauer GmbH & Co. KG Kelterstraße 59 72669 Unterensingen, GERMANY Tel: +49 7022 9660 0 Fax: +49 7022 9660 103 info@lauer-hmi.com Beijer Electronics Inc. 939 N. Plum Grove Road, Suite F Schaumburg, IL 601 73, USA Tel: +1 847 619 6068 Fax: +1 847 619 6674 info.usa@beijerelectronics.