Example 3: Sending The Alarm Sms Dynamically - ICP DAS USA SMS-531 User Manual

Intelligent 3g modbus sms/voice alarm controller
Hide thumbs Also See for SMS-531:
Table of Contents

Advertisement

5.3 Example 3: Sending the alarm SMS dynamically

This example is shown how to send the variable SMS to the variable phones by
Modbus commands. The max chars of the variable SMS is 70 Unicode.
For sending the variable SMS, it is not needed to be set by the GT-531 Series
Utility. This function can be finished by Modbus commands as follows.
(1) Connect to COM2(RS-232) or COM3(RS-485) of the SMS-531 to the Host PC.
(2) The host sends the Modbus commands to the SMS-531 to set the content of the
SMS and phone number first. Then, send the command to transmit the SMS.
Commands and Description:
Setting the phone number
(Hex)
Setting the SMS content
(Hex)
Command
Sending the SMS(FC 5)
(Hex)
Sending the SMS(FC 15)
(Hex)
1. The phone number:0123456789
2. The content of the SMS:Dynamic SMS
Description
3. Transmitting the SMS
The phone number "0123456789" would receive the "Dynamic SMS"
Result
SMS.
SMS-531 User's Manual v1.1
01 10 01 D5 00 06 0C 30 31 32 33
Command
34 35 36 37 38 39 00 00 D5 2B
Response 01 10 01 D5 00 06 50 0F
01 10 01 8F 00 0C 18 44 00 79 00
Command
6E 00 61 00 6D 00 69 00 63 00 20
00 53 00 4D 00 53 00 00 00 AC 3B
Response 01 10 01 8F 00 0C F0 1B
Command 01 05 00 80 FF 00 8D D2
Response 01 05 00 80 FF 00 8D D2
Command 01 0F 00 80 00 01 01 01 EE 89
Response 01 0F 00 80 00 01 01 01 EE 89
- 41/60 -

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gt-531

Table of Contents