LG M4210C-BA User Guide - Page 43

Transmission, Receiving, Protocol

Page 43 highlights

@ Transmission / Receiving Protocol Transmission I [Commandl][Command2][ ][Set ID][ ][Data][Cr] I * [Command 1]: First command. (j, k, m, d) * [Command 2]: Second command. * [Set ID]: Set up the Set ID number of product. range • 1-99. by setting '0', server can control all products. * In case of operating with more than 2 sets using set ID as '0' at the same time, it should not be checked the ack message. Because all sets will send the ack message, so it's impossible the check the whole ack messages. * [DATA]: To transmit command data. Transmit 'FF' data to read status of command. * [Cr]: Carriage Return ASCII code '0x0D' * [ ]: ASCII code Space (0x20)' OK Acknowledgement I [Command2][ ][Set ID][ ][OK][Data][x] I * The Product transmits ACK (acknowledgement) based on this format when receiving normal data. At this time, if the data is data read mode, it indicates present status data. If the data is data write mode, it returns the data of the PC computer. Error Acknowledgement I [Command2][ ][Set ID][ ][NG][Data][x] * If there is error, it returns NG @

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58

@
Transmission
/
Receiving
Protocol
Transmission
I
[Commandl][Command2][
][Set ID][ ][Data][Cr]
I
* [Command
1]: First command.
(j, k, m, d)
* [Command
2]: Second
command.
* [Set ID]: Set up the Set ID number
of product.
range • 1-99.
by setting
'0', server can control
all products.
* In case of operating
with more than 2 sets using set ID as '0' at the same
time, it should not be checked
the ack message.
Because
all sets will send the ack message,
so it's impossible
the check the
whole ack messages.
* [DATA]: To transmit
command
data.
Transmit
'FF' data to read status of command.
* [Cr]: Carriage
Return
ASCII code '0x0D'
*[
]: ASCII code Space (0x20)'
OK Acknowledgement
I [Command2][
][Set ID][ ][OK][Data][x]
I
* The Product transmits
ACK (acknowledgement)
based on
this format when
receiving
normal data. At this time, if the
data is data read mode, it indicates
present status data.
If the data is data write mode, it returns the data of the PC
computer.
Error Acknowledgement
I [Command2][
][Set ID][ ][NG][Data][x]
*
If there is error, it returns NG
@