100-412-234 REV. 06 275
D.2.16 Get Weld History
Once the number of Welds is known via the Get Number of Weld History request, then this
service can be properly called. Since there are internal limitations to data bandwidth, only
a maximum of 50 Welds can be requested at any given time. There are two ways of
getting the Weld data.
1. Get the most recent 50 Welds. This is accomplished by setting both the “From” and “To” values
to 0
2. Get any random chunk of up to 50 consecutive welds. E.g. Weld # 120-169
In the POST data request there are two additional fields required along with the SID.
These are the “From” and “To” values. These fields are the index into the array of welds
stored in memory from 0 to 99999. The difference between these values cannot exceed
50.
URL
http://<2000Xc IP Address>/Services/GetWeldHistory
POST Data
{"Sid":12345,"From":120,"To":169}
Successful Response
{“ErrorCode”:0,
“WeldData”:[
{“1”:Value,“2”:Value,…,”37”:Value},
{“1”:Value,“2”:Value,…,”37”:Value},
…
{“1”:Value,“2”:Value,…,”37”:Value}]}
See Weld History IDs for the lookup table of IDs in the Table D.3
D.2.17 Get Number of Alarms
Due to the nature of getting the Power Supply Alarm information, this web service is
necessary to be called before any request to get the Alarm Log. This service will simply
return the total number of Alarms that the Power Supply has stored in its memory.
URL
http://<2000Xc IP Address>/Services/GetNumAlarms
POST Data
{"Sid":12345}
Successful Response
{“ErrorCode”:0,“TotalAlarmPresent”:200}