VEGA INSYS Modem GPRS 5.0 User Manual

Page 72

Advertising
background image

Functions

INSYS GPRS 5.0 serial

72

Alternatively, the function can be configured using the terminal program:

Automatic activation of the connection setup for Auto-
Dial destination <n> via input 1.

The command to set the input behavior is

AT**INPUT2=<n>

for input 1.

AT**INPUT2=<n>

for input 2.

Use the parameter <n> to set the destination, which will
be dialed for an event at the input. Values for <n>:
2: IP connection to AT**AUTOIP/AUTOPORTIP
3: IP connection to AT**AUTOURL/AUTOPORTIP
5: IP connection to AT**AUTOIP2/AUTOPORTIP2
6: IP connection to AT**AUTOURL2/AUTOPORTURL2

Example: Connection to predefined IP via event at input
2:

AT**INPUT1=<n>













AT**INPUT2=2

6.7.3 Transmitting the input states to another INSYS GPRS 5.0 serial (IO

tunneling)

The INSYS GPRS 5.0 serial can transmit its input states to another, remote INSYS GPRS 5.0
serial or to a server via a TCP/IP connection. The second INSYS GPRS 5.0 serial can output
the transmitted states at the outputs. The second device can output the states of its in-
puts at the outputs of the first device as well. The "Leased Line" function must be active
at the INSYS GPRS 5.0 serial so it can establish a permanent connection to the other IN-
SYS GPRS 5.0 serial. The second device uses the TCP Listen function to accept the connec-
tion of the first device. The states are transmitted periodically, i.e. after a set time or
immediately during the change of a state.
The transmission of the states consists of the following sequence:
0x1B<out1><out2>
0x1B = ESC character
<out1>= Value for state 0: 0x30.

Value for state 1: 0x31.

Example =0x1B 0x30 0x31 sets output 1 to 0 and output 2 to 1.

The transmission can take place "in-band", i.e. during a running data transmission. For
this purpose, the Escape character is doubled from the sending INSYS GPRS 5.0 serial.
This means that two Escape characters are sent. This prevents the misinterpretation of
the Escape characters in the data stream.
Configuration of the first device:

Advertising