16
ELDIS APOID User Description Technical Description of APOID Unit LIST OF ABBREVIATIONS APOID HW block designed for the data reception via LAN network and for the data transmission via a serial synchronous line CRC Check polynomial CTS “Clear to send” signal HDLC Synchronous communication protocol (control of data high-level data link) LAN Local computer network RTS “Request to send” signal UDP Data transmission protocol (unconfirmed transmission in network) TCP/IP 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. Y6603AE0.DOC 1

APOID

Embed Size (px)

DESCRIPTION

manual

Citation preview

ELDIS APOIDUser Description

Technical Description of APOID Unit

LIST OF ABBREVIATIONSAPOID HW block designed for the data reception via LAN network and for the data

transmission via a serial synchronous lineCRC Check polynomialCTS “Clear to send” signalHDLC Synchronous communication protocol (control of data high-level data link)LAN Local computer networkRTS “Request to send” signalUDP Data transmission protocol (unconfirmed transmission in network)TCP/IP Data transmission protocol (confirmed transmission in network)

1 Scope

1.1 System IdentificationAPOID – a communication module is an intelligent data interface between the LAN and serial synchronous line.

1.2 System SurveyAPOID 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 SurveyThis document describes the hardware and software performance, and APOID communication module operation as well.

2 Hardware DescriptionThis 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.

Y6603AE0.DOC 1

ELDIS APOIDUser Description

The module comprises LCD display of internal diagnostics.

2.1 MODEM Data Connector WiringDB25M

Pin Signal Note4 RTS Request To Send

5 CTS Clear To Send7 GND Ground8 DCD Data Carried Detection

9 VOUT1 Supply voltage output adjustable by a jumper10 VOUT2 Supply voltage output adjustable by a jumper12 TD Transmitted Data13 RD Received Data15 RxC Received Clock16 TxC Transmitted Clock20 DTR Data Transmitted Ready22 CLK1 Clock signal output adjustable by UNC 2400 Hz 307.2 kHz23 CLK2 Clock signal output adjustable by INC 2400 Hz 307.2 kHz

2.2 Electrical CharacteristicsElectrical 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 CharacteristicsClock 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 ClockAPOID 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 IdentificationUNC 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 OperationAPOID 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.

Y6603AE0.DOC 2

ELDIS APOIDUser Description

3.2 HDLC Frame DescriptionThe HDLC frame has following structure:

Open Flag Address Field Control Field Data block CRC Close Flag8 bits 8 bits 8 bits 16 bits 8 bits

Open flag filling character for “transmission initiation” (01111110)Address Field field of a single byte sizeControl Field field of a single byte sizeData Block message data, 512 bytes maximumCRC CRC codeClose Flag filling character for transmission frame termination (01111110)

3.3 Data Adapter DescriptionAPOID 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 RestartAfter the APOID block restart, automatic loading of pertinent adapter configuration files occurs, and powerful processes in preset (default) mode shall be initiated.

3.5 WatchdogAs 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 FilesAll configuration files are saved in the directories:

Y6603AE0.DOC 3

ELDIS APOIDUser 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 DiagnosticsThe 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 APOID’s configuration file.

Y6603AE0.DOC 4

ELDIS APOIDUser 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 DiagnosticsInternal 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 Text on LCD Description1 DCD:x DCD detection

CTS:x CTS detectionTxC:xxxx Measured baud rate of transmission clock on TxC pin

TxI:x Filling characters are present in Tx channelRxC:xxxx Measured baud rate of transmission clock on RxC pin

RxI:x Filling characters are present in Rx channel

Y6603AE0.DOC 5

ELDIS APOIDUser Description

2 RxD:xxx Baud rate of received data flow (or “CRC error”)TxD:xxx Baud rate of transmitted data flow (or “OVERLOAD”)Tx format/Rx format

Selected data format

4.3 Control and SettingParameters 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. http://192.168.105.242). Web configuration interface for the given APOID block shall appear.

Y6603AE0.DOC 6

ELDIS APOIDUser Description

4.3.1.1 Change Settings

You can change some APOID module’s parameters through the Change Setting page accessible via “change settings of this APOID” link. Basic layout of this page is as follows:

Y6603AE0.DOC 7

ELDIS APOIDUser 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.

4.3.1.2 View Statistics

Y6603AE0.DOC 8

ELDIS APOIDUser Description

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:

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

Y6603AE0.DOC 9

ELDIS APOIDUser Description

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

Y6603AE0.DOC 10

ELDIS APOIDUser Description

Appendix 1: APOID outside dimensions

Y6603AE0.DOC 11

ELDIS APOIDUser Description

Appendix 2: APOID card layout

Y6603AE0.DOC 12