4 . setting the output voltage (0x23), 5 . setting the output current (0x24), Setting the communication address (0x25) – B&K Precision 1785B - Manual User Manual
Page 25
25
4. Setting the output voltage (0x23)
1
st
byte
Start bit (0xAA )
2
nd
byte
Address(0x00~0xFE)
3
rd
byte
Command(0x23)
4
th
byte
The byte 0 of output voltage value
5
th
byte
The byte 1 of output voltage value
6
th
byte
The higher byte of output voltage value
7
th
byte
The highest byte of output voltage value
8
th
to 25
th
byte
System reserve
26
th
byte
Check sum
5.Setting the output current (0x24)
1
st
byte
Start bit (0xAA )
2
nd
byte
Address (0x00~0xFE)
3
rd
byte
Command(0x24)
4
th
byte
To set the low byte of current value (1 represents 1 mA)
5
th
byte
To set the high byte of current value
6
th
to 25
th
byte
System reserve
26
th
byte
Check sum
6. Setting the communication address (0x25)
1
st
byte
Start bit ( 0xAA )
2
nd
byte
The current address of power supply(0x00~0xFE)
3
rd
byte
Command(0x25)
4
th
byte
The new address
5
th
to 25
th
byte
System reserve
26
th
byte
Check sum
7. Reading the measured output current/voltage, maximum voltage setting,
voltage/current setting, and the states of power supply. (0x26)
1
st
byte
Start bit ( 0xAA)
2
nd
byte
Address(0x00~0xFE)
3
rd
byte
Command(0x26)
4
th
byte
Byte 0 of measured output current value
5
th
byte
Byte 1 of measured output current value
6
th
byte
Byte 0 of measured output voltage value
7
th
byte
Byte 1 of measured output voltage
8
th
byte
Byte 2 of measured output voltage
Note:
Suppose you want to set the maximum current to 3.12 A. Since 1
represents 1 mA, 3.12 A translates to 3,120 in decimal. With 2 bytes in Hex, that
would be 0x0C30. Since the bytes are ordered in little-endian format, 0x30 would
be the 4
th
byte, and 0x0C as 5
th
byte.