

#metadef
#idString Maynuo,Maynuo M9711
#name Maynuo M9711
#handle M9711
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.3
#replaceText MaxCurrent 30
#replaceText MaxVoltage 150
#replaceText MaxResistance 10000
#replaceText MaxPower 150
#removeLine 60A

#metadef
#idString Maynuo,Maynuo M9712
#name Maynuo M9712
#handle M9712
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.3
#replaceText MaxCurrent 30
#replaceText MaxVoltage 150
#replaceText MaxResistance 10000
#replaceText MaxPower 300
#replaceText "#verifyDevice 0" #verifyDevice 1
#removeLine 60A

#metadef
#idString Maynuo,Maynuo M9712C
#name Maynuo M9712C
#handle M9712C
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.3
#replaceText MaxCurrent 60
#replaceText MaxVoltage 150
#replaceText MaxResistance 10000
#replaceText MaxPower 300
#replaceText "#verifyDevice 0" #verifyDevice 2

#metadef
#idString Maynuo,Maynuo M9713
#name Maynuo M9713
#handle M9713
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 120
#replaceText MaxVoltage 150
#replaceText MaxResistance 10000
#replaceText MaxPower 600
#replaceText "#verifyDevice 0" #verifyDevice 3

#metadef
#idString Maynuo,Maynuo M9712B
#name Maynuo M9712B
#handle M9712B
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.3
#replaceText MaxCurrent 15
#replaceText MaxVoltage 500
#replaceText MaxResistance 10000
#replaceText MaxPower 300
#replaceText "#verifyDevice 0" #verifyDevice 4
#removeLine 30A
#removeLine 60A

#metadef
#idString Maynuo,Maynuo M9713B
#name Maynuo M9713B
#handle M9713B
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 30
#replaceText MaxVoltage 500
#replaceText MaxResistance 10000
#replaceText MaxPower 600
#replaceText "#verifyDevice 0" #verifyDevice 5
#removeLine 60A

#metadef
#idString Maynuo,Maynuo M9714
#name Maynuo M9714
#handle M9714
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 240
#replaceText MaxVoltage 150
#replaceText MaxResistance 10000
#replaceText MaxPower 1200
#replaceText "#verifyDevice 0" #verifyDevice 6

#metadef
#idString Maynuo,Maynuo M9714B
#name Maynuo M9714B
#handle M9714B
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 60
#replaceText MaxVoltage 500
#replaceText MaxResistance 10000
#replaceText MaxPower 1200
#replaceText "#verifyDevice 0" #verifyDevice 7

#metadef
#idString Maynuo,Maynuo M9715
#name Maynuo M9715
#handle M9715
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 240
#replaceText MaxVoltage 150
#replaceText MaxResistance 10000
#replaceText MaxPower 1800
#replaceText "#verifyDevice 0" #verifyDevice 8

#metadef
#idString Maynuo,Maynuo M9715B
#name Maynuo M9715B
#handle M9715B
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 120
#replaceText MaxVoltage 500
#replaceText MaxResistance 10000
#replaceText MaxPower 1800
#replaceText "#verifyDevice 0" #verifyDevice 9

#metadef
#idString Maynuo,Maynuo M9716
#name Maynuo M9716
#handle M9716
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 240
#replaceText MaxVoltage 150
#replaceText MaxResistance 10000
#replaceText MaxPower 2400
#replaceText "#verifyDevice 0" #verifyDevice 10

#metadef
#idString Maynuo,Maynuo M9716B
#name Maynuo M9716B
#handle M9716B
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 120
#replaceText MaxVoltage 500
#replaceText MaxResistance 10000
#replaceText MaxPower 2400
#replaceText "#verifyDevice 0" #verifyDevice 11

#metadef
#idString Maynuo,Maynuo M9717C
#name Maynuo M9717C
#handle M9717C
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 480
#replaceText MaxVoltage 150
#replaceText MaxResistance 10000
#replaceText MaxPower 3600
#replaceText "#verifyDevice 0" #verifyDevice 12

#metadef
#idString Maynuo,Maynuo M9717
#name Maynuo M9717
#handle M9717
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 480
#replaceText MaxVoltage 150
#replaceText MaxResistance 10000
#replaceText MaxPower 3600
#replaceText "#verifyDevice 0" #verifyDevice 13

#metadef
#idString Maynuo,Maynuo M9717B
#name Maynuo M9717B
#handle M9717B
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 120
#replaceText MaxVoltage 500
#replaceText MaxResistance 10000
#replaceText MaxPower 3600
#replaceText "#verifyDevice 0" #verifyDevice 14

#metadef
#idString Maynuo,Maynuo M9718
#name Maynuo M9718
#handle M9718
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 240
#replaceText MaxVoltage 150
#replaceText MaxResistance 10000
#replaceText MaxPower 6000
#replaceText "#verifyDevice 0" #verifyDevice 15

#metadef
#idString Maynuo,Maynuo M9718B
#name Maynuo M9718B
#handle M9718B
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 120
#replaceText MaxVoltage 500
#replaceText MaxResistance 10000
#replaceText MaxPower 6000
#replaceText "#verifyDevice 0" #verifyDevice 16

#metadef
#idString Maynuo,Maynuo M9718D
#name Maynuo M9718D
#handle M9718D
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 240
#replaceText MaxVoltage 500
#replaceText MaxResistance 10000
#replaceText MaxPower 6000
#replaceText "#verifyDevice 0" #verifyDevice 17

#metadef
#idString Maynuo,Maynuo M9836
#name Maynuo M9836
#handle M9836
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 500
#replaceText MaxVoltage 150
#replaceText MaxResistance 10000
#replaceText MaxPower 20000
#replaceText "#verifyDevice 0" #verifyDevice 18

#metadef
#idString Maynuo,Maynuo M9836B
#name Maynuo M9836B
#handle M9836B
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 240
#replaceText MaxVoltage 500
#replaceText MaxResistance 10000
#replaceText MaxPower 20000
#replaceText "#verifyDevice 0" #verifyDevice 19

#metadef
#idString Maynuo,Maynuo M9838B
#name Maynuo M9838B
#handle M9838B
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 240
#replaceText MaxVoltage 500
#replaceText MaxResistance 10000
#replaceText MaxPower 50000
#replaceText "#verifyDevice 0" #verifyDevice 20

#metadef
#idString Maynuo,Maynuo M9839B
#name Maynuo M9839B
#handle M9839B
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 240
#replaceText MaxVoltage 500
#replaceText MaxResistance 10000
#replaceText MaxPower 100000
#replaceText "#verifyDevice 0" #verifyDevice 21

#metadef
#idString Maynuo,Maynuo M9840B
#name Maynuo M9840B
#handle M9840B
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 1500
#replaceText MaxVoltage 500
#replaceText MaxResistance 10000
#replaceText MaxPower 200000
#replaceText "#verifyDevice 0" #verifyDevice 22

#metadef
#idString Maynuo,Maynuo M9840
#name Maynuo M9840
#handle M9840
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 1500
#replaceText MaxVoltage 150
#replaceText MaxResistance 10000
#replaceText MaxPower 200000
#replaceText "#verifyDevice 0" #verifyDevice 23

#metadef
#idString Maynuo,Maynuo M9712B30
#name Maynuo M9712B30
#handle M9712B30
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.3
#replaceText MaxCurrent 30
#replaceText MaxVoltage 500
#replaceText MaxResistance 10000
#replaceText MaxPower 300
#replaceText "#verifyDevice 0" #verifyDevice 24
#removeLine 60A

#metadef
#idString Maynuo,Maynuo M9718E
#name Maynuo M9718E
#handle M9718E
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 120
#replaceText MaxVoltage 600
#replaceText MaxResistance 10000
#replaceText MaxPower 6000
#replaceText "#verifyDevice 0" #verifyDevice 25

#metadef
#idString Maynuo,Maynuo M9718F
#name Maynuo M9718F
#handle M9718F
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 480
#replaceText MaxVoltage 150
#replaceText MaxResistance 10000
#replaceText MaxPower 6000
#replaceText "#verifyDevice 0" #verifyDevice 26

#metadef
#idString Maynuo,Maynuo M9716E
#name Maynuo M9716E
#handle M9716E
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 480
#replaceText MaxVoltage 150
#replaceText MaxResistance 10000
#replaceText MaxPower 3000
#replaceText "#verifyDevice 0" #verifyDevice 27

#metadef
#idString Maynuo,Maynuo M9710
#name Maynuo M9710
#handle M9710
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.3
#replaceText MaxCurrent 30
#replaceText MaxVoltage 150
#replaceText MaxResistance 10000
#replaceText MaxPower 10000
#replaceText "#verifyDevice 0" #verifyDevice 28
#removeLine 60A

#metadef
#idString Maynuo,Maynuo M9834
#name Maynuo M97834
#handle M9834
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 500
#replaceText MaxVoltage 150
#replaceText MaxResistance 10000
#replaceText MaxPower 10000
#replaceText "#verifyDevice 0" #verifyDevice 29

#metadef
#idString Maynuo,Maynuo M9835
#name Maynuo M9835
#handle M9835
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 500
#replaceText MaxVoltage 150
#replaceText MaxResistance 10000
#replaceText MaxPower 15000
#replaceText "#verifyDevice 0" #verifyDevice 30

#metadef
#idString Maynuo,Maynuo M9835B
#name Maynuo M9835B
#handle M9835B
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 240
#replaceText MaxVoltage 500
#replaceText MaxResistance 10000
#replaceText MaxPower 15000
#replaceText "#verifyDevice 0" #verifyDevice 31

#metadef
#idString Maynuo,Maynuo M9837
#name Maynuo M9837
#handle M9837
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 500
#replaceText MaxVoltage 150
#replaceText MaxResistance 10000
#replaceText MaxPower 35000
#replaceText "#verifyDevice 0" #verifyDevice 32

#metadef
#idString Maynuo,Maynuo M9837B
#name Maynuo M9837B
#handle M9837B
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 240
#replaceText MaxVoltage 500
#replaceText MaxResistance 10000
#replaceText MaxPower 35000
#replaceText "#verifyDevice 0" #verifyDevice 33

#metadef
#idString Maynuo,Maynuo M9838
#name Maynuo M9838
#handle M9838
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 500
#replaceText MaxVoltage 150
#replaceText MaxResistance 10000
#replaceText MaxPower 50000
#replaceText "#verifyDevice 0" #verifyDevice 34

#metadef
#idString Maynuo,Maynuo M9839
#name Maynuo M9839
#handle M9839
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 500
#replaceText MaxVoltage 150
#replaceText MaxResistance 10000
#replaceText MaxPower 100000
#replaceText "#verifyDevice 0" #verifyDevice 35

#metadef
#idString Maynuo,Maynuo M9835C
#name Maynuo M9835C
#handle M9835C
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 1000
#replaceText MaxVoltage 150
#replaceText MaxResistance 10000
#replaceText MaxPower 15000
#replaceText "#verifyDevice 0" #verifyDevice 36

#metadef
#idString Maynuo,Maynuo M9836C
#name Maynuo M9836C
#handle M9712B30
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 1000
#replaceText MaxVoltage 150
#replaceText MaxResistance 10000
#replaceText MaxPower 20000
#replaceText "#verifyDevice 0" #verifyDevice 37

#metadef
#idString Maynuo,Maynuo M9818F-300
#name Maynuo M9815F-300
#handle M9815F
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 480
#replaceText MaxVoltage 300
#replaceText MaxResistance 10000
#replaceText MaxPower 6000
#replaceText "#verifyDevice 0" #verifyDevice 38

#metadef
#idString Maynuo,Maynuo M9836F
#name Maynuo M9836F
#handle M9836F
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 1000
#replaceText MaxVoltage 150
#replaceText MaxResistance 10000
#replaceText MaxPower 20000
#replaceText "#verifyDevice 0" #verifyDevice 39

#metadef
#idString Maynuo,Maynuo M9836E
#name Maynuo M9836E
#handle M9836E
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 240
#replaceText MaxVoltage 600
#replaceText MaxResistance 10000
#replaceText MaxPower 20000
#replaceText "#verifyDevice 0" #verifyDevice 40

#metadef
#idString Maynuo,Maynuo M9717D
#name Maynuo M9717D
#handle M9717D
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 240
#replaceText MaxVoltage 500
#replaceText MaxResistance 10000
#replaceText MaxPower 3600
#replaceText "#verifyDevice 0" #verifyDevice 41

#metadef
#idString Maynuo,Maynuo M9836B-720
#name Maynuo M9836B-720
#handle M9836B
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 240
#replaceText MaxVoltage 720
#replaceText MaxResistance 10000
#replaceText MaxPower 20000
#replaceText "#verifyDevice 0" #verifyDevice 42

#metadef
#idString Maynuo,Maynuo M9834H
#name Maynuo M9834H
#handle M9834H
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 500
#replaceText MaxVoltage 150
#replaceText MaxResistance 10000
#replaceText MaxPower 10000
#replaceText "#verifyDevice 0" #verifyDevice 43

#metadef
#idString Maynuo,Maynuo M9836H
#name Maynuo M9836H
#handle M9836H
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 500
#replaceText MaxVoltage 150
#replaceText MaxResistance 10000
#replaceText MaxPower 6000
#replaceText "#verifyDevice 0" #verifyDevice 44

#metadef
#idString Maynuo,Maynuo M9718F-500
#name Maynuo M9718F-500
#handle M9718F-500
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 480
#replaceText MaxVoltage 500
#replaceText MaxResistance 10000
#replaceText MaxPower 6000
#replaceText "#verifyDevice 0" #verifyDevice 45

#metadef
#idString Maynuo,Maynuo M9834B
#name Maynuo M9834B
#handle M9834B
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 240
#replaceText MaxVoltage 500
#replaceText MaxResistance 10000
#replaceText MaxPower 10000
#replaceText "#verifyDevice 0" #verifyDevice 46

; Skipped M9835H 
; Skipped M9716B-400

#metadef
#idString Maynuo,Maynuo M9818B
#name Maynuo M9818B
#handle M9818B
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 120
#replaceText MaxVoltage 500
#replaceText MaxResistance 10000
#replaceText MaxPower 6000
#replaceText "#verifyDevice 0" #verifyDevice 49

; Skipped M9718F-4500

#metadef
#idString Maynuo,Maynuo M9716L
#name Maynuo M9716L
#handle M9716L
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 600
#replaceText MaxVoltage 20
#replaceText MaxResistance 10000
#replaceText MaxPower 3000
#replaceText "#verifyDevice 0" #verifyDevice 51

#metadef
#idString Maynuo,Maynuo M9716SL
#name Maynuo M9716SL
#handle M9716SL
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 600
#replaceText MaxVoltage 10
#replaceText MaxResistance 10000
#replaceText MaxPower 3000
#replaceText "#verifyDevice 0" #verifyDevice 52

#metadef
#idString Maynuo,Maynuo M9716SL800
#name Maynuo M9716SL800
#handle M9716SL800
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.03
#replaceText MaxCurrent 800
#replaceText MaxVoltage 6
#replaceText MaxResistance 10000
#replaceText MaxPower 3000
#replaceText "#verifyDevice 0" #verifyDevice 53

; Skipped M8858
; Skipped M9716L30

;---- New sequence of id numbers

#metadef
#idString Maynuo,Maynuo M9811
#name Maynuo M9811
#handle M9811
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.3
#replaceText MaxCurrent 30
#replaceText MaxVoltage 150
#replaceText MaxResistance 10000
#replaceText MaxPower 200
#replaceText "#verifyDevice 0" #verifyDevice 100
#removeLine 60A

#metadef
#idString Maynuo,Maynuo M9812
#name Maynuo M9812
#handle M9812
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.3
#replaceText MaxCurrent 30
#replaceText MaxVoltage 150
#replaceText MaxResistance 10000
#replaceText MaxPower 300
#replaceText "#verifyDevice 0" #verifyDevice 101
#removeLine 60A

#metadef
#idString Maynuo,Maynuo M9812B
#name Maynuo M9812B
#handle M9812B
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.3
#replaceText MaxCurrent 15
#replaceText MaxVoltage 500
#replaceText MaxResistance 10000
#replaceText MaxPower 300
#replaceText "#verifyDevice 0" #verifyDevice 102
#removeLine 30A
#removeLine 60A

; Skipped M9711D
; And a jump in id numbers

#metadef
#idString Maynuo,Maynuo M9912D
#name Maynuo M9912D
#handle M9912D
#replaceText MinVoltage 0.1
#replaceText MinResistance 0.3
#replaceText MaxCurrent 30
#replaceText MaxVoltage 500
#replaceText MaxResistance 10000
#replaceText MaxPower 400
#replaceText "#verifyDevice 0" #verifyDevice 111
#removeLine 60A



#meta

#idString Maynuo,Maynuo M9712C
#name Maynuo M9712C
#handle M9712C
#port com
#driver Modbus

#disableWriteSingle 1

#scpiCmd Current holdingF 0xa01 (value);holding 0xa00 1
:setvar: currentMode=1
#scpiCmd Current? holdingF? 0xa01
#scpiCmd Voltage holdingF 0xa03 (value);holding 0xa00 2
:setvar: currentMode=2
#scpiCmd Voltage? holdingF? 0xa03
#scpiCmd Power holdingF 0xa05 (value);holding 0xa00 3
:setvar: currentMode=3
#scpiCmd Power? holdingF? 0xa05
#scpiCmd Resistance holdingF 0xa07 (value);holding 0xa00 4
:setvar: currentMode=4
#scpiCmd Resistance? holdingF? 0xa07
#scpiCmd values? holdingF? 0xb00 2
#scpiCmd maxVoltage holdingF 0xa36 (value)
#scpiCmd maxVoltage? holdingF? 0xa36
#scpiCmd maxCurrent holdingF 0xa34 (value)
#scpiCmd maxCurrent? holdingF? 0xa34
#scpiCmd maxPower holdingF 0xa38 (value)
#scpiCmd maxPower? holdingF? 0xa38
#scpiCmd minBattery holdingF 0xa2e (value);holding 0xa00 38;holdingF 0x0A30 0
:setvar: currentMode=38
#scpiCmd minBattery? holdingF? 0xa2e
#scpiCmd sense coil 0x503 (value)
#scpiCmd sense? coil? 0x503
#scpiCmd remote coil 0x500 (value)
#scpiCmd remote? coil? 0x500
#scpiCmd mode holding 0xa00 (value)
:setvar: currentMode=value
#scpiCmd mode? holding? 0xb04 1 &0xff
:setvar: currentMode=value
#scpiCmd on holding 0xa00 (currentMode);holding 0xa00 (getElement("43 42",value))
#scpiCmd on? coil? 0x510

#scpiCmd model? holding? 0xb06
:setvar: currentMode=0;

#scpiCmd getDeviceSW? holding? 0xb07 1 /10

;#scpiCmd getDeviceSN? 

#verifyDevice 0 model?
;#cmdDelayTime 50

#value Voltage V D3 
#value Current A D3 

; This is a single line command
#askValues values?

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

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

; Used when output off button is pressed
#outputOff on 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?
#interface getMode mode?
; 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


#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: (value<5)?getElement("none CC CV CP CR",value):(value==38?"Battery test":value)
_


#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

#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 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
