OpenSCADAWiki: Home Page En/Doc/ Serial ...

Home | Index | Changes | Comments | Users | Registration | Login  Password:  
 
This is an old revision of HomePageEn/Doc/Serial from 2010-04-12 15:57:32..

Module <Serial> of subsystem “Transports”

Russian (1 Kb) Ðóññêàÿ âåðñèÿ
Ukrainian (1 Kb) Óêðà¿íñüêà âåðñ³ÿ


Module:Serial
Name:Serial Interface
Type:Transport
Source:tr_Serial.so
Version:0.6.0
Author:Roman Savochenko
Translated:Maxim Lysenko
Description:Provides a serial interface. It is used to data exchange via the serial interfaces of type RS232, RS485, GSM and more.
License:GPL

Contents

Introduction

Module of transport Serial provides support of transports based on the type of serial interfaces RS232, RS485, GSM, and others to the system. Incoming and outgoing transports are supported. To add new incoming and outgoing interfaces is possible by means of configuration of the transport subsystem in the system configurator of OpenSCADA.


Into modem mode by the module support misc work mode. Misc mode mean an input transport allow, which wait ingoing connections, and also an output transport allow at idem device. That is the input transport will ignore all requests while the output transport's established connection allow, in idem time the output transport will not try make connection while the input transport have connection or other an output transport connected to other telephone, for example.

1. Incoming transports

The configured and runnig incoming transport opens port of serial interface for the expectation of the requests of the clients. Each incoming interface is necessarily associated with one of the available transport protocols, to which the incoming messages are transmitted.


Configuration dialog of the incoming serial interface is depicted in Figure 1.


Configuration dialog of the incoming serial interface. (70 Kb)
Fig.1. Configuration dialog of the incoming serial interface.

Using this dialog you can set:


Transport supports the ability to work as a modem. This mode is activated by the fifth parameter of the addresse and includes call waiting from the remote modem (request "RING"), answering the call (command "ATA") and the subsequent transfer the requests from the remote station to the transport's protocol. Turning off the communication session is made by the initiator of the connection and leads to the reconnect of the modem-receiver for the waiting for new calls.


To configure the modem of the incoming transport the special tab "Modem" is provided (Fig. 2).


file:serial_in_mdm.png
Fig.2. "Modem" tab of the modem's configuration of the incoming serial interface.

With this dialog you can set the following properties of working with modem:

2. Outgoing transports

Configured and running outgoing transport opens port of the serial interface for the sending the requests through it.


Main tab of the configuration page of outgoing serial interface is shown in Fig.2.


Main tab of the configuration page of outgoing serial interface. (80 Kb)
Fig.2. Main tab of the configuration page of outgoing serial interface.

Using this dialog you can set:


Transport supports the ability to work as a modem. This mode is activated by the fifth parameter of the addresse, and implies the phone call making at the number, specified in the fifth parameter, at the moment of transport's start. After installation the connection with the remote modem all requests are sent to the station behind the remote modem. Turning off the communication session at the transport's stop is made using the activity timeout.


To configure the modem of the outgoing transport the special tab "Modem" is provided (Fig. 4).


"Modem" tab of the configuration of modem of outgoing serial interface. (77 Kb)
Fig.4. "Modem" tab of the configuration of modem of outgoing serial interface.

With this dialog you can set the following properties of working with modem:

Links

Referring pages: HomePageEn/Doc
HomePageEn/Doc/DCON
HomePageEn/Doc/QuickStart
HomePageEn/Function
HomePageEn/Using/APIFunctionLibs/LibUserPrtDevs
HomePageEn/Using/PLC/firmware
HomePageEn/Using/PLC/firmwareARM


 
There are no files on this page.[Display files/form]
There is no comment on this page. [Display comments/form]