DOCA0091EN-08

IFE Interface Generic Commands

Get Current Time

The get current time command is not hardware protected. The get current time command is still enabled when the locking pad located on the front panel on the IFE interface is in locked position.

To get the current time for all modules, set the command registers in the following way:

Address

Register

Unit

Type

Range

Description

0x1F3F

8000

INT16U

768

Command code = 768

0x1F40

8001

INT16U

10

Number of parameters (bytes) = 10

0x1F41

8002

INT16U

8704

Destination = 8704 (0x2200)

0x1F42

8003

INT16U

0

Security type of the command

0x1F43–

0x1F44

8004–

8005

OCTET STRING

0

Password of the command = 0 (no password required)

The following registers contain the time data:

  • Register 8023 holds the month in the MSB, the day in the LSB.

  • Register 8024 holds the year offset in the MSB (add 2000 to get the year) and the hour in the LSB.

  • Register 8025 holds the minutes in the MSB, the seconds in the LSB.

  • Register 8026 holds the milliseconds.

Set Absolute Time

The set absolute time command is still enabled when the locking pad located on the front panel on the IFE interface is in locked position.

To set the absolute time for all the IMU modules, set the command registers in the following way:

Address

Register

Unit

Type

Range

Description

0x1F3F

8000

INT16U

769

Command code = 769

0x1F40

8001

INT16U

18

Number of parameters (bytes) = 18

0x1F41

8002

INT16U

8704

Destination = 8704 (0x2200)

0x1F42

8003

INT16U

0

Security type of the command

0x1F43–

0x1F44

8004–8005

OCTET STRING

0

Password of the command = 0 (no password required)

0x1F45-0x1F48

8006–8009

XDATE

Current date/time

NOTE: Date and time counter is reset and will restart at January 1, 2000 in case of 24 Vdc power loss. It is therefore mandatory to set absolute time for all the IMU modules after recovering the 24 Vdc power supply.
NOTE: If the IFE interface is not configured in SNTP mode it is mandatory to set absolute time for all the IMU modules periodically, due to the clock drift of each IMU module. Recommended period is at least every 15 minutes.

Read IMU Name and Location

To read the IMU name and location, set the command registers in the following way:

Address

Register

Unit

Type

Range

Description

0x1F3F

8000

INT16U

1024

Command code = 1024

0x1F40

8001

INT16U

16

Number of parameters (bytes) = 16

0x1F41

8002

INT16U

8704

Destination = 8704 (0x2200)

0x1F42

8003

INT16U

0

Security type of the command

0x1F43–

0x1F44

8004–

8005

OCTET STRING

0

Password of the command = 0 (no password required)

0x1F45–

0x1F46

8006–

8007

INT32U

  • 17039489 = read IMU name (load 0x0104 into register 8006, 0x0081 into 8007)

  • 17039490 = read IMU location (load 0x0104 into register 8006, 0x0082 into 8007)

0x1F47

8008

INT16U

2048

2048

The IMU name and location is returned to command registers in the following way:

Address

Register

Unit

Type

Range

Description

0x1F53

8020

INT16U

1024

Last command code

0x1F54

8021

INT16U

Command status:

  • 0 = command succeeded

  • Otherwise = command failed

0x1F55

8022

INT16U

Number of bytes returned (0 if command failed)

0x1F56

8023

OCTET STRING

8704

If command succeeded:

  • MSB = first character of IMU name or location

  • LSB = second character of IMU name or location

0x1F57–0x1F6D

8024–8046

OCTET STRING

Depends on the length of the IMU name or location and ends by the NULL character 0x00

Write IMU Name and Location

The IMU name and location can be read from registers 11801 to 11868.

To write the IMU name and location, set the command registers the following way:

Address

Register

Unit

Type

Range

Description

0x1F3F

8000

INT16U

1032

Command code = 1032

0x1F40

8001

INT16U

16–62

Number of parameters (bytes) = depends on the length of the IMU name or location (up to 46 characters)

0x1F41

8002

INT16U

0

Destination = 0 (0x0000)

0x1F42

8003

INT16U

1

Security type of the command

0x1F43–

0x1F44

8004–

8005

OCTET STRING

Password of the command: Administrator user profile password

0x1F45–

0x1F46

8006–

8007

INT32U

  • 17039489 = User application name (load 0x0104 into register 8006, 0x0081 into 8007)

  • 17039490 = IMU location (load 0x0104 into register 8006, 0x0082 into 8007)

0x1F46

8008

INT16U

2048

2048

0x1F48

8009

OCTET STRING

  • MSB = First character of the IMU name or location

  • LSB = Second character of the IMU name or location

0x1F49–

0x1F5F

8010–

8038

OCTET STRING

Depends on the length of the IMU name or location and ends by the NULL character 0x00

Set Validity Duration of Data

This command allows to set the validity duration of data in the standard and legacy datasets.

The validity duration of data can be read in a register Validity Duration of Data.

To set the validity duration of data, set the command registers in the following way:

Address

Register

Unit

Type

Range

Description

0x1F3F

8000

INT16U

41868

Command code = 41868

0x1F40

8001

INT16U

12

Number of parameters (bytes) = 12

0x1F41

8002

INT16U

8705

Destination = 8705 (0x2201)

0x1F42

8003

INT16U

1

Security type of the command

0x1F43–0x1F44

8004–8005

OCTET STRING

Password of the command: Administrator, Services, Engineer, or Operator user profile password

0x1F45

8006

s

INT16U

5–300 (in step of 5 s)

Validity duration of data

Factory setting: 10 s