XPC Uint8

In this panel the user can stablish the relationship between a determined signal with a I/O port. Enabling to configure external sensors, messages between Veronte Units (Tunnel) and custom messages.

XPC Uint8 Configuration Menu

Firstly, users have to configure the “Producer” selecting the I/O port or information to recieve. Later, users have to configure the “Consumer”. The relationship between them can be unidirectional or bidirectional, the last enables a port to receive or send information, the arrow indicates this.

Examples

Tunnel

For instance, it is possible to configure a Tunel which is a bidirectional bridge between veronte units that communicate to each other sharing information about an external device connected to the serial or digital port.

Imagine that we would like to have a button connected to the air autopilot to launch a parachute. It is not possible to physically connect the button because the air autopilot is in the flying platform, so we need a different option. Here is where the tunnel becomes very useful. We could connect the button trough the serial or digital port to the ground autopilot, and then with the tunnel send the signal to the air one. With this configuration it would be like if the button were physically connected to the aircraft.

Let’s consider the following image.

XPC Uint8 Configuration Menu

In the image above there is a device connected to the SCID Connector 232 and there is a Tunnel that sends that information to other Veronte with a determined ID. On the other hand, Veronte Air has to be configured to receive that signal that will be received by other device.

Custom Messages

It is possible to configure the messages sent trough the serial port and the conversion of the recieved messages to system variables by selecting the option “Custom message” and configuring the I/O port.

Custom Messages Configuration Menu

Select the desired I/O port and then select Custom Message (red box). To configure the custom message press configuration button (blue box) and other window will be displayed. To select the kind of information press (1) and after (2).

Depending on the order in which device issue the message

  • Big endian is to set the value from left to right
  • Little endian is to set the value from right to left
  • Mixed endian: Any devices have this format. If you need to configure, please contact us.

The structure of the messages is created by adding fields to it. The filed contained within Veronte Pipe are presented as follows.

 Variable

When selected for the outgoing messages, the indicated varible is sent trough the serial port according to the structure defined in the menu shown in the following figure.
fig.080-variable

Variable

The bit length of the variable is choosen trough the compression option. The Input/Output section is used to apply a factor and/or offset after the transformation from binary to decimal value. So, for example, if the variable considered is unsigned of 3 bits it can go from 0 to 7 (in decimal), but if there is a conversion expressed as:

  • Input
    • Min: 0
    • Max: 0.1
  • Output
    • Min: 0
    • Max: 1

The variable value is divided by ten after the transformation, so it will vary between 0 and 0.7 .

Checksum

Sometimes, control codes are needed for preventing random errors in transmission, where bits frame is operated and the result is sent to the receiver to check it. To do so the CheckSum option is used.

fig.081-checksum

CheckSum

  • Back From-Back To: It sets the stage where CRC will be applied
  • Endiannes: (Explained above)
  • Type: User can choose the type of CRC that will be applied.

Matcher

The matcher is the field used to send a constant value trough the serial port. The configuration of this field is donde by selecting its length (number of bits) and the value that will contain.

fig.082-matcher

Matcher

  • Nº Bits: Number of bits in which the matcher is performed.
  • Value: Just accept this decimal value.
  • Mask: Decimal value. This value is converted into binary and accept this binary value and another binary value with the following condition:

It has 0 in the same bit position and the value of the bit position 1 can be 0 or.

For example:
Mask = 5 (Decimal Value)

To binary is 0000 0101

This Mask accepts all the values 0000 0x0x, can accept 0, 1, 4 being that

0=0000 0000

1=0000 0001

4=0000 0100

and of course 5=0000 0101

 

Skip

Finally, the skip option is used to skip a certain number of bits within the message.

fig.083-skip

Skip

Skip Nº Bits: Skip the number of bits defined.