Omega DP41-B Series User Manual page 91

Universal input
Hide thumbs Also See for DP41-B Series:
Table of Contents

Advertisement

Example 6: For Write Command of three bytes data registers: In order to modify or
configure, users must send two write commands to accomplish this task. First one only
change register's 2 Low Order Bytes (LB)and is just similar to the previous example ,
However second command must write on converted register of original one to write or
modify value of High Order Byte (HB)(as example below illustrate How to set decimal
point and sign of value for detail description of Sign & Decimal Point configuration, refer to
Table 10.26 of Communication).
Following Table illustrates how to convert the register:
Register
Method: change MSB of
character 0 of Register to 1
Example:
Converted
Table 8.3: Conversion Method of 3 Bytes Register for Write Function.
Lets examine how to write SP1 with different values: +1000 and –100.0:
Send / Response Command string format:
Value +1000:
Desired
DEVICE
Values:
ADDRESS
+1000
st
1
command
1 BYTE
(for absolute
01
value)
nd
2
command
1 BYTE
(for Sign &
01
dec.point)
Figure 8.4: Write (3 Data bytes) Commands Sample via
Format
SP1 value
Reg. of
SP1 value:
FUNCTION
CODE
06
1BYTE
06
1BYTE
06
Infinity Configuration Software.
Register
(Hex. Number)
hh
01
81
DATA
REGISTER
HB
LB
00
01
HB
LB
81
00
M - 12
Register
(Binary Number)
MSB x x x
x x x x
0000
1000
DATA VALUE
(2 bytes used)
HB
LB
03
E8
HB
LB
00
10
0001
0001
CRC
LB
HB
D8
B4
LB
HB
D8
2E

Advertisement

Table of Contents
loading

Table of Contents