Digital I/O Server (Mg101-1Nn); Monitor The Digital Inputs And Outputs; Set Digital Outputs; Get Status Of Digital Inputs And Output - RACOM MG101 User Manual

Gprs/edge/umts router
Table of Contents

Advertisement

4.2

Digital I/O Server (MG101-1NN)

To manage digital inputs and outputs via TCP software is required that handles the TCP connection. For test
purposes e.g. telnet can be used. The payload contains the states of the four inputs/outputs:
The value 0 represents the state "off", the value 1 the state "on".
4.2.1

Monitor the digital inputs and outputs

Every change of digital inputs triggers a message of the above format to be sent. It also contains the valid
states of the outputs.
4.2.2

Set digital outputs

To set the states of the digital I/O send the following pattern as ASCII characters
Pattern
00000000
00000001
00000010
00000011
4.2.3

Get status of digital inputs and output

To get the states of the digital I/O send the following pattern as ASCII characters
Pattern
00010000
4.3

HTTP Service Interface

The HTTP Service Interface is designed to administrate the MG101/102 with a self-written http client. It is
available from version 3.3.2.xxxx.
The HTTP Service Interface consists of four web pages located in the root directory of the MG101/102 web
server:
login.php (http clients can log in)
logout.php (http clients can log out)
upload.php (http clients can upload configuration files)
download.php (http clients can download log files)
cli.php (http clients can acces the same functionaltity as provided by the Command Line Interface)
For further documentation regarding the HTTP Service Interface please contact Racom.
User manual
GPRS/EDGE/UMTS routers MG101, MG102
3. Jul 2009
Description
Turn all digital outputs off
Turn output 2 on, turn output 1 off
Turn output 1 on, turn output 2 off
Turn output 1 on, turn output 2 on
Description
Request a message with all states
98 / 107

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mg102

Table of Contents