4.1.1 General Asynchronous PCM Capture ( protocol independent )


 

Telegram Structure

In this case the telegram structure is unknown for the software.

 


PCM UART : Configuration

 

 

With the channel button ( channel 1 ...12 ) on the bottom following settings are possible :

 

Interface

For each channel any comport ( COM 1 till COM 24 ) can be selected.

Modem

An individual modem can be installed and connected for each channel. LIAN 98 is able to process up to twelve modems in the range of COM1 till COM24 simultaneously. Select here the modem assigned to the selected channel. Normally this assignment will be recognized by LIAN 98 and the corresponding modem will be set.

Setup Modem

The settings of the modem must be executed via the windows control panel "telephone and modems options". With this button you can check the modem settings and see if they correspond to the LIAN 98 configuration.

Connection type

Attention, the connection type should be set to full duplex for monitoring !
 

Full duplex :

Most of the modems are full duplex and can transmit data in both directions simultaneously. DTE ( LIAN 98 ) and DCE ( Modem ) work simultaneously as transmitter and receiver. None of both transmitters has to wait for clearance for transmitting data. Therefore the signals RTS and CTS are not significant. Sure, LIAN 98 is setting the control signals RTS and DTR to 1 when it is ready for transmission and receipt but it does not check the signals CTS and DSR.

Half duplex :

In case of a half duplex connection DTE ( LIAN 98 ) as well as DCE ( Modem ) can work as transmitter and receiver, hereby only one data line ( 2-wire connection ) is available that can be used alternately for transmission or receipt of data. The control signals RTS and CTS are used in order to define the allocation of transmission or receipt. When LIAN 98 should work as transmitter it activates the signal RTS and waits for the confirmation of the modem via the signal CTS. After the receipt of the signal CTS the data are transmitted and after the transmission of the data the signal RTS is set to 0. In each other case LIAN 98 is working as receiver only.

As long as the LIAN 98 software is ready for transmission and receipt the signal DTR is activated in order to show the modem that LIAN 98 is ready for operation, as well the software expects an activated DSR signal from the modem.

RTS Leading delay

0 ... 1000 msec
This parameter ist only used for the connection type "half duplex" and is determined by the initial transient behaviour of the used transmission equipment.
The RTS Leading defines the delay time from activating RTS signal to transmitting the first character and is used for modems whithout the hardware handshake signals "RTS and CTS". In this case the "RTS signal" must be led back over the "CTS line" to the PC with the help of a brazing bridge in the monitor cable. Dependent of the used modem it may be necessary to connect additionally the DTR-pin with the DSR-pin.
This function is deactivated if the "Leading and the Trailing" is set to NULL and therefore the control signals are analyzed diectly from the modem.

RTS Trailing delay

0 ... 1000 msec
This parameter ist only used for the connection type "half duplex" and is determined by the final transient behaviour of the used transmission equipment.
The RTS Trailing defines the delay time from the last character transmitted up to the RTS signal is deactivated.
This function is deactivated, if the "Leading and the Trailing" is set to NULL.

 

Baud rate

Transmission speed : 25 - 115200 Baud ( variable )

Data byte

5, 6, 7, 8 Bit ( variable )

Stop Bit

1/ 1,5/ 2 Bit ( variable )

Parity

none, odd, even, (1) mark, (0) empty, ( variable )

Timeout

1 - 9999 msec ( variable )

For this protocol the timeout must be kept as short as possible because the end of the telegram, respectively the beginning of the next telegram is detected with the timeout. As a basic rule the higher the baud rate the lower the timeout. For 19200 baud about 20 up to 30 msec.

 

Calculation of the timeout :

The Timeout [ msec ] should be only a bit larger than the result of the following calculation :

timeout  >  ( (1000 / Baud rate) * number bits per  character ) * max. number bytes per telegram

number bits per character : 1 start bit + number data bits + number parity bits + number stop bits

 

Setting in the channel window

 

 

In the channel window no further settings are necessary.

 


PCM UART : Simulation

 

For the independent asynchronous PCM protocol no simulation is implemented. It is only suitable for recording of transmission data during the monitoring operation.

 


PCM UART : Pre-Filter/ Pre-Trigger

 

PCM UART : Monitoring filters

 

Monitoring filters reduce capture on particular pre-defined data records. By setting the corresponding filters a carefully directed data preselection can be achieved, which results in a reduction of the data to be analyzed later.

 

 

Filter released

yes / no

With this option already set monitoring filters for one channel can be deactivated temporarily without deleting them.

protocol specific
filter mask

Here monitoring can be filtered for telegram specific values in which several OR-linked filter masks can be defined for the channel.

= Only values equal to 'from' are let through.
# Only values not equal to 'from' are let through.
< Only values less than 'from' are let through.
> Only values greater than 'from' are let through.
r 'from' and 'till' define a valid range
add Adds the next OR-element.
remove Removes the current OR-element.

 

PCM UART : Action filters

 

For this protocol no simulation is implemented. Therefore all settings in the action filter are without effect.

 

 

Action filter released

yes / no

With this option already set action filters for one channel can be deactivated temporarily without deleting them.

protocol specific
filter mask

The action filter is described over telegram specific features corresponding to a filter setting. Additionally each action filter requires an allocation to a send buffer or alternatively to a send sequence.

= Only values equal to 'from' are let through.
# Only values not equal to 'from' are let through.
< Only values less than 'from' are let through.
> Only values greater than 'from' are let through.
r 'from' and 'till' define a valid range
Sendbuffer number
( from, from/ till )

In correspondence with the action filter the message buffer "from" or the message buffers "from/ till" are to be sent.

Sequence line number
( from, from/ till )

In correspondence with the action filter the send sequence is to be started at line number "from" or to be started at line number "from" and to be ended at line number "till".

add Adds the next OR-element.
remove Removes the current OR-element.

 

PCM UART : Start trigger

 

With the receipt of a telegram pre-defined as start trigger, recording is started.

 

 

Start trigger released

yes / no

With this option already set start triggers for one channel can be deactivated temporarily without deleting them.

protocol specific
trigger mask

Here you can define telegram specific start triggers for monitoring in which several OR-linked triggers can be defined for the channel.

= Only values equal to 'from' are let through.
# Only values not equal to 'from' are let through.
< Only values less than 'from' are let through.
> Only values greater than 'from' are let through.
r 'from' and 'till' define a valid range
add Adds the next OR-element.
remove Removes the current OR-element.

 

PCM UART : Stop trigger

 

Monitoring can also be stopped by telegram-specific filters and/ or "stop on error" after a defined number of following records. The number of the following records is defined in the field "records after stop on error/ stop trigger" in the global parameters of the VFL settings.

 

 

Stop trigger released

yes / no

With this option already set stop triggers for one channel can be deactivated temporarily without deleting them.

protocol specific
trigger mask

Here you can define telegram specific stop triggers for monitoring in which several OR-linked triggers can be defined for the channel.

= Only values equal to 'from' are let through.
# Only values not equal to 'from' are let through.
< Only values less than 'from' are let through.
> Only values greater than 'from' are let through.
r 'from' and 'till' define a valid range
add Adds the next OR-element.
remove Removes the current OR-element.

 


Each alteration in the settings is displayed by an asterisk * in the caption title and will be only effective after saving.

 


PCM UART : Message display format

 

The received messages of all channels are entered binary into the archive file. Before displaying on screen, the binary archived data are coverted to hexadecimal, decimal, binary and/ or ASCII format and is set separately for each channel.
( see also "FMT file - Display format" )

 

 

Because the user data of the the general asynchronous PCM protocol are not known, no plain text display is provided and therefore the different plaintext settings are ineffective.

Plaintext format  
Format 1, 2, 3, 4, 5

Not used and therefore without effect

 


PCM UART : Error messages

 

Error check during receipt

 

per character

the start bit, the stop bit and the parity

per telegram

Since the telegram may be unknown no further checks are made.

 

*** TimeOut !

During transmission of telegrams there may be no large pauses between the single characters. In case of timeout occurs it is assumed that it is the end of the telegram. The sensitivity is parameterized in the configuration ( timeout ). Normally a timeout is no error but it is stored in the PRO File together with the initial error for a better analysis of the faulty transmission line.

*E: COM-PORT !

Error during writing on the COM port. May be it is already occupied by by another program.

*E: Overflow !

Error message from the UART. This error is noted only in the PRO file.

*E: Parity !

Error message from the UART. This error is noted only in the PRO file.

*E: Start/ Stop !

Error message from the UART. This error is noted only in the PRO file.

 


PCM UART : Parameter list

 

The parameter list is not used for the independent asynchronous PCM protocol.

 

 


MAYR Software

Wuerzburger Ring 39,  D 91056 Erlangen

Manual LIAN 98


LIAN 98 Protocol Router, Simulator and Analyzer
© Copyright 2001, 2006, 2011 by Werner Mayr. All Rights reserved.