
Version : 1.09
66
Example: when a user is connected you can modify its level access by writing a
value in the register COMx.level (level available: 0, 1, 2 or 3).
Those values can be stored in analog chronology for keeping a history on the
access.
When a user disconnects (Logout), the register returns to 0
COMx.Timeout
*
Modem: global time-out for hanging-up the modem when there is no
communication. Correspond to the ‘Inactivity time-out’ in the ‘Advanced
properties’ of the modem.
COMx.GPRSState
-
GPRS/3G: indicates the status of the GPRS connection.
Value=0 : disconnected
Value=1 : currently connecting
Value=2 : connected
Value=3 : currently disconnecting
COMx.IPAddress
-
GPRS/3G: this register gives the IP address received by
TB
OX
LT2
during its
connection to the operator. The information is available in a DWORD. It can be
displayed from the list of Tag as ‘Ip Address’.
COMx.SigLevel
-
GSM: when available, quality of the GSM signal. The range of the value is 1 to 31. A
value of 18 is considered as a good signal level.
PSTN: when available, voltage on the line (+/- 20%)
COMx.SmsState
-
GSM: associated to the GSM, can be used to check the status of ReadSMS.
COMx.AutoAnswer
*
MODEM:
Read: indicates the number of RING before the off hook
Write “0”: no off hook
Write “1”: force off hook at the next RING
COMx.ModemState
-
MODEM: gives current status of the modem. Possible values are:
1: PIN code sent (GSM only when PIN code activated)
4: Init string accepted
7: Idle mode (PSTN/CSD modem)
9: outgoing call. Waiting CONNECT
10: incoming call. RING arriving
12: Idle mode (GPRS/3G)
… more values in TWinSoft Help.
The last value is maintained, until the next status changing.
COMx.CallerID
*
MODEM: variable which indicates the caller ID of the current incoming modem
connection, 32 bits format, giving the 9 last digits of the calling number. It can be
used in the program to trace and control who is calling
Init string of GSM modem: Caller ID identification must be activated. ^AT+CLIP=1
COMx.ModemPoT
*
LowPower: used only with Low Power RTU
.
COMx.StationAdd
-
General: Station address of the RTU (see general RTU properties).
LOW BYTE: ModBus station address.
HIGH BYTE: Sub address.
Doing ModBus Transactions through modem, useful to detect the calling “Slave“
station, by doing a request to station “0” and read this variable. From there, the
“Master” can activate the proper Trigger.
COMx.CurNetwork
-
GSM-3G: Indicates the network the GSM is connected to
0 : GPRS ou EDGE
1 : 3G
COMx.UsbState
-
USB: Gives current status of the USB port:
0 = does not do anything (never visible)
10 = USB port in mode "device", waiting for a Host (PC)
11 = Something is connected in mode "device"
20 = USB port in mode "host" waiting for a device (USB stick)
21 = Something is connected to
TB
OX
LT2
WARNING: this could be a device not recognized by
TB
OX
LT2
like a mouse, a
keyboard, ...
Without anything connected to the USB, the variable toggles 10, 20, 10, 20, ….
Summary of Contents for TBOX LT2-530 Series
Page 1: ...User s Guide Cabling Technical Specifications Version 1 09 LT2...
Page 10: ...Version 1 09 10...
Page 11: ...Version 1 09 11...
Page 17: ...Version 1 09 17...
Page 20: ...Version 1 09 20...
Page 21: ...Version 1 09 21...
Page 38: ...Version 1 09 38...
Page 39: ...Version 1 09 39...
Page 151: ...Version 1 09 151...
Page 175: ...Version 1 09 175...