IFM Interface Commands
Get Current Time
The get current time command is not hardware protected. When the arrow of the Modbus locking pad (located on the front panel of the IFM interface) points to the closed padlock, the get current time command is still enabled.
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 |
768 |
Destination = 768 (0x0300) |
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 not hardware protected. When the arrow of the Modbus locking pad (located on the front panel of the IFM interface) points to the closed padlock, the set absolute time command is still enabled.
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 |
768 |
Destination = 768 (0x0300) |
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 |
8006 |
– |
INT16U |
– |
MSB = month (1–12) LSB = day in the month (1–31) |
0x1F46 |
8007 |
– |
INT16U |
– |
MSB = year (0–99, 0 meaning year 2000) LSB = hour (0–23) |
0x1F47 |
8008 |
– |
INT16U |
– |
MSB = minute (0–59) LSB = second (0–59) |
0x1F48 |
8009 |
ms |
INT16U |
0–999 |
Milliseconds (0–999) |
In case of 24 Vdc power loss, date and time counter is reset and will restart at January 1 2000. It is therefore mandatory to set absolute time for all the IMU modules after recovering the 24 Vdc power supply.
Furthermore, due to the clock drift of each IMU module, it is mandatory to set absolute time for all the IMU modules periodically. Recommended period is at least every 15 minutes.
Read IMU Name and Location
The FDM121 display displays the IMU name but it is limited to the first 14 characters.
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 |
768 |
Destination = 768 (0x0300) |
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 are 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 |
– |
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 register 11801 to 11868.
The FDM121 display displays the IMU name but it is limited to the first 14 characters.
To write the IMU name and location, the user must set up 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 = write IMU name (load 0x0104 into register 8006, 0x0081 into 8007) 17039490 = write IMU location (load 0x0104 into register 8006, 0x0082 into 8007) |
0x1F47 |
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 |
769 |
Destination = 769 (0x0301) |
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 |