LG M3701C-BA Owner's Manual (English) - Page 45

Transmission / Receiving Protocol, OK Acknowledgement, Transmission

Page 45 highlights

RS-232C Controlling the Multiple Product Transmission / Receiving Protocol Transmission [Command1][Command2][ ][Set ID][ ][Data][Cr] * [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 [Command2][ ][Set ID][ ][OK][Data][x] * 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 [Command2][ ][Set ID][ ][NG][Data][x] * If there is error, it returns NG A3

  • 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
  • 59
  • 60

OK Acknowledgement
[Command2][ ][Set ID][ ][OK][Data][x]
* 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
[Command2][ ][Set ID][ ][NG][Data][x]
* If there is error, it returns NG
Controlling the Multiple Product
RS-232C
A3
Transmission
[Command1][Command2][ ][Set ID][ ][Data][Cr]
* [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)ā€™
Transmission / Receiving Protocol