RS-232C

 

Controlling the Multiple Product

 

 

 

 

 

 

 

Note 1: [Data] 0: Monday, 1: Tuesday, … , 6: Sunday, (7: Everyday) [Data1] 00 to 23 Hours

[Data2] 00 to 59 Minutes

Note 2: [Data] 0: Write, FF: Read

[Data1] bit0: Monday Timer On(1)/Off(0), … , bit7: Everyday Timer On(1)/Off(0)

Transmission / Receiving Protocol

Transmission

[Command1][Command2][ ][Set ID][ ][Data][Cr] or [Command1][Command2][ ][Set ID][ ][Data] [ ][Data1][Cr] or

[Command1][Command2][ ][Set ID][ ][Data] [ ][Data1][ ][Data2][Cr]

*[Command1]: First Command. (d, f, j, k)

*[Command2]: Second command.

*[Set ID]: Set up the Set ID number of product.

Range: 1 to 63[HEX]. By setting ‘0’, server can control is 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 ‘0 x 0D’

*[ ]: Space. ASCII code ‘0 x 20’

OK Acknowledgement

[Command2][ ][Set ID][ ][OK][Data][x] or [Command2][ ][Set ID][ ][OK][Data][Data1][x] or [Command2][ ][Set ID][ ][OK][Data][Data1][Data2][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

Page 28
Image 28
LG Electronics M2901S, M3801S owner manual Transmission / Receiving Protocol