Repository navigation
Expand file tree
/
Copy pathscale-models.json
More file actions
257 lines (257 loc) · 9.55 KB
/
Copy pathscale-models.json
File metadata and controls
257 lines (257 loc) · 9.55 KB
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
[
{
"brand": "Rice Lake",
"model": "920i / 820i / 720i",
"type": "Serial",
"protocol": "Continuous",
"baudRate": 9600,
"dataBits": 8,
"parity": "None",
"stopBits": 1,
"weightRegex": "\\s*([+-]?\\d+\\.?\\d*)\\s*(lb|kg)",
"printCommand": "P",
"zeroCommand": "Z",
"notes": "Rice Lake digital weight indicators. Default serial output is continuous mode."
},
{
"brand": "Rice Lake",
"model": "920i / 820i / 720i",
"type": "TCP",
"defaultPort": 10001,
"weightRegex": "\\s*([+-]?\\d+\\.?\\d*)\\s*(lb|kg)",
"printCommand": "P",
"zeroCommand": "Z",
"notes": "Rice Lake indicators via TCP/IP Ethernet option."
},
{
"brand": "Cardinal",
"model": "225 / Storm",
"type": "Serial",
"protocol": "Continuous",
"baudRate": 9600,
"dataBits": 8,
"parity": "None",
"stopBits": 1,
"weightRegex": "\\s*([+-]?\\d+\\.?\\d*)\\s*(lb|kg)",
"printCommand": "P",
"zeroCommand": "Z",
"notes": "Cardinal Scale digital indicators."
},
{
"brand": "Avery Weigh-Tronix",
"model": "ZM-301 / ZM Series",
"type": "TCP",
"defaultPort": 10001,
"protocol": "SMA",
"demandCommand": "W\\r\\n",
"responseFormat": "SMA 8.1.2: [echo/pad][status][range][gross/net][motion][future][weight][unit]",
"responseExample": " O1GM 80640lb",
"statusChars": {
" ": "Normal",
"Z": "Center of Zero",
"O": "Over Capacity",
"U": "Under Capacity",
"E": "Zero Error",
"T": "Tare Error"
},
"motionChar": "M",
"stableChar": " ",
"grossNetChars": {
"G": "Gross",
"N": "Net",
"T": "Tare"
},
"notes": "Avery Weigh-Tronix ZM-301 and ZM series indicators. Uses SMA 8.1.2 protocol over TCP. Response may include command echo ('W') or space before status byte. Parser should locate header by pattern: [status][digit][G/N/T]. Default port 10001 via serial-to-Ethernet converter."
},
{
"brand": "Avery Weigh-Tronix",
"model": "ZM-301 / ZM Series",
"type": "Serial",
"protocol": "SMA",
"baudRate": 9600,
"dataBits": 7,
"parity": "Even",
"stopBits": 1,
"demandCommand": "W\\r\\n",
"responseFormat": "SMA 8.1.2",
"notes": "Avery Weigh-Tronix ZM series via RS-232 serial. Same SMA protocol as TCP variant. Check parity setting on your unit (default Even, 7 data bits)."
},
{
"brand": "Mettler Toledo",
"model": "IND780 / IND560",
"type": "Serial",
"protocol": "Continuous",
"baudRate": 9600,
"dataBits": 8,
"parity": "Odd",
"stopBits": 1,
"weightRegex": "\\s*([+-]?\\d+\\.?\\d*)\\s*(lb|kg|t)",
"printCommand": "P",
"zeroCommand": "Z",
"notes": "Mettler Toledo industrial terminals. Default parity is Odd — verify on your unit."
},
{
"brand": "Mettler Toledo",
"model": "IND780 / IND560",
"type": "TCP",
"defaultPort": 8001,
"weightRegex": "\\s*([+-]?\\d+\\.?\\d*)\\s*(lb|kg|t)",
"printCommand": "P",
"zeroCommand": "Z",
"notes": "Mettler Toledo terminals via Ethernet."
},
{
"brand": "Fairbanks",
"model": "FB2500 Series",
"type": "Serial",
"protocol": "Continuous",
"baudRate": 9600,
"dataBits": 8,
"parity": "None",
"stopBits": 1,
"weightRegex": "\\s*([+-]?\\d+\\.?\\d*)\\s*(lb|kg)",
"printCommand": "P",
"zeroCommand": "Z",
"notes": "Fairbanks digital weight indicators."
},
{
"brand": "Digi-Star",
"model": "EZ Series",
"type": "Serial",
"protocol": "Continuous",
"baudRate": 9600,
"dataBits": 8,
"parity": "None",
"stopBits": 1,
"weightRegex": "([+-]?\\d+)",
"printCommand": "",
"zeroCommand": "",
"notes": "Digi-Star livestock and truck scale indicators."
},
{
"brand": "Generic",
"model": "SMA / Toledo Protocol",
"type": "Serial",
"protocol": "SMA",
"baudRate": 9600,
"dataBits": 7,
"parity": "Even",
"stopBits": 1,
"demandCommand": "W\\r\\n",
"responseFormat": "SMA 8.1.2: LF + [echo/pad] + status + range + gross/net + motion + future + weight + unit + CR",
"statusChars": {
" ": "Normal",
"Z": "Center of Zero",
"O": "Over Capacity",
"U": "Under Capacity",
"E": "Zero Error",
"T": "Tare Error"
},
"motionChar": "M",
"grossNetChars": {
"G": "Gross",
"N": "Net",
"T": "Tare"
},
"notes": "Generic SMA 8.1.2 demand-mode protocol. Send 'W' to request weight. Response includes binary status byte, range, gross/net, motion flags. Parser should find header by pattern [status][digit][G/N/T] to handle optional command echo."
},
{
"brand": "Generic",
"model": "Continuous Output",
"type": "Serial",
"protocol": "Continuous",
"baudRate": 9600,
"dataBits": 8,
"parity": "None",
"stopBits": 1,
"weightRegex": "([+-]?\\d+\\.?\\d*)",
"notes": "Generic continuous-output scale. Adjust regex to match your scale's output format."
},
{
"brand": "Generic",
"model": "SMA Protocol (TCP)",
"type": "TCP",
"defaultPort": 10001,
"protocol": "SMA",
"demandCommand": "W\\r\\n",
"responseFormat": "SMA 8.1.2",
"statusChars": {
" ": "Normal",
"Z": "Center of Zero",
"O": "Over Capacity",
"U": "Under Capacity",
"E": "Zero Error",
"T": "Tare Error"
},
"motionChar": "M",
"grossNetChars": {
"G": "Gross",
"N": "Net",
"T": "Tare"
},
"notes": "Generic SMA 8.1.2 demand protocol over TCP/IP. Send 'W' to request weight. Common default port is 10001 via serial-to-Ethernet converter."
},
{
"brand": "Cardinal",
"model": "225 (On-Demand)",
"type": "Serial",
"protocol": "OnDemand",
"baudRate": 9600,
"dataBits": 8,
"parity": "None",
"stopBits": 1,
"demandCommand": "Gross\r",
"responseFormat": "<lf><s><r><n><m><f><xxxxxx.xxx><uuu><cr>",
"weightRegex": "\\n([ ZOEe])([1-9])([GTN])([M ])(.)\\s*([+-]?\\d+\\.\\d+)\\s*(ton|lb|oz|t|kg|g)\\r",
"printCommand": "P",
"zeroCommand": "Z",
"notes": "Cardinal 225 on-demand serial format. Service sends 'Gross\\r'; scale replies with LF + status + range + mode (G/T/N) + motion + custom + signed weight (xxxxxx.xxx) + units + CR. Status: Z=center of zero, O=over capacity, E=zero error, e=weight not displayed. Default 9600,8,N,1."
},
{
"brand": "Cardinal",
"model": "225 Navigator (IQ355)",
"type": "Serial",
"protocol": "IQ355",
"baudRate": 9600,
"dataBits": 8,
"parity": "None",
"stopBits": 1,
"weightRegex": "\\s*(\\d+)\\s+(LB|KG)\\s+([GNT])(?:\\s+(MO))?",
"printCommand": "P",
"zeroCommand": "Z",
"notes": "Cardinal 225 Navigator continuous serial stream in IQ355 format. Each frame is right-justified weight + unit (LB/KG) + mode (G/N/T) + optional motion flag 'MO'. Default 9600,8,N,1. Set ConnectionType=Serial and Protocol=IQ355 on the scale config. SerialPortName examples: 'COM1' (Windows), '/dev/ttyUSB0' (Linux)."
},
{
"brand": "Condec",
"model": "UMC / Continuous",
"type": "Serial",
"protocol": "Continuous",
"baudRate": 9600,
"dataBits": 8,
"parity": "None",
"stopBits": 1,
"demandCommand": "",
"responseFormat": "<STX><POL><wwwwwww><UNIT><G/N><S><TERM> per Rice Lake IQ plus 355 EDP/PRN stream; STX often suppressed in serial captures",
"responseExample": " 12000LG ",
"weightRegex": "\\s*([+-]?\\d+\\.?\\d*)\\s*([LKTGO])([GNT])([ IMO]?)",
"printCommand": "P",
"zeroCommand": "Z",
"notes": "Rice Lake IQ plus 355 EDP/PRN continuous output stream — also used by Condec UMC indicators (e.g. UMC600 series) and other relabels of the same OEM board. Each frame is <STX><POL><wwwwwww><UNIT><G/N><S><TERM>, where POL is one of \"<SP>\" (positive), \"-\" (negative), \"^\" (overload, weight = ^^^^^^^), \"]\" (underrange, weight = ]]]]]]]); wwwwwww is 7-digit right-justified weight with leading-space suppression; UNIT is L=lb, K=kg, T=ton, G=g, O=oz, SP=none; G/N is G=gross, N=net, T=tare; S is SP=valid, I=invalid, M=motion, O=over/under range; TERM is CR or CRLF. Regex captures: (1) signed weight, (2) unit char, (3) mode char, (4) status char (used to surface motion to the operator). STX (0x02) at frame start is optional in practice — some firmware or USB-serial converters strip it before delivery. Default 9600,8,N,1; a few older Condec models default to 7,E,1. Set STREAM=EDP or STREAM=PRN in the indicator's SERIAL menu."
},
{
"brand": "Mettler Toledo",
"model": "Shared Data Services (SDS)",
"type": "TCP",
"defaultPort": 1701,
"protocol": "SDS",
"requiresLogin": true,
"sdsFields": {
"gross": "wt0101",
"units": "wt0103",
"zero": "wc0104"
},
"responseFormat": "read <field> <field> ... -> 00R<seq>~<value>~<value>~ (00 = success, 99 = failure)",
"responseExample": "00R003~ 17.08~lb~",
"notes": "Mettler Toledo IND700 (and IND560 / IND570 / IND780) terminals via the Shared Data Server, TCP 1701. The service logs in with the terminal user/password set on the scale (user <name> -> 12 Access OK or 51 Enter Password; pass <password>), keeps the session open and polls wt0101 (displayed gross weight) and wt0103 (units) every poll interval. Zero writes wc0104=1 (pushbutton zero), which needs a user with Operator write access or above. The IND700 Shared Data Reference does not document motion / center-of-zero / over-capacity fields; if your terminal has them, add motion / centerOfZero / overCapacity / underZero to sdsFields (read as 1 = active). A non-numeric gross (dashes when over/under range) is reported as Error. Field instance 01 = scale 1; use wt0201 etc. for scale 2."
}
]