NS5-09B
User's manual
22
Example 4 .
Readout of 2 32-bit registers of integer type, starting with the register addressed
1D4Ch (7500)
- registers values 10, 100.
Request:
Address
of the
device
Function
Address of the
register
Number of registers
Checksum
CRC
B1
B0
B1
B0
01
03
1D
4C
00
02
03 B0
Response:
Address
of the
device
Function
Number
of bytes
Value from the register
1D4C (7500)
Value from register
1D4D (7501)
Check
sum
CRC
B3
B2
B1
B0
B3
B2
B1
B0
01
03
08
41
20
00
00
42
C8
00
00 E4 6F
Readout of single register (code 06h)
Example 5 .
Record of 543 (0x021F) value to register 4000 (0x0FA0)
Request:
Address
of the
device
Function
Address of the
register
Value of register
Checksum
CRC
B1
B0
B1
B0
01
06
0F
A0
02
1F
CA 54
Response:
Address of the
device
Function
Address of the register
Value of register
Checksum
CRC
B1
B0
B1
B0
01
06
0F
A0
02
1F
CA 54
Recording to n-registers (code 10h)
Example 6.
Readout of 2 registers, starting with the register addressed 0FA3h (4003)
Recording values 20, 2000.