Command And Response Format; Command And Response Examples - Legamaster STX-5810 Manual Del Usuario

Tabla de contenido

Publicidad

Idiomas disponibles
  • ES

Idiomas disponibles

  • ESPAÑOL, página 114
SERIAL COMMANDS
10.3. COMMAND AND RESPONSE
FORMAT
Commands sent from an automation/control
system or PC to the display must have the following
format:
[STX] [IDT] [TYPE] [CMD] ([VALUE] or [REPLY]) [ETX]
[CR]
Where:
• [STX] indicates the start of the command data
(always 07).
• [IDT] is the display ID (always 01).
• [TYPE] is the command type:
00 = return to host (response from the
LCD panel)
= read / action
= write

10.4. COMMAND AND RESPONSE EXAMPLES

Here are some examples of serial commands and their responses:
DESCRIPTION
Turn LCD panel power off.
Turn LCD panel power on.
Request LCD panel power status.
Set the LCD panel contrast to 30
(1E hex).
Reset the LCD panel display settings.
Request LCD panel serial number.
Request LCD panel firmware version.
24
STX-5810/STX-6510 – USER MANUAL – ENGLISH
• [VALUE] is the parameter setting for the command.
• [REPLY] is the parameter setting for the command,
acknowledged by the display in its response to a
command.
• [ETX] indicates the end of the command data
(always 08).
• [CR] is the ASCII carriage return key (0x0D).
COMMAND SENT TO LCD PANEL
07 01 02 50 4F 57 00 08
07 01 02 50 4F 57 01 08
07 01 01 50 4F 57 08
07 01 02 43 4F 4E 1E 08
07 01 02 41 4C 4C 00 08
07 01 01 53 45 52 08
07 01 01 47 56 45 08
RESPONSE RECEIVED FROM LCD PANEL
07 01 00 50 4F 57 00 08
07 01 00 50 4F 57 01 08
07 01 00 50 4F 57 XX 08
(XX = 0 when off or 1 when on)
07 01 00 43 4F 4E 1E 08
07 01 00 41 4C 4C 00 08
07 01 00 53 45 52 S(0)...S(12) 08
S(0) ...S(12) = the serial number in ASCII
07 01 00 47 56 45 S(0)...S(5) 08
S(0) ...S(5) = the firmware version in ASCII

Publicidad

Tabla de contenido

Solución de problemas

loading

Este manual también es adecuado para:

Stx-6510

Tabla de contenido