Creating SMS Messages and Phone Numbers

SMS message can contain both fixed text and variables.

Note

The length of the SMS message is limited by whether you have  enabled non-English SMS characters in the Send SMS Ladder Element.
- English-only 150 ASCII character maximum

- non-English enabled: 70 character maximum.

 

  1. Select SMS Messages in the Solution Explorer.

  2. Click the Add New SMS button.

  3. Click the SMS message to open it up and define it.

  4. From the Toolbox, select elements to add to the message, and configure these elements via the Properties Window.

  5. Add phone numbers by clicking the Message header icon to open the properties window, and then click Phone Numbers Collection.

  6. Click Add New Phone Number, and link a String-ASCII data tag.

 

SMS Message Struct

When you create an SMS message, UniLogic automatically creates a supporting struct.

Name

Data Type

Definition

Send:Success

Bit

ON=Sent Successfully

Send: Fail

Bit

ON=Send Failed

Initialization Status

 

UINT32

 

Error

Message

0

No errors

1

Function start

2

Function in Progress

-1

General COM error. Please check the physical connections.

-2

Sent message error

-3

Telephone number format error

Note that the number cannot contain spaces.

-4

Parse Message error. This may result because:

- The elements in the message may contain a 'null' character

- Message length exceed the maximum limit,150 for English-only, 70 for non-English characters.
Note that if the message contains list elements, and the lists contain many members, this may cause the message to exceed the maximum limit.