Horner APG XLt OCS HE-GSM04 User Manual
Page 29

MAN4005-04-EN
GPRS / GSM MODEM Configuration
PAGE 29
Status Bits for Siemens Modems & Internal Modem
Bit 1
CPIN Command Failed: This command is used to unlock the SIM. This bit will be set if supplied PIN
is invalid or SIM is blocked or modem fails to respond within 2 sec of
sending this command. This command is NOT executed if SIM Pin code is
not enabled.
Bit 2
CSCA service center number command Failed: This command is used to set the SMS service
center number. This bit will be set if setting SMS service center number
command fails or modem fails to respond within 2 sec of sending this
command. This command is NOT executed if Service center number is
not provided.
Bit 3
CREG Command Failed: This command is used to register mobile device to the GSM network. This
bit will be set if registration fails or modem fails to respond within 2 sec of
sending this command.
Bit 4
CMGF Command Failed: SMS format selection command. This bit is set if modem returns Error
response to this command or modem fails to respond within 2 sec of
sending this command.
Bit 5
CNMI Command Failed: Command used to check newly received SMS message. This bit is set if
modem returns Error response to this command or modem fails to
respond within 2 sec of sending this command.
Bit 6
CSQ Command Failed: This command is used to get signal strength. This bit is set if modem
returns Error response to this command or modem fails to respond within
2 sec of sending this command.
Bit 7
COPS Command Failed: This command is used to select and register to a GSM network operator.
This bit is set if modem returns Error response to this command or modem
fails to respond within 2 sec of sending this command.
Bit 8
CPEE Command Failed: This command (CMEE) is used to disable mobile equipment (ME) error
indication. This bit is set if modem returns Error response to this command
or modem fails to respond within 2 sec of sending this command.
Bit 9
ATE Command Failed: This bit will be set if Echo off command to Modem returns Error or modem
fails to respond within 2 sec of sending this command.
Bit 10
CSMP Command failed: This bit will set if "Set SMS text mode parameter" command to Modem
returns error or Modem fails to respond within 2 Sec of sending this
command.
Status Bits for User Specific Initialization
Bit 1 – Bit 12
If command(s) fails in the user script, a corresponding bit is set indicating failure. For example: Bit 1 is
set when the first command in the script fails. Bit 2 is set when the 2nd command in the script fails.
SMS Message Buffer Register Settings
The Message Buffer Register holds the latest SMS message string sent or received by the controller. An individual SMS message
can have up to 160 characters.
Message Buffer Register Settings
Address
Enter the starting register location where the latest SMS message string is stored. This is a block of
80 registers that are consecutive in memory. For example, if you are using R101– R180, you need to
enter the starting register address as %R0101.
Name
Enter (or select) an I/O Name.
SMS Configuration Parameters
Configuration Parameters
Center Number
If required, select the box and type in Center number (up to 16 digits). The Center Number uses
numbers 0 – 9 and these special characters: , ( ) – +
SIM Pin Code
If required, select the box and type Pin number (up to 4 digits). SIM Pin Code can have only digits 0
– 9.
Command Interval
This is the interval of time (in seconds) that the OCS poll for messages (valid range: 1 - 100).
Note: SMS service center number should be configured correctly to send a SMS successfully.
Page 29 of 62 ECN # 956