-
Notifications
You must be signed in to change notification settings - Fork 0
/
client_server_signals.xml
133 lines (133 loc) · 10.5 KB
/
client_server_signals.xml
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<?xml version="1.0" encoding="utf-8"?>
<project>
<deviceData
vendorName = "TkAutomation"
productCode = ""
vendorUrl = "https://github.com/tkucic/autoClientServer_modbusTcp"
productName = "EASY CLIENT/SERVER SIMULATOR FOR MODBUS TCP/RTU"
modelName = "SERVER SIMULATOR FOR MODBUS TCP/RTU"
version = "1.0-0"
modbusType = "tcp/ip"
timeout = "2"
ip = "localhost"
port = "502"
com = "COM2"
baud = "19200"
stopbits = "1"
bytesize = "8"
parity = "E"
log = "partial"
/> <!--rtu-->
<!-- GUIDE ON XML SCHEMA
If server simulator is parsing this file:
register.xx.mapping register attribute must be present
register.xx.mapping initialValue attribite is optional and will initialize the register if present
all number values must be integer 0-65535
If client is parsing this file:
register.xx.mapping description attribute is optional but if missing the gui will show None for the description
register.xx.mapping register attribute must be present and match servers address of this value. It also must be unique, cant have co and di have same register number
all number values must be integer 0-65535-->
<registers>
<!--Coils-->
<co>
<mapping description="Coil #1" register="100" initialValue="0" log="True" />
<mapping description="Coil #2" register="101" initialValue="0" log="True" />
<mapping description="Coil #3" register="102" initialValue="0" log="True" />
<mapping description="Coil #4" register="103" initialValue="0" log="True" />
<mapping description="Coil #5" register="104" initialValue="1" log="True" />
<mapping description="Coil #6" register="105" initialValue="1" log="True" />
<mapping description="Coil #7" register="106" initialValue="1" log="True" />
<mapping description="Coil #8" register="107" initialValue="1" log="True" />
<mapping description="Coil - Long description #1" register="108" log="True" />
<mapping description="Coil - Long description #2" register="109" log="True" />
<mapping description="Coil - Long description #3" register="110" log="True" />
<mapping description="Coil - Long description #4" register="111" log="True" />
<mapping description="Coil - Long description #5" register="112" log="True" />
<mapping description="Coil - Long description #6" register="113" log="True" />
<mapping description="Coil - Long description #7" register="114" log="True" />
<mapping description="Coil - Long description #8" register="115" />
</co>
<!--Discrete inputs-->
<di>
<mapping
description="Discrete input #1" register="1000" initialValue="0"/>
<mapping description="Discrete input #2" register="1001" initialValue="1" />
<mapping description="Discrete input #3" register="1002" initialValue="0" />
<mapping description="Discrete input #4" register="1003" initialValue="1" />
<mapping description="Discrete input #5" register="1004" initialValue="0" />
<mapping description="Discrete input #6" register="1005" initialValue="1" />
<mapping description="Discrete input #7" register="1006" initialValue="0" />
<mapping description="Discrete input #8" register="1007" initialValue="1" />
<mapping description="Discrete input - Long description #1" register="1008" log="True" />
<mapping description="Discrete input - Long description #2" register="1009" log="True" />
<mapping description="Discrete input - Long description #3" register="1010" log="True" />
<mapping description="Discrete input - Long description #4" register="1011" log="True" />
<mapping description="Discrete input - Long description #5" register="1012" log="True" />
<mapping description="Discrete input - Long description #6" register="1013" log="True" />
<mapping description="Discrete input - Long description #7" register="1014" log="True" />
<mapping description="Discrete input - Long description #8" register="1015" log="True" />
</di>
<!--Input registers-->
<ir>
<mapping description="Input register #1" register="10000" initialValue="1000"
bit0="Description of bit 0" bit1="Description of bit 1" bit2="Description of bit 2" bit3="Description of bit 2"
bit4="Description of bit 4" bit5="Description of bit 5" bit6="Description of bit 6" bit7="Description of bit 7"
bit8="Description of bit 8" bit9="Description of bit 9" bit10="Description of bit 10" bit11="Description of bit 11"
bit12="Description of bit 12" bit13="Description of bit 12" bit14="Description of bit 12" bit15="Description of bit 15" />
<mapping register="10001" initialValue="1001"
bit0="Description of bit 0" bit1="Description of bit 1" bit2="Description of bit 2" bit3="Description of bit 2"
bit4="Description of bit 4" bit5="Description of bit 5" bit6="Description of bit 6" bit7="Description of bit 7"
bit8="Description of bit 8" bit9="Description of bit 9" bit10="Description of bit 10" bit11="Description of bit 11"
bit12="Description of bit 12" bit13="Description of bit 12" bit14="Description of bit 12" bit15="Description of bit 15"/>
<mapping description="Input register #3" register="10002" initialValue="1002" />
<mapping description="Input register #4" register="10003" initialValue="1003" />
<mapping description="Input register #5" register="10004" initialValue="1004" />
<mapping description="Input register #6" register="10005" initialValue="1005" />
<mapping description="Input register #7" register="10006" initialValue="1006" log="True" />
<mapping description="Input register #8" register="10007" initialValue="1007" log="True" />
<mapping description="Input register - Long description #1" register="10008"
bit0="Description of bit 0" bit1="Description of bit 1" bit2="Description of bit 2" bit3="Description of bit 2"
bit4="Description of bit 4" bit5="Description of bit 5" bit6="Description of bit 6" bit7="Description of bit 7"
bit8="Description of bit 8" bit9="Description of bit 9" bit10="Description of bit 10" bit11="Description of bit 11"
bit12="Description of bit 12" bit13="Description of bit 12" bit14="Description of bit 12" bit15="Description of bit 15"/>
<mapping description="Input register - Long description #2" register="10009" />
<mapping description="Input register - Long description #3" register="10010" />
<mapping description="Input register - Long description #4" register="10011" />
<mapping description="Input register - Long description #5" register="10012" />
<mapping description="Input register - Long description #6" register="10013" log="True" />
<mapping description="Input register - Long description #7" register="10014" />
<mapping description="Input register - Long description #8" register="10015" />
</ir>-->
<!--Holding registers-->
<hr>
<mapping description="Holding register #1" register="20000" initialValue="100"
bit0="Description of bit 0" bit1="Description of bit 1" bit2="Description of bit 2" bit3="Description of bit 2"
bit4="Description of bit 4" bit5="Description of bit 5" bit6="Description of bit 6" bit7="Description of bit 7"
bit8="Description of bit 8" bit9="Description of bit 9" bit10="Description of bit 10" bit11="Description of bit 11"
bit12="Description of bit 12" bit13="Description of bit 12" bit14="Description of bit 12" bit15="Description of bit 15"/>
<mapping description="Holding register #2" register="20001" initialValue="101" log="True" />
<mapping description="Holding register #3" register="20002" initialValue="102" />
<mapping description="Holding register #4" register="20003" initialValue="103" log="True" />
<mapping description="Holding register #5" register="20004" initialValue="104" />
<mapping description="Holding register #6" register="20005" initialValue="105"
bit0="Description of bit 0" bit1="Description of bit 1" bit2="Description of bit 2" bit3="Description of bit 2"
bit4="Description of bit 4" bit5="Description of bit 5" bit6="Description of bit 6" bit7="Description of bit 7"
bit8="Description of bit 8" bit9="Description of bit 9" bit10="Description of bit 10" bit11="Description of bit 11"
bit12="Description of bit 12" bit13="Description of bit 12" bit14="Description of bit 12" bit15="Description of bit 15"/>
<mapping description="Holding register #7" register="20006" initialValue="106" />
<mapping description="Holding register #8" register="20007" initialValue="107" />
<mapping description="Holding register - Long description #1" register="20008" />
<mapping description="Holding register - Long description #2" register="20009" log="True" />
<mapping description="Holding register - Long description #3" register="20010" />
<mapping description="Holding register - Long description #4" register="20011" />
<mapping description="Holding register - Long description #5" register="20012" />
<mapping description="Holding register - Long description #6" register="20013"
bit0="Description of bit 0" bit1="Description of bit 1" bit2="Description of bit 2" bit3="Description of bit 2"
bit4="Description of bit 4" bit5="Description of bit 5" bit6="Description of bit 6" bit7="Description of bit 7"
bit8="Description of bit 8" bit9="Description of bit 9" bit10="Description of bit 10" bit11="Description of bit 11"
bit12="Description of bit 12" bit13="Description of bit 12" bit14="Description of bit 12" bit15="Description of bit 15"/>
<mapping description="Holding register - Long description #7" register="20014" />
<mapping description="Holding register - Long description #8" register="20015" log="True" />
</hr>
</registers>
</project>