
SMS-531 User’s Manual v1.1
- 50/60 -
5.
Send a clear SMS command to clear the SMS from the GT-531 and it
can receive the next SMS.
Result
The phone of transmitting SMS
:
886928766507
Date
:
20110422095531(2011/04/22/ 09:55:31)
The SMS
:
Hello,GT-531!
Format Description:
Inquiring the SMS-531 whether has received the SMS
Command
Byte 0
The Modbus Address of the SMS-531
Byte 1
Function Code = 2
Byte 2 ~ 3
The address to indicate whether the SMS-531 has
received the SMS
Byte 4 ~ 5
Bit Count
,
1 bit
Byte 6 ~ 7
CRC-16 check code
Correct
response
Byte 0
The Modbus Address of the SMS-531
Byte 1
Function Code = 2
Byte 2
Byte Count
,
(The size of Data)
Byte 3
= 0, No SMS
= 1, Having received the SMS
Byte 4 ~ 5
CRC-16 check code
Error response
Byte 0
The Modbus Address of the SMS-531
Byte 1
= 0x82
Byte 2
Error Code
02: Error format
Byte 3 ~ 4
CRC-16 check code
Reading the phone number of the received SMS
Command
Byte 0
The Modbus Address of the SMS-531
Byte 1
Function Code = 4
Byte 2 ~ 3
The data address of the sending phone number
Byte 4 ~ 5
Register Count (The inquired count of register. It is
fixed as 10(0x0A)
Byte 6 ~ 7
CRC-16 check code
Correct
Response
Byte 0
The Modbus Address of the SMS-531
Byte 1
Function Code = 4
Byte 2
Byte Count
Byte 3 ~ 22
The sending phone number (ASCII coed, 0x00 is the
end char)
Byte 23 ~ 24 CRC-16 check code
Содержание SMS-531
Страница 10: ...SMS 531 User s Manual v1 1 6 60 2 3 Dimensions...