Адресное пространство AO (BRIC_SOFI)
index |
name |
type |
size |
byte address |
mdb address |
flags |
description |
---|---|---|---|---|---|---|---|
0 |
mdb_addr |
U16 |
1 |
0 |
0 |
SAVED
|
modbus address |
1 |
device_type |
U8 |
1 |
2 |
1 |
RO| SAVED
|
type of device |
2 |
board_ver |
U8 |
1 |
3 |
1 |
RO| SAVED
|
board version |
3 |
module_number |
U16 |
1 |
4 |
2 |
SAVED
|
module ao number 0 - 127 |
4 |
num_of_vars |
U16 |
1 |
6 |
3 |
RO
|
number of vars self + config(user) |
5 |
ip |
U8 |
4 |
8 |
4 |
SAVED
|
ip address |
6 |
netmask |
U8 |
4 |
12 |
6 |
SAVED
|
netmask address |
7 |
gateaway |
U8 |
4 |
16 |
8 |
SAVED
|
gateaway address |
8 |
usb_local_ip |
U8 |
4 |
20 |
10 |
SAVED
|
ip address for local usb net |
9 |
mdb_revers |
U8 |
1 |
24 |
12 |
SAVED
|
reverse 3 and 4 function |
10 |
mdb_shift |
U8 |
1 |
25 |
12 |
SAVED
|
shift start address regs from 0 to 1 |
11 |
reset_num |
U16 |
1 |
26 |
13 |
RO| SAVED
|
number of system resets |
12 |
last_reset |
U16 |
1 |
28 |
14 |
RO| SAVED
|
reason of last system reset See rst_reason_t |
13 |
sys_tick_counter |
U64 |
1 |
30 |
15 |
RO
|
tick in ms |
14 |
tick100us |
U64 |
1 |
38 |
19 |
RO
|
tick counter in 100us time |
15 |
time_hms |
U8 |
10 |
46 |
23 |
struct for real time |
|
16 |
unix_time_sec |
S32 |
1 |
56 |
28 |
since the Epoch (00:00:00 UTC, January 1, 1970) |
|
17 |
os_version |
U8 |
4 |
60 |
30 |
RO
|
version by 0.1.1 |
18 |
mac_addr |
U8 |
6 |
64 |
32 |
RO
|
mac address |
19 |
uniq_id |
U8 |
12 |
70 |
35 |
RO
|
uniq_id number |
20 |
internal_temp |
FLOAT |
1 |
82 |
41 |
RO
|
temperature internal sense value |
21 |
v_pwr |
FLOAT |
1 |
86 |
43 |
RO
|
PWR voltage |
22 |
v_bat |
FLOAT |
1 |
90 |
45 |
RO
|
3V battery voltage |
23 |
cur_free_heap |
U32 |
1 |
94 |
47 |
RO
|
in bytes |
24 |
min_free_heap |
U32 |
1 |
98 |
49 |
RO
|
in bytes |
25 |
ao_test_result |
U32 |
1 |
102 |
51 |
RO
|
ao test result AO[0…3] = {1-OK, 0-error}, MeasureError[8], NoiseError[9], InstableError[10]; |
26 |
sofi_test_result |
U32 |
1 |
106 |
53 |
RO
|
sofi_test blocks results Results[0…31] = {see sofi_test_block_t, 1-OK, 0-failed}; |
27 |
sofi_test_blocks |
U32 |
1 |
110 |
55 |
sofi test blocks Blocks[0…28] = {see sofi_test_block_t}, CheckTest[29], StressTest[30], PerfTest[31]; |
|
28 |
run_test |
U32 |
1 |
114 |
57 |
RO
|
running tests |
29 |
state |
U32 |
1 |
118 |
59 |
RO
|
current module state |
30 |
command |
U16 |
1 |
122 |
61 |
command register See @ref sofi_command_t |
|
31 |
debug_info |
U8 |
8 |
124 |
62 |
reserved use for debug |
|
32 |
uart1_sets |
U16 |
1 |
132 |
66 |
SAVED
|
settings immodule uart BitRateValue[0…3] = {0-default, 1-2400,2-4800, 3-9600,4-14400, |
33 |
uart3_sets |
U16 |
1 |
134 |
67 |
SAVED
|
settings MESO_UART WordLen[4,5] = {0-7bit,1-8bit,2-9bit}; |
34 |
channels_timeout |
U32 |
6 |
136 |
68 |
SAVED
|
time outs for channel,using for retranslations |
35 |
ao_val |
U16 |
4 |
160 |
80 |
AO DAC value, |
|
36 |
ao_state |
U8 |
4 |
168 |
84 |
AO state 0-OK, 1-SHORT, 2-BREAK |
|
37 |
ao_config |
U8 |
4 |
172 |
86 |
SAVED
|
AO config {0 - active AO, 1 - passive AO} |
38 |
ao_calib_a |
FLOAT |
4 |
176 |
88 |
SAVED
|
multiple coef for AO |
39 |
ao_calib_b |
FLOAT |
4 |
192 |
96 |
SAVED
|
additive coef for AO |
40 |
ao_physical |
FLOAT |
4 |
208 |
104 |
ao_val / ao_calib_a + ao_calib_b |
|
41 |
flags_task |
U32 |
1 |
224 |
112 |
RO
|
check for task created |
42 |
counter_task |
U64 |
4 |
228 |
114 |
RO
|
struct counter tasks |
43 |
flags_init_passed |
U32 |
1 |
260 |
130 |
RO
|
inited modules for init in task |
44 |
flags_succ_init |
U32 |
1 |
264 |
132 |
RO
|
success inited modules for init in task |
45 |
isol_pwr_state |
U16 |
1 |
268 |
134 |
RO
|
isolated power state |
46 |
ai_internal |
U16 |
4 |
270 |
135 |
RO
|
12 bit capacity internal analog inputs |
47 |
rs_485_immo_sends |
U32 |
1 |
278 |
139 |
RS-485_1 send num |
|
48 |
rs_485_immo_errors |
U32 |
1 |
282 |
141 |
RS-485_1 errors |
|
49 |
pass_key |
U32 |
1 |
286 |
143 |
RO| SAVED
|
key for registers change |
50 |
monitor_period |
U32 |
1 |
290 |
145 |
RO
|
sofi_monitor period in ms |
51 |
total_tasks_time |
FLOAT |
1 |
294 |
147 |
RO
|
sum of running times of tasks in % |
52 |
task |
U8 |
28 |
298 |
149 |
RO
|
tasks information |
53 |
task |
U8 |
28 |
326 |
163 |
RO
|
tasks information |
54 |
task |
U8 |
28 |
354 |
177 |
RO
|
tasks information |
55 |
task |
U8 |
28 |
382 |
191 |
RO
|
tasks information |
56 |
task |
U8 |
28 |
410 |
205 |
RO
|
tasks information |
57 |
task |
U8 |
28 |
438 |
219 |
RO
|
tasks information |
58 |
task |
U8 |
28 |
466 |
233 |
RO
|
tasks information |
59 |
task |
U8 |
28 |
494 |
247 |
RO
|
tasks information |
60 |
task |
U8 |
28 |
522 |
261 |
RO
|
tasks information |
61 |
task |
U8 |
28 |
550 |
275 |
RO
|
tasks information |
62 |
task |
U8 |
28 |
578 |
289 |
RO
|
tasks information |
63 |
task |
U8 |
28 |
606 |
303 |
RO
|
tasks information |
64 |
task |
U8 |
28 |
634 |
317 |
RO
|
tasks information |
65 |
task |
U8 |
28 |
662 |
331 |
RO
|
tasks information |
66 |
task |
U8 |
28 |
690 |
345 |
RO
|
tasks information |
67 |
task |
U8 |
28 |
718 |
359 |
RO
|
tasks information |
68 |
task |
U8 |
28 |
746 |
373 |
RO
|
tasks information |
69 |
task |
U8 |
28 |
774 |
387 |
RO
|
tasks information |
70 |
task |
U8 |
28 |
802 |
401 |
RO
|
tasks information |
71 |
task |
U8 |
28 |
830 |
415 |
RO
|
tasks information |
72 |
task |
U8 |
28 |
858 |
429 |
RO
|
tasks information |
73 |
task |
U8 |
28 |
886 |
443 |
RO
|
tasks information |
74 |
task |
U8 |
28 |
914 |
457 |
RO
|
tasks information |
75 |
task |
U8 |
28 |
942 |
471 |
RO
|
tasks information |
76 |
task |
U8 |
28 |
970 |
485 |
RO
|
tasks information |
77 |
task |
U8 |
28 |
998 |
499 |
RO
|
tasks information |
78 |
task |
U8 |
28 |
1026 |
513 |
RO
|
tasks information |
79 |
task |
U8 |
28 |
1054 |
527 |
RO
|
tasks information |
80 |
task |
U8 |
28 |
1082 |
541 |
RO
|
tasks information |
81 |
task |
U8 |
28 |
1110 |
555 |
RO
|
tasks information |
82 |
task |
U8 |
28 |
1138 |
569 |
RO
|
tasks information |
83 |
task |
U8 |
28 |
1166 |
583 |
RO
|
tasks information |
84 |
link |
U16 |
1 |
1194 |
597 |
RO
|
lwip state |
85 |
eth_arp |
U16 |
1 |
1196 |
598 |
RO
|
lwip state |
86 |
ip_frag |
U16 |
1 |
1198 |
599 |
RO
|
lwip state |
87 |
ip_proto |
U16 |
1 |
1200 |
600 |
RO
|
lwip state |
88 |
icmp |
U16 |
1 |
1202 |
601 |
RO
|
lwip state |
89 |
udp |
U16 |
1 |
1204 |
602 |
RO
|
lwip state |
90 |
tcp |
U16 |
1 |
1206 |
603 |
RO
|
lwip state |
91 |
mem_heap |
U16 |
1 |
1208 |
604 |
RO
|
used heap memory by lwip |
92 |
memp_udp_pool |
U16 |
1 |
1210 |
605 |
RO
|
lwip state |
93 |
memp_tcp_pool |
U16 |
1 |
1212 |
606 |
RO
|
lwip state |
94 |
memp_listen_tcp |
U16 |
1 |
1214 |
607 |
RO
|
lwip state |
95 |
memp_seg_tcp |
U16 |
1 |
1216 |
608 |
RO
|
lwip state |
96 |
memp_altcp |
U16 |
1 |
1218 |
609 |
RO
|
lwip state |
97 |
memp_reassdata |
U16 |
1 |
1220 |
610 |
RO
|
lwip state |
98 |
memp_frag_pbuf |
U16 |
1 |
1222 |
611 |
RO
|
lwip state |
99 |
memp_net_buf |
U16 |
1 |
1224 |
612 |
RO
|
lwip state |
100 |
memp_net_conn |
U16 |
1 |
1226 |
613 |
RO
|
lwip state |
101 |
memp_tcpip_api |
U16 |
1 |
1228 |
614 |
RO
|
lwip state |
102 |
memp_tcpip_input |
U16 |
1 |
1230 |
615 |
RO
|
lwip state |
103 |
memp_sys_timeout |
U16 |
1 |
1232 |
616 |
RO
|
lwip state |
104 |
memp_pbuf_ref |
U16 |
1 |
1234 |
617 |
RO
|
lwip state |
105 |
memp_pbuf_pool |
U16 |
1 |
1236 |
618 |
RO
|
lwip state |
106 |
lwip_sys |
U16 |
1 |
1238 |
619 |
RO
|
lwip state |