ELDIS
APOID
User Description
Technical Description of APOID Unit
LIST OF ABBREVIATIONS
APOID
CRC
CTS
HDLC
LAN
RTS
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
Clear to send signal
Synchronous communication protocol (control of data high-level data link)
Local computer network
Request to send signal
Data transmission protocol (unconfirmed transmission in network)
Data transmission protocol (confirmed transmission in network)
1 Scope
1.1 System Identification
APOID a communication module is an intelligent data interface between the LAN and serial
synchronous line.
1.2 System Survey
APOID module is a single-channel data receiver/transmitter on a serial synchronous line in
HDLC format. The module communicates with an ambient connected system via the LAN
network. Data arriving from the LAN network are transmitted to the serial synchronous line,
and data received from the serial synchronous 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.
2 Hardware Description
This module comprises a single LAN (RJ45) connector and a single XC3 MODEM (DB25)
connector for the modem connection.
The module support 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.
[Link]
ELDIS
APOID
User Description
The module comprises LCD display of internal diagnostics.
2.1 MODEM Data Connector Wiring
DB25M
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 adjustable by UNC 2400 Hz 307.2 kHz
Clock signal output adjustable by INC 2400 Hz 307.2 kHz
2.2 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.3 Data Link Characteristics
Clock signal in the range from 2400 Bd to 153,600 Bd.
Synchronous 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.4 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 APOID Module Operation
APOID module comprises an interface with synchronous communication channels. The data
can be received and/or transmitted by means of these channels. Transmitted and received data
on the serial synchronous line must be in HDLC.
[Link]
ELDIS
APOID
User Description
3.2 HDLC Frame Description
The HDLC frame has following structure:
Open Flag
8 bits
Address Field
8 bits
Open flag
Address Field
Control Field
Data Block
CRC
Close Flag
Control Field
8 bits
Data block
CRC
16 bits
Close Flag
8 bits
filling character for transmission initiation (01111110)
field of a single byte size
field of a single byte size
message data, 512 bytes maximum
CRC code
filling character for transmission frame termination (01111110)
3.3 Data Adapter Description
APOID module comprises a software module communicating with a single synchronous
communication channel. Software module involves following processes:
Data reception from synchronous line and their transfer to the LAN
Data received from the LAN transfer to the synchronous line
Communication channel diagnostics
3.3.1 Data Reception from Synchronous Line and Transfer to LAN
This process serves for the data reception from the synchronous 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).
Depending on configuration, the process enables transmission of full received HDLC message
to the system including the address field and control field. A configuration file can be defined
whether these bytes are to be transmitted. These bytes are not transmitted by default, i.e. only
Data Block part is transmitted to the system.
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. The process automatically adds the heading to the HDLC data frame and CRC to its end,
and sends data 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:
[Link]
ELDIS
APOID
User Description
/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 Control and Diagnostics
4.1 External Diagnostics
The data adapter is equipped with the 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.
[Link]
ELDIS
APOID
User Description
4.1.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.
4.1.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.
4.1.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
4.1.4 Transmitted Data Flow
Transmitted data flow is permanently checked and converted to number of bytes/sec.
4.1.5 Received Data Flow
Received data flow is permanently checked and converted to number of bytes/sec.
4.1.6 Frames of Transmitted Data
Transmitted data frames are continuously added to the data frames counter, sent off to the
serial synchronous line.
4.1.7 Frames of Received Data
Received data frames are continuously added to the data frames counter, received from the
serial synchronous line.
4.2 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
[Link]
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
ELDIS
APOID
User Description
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
4.3 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.
4.3.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.
[Link] Web configuration interface for the given APOID block shall appear.
[Link]
ELDIS
APOID
User Description
[Link] Change Settings
You can change some APOID modules parameters through the Change Setting page
accessible via change settings of this APOID link. Basic layout of this page is as follows:
[Link]
ELDIS
APOID
User Description
BASIC SETTINGS
Speed speed of the internal clock generator selected from the list (0, 2400, 4800, 9600,
19200, 38400, 76800 and 153600).
Output format Format of the data sent to the RS-232 line. Possible options are
ASTERIX, AIRCAT , EV720 and EV760. This settings affects the next section of the
configuration page which is format specific. Different options are displayed in
dependence of the chosen output format.
ASTERIX SETTINGS
Send services/targets as set the desired ASTERIX category of the output data.
Change SIC SAC whether to change Data Source Identification of the data. Two
configuration items for entering new SIC and SAC will appear upon selecting YES.
Generate HDLC Header if data from LAN does not contain Address Field and Control
Field, the APOID module adds these bytes to the message. When YES is selected,
HDLC Control byte configuration option is displayed.
HDLC Control Byte when variable option is chosen, HDLC control byte changes with
every sent message in this manner: 0x0, 0x2, 0x4, . 0xC, 0xE, 0x0 (handshake).
Fixed option causes the HDLC Control byte to have the same value.
Skip data at reception, it enables skipping determined number of bytes at the frame
beginning.
AIRCAT SETTINGS
North Delay specify the value for a North Time of Day in AIRCAT North signal. Should
be set to 0.
Station Code sent as a Station Code in AIRCAT North signal. (see AIRCAT data format
ICD for more information about these two items).
SIC, SAC used for Data Source Identification ASTERIX item when converting
incoming AIRCAT data back to ASTERIX format.
EV SETTINGS
SIC, SAC used for Data Source Identification ASTERIX item when converting
incoming EV data back to ASTERIX format.
TEST TARGET SETTINGS
These configuration items represents parameters of the test target. When APOID module
recognizes the test target in the data to be sent to RS-232 line, it sets its appropriate TEST
flag. Moreover, when Remove is chosen, the test target is not sent at all.
[Link]
ELDIS
APOID
User Description
[Link] 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:
[Link]
ELDIS
APOID
User Description
4.3.2 Basic jumpers and switches setting on APOID card
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
[Link]
10
ELDIS
APOID
User Description
Appendix 1: APOID outside dimensions
[Link]
11
ELDIS
APOID
User Description
Appendix 2: APOID card layout
[Link]
12