Specifications
Chapter 5 - AsconMBCommLib
165
and default values of the parameters has been successfully tested with the Ascon
Tecnologic APS2MODEMEGxxx modem. It returns also detailed information on the
possible errors. The function block should be used in conjunction with the
MODEM_CONF and MODEM_CHECK in order to have a complete set of
operations before to proceed with the normal modem data activities.
Note: For parameter description and meaning, please search for a good reference
document about AT commands by searching the “AT commands for GSM/GPRS
wireless modem” manual from MultiTech Systems.
Default Values Table
Reference Table
Input Default Value
SEND_SMS FALSE
PHONE_NUMS 1
PHONE_NUM1 ‘+0123456789’
PHONE_NUM2 ‘’
PHONE_NUM3 ‘’
PHONE_NUM4 ‘’
PHONE_NUM5 ‘’
MSG_TXT ‘HELLO WORLD!!!’
Output Default Value
STATUS
0 = Waiting to start
1 = phone numbers handling
2 = configuring phone number
3 = formatting SMS message
4 = delivering SMS message
5 = waiting to complete SMS delivering
6 = done, waiting for next operation
Output Description
ERR_CODE.0 Port not configured for the ASCII serial protocol
ERR_CODE.1 Attempt to write a number of bytes that exceeds the allowed limit
ERR_CODE.2 Port not configured for the ASCII serial protocol
ERR_CODE.3 Peripheral driver problems
ERR_CODE.4 Unavailable number of requested bytes in the input buffer
ERR_CODE.5 Number of bytes present in the input buffer less then requested
ERR_CODE.6 Amount of phone numbers lower than admitted
ERR_CODE.7 Amount of phone numbers higher than admitted