![Siemens SIMATIC NET MODEM MD720 System Manual Download Page 47](http://html.mh-extra.com/html/siemens/simatic-net-modem-md720/simatic-net-modem-md720_system-manual_381816047.webp)
MODEM MD720 in Terminal Mode
Fehler! Verweisquelle konnte nicht gefunden werden.
47
AT+CREG
Network registration
Test
Command:
AT+CREG=?
Response:
+CREG: (list of supported <n>s)
OK
Read command
Command:
AT+CREG?
Response:
+CREG: <n>,<stat>[,<lac>,<ci>]
OK
Executive command
Command:
AT+CREG=<n>,<stat>
Response:
OK
Parameter:
<n>:
0:
disable network registration unsolicited result code
1:
enable network registration unsolicited result code +CREG: <stat>
2:
enable network registration and location information unsolicited result code
+CREG: <stat>[,<lac>,<ci>]
<stat>:
0:
not registered, ME is not currently searching a new operator to register to
1:
registered, home network
2:
not registered, but ME is currently searching a new operator to register to
3:
registration denied
4:
unknown
5:
registered, roaming
<lac>:
string type; two byte location area code in hexadecimal format (e.g. "00C3" equals 195 in
decimal)
<ci>:
string type; two byte cell ID in hexadecimal format
Notice:
Executive command controls the presentation of an unsolicited result code
+CREG:
<stat>
when <n>=1 and there is a change in the device network registration status, or
code
+CREG: <stat>[,<lac>,<ci>]
when <n>=2 and there is a change of the network cell.