ICX35-HWC ♦ Industrial Cellular Gateway
Modbus TCP/IP Communications
3G/4G LTE
User Manual
ProSoft Technology, Inc.
Page 91 of 127
7.2
ICX35-HWC Diagnostic Counter Reset
The following ICX35-
HWC status parameters can be reset to ‘0’. They cannot be
individually reset.
Diag.Min_RSSI
Diag.Max_RSSI
Diag.Cell_Net_Disconnects
Diag.LAN_KBytes_Sent
Diag.LAN_KBytes_Received
Diag.WAN_KBytes_Sent
Diag.WAN_KBytes_Received
Diag.SMS_MSGs_Sent
Diag.SMS_MSGs_Received
Diag.SMS_MSGs_Rx_Free_Buffer_Counter
Use Modbus Function Code 6 write a value of ‘
1
’ to 40001 in the ICX35-HWC.
7.3
Sending SMS Text Messages to the ICX35-HWC
Using the Modbus Function Codes 6 and 16, a Modbus TCP/IP Client can send SMS
text message contents to the ICX35-HWC. In turn, the ICX35-HWC sends the SMS
text message to the phone number recipient(s).
Before triggering, you must first load the SMS text message contents, message
length, and phone number information. Below is a table of the Modbus addresses
required to send an SMS text message.
Parameter
Modbus Address
Data Type
Description
SMS.TX_Send
40003
SINT
Trigger to send SMS text message when Value = 1
SMS.TX_MessageLength 40004
INT
Number of bytes (characters) to send
SMS.TX_NumCount
40005
INT
Number of phone numbers that the SMS will be sent to
SMS.TX_MessageString
40006 to 40085
SINT[160] SMS text message string to be transmitted
SMS.TX_Ph_Number1
40086 to 40097
SINT[24]
Phone number including prefixes, country, code, etc.
SMS.TX_Ph_Number2
40098 to 40109
SINT[24]
Phone number including prefixes, country, code, etc.
SMS.TX_Ph_Number3
40110 to 40121
SINT[24]
Phone number including prefixes, country, code, etc.
SMS.TX_Ph_Number4
40122 to 40133
SINT[24]
Phone number including prefixes, country, code, etc.
SMS.TX_Ph_Number5
40134 to 40145
SINT[24]
Phone number including prefixes, country, code, etc.
SMS text message contents (40006):
The ICX35-HWC can send up to 160
characters (80 16-bit integers) per SMS text message. To load the text message
string, use the Modbus Function Code 16 to write to Modbus address starting at
40006 in the ICX35-HWC.
SMS text message length (40004):
Use the Modbus Function Code 6 to write
the number of characters (up to 160) to send.
Amount of phone numbers to send to (40005):
Use the Modbus Function
Code 6 to write the amount of phone numbers that will be used.
Phone number entry (40086):
Use the Modbus Function Code 16 to write the
recipient’s phone number including prefixes, country, code, etc. You can enter up
to 5 phone numbers, each starting at a different Modbus address (see table
above).
Trigger the SMS text message (40003):
When you are ready to send the SMS
text message, use the Modbus Function Code 6 to write a value of ‘
1
’ to 40003.