ModbusHMI.h
674 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#ifndef __MODBUSHMI_H_
#define __MODBUSHMI_H_
#include "bsp.h"
#include "Modbus.h"
typedef struct
{
bool IN1;
bool IN2;
bool IN3;
bool IN4;
bool IN5;
bool IN6;
bool IN7;
bool IN8;
bool IN9;
bool IN10;
bool IN11;
bool IN12;
bool IN13;
bool IN14;
bool IN15;
bool IN16;
bool IN17;
bool IN18;
bool IN19;
bool IN20;
bool IN21;
bool IN22;
bool IN23;
bool IN24;
bool IN25;
bool IN26;
bool IN27;
bool IN28;
bool IN29;
bool IN30;
bool IN31;
bool IN32;
bool IN33;
bool IN34;
bool IN35;
bool IN36;
bool IN37;
bool IN38;
bool IN39;
bool IN40;
}MasterIOInput;
extern MasterIOInput MasterInput;
void HMIDataUpdate();
#endif