SMS-531 Quick Start v1.0 2013/01
6/8
Discrete Input (Function Code: 2)
Input Register (Function Code: 4)
Address
Data
Address
Description
Attribute
30001 ~
30016
0x0 ~
0xF
The status of transmitting SMS buffer 0~15
(1)
High Byte: Buffer status
0-> Idle
1-> Waiting for transmitting
2-> Transmitting
3-> Transmitting OK
4-> Transmitting fault
(2)
Low Byte : Error code
R
30017
0x10
The last transmitting SMS buffer number
R
30018
0x11
The status of transmitting dynamic SMS
(1)
High Byte: Status
0-> Idle
1-> System busy or waiting for transmitting
2-> Transmitting
3-> Transmitting OK
4-> Transmitting fault
(2)
Low Byte: Error code
R
30019
0x12
The 3G signal strength
0~31s or 99(Error)
R
30031 ~
30040
0x1E ~
0x27
The SMS transmitter’s phone number. ASCII code by end
char 0x00.
R
Address
Data
Address
Description
Attribute
10001
0x0
The status of transmitting SMS buffer
0
:
No
1
:
Overflow
R
10002
0x1
The indication of the received SMS
0
:
No received SMS
1
:
Having received SMS
R
10003
0x2
The status of SD card
0
:
No SD card or Error
1
:
Normal
R