ICX35-HWC ♦ Industrial Cellular Gateway
Modbus TCP/IP Communications
3G/4G LTE
User Manual
ProSoft Technology, Inc.
Page 92 of 127
7.4
Retrieving SMS Text Messages from the ICX35-HWC
Using the Modbus Function Code 4, a Modbus TCP/IP Client can read the SMS text
message contents, date/time, and its phone number origination.
Below is a table of the ICX35-HWC Modbus addresses used to read the SMS text
message information.
Parameter
Modbus Address
Data Type
Description
SMS_TEXT.DateTime
30093 to 30108
SINT
Time Stamp for received SMS text.
MM/DD/YY HH:MM:SS
SMS_TEXT.Phone_Number
30109 to 30120
SINT
Phone number of SMS text origination.
(Ex. +18001112222)
SMS_TEXT.Text_Str
30121 to 30200
SINT
Text message contents
SMS text message contents (30121):
Use the Modbus Function Code 4 to read
from ICX35-HWC Modbus address
30121
. Each 16-bit Modbus address contains
2 characters (1 byte each) of the SMS text message.
Example:
A 100-character text message occupies 50 Modbus addresses.
SMS text phone number (30109):
Use the Modbus Function Code 4 to read
from ICX35-HWC Modbus address
30109
. Each (16 bit) Modbus address
contains 2 characters (1 byte each) of the phone number.
SMS text date/time (30093):
Use the Modbus Function Code 4 to read from
ICX35-HWC Modbus address
30093
. Each (16 bit) Modbus address contains 2
characters (1 byte each) of the time stamp.
7.5
Additional Features
Clearing the Received SMS Text Message Buffer
A Modbus TCP/IP Client can clear the received SMS text messages in the ICX35-
HWC. Use the Modbus Function Code 6 to write a value of ‘
1
’ to Modbus Address
40146 in the ICX35-HWC.
Rebooting the ICX35-HWC
A Modbus TCP/IP Client can reboot the ICX35-HWC by using a Function Code 6 to
write a value of ‘
1
’ to Modbus Address 40147 in the ICX35-HWC.