


#metadef
#idString B&K PRECISION, BK8500,
#name B&K Precision BK8500
#handle BK8500
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.1
#replaceText MaxCurrent 30
#replaceText MaxVoltage 120
#replaceText MaxResistance 4000
#replaceText MaxPower 320
#removeLine 60A
#removeLine 120A
#removeLine 240A


#metadef
#idString B&K PRECISION, BK8502,
#name B&K Precision BK8502
#handle BK8502
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.1
#replaceText MaxCurrent 15
#replaceText MaxVoltage 500
#replaceText MaxResistance 4000
#replaceText MaxPower 320
#removeLine 30A
#removeLine 60A
#removeLine 120A
#removeLine 240A

#metadef
#idString B&K PRECISION, BK8510,
#name B&K Precision BK8510
#handle BK8510
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.1
#replaceText MaxCurrent 120
#replaceText MaxVoltage 120
#replaceText MaxResistance 4000
#replaceText MaxPower 600
#removeLine 240A

#metadef
#idString B&K PRECISION, BK8512,
#name B&K Precision BK8512
#handle BK8512
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.1
#replaceText MaxCurrent 30
#replaceText MaxVoltage 500
#replaceText MaxResistance 4000
#replaceText MaxPower 600
#removeLine 60A
#removeLine 120A
#removeLine 240A

#metadef
#idString B&K PRECISION, BK8514,
#name B&K Precision BK8514
#handle BK8514
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.1
#replaceText MaxCurrent 240
#replaceText MaxVoltage 120
#replaceText MaxResistance 4000
#replaceText MaxPower 1200
#removeLine 100mA
#removeLine 300mA



#metadef
#idString B&K PRECISION, BK8518,
#name B&K Precision BK8518
#handle BK8518
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.1
#replaceText MaxCurrent 240
#replaceText MaxVoltage 60
#replaceText MaxResistance 4000
#replaceText MaxPower 1200
#removeLine 100mA
#removeLine 300mA

#metadef
#idString B&K PRECISION, BK8520,
#name B&K Precision BK8520
#handle BK8520
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.1
#replaceText MaxCurrent 240
#replaceText MaxVoltage 120
#replaceText MaxResistance 4000
#replaceText MaxPower 2400
#removeLine 100mA
#removeLine 300mA


#metadef
#idString B&K PRECISION, BK8522,
#name B&K Precision BK8522
#handle BK8522
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.1
#replaceText MaxCurrent 120
#replaceText MaxVoltage 150
#replaceText MaxResistance 4000
#replaceText MaxPower 2400
#removeLine 100mA
#removeLine 300mA
#removeLine 240A

#metadef
#idString B&K PRECISION, BK8524,
#name B&K Precision BK8524
#handle BK8524
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.1
#replaceText MaxCurrent 240
#replaceText MaxVoltage 60
#replaceText MaxResistance 4000
#replaceText MaxPower 5000
#removeLine 100mA
#removeLine 300mA


#metadef
#idString B&K PRECISION, BK8526,
#name B&K Precision BK8526
#handle BK8526
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.1
#replaceText MaxCurrent 120
#replaceText MaxVoltage 500
#replaceText MaxResistance 4000
#replaceText MaxPower 500
#removeLine 100mA
#removeLine 300mA
#removeLine 240A








#meta



#idString B&K PRECISION, BK85xx,
#name B&K Precision BK85xx
#handle BK85xx
#port com
#driver BK85xx
#help BK BK85xx

#outputOff on 0


; Initial commands to meter when establishing connection
#initCmd remote 1


; Final command to meter before breaking connection
#finalCmd on 0;remote 0

; This type will specify the handle name for the first device with this type
; This makes it possible to easy get generic handle names for a setup, that will work with a script
#interfaceType Load
; These function will adjust settings
#interface setVoltage voltage (value)
#interface setCurrent current (value)
#interface setPower power (value)
#interface setResistance resistance (value)
#interface setRemoteSense sense (value)
#interface setOn on (value)
; These function will return the value applied with the set function
#interface getVoltage voltage?
#interface getCurrent current?
#interface getPower power?
#interface getResistance resistance?
#interface getRemoteSense sense?
#interface getOn on?
; These functions will read the actual values
; These can either contain a number that will reference to a data column or they can contain a command to read the value
#interface readVoltage 0
#interface readCurrent 1
#interface readPower 2
#interface readCapacity 3
#interface readEnergy 4



#cmdSetup indicatornum Status Main
:read: on?
:updatealloff:
Off 99 red
On 1 Red

#cmdSetup indicatornum Status Main
:read: sense?
Local_sense 0 Blue
Remote_Sense 1 Yellow

#cmdSetup info Mode Main
:read: mode?
:readmath: substring(value,2);
_


#cmdSetup radio Current Main
:read: current?
:write: current
:update: Mode
:tip: Load current for current mode
100mA 0.1
300mA 0.3
1A 1.0
3A 3.0
10A 10.0
30A 30.0
60A 60
120A 120
240A 240

#cmdSetup number Voltage Main
:read: voltage?
:write: voltage
:update: Mode
:tip: Load voltage for voltage mode
:buttontext: Mode
Volt MinVoltage MaxVoltage


#cmdSetup number Current Main
:read: current?
:write: current
:update: Mode
:tip: Load current for current mode
:buttontext: Mode
Amps 0 MaxCurrent

#cmdSetup number Power Main
:read: power?
:write: power
:update: Mode
:tip: Load power for power mode
:buttontext: Mode
Watt 0 MaxPower

#cmdSetup number Resistance Main
:read: resistance?
:write: resistance
:tip: Load resistance for resistance mode
:buttontext: Mode
Ohm MinResistance MaxResistance

#cmdSetup number Minimum_battery Main
:read: minbattery?
:write: minbattery
:tip: Set minimum voltage for battery mode, current must be defined first.
:buttontext: Mode
Volt 0.1 120

#cmdSetup number Max_voltage Limit_&_Range
:read: maxvoltage?
:write: maxvoltage
:tip: Maximum voltage, this select input range
Volt 0.1 MaxVoltage


#cmdSetup number Max_current Limit_&_Range
:read: maxcurrent?
:write: maxcurrent
:tip: Maximum current, this select input range
Amps 0 MaxCurrent

#cmdSetup number Max_power Limit_&_Range
:read: maxpower?
:write: maxpower
:tip: Maximmum power.
Watt 0 MaxPower


#cmdSetup radio On_voltage_mode Limit_&_Range
:read: VonMode?
:write: VonMode
:tip: When this is checked the "On voltage" is a trigger to turn on
Only_on_above 0
Latch_on_when_above 1

#cmdSetup number On_voltage Limit_&_Range
:read: Von?
:write: Von
:tip: Load will turn on when voltage goes above this voltage, off depends on mode
V 0.1 MaxVoltage




#cmdSetup checkbox Remote_sense Main
:read: sense?
:write: sense
:update: Status
on 0 1


#cmdsetup buttons Status
:write: on
:update: Mode Status
off 0
on 1
