FieldServer FS-8700-01 Computer Drive User Manual


 
FS-8700-01_Modbus_RTU_(T28700-01) Driver Manual Page 14 of 21
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.FieldServer.com
Tel: (408) 262-2299 Fax: (408) 262-2269 Toll_Free: 888-509-1970 email: support@FieldServer.com
5.3.3. Map Descriptor Examples
// Server Side Map Descriptors where Node Address_Type is ADU
// Note: All three examples below are addressing the same Modbus registers.
// For Nodes where Address_Type is ADU
Map_Descriptors
Map_Descriptor_Name Data_Array_Name Data_Array_Offset, Function Node_name, Data_type Address, Length, Data_Array_Low_Scale, Data_Array_High_Scale Node_Low_Scale Node_High_Scale
SMD_AI_01, DA_AI_01, 0, Server, MB_Srv_11 Input_Register 1, 200, 0, 100, 0, 10000
SMD_AO_01, DA_AO_01, 0, Server, MB_srv_11 Holding_Register 1, 200, 0, 100, 0, 10000
// Server Side Map Descriptors where Node Address_Type is PDU
Map_Descriptors
Map_Descriptor_Name Data_Array_Name Data_Array_Offset, Function Node_name, Data_type Address, Length, Data_Array_Low_Scale, Data_Array_High_Scale Node_Low_Scale Node_High_Scale
SMD_AI_02, DA_AI_02, 0, Server, MB_Srv_12 FC04 0, 200, 0, 100, 0, 10000
SMD_AO_02, DA_AO_02, 0, Server, MB_srv_12 FC03 0, 200, 0, 100, 0, 10000
// For Nodes where Address_Type is Modicon_5digit.
Map_Descriptors
Map_Descriptor_Name, Data_Array_Name, Data_Array_Offset, Function, Node_name, Address, Length, Data_Array_Low_Scale, Data_Array_High_Scale Node_Low_Scale Node_High_Scale
SMD_AI_01, DA_AI_01, 0, Server, MBP_Srv_13, 30001, 200, 0, 100, 0, 10000
SMD_AO_01, DA_AO_01, 0, Server, MBP_Srv_13, 40001, 200, 0, 100, 0, 10000