Loading...
Modbus TCP/IP Driver Manual
Page 18 of 23
//Client Side Map Descriptors
Map_Descriptors
Map_Descriptor_Name
, Data_Array_Name
, Data_Array_Offset
, Function
, Node_Name
, Data_Type
, Length
, Scan_Interval
CMD_01
, DA_FLT_01
, 0
, RDBC
, Dev_01
, Float_Reg
, 1
, 0.000s
CMD_02
, DA_U32_01
, 0
, RDBC
, Dev_01
, 32Bit_Reg
, 1
, 0.000s
CMD_03
, DA_FLT_01
, 1
, RDBC
, Dev_01
, Input_Float
, 1
, 0.000s
CMD_04
, DA_U32_01
, 1
, RDBC
, Dev_01
, Input_Reg_32Bit
, 1
, 0.000s
CMD_05
, DA_FLT_01
, 2
, RDBC
, Dev_01
, Float_Reg_Swap
, 1
, 0.000s
CMD_06
, DA_U32_01
, 2
, RDBC
, Dev_01
, 32Bit_Reg_Swap
, 1
, 0.000s
CMD_07
, DA_FLT_01
, 3
, RDBC
, Dev_01
, Input_Float_Swap
, 1
, 0.000s
CMD_08
, DA_U32_01
, 3
, RDBC
, Dev_01
, Input_Reg_32Bit_Swap
, 1
, 0.000s
Appendix A.4.2. 64-Bit Integer and Float Data Types
When a Modbus slave device needs to pass a 64-Bit Integer or a 64-Bit Float, it splits the float into four
16-bit Integers and maps it to consecutive registers. The following data types read the 4 consecutive
registers and auto combines them into a 64-Bit Integer or Float, before the scaling is applied (to keep the
decimal precision) and stores the scaled value in a Data Array. When serving the value to the output
protocol, the reverse scaling needs to be applied.
64Bit_Reg (64-Bit Integer in Holding Register FC03)
Double_Reg (64-Bit IEEE 754 Floating Point in Holding Register FC03)
Input_Reg_64bit (64-Bit Integer in Input Register FC04)
Input_Double (64-Bit IEEE 754 Floating Point in Input Register FC04)
Example
Data_Arrays
Data_Array_Name
, Data_Format
, Data_Array_Length
DA_U32_01
, Uint32
, 20
DA_FLT_01
, Float
, 20
//Client Side Map Descriptors
Map_Descriptors
Map_Descriptor_Name
, Data_Array_Name
, Data_Array_Offset
, Function
, Node_Name
, Data_Type
, Address
, Length
, Scan_Interval
CMD_01
, DA_U32_01
, 0
, RDBC
, Dev_01
, 64Bit_Reg
, 40001
, 1
, 0.000s
CMD_02
, DA_FLT_01
, 0
, RDBC
, Dev_01
, Double_Reg
, 40003
, 1
, 0.000s
CMD_03
, DA_U32_01
, 1
, RDBC
, Dev_01
, Input_Reg_64bit
, 30001
, 1
, 0.000s
CMD_04
, DA_FLT_01
, 1
, RDBC
, Dev_01
, Input_Double
, 30003
, 1
, 0.000s
, Data_Array_Low_Scale
, Data_Array_High_Scale
, Node_Low_Scale
, Node_High_Scale
, 0
, 1
, 0
, 1000000000
, 0
, 1
, 0
, 1000000000
, 0
, 1
, 0
, 1000000000
, 0
, 1
, 0
, 1000000000
Nodes
Node_Name
, Node_ID
, Protocol
Virtual_Dev_11
, 11
, Bacnet_IP
//Client Side Map Descriptors
Map_Descriptors
Map_Descriptor_Name
, Data_Array_Name
, Data_Array_Offset
, Function
, Node_Name
, Object Type
, Object Instance
SMD_11_AI_01
, DA_U32_01
, 0
, Passive
, Virtual_Dev_11
, AI
, 1
SMD_11_AI_02
, DA_FLT_01
, 0
, Passive
, Virtual_Dev_11
, AI
, 2
SMD_11_AI_03
, DA_U32_01
, 1
, Passive
, Virtual_Dev_11
, AI
, 3
SMD_11_AI_04
, DA_FLT_01
, 1
, Passive
, Virtual_Dev_11
, AI
, 4
, Data_Array_Low_Scale
, Data_Array_High_Scale
, Node_Low_Scale
, Node_High_Scale
, 0
, 1
, 0
, 1000000000
, 0
, 1
, 0
, 1000000000
, 0
, 1
, 0
, 1000000000
, 0
, 1
, 0
, 1000000000
Loading...
Terms of Use | Privacy Policy | DMCA Policy
2006-2020 Rsmanuals.com