Herunterladen Inhalt Inhalt Diese Seite drucken

IFM Electronic Ecomot100 CANcom III Handbuch Seite 63

Inhaltsverzeichnis

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

Function:
CANCOM_GLOBAL_STRUCT
Library:
CANCOM_a.lib
Purpose:
Global status variables to request different pieces of CANcom
information
Name
PROVIDER
MODEMTYPE
NETWORKSTATUS
SIGNALQUALITY
PIN_OK
MODEMRESULT
ERROR
ERRORCODE
Notes
More information is given in the following documents:
Programming manual "ecolog 100
www.ifm-electronic.com
System manual "ecomat 100 type R 360" (e.g. CR0018)
www.ifm-electronic.com
Data type
STRING (80)
BYTE
BYTE
BYTE
BOOL
BYTE
BOOL
ARRAY
[0...7]
OF BYTE
plus
"
Data sheet direct
Data sheet direct
Description
Name of the network operator,
e.g. "Telekom Mobilfunk D1"
0 = GSM modem
1 = analog modem
2 = ISDN modem
(at present only GSM modem possible)
Network status (only valid with GSM)
0 = not logged in
1 = logged in
2 = not logged in, but in search
Signal quality (only valid with GSM)
= ≤ -113 dBm
0
1
= -111 dBm
2-30 = -109... -53 dBm
= ≥ -51 dBm
31
99
= not known
Status SIM PIN no.
FALSE: PIN number is wrong
TRUE: PIN number is ok
Contains the result code of the modem
0 = ok
1 = Modem has set up connection to remote
station
2 = Modem is called
3 = No connection
4 = Invalid command
5 = No dial tone or dialling not possible
TRUE: An error has occurred
(Error is detailed in the ERRORCODE)
Byte 0: value 3 = GSM error has occurred
Byte 1: GSM error type
value 0 = CME error
value 1 = CMS error
Byte 2: Contains the high part of the GSM error
number
Byte 3: Contains the low part of the GSM error
number
CP9006
Additional data
CR0018
Additional data
CAN
CR310
COM
X
63
PAGE

Werbung

Kapitel

Inhaltsverzeichnis
loading

Inhaltsverzeichnis