l-com SRWQ100-YL105-9001 User Manual page 6

Table of Contents

Advertisement

Read Floating Point Number
Host Computer Transmission Format:
ID
Address
Eg: Read
0x01
Measured
Value
Eg: Read
0x01
Temp. Value
Slave Computer Response Format:
ID
Address
Eg:
0x01
Measured
Value
Return
Eg: Temp.
0x01
Value
Return
Note: 72 37 41 DB transfer to floating point number, CDAB change order is ABCD,
i.e. 41 DB 72 37 transfer to floating point is 27.4.
Read Integer
Host Computer Transmission Format:
ID
Address
Eg: Read
0x01
Warning
Status
Slave Computer Response Format:
ID
Address
Eg: Measured
0x01
Value Return
Func-
Register Start
tion
Address
Code
High
Byte
0x03
0x00
0x03
0x00
Func-
Qty of
tion
Registers
Code
0x03
0x04
0x2C
0x03
0x04
0x72
Function
Register Start
Code
Address
High
Low Byte
Byte
0x03
0x00
Function
Qty of
Code
Registers
0x03
0x02
6
Qty. Of
Registers
Low
High
Low
Byte
Byte
Byte
0x01
0x00
0x02
0x03
0x00
0x02
Read Register Data in
Hexadecimal Floating Point
Number
C
D
A
0x81
0x40
0x37
0x41
Qty. Of
Registers
High
Low
Byte
Byte
0x07
0x00
0x01
Read Register Data in
Hexadecimal Floating
Point Number
A
B
0x00
0x00
CRC16
High
Low
Byte
Byte
0xCB
0x95
0x0B
0x34
CRC16
B
High
Low
Byte
Byte
0x91
0xE7
0x52
0xDB
0x8E
0x20
CRC16
High
Low
Byte
Byte
0xCB
0x35
CRC16
High
Low
Byte
Byte
0x44
0xB8

Advertisement

Table of Contents
loading

Table of Contents