cancel
Showing results for
Did you mean:
cancel

# FAQ: EXAMPLE OF DECIPHERING A RS232 COMMANDS

```EXAMPLE OF DECIPHERING A RS232 COMMANDS
---------------------------------------

rs232.tx_hex=aa11fe010111

HEADER  COMMAND  ID     DATA LENGTH  DATA 1  Check Sum
0xAA    0x11     0xFE   0x01          0x01   0x11

TYPE OF COMMAND
---------------
0x11 = Power Control

ID
--
0xFE = If you wish to control all units connected to serial
cables regardless of the IDs, set the ID to "0xFE" and send the
commands

DATA LENGTH
-----------
For Power Control, the "Set" Function has a Data Length
of 0x01

DATA 1
------
For Power Control & Set Function, The Data 1 values are either
Power ON (0x01) or Power OFF (0x00)

Calculate the Checksum Value:
-----------------------------
0x11 + 0xFE + 0x01 + 0x01 = 0x111
** Note: The sum  is a 3-digit integer, discard the first digit
and keep the lower two.

the RS-232: Control Supported, non-DMTech displays" for the DMP(s)

=====================================================================

rs232.tx_hex=aa11fe010010

HEADER  COMMAND  ID     DATA LENGTH  DATA 1  Check Sum
0xAA    0x11     0xFE   0x01          0x00   0x10

TYPE OF COMMAND
---------------
0x11 = Power Control

ID
--
0xFE = If you wish to control all units connected to serial
cables regardless of the IDs, set the ID to "0xFE" and send the
commands

DATA LENGTH
-----------
For Power Control, the "Set" Function has a Data Length
of 0x01

DATA 1
------
For Power Control & Set Function, The Data 1 values are either
Power ON (0x01) or Power OFF (0x00)

Calculate the Checksum Value:
-----------------------------
0x11 + 0xFE + 0x01 + 0x00 = 0x110
** Note: The sum  is a 3-digit integer, discard the first digit
and keep the lower two.

the RS-232: Control Supported, non-DMTech displays" for the DMP(s)

```

This document was generated from the following thread:

5728
Views
5