Interface RS232 LAN (APOID)
CONTENTS:
1
Scope ........................................................................................................................................................2
1.1
System Identification ...................................................................................................................2
1.2
System Survey.............................................................................................................................2
1.3
Document Survey ........................................................................................................................2
1.4
List of Abbreviations....................................................................................................................2
Hardware Description ................................................................................................................................2
Mechanical dimensions and weight................................................................................................................3
2.1
Connectors of APOID block.........................................................................................................3
2.2
APOID board...............................................................................................................................4
2.2.1
Basic jumpers and switches setting on APOID board ....................................................................4
2.3
Electrical Characteristics..............................................................................................................5
2.4
Data Link Characteristics .............................................................................................................5
2.5
Internal Clock ..............................................................................................................................6
APOID Module Identification ....................................................................................................................6
3.1
Supported data formats ................................................................................................................6
3.1.1
ASTERIX radar data format.........................................................................................................6
3.1.2
EV760 radar data format ..............................................................................................................7
3.1.3
EV720 radar data format ..............................................................................................................7
3.1.4
AIRCAT radar data format ...........................................................................................................7
3.1.5
AFTN communication format ......................................................................................................8
3.2
APOID Module Operation ...........................................................................................................8
3.3
Data Adapter Description .............................................................................................................8
3.3.1
Data Reception from RS232 serial line and transfer to LAN .........................................................8
3.3.2
Transmission of Data Received from LAN to Synchronous Line...................................................8
3.4
Block Restart ...............................................................................................................................8
3.5
Watchdog ....................................................................................................................................9
3.6
Configuration Files ......................................................................................................................9
Dual system (MASTER / STAND-BY) .....................................................................................................9
4.1
System States...............................................................................................................................9
4.2
State transitions: ..........................................................................................................................9
Control and Diagnostics........................................................................................................................... 11
5.1
SNMP diagnostics...................................................................................................................... 11
5.2
External Diagnostics .................................................................................................................. 11
5.2.1
DCD Signal Status.....................................................................................................................12
5.2.2
CTS Signal Status......................................................................................................................12
5.2.3
OVERFLOW Indication ............................................................................................................12
5.2.4
Transmitted Data Flow...............................................................................................................12
5.2.5
Received Data Flow...................................................................................................................12
5.2.6
Frames of Transmitted Data .......................................................................................................12
5.2.7
Frames of Received Data ...........................................................................................................12
5.3
Internal Diagnostics ...................................................................................................................12
5.4
Control and Setting ....................................................................................................................13
5.4.1
Web Configuration Interface ......................................................................................................13
1 Scope
1.1 System Identification
APOID a communication module is an intelligent data interface between the LAN and RS232 serial synchronous/asynchronous line.
1.2 System Survey
APOID module is a single-channel data receiver/transmitter on a RS232 serial
synchronous/asynchronous line in different type of formats. The module communicates with
an ambient connected system via the LAN network. Data arriving from the LAN network are
transmitted to the serial synchronous/asynchronous line, and data received from the serial
synchronous/asynchronous line are transmitted to the system with the help of the LAN
network.
1.3 Document Survey
This document describes the hardware and software performance, and APOID communication
module operation as well.
1.4 List of Abbreviations
APOID
CRC
HDLC
LAN
UDP
TCP/IP
HW block designed for the data reception via LAN network and for the data
transmission via a serial synchronous line
Check polynomial
Synchronous communication protocol (control of data high-level data link)
Local computer network
Data transmission protocol (unconfirmed transmission in network)
Data transmission protocol (confirmed transmission in network)
2 Hardware Description
This module comprises a single LAN (RJ45) connector and a single XC3 MODEM (DB25)
connector for the modem connection.
The module supports RS232, RS422, TTL standards.
The module sets DTR and RTS.
It receives CTS and DCD.
The module enables external input of synchronous clock signal and internal output of clock
signal.
The module is situated in a separate sheet cabinet together with the +5V/1A power supply.
The module LAN basic configuration (IP address, network mask, default gate) is saved in the
EEPROM.
The module comprises the FLASH program memory.
The module comprises LCD display of internal diagnostics.
View of the APOID block, see Fig. 1.
Mechanical dimensions and weight
222 73 189 mm (w h d),
1,8 kg.
Fig. 1: View of APOID block.
2.1 Connectors of APOID block
XC3 connector DB25M (plug) , RS-232 interface
Line connection (MODEM)
Pin
4
5
7
8
9
10
12
13
15
16
20
22
23
Signal
RTS
CTS
GND
DCD
VOUT1
VOUT2
TD
RD
RxC
TxC
DTR
CLK1
CLK2
Note
Request To Send
Clear To Send
Ground
Data Carried Detection
Supply voltage output adjustable by a jumper
Supply voltage output adjustable by a jumper
Transmitted Data
Received Data
Received Clock
Transmitted Clock
Data Transmitted Ready
Clock signal output (software adjustable ..... 2400 Hz 307.2 kHz)
Clock signal output (software adjustable ..... 2400 Hz 307.2 kHz)
XC1 connector WAGO type (2-pin, plug)
XC2 connector concentric (1-pin, plug)
The XC1 connector is standard power connector of APOID block.
XC2 is non-standard power connector, which may be used if APOID is powered from
standalone AC/DC adapter. Both power connectors are connected paralelly.
LAN connector RJ45F (socket) , standard
Standard ethernet network connector for comunication via PC network.
2.2 APOID board
2.2.1 Basic jumpers and switches setting on APOID board
XCH1 and XCH2(1,1; 2,2; 4,4;5,5; 7,7; 8,8)
Loading from UNC to
interconnection
APOID
JP20
UNC reset
JP9
XILINX reset
JP1
WatchDog
JP3
+2V5 power supply
JP12
+1V2 power supply
JP10
+3V3 power supply
JP19
Outputs activation
JP18
Outputs activation
JP17
Outputs activation
JP16
Outputs activation
SW1
Set to ON
SW2
Set to ON
RP1
LCD backlight control
View of APOID board (components layout), see Fig. 2.
Fig. 2: Components layout of APOID board
2.3 Electrical Characteristics
Electrical characteristics of the APOID interface meet the RS 232 C standard. In addition,
they meet requirements of the CCITT V24-V28.
2.4 Data Link Characteristics
Clock signal in the range from 2400 Bd to 153,600 Bd.
Synchronous/asynchronous communication
The clock signals can be received from external equipment, or can be generated with the help
of an internal generator of clock signal.
LSB bit is sent off first.
2.5 Internal Clock
APOID interface comprises also internal clock generator enabling transmitted data timing.
The baud rate is set by a program switch from 2400 Bd up to 153,600 Bd.
3 APOID Module Identification
UNC communication modules utilized in the APOID module work under the Linux operating
system. A special version is applied here intended for this type of processors. This module
communicates with other blocks in the system via the LAN network.
3.1 Supported data formats
Different data formats are supported using APOID module.
Asynchronous data communication:
all type of asynchronous data frames
Synchronous data communication:
ASTERIX radar data format
MP2 (Marco Polo 2) radar data format
EV760 radar data format
EV720 radar data format
AIRCAT 200 radar data format
AIRCAT 500 radar data format
AFTN communication format
other requested data formats
3.1.1 ASTERIX radar data format
The data link protocol used for the ASTERIX radar is the HDLC UI.
ASTERIX standard defined by EUROCONTROL Standard for Radar Data Exchange
document are supported:
Category 001 and/or 048 (TARGET_REPORT_MESSAGES)
primary plot/track/filtered plot/mode S
secondary plot/track/filtered plot/mode S
combined plot/track/filtered plot/mode S
track cancel messages
Category 002 and/or 034 (RADAR_SERVICE_MESSAGES)
sector messages (32 per antenna rotation)
north message
Category 008 (MONORADAR_WEATHER_MESSAGES)
3.1.2 EV760 radar data format
The data link protocol used for the ASTERIX radar is defined by sequence of words.
Supported messages:
Idle message
Plot Message
End of Block message
3.1.3 EV720 radar data format
The data link protocol used for the ASTERIX radar is defined by sequence of words.
Supported messages:
Idle message
Plot Message
End of Block message
3.1.4 AIRCAT radar data format
The data link protocol used for the ASTERIX radar is defined by sequence of bytes:
3x SYN
SOH
DLE
STX
data
ETX
PAD .. PAD
Supported AIRCAT messages:
Radar Selecting
End of Block
PSR, SSR, CMB track
PSR, SSR, CMB plot
PSR, SSR, CMB track cancel
Radar Extension
North Signal
Processor Status
3.1.5 AFTN communication format
The AFTN communication format working in point to point mode in full duplex synchronous
X.25 protocol between Automatic Message Switching Center and FDPS. APOID provide
conversion between X.25 protocol and TCP/IP protocol.
Messages supported:
ATS messages between local ATC center and other AFTN users
AIDC messages between local ATC and adjacent centers
Meteorological messages (METAR, SPECI, SIGMET, TAF)
Other informations (NOTAM)
Free text
3.2 APOID Module Operation
APOID module comprises an interface with synchronous/asynchronous communication
channels. The data can be received and/or transmitted by means of these channels.
3.3 Data Adapter Description
APOID module comprises a software module communicating with a single
synchronous/asynchronous communication channel. Software module involves following
processes:
Data reception from RS232 line and their transfer to the LAN
Data received from the LAN transfer to the sRS232 line
Diagnostics communication channel
3.3.1 Data Reception from RS232 serial line and transfer to LAN
This process serves for the data reception from the RS232 serial line, for the data check with
the help of CRC, and for received data transfer to defined output LAN channels. The LAN
channels may be either UDP (unicast, broadcast, multicast), or TCP/IP (server or client).
3.3.2 Transmission of Data Received from LAN to Synchronous Line
This process serves for transmitting data received via LAN channel to the serial synchronous
line.
3.4 Block Restart
After the APOID block restart, automatic loading of pertinent adapter configuration files
occurs, and powerful processes in preset (default) mode shall be initiated.
3.5 Watchdog
As soon as the APOID module user program started, the watchdog is initiated automatically
checking the system performance. If the system does not respond, the watchdog shall
automatically restart the APOID module.
3.6 Configuration Files
All configuration files are saved in the directories:
/flash/apoid/etc adapter configuration files
Exact description of particular parts of these files is given directly in them. Changes
performed in these files shall manifest themselves only after the adapter restart.
4 Dual system (MASTER / STAND-BY)
The APOID are normally foreseen in dual configuration to assure the maximum availability.
The dual configuration management assures that the two APOIDs may be considered as a
single logical unit. MASTER and STAND-BY switching can be fully automatic or manual
depending of actual ELDIS Control and Monitoring System (EMOS) settings and on quality
of connected serial line. As a consequence, when the system switches from the MASTER to
the STAND-BY unit, the data will flow with a minimum loss of information.
4.1
System States
The possible states of each system of the dual configuration are:
OFF-LINE:
INIT:
MASTER: all the user application process are AVAILABLE while the companion system
is not in MASTER state.
STAND-BY:
all the application process are AVAILABLE while the companion
system is in MASTER state.
SHUT-DOWN:
System is not running.
the user application process are initialised.
all the user application process are NOT_AVAILABLE
4.2 State transitions:
DUAL SYSTEM STATE TRANSITION
The state transitions are managed as follows:
OFF-LINE > INIT
automatically on power-up of the particular block
automatically after an automatic transition MASTER/STAND-BY > OFF-LINE.
INIT > STAND-BY
automatically once all the user application process are working, the companion system
being in MASTER state.
INIT > MASTER
automatically once all the user application process are working, the companion system
not being in MASTER state.
MASTER/STAND-BY > SHUT-DOWN
automatically on one or more user application module breakdown.
MASTER/STAND-BY > OFF-LINE
automatically on particular block is switched off
STAND-BY > MASTER
on a automatic or manual SWITCHOVER command from control system depend on
(existing MASTER going to SHUT-DOWN or OFF-LINE state or manual operator
action).
MASTER > STAND-BY
on a manual operator SWITCHOVER command from control system
5 Control and Diagnostics
5.1 SNMP diagnostics
On APOID is configured SNMP server, which provide standard control and monitoring
interface between this module and EMOS (or another external system). EMOS provide
graphical monitoring and controlling interface for all blocks in the system.
5.2 External Diagnostics
The data adapter is equipped with the special diagnostic channel for input/output interface,
which provides via LAN following information in regular intervals:
DCD signal status
CTS signal status
OVERFLOW indication
Transmitted data flow
Received data flow
Counter of transmitted data frames
Counter of correctly received data frames
Counter of received data frames with erroneous CRC code
The external diagnostics program can be connected to pertinent diagnostic channel of the
APOID module for the presentation of above mentioned information.
Current status of the APOID module can be checked by connecting to its diagnostic channel
since the information are sent in text representation. Actual setting of the diagnostic channel is
obtained from APOIDs configuration file.
5.2.1 DCD Signal Status
The DCD signal status for given channel shall be checked. It is possible to set in the
configuration file whether the transmission and reception are to be blocked, whether the DCD
signal status log. 0.
5.2.2 CTS Signal Status
The CTS signal status for given channel shall be checked. It is possible to set in the
configuration file whether the transmission and reception are to be blocked, whether the CTS
signal status log. 0.
5.2.3 OVERFLOW Indication
OVERFLOW indication for given channel guards data quantity in the transmission buffer
memory. If the data quantity exceeds set limit, the OVERFLOW shall be indicated.
Possible causes:
Baud rate in the transmission channel is less than transmitted data quantity
CTS signal not set, i.e. RTS is to be set by the counterparty
Transmission process cannot send data to the line
5.2.4 Transmitted Data Flow
Transmitted data flow is permanently checked and converted to number of bytes/sec.
5.2.5 Received Data Flow
Received data flow is permanently checked and converted to number of bytes/sec.
5.2.6 Frames of Transmitted Data
Transmitted data frames are continuously added to the data frames counter, sent off to the
serial synchronous line.
5.2.7 Frames of Received Data
Received data frames are continuously added to the data frames counter, received from the
serial synchronous line.
5.3 Internal Diagnostics
Internal diagnostics is realized with the help of LCD display on the front panel of the APOID
block. The LCD display contains 2 rows. Text in particular rows can be changed over.
Meaning of particular indications in the data channel are shown in the table.
Row
1
Text on LCD
DCD:x
CTS:x
TxC:xxxx
TxI:x
RxC:xxxx
Description
DCD detection
CTS detection
Measured baud rate of transmission clock on TxC pin
Filling characters are present in Tx channel
Measured baud rate of transmission clock on RxC pin
RxI:x
RxD:xxx
TxD:xxx
Tx format/Rx
format
Filling characters are present in Rx channel
Baud rate of received data flow (or CRC error)
Baud rate of transmitted data flow (or OVERLOAD)
Selected data format
5.4 Control and Setting
Parameters of both channels can be set with the help of above mentioned configuration files,
or via internet interface from an external computer.
5.4.1 Web Configuration Interface
Start an internet browser on an external computer, which is on the current LAN network.
Enter the IP address of pertinent APOID module like an internet address (e.g.
http://192.168.105.242). Web configuration interface for the given APOID block shall appear.
5.4.1.1 Change Settings
You can change some APOID modules parameters through the Change Setting page
accessible via change settings of this APOID link.
5.4.1.2 View Statistics
You can also see the statistics provided by the diagnostic channel of the APOID module using
web configuration interface. Just click the view statistics link in the main page of web
interface and wait few seconds before the page loads. Besides input/output interface
information the statistics of the ASTERIX format are included. All items on the page are
pretty self-explanatory thus not requiring any further clarification: