Loading...
Modbus TCP/IP Driver Manual
Page 14 of 23
6.3.3 Map Descriptor Examples
All three examples below are addressing the same Modbus registers:
// Client Side Map Descriptors for Nodes where Address_Type is ADU
Map_Descriptors
Map_Descriptor_Name
, Data_Array_Name
, Data_Array_Offset
, Function
, Node_Name
, Data_Type
, Address
SMD_AI_01
, DA_AI_01
, 0
, Passive
, MB_Srv_11
, Input_Register
, 1
SMD_AO_01
, DA_AO_01
, 0
, Passive
, MB_srv_11
, Holding_Register
, 1
, Data_Array_High_Scale
, Node_Low_Scale
, Node_High_Scale
, 100
, 0
, 10000
, 100
, 0
, 10000
// Client Side Map Descriptors for Nodes where Address_Type is PDU
Map_Descriptors
Map_Descriptor_Name
, Data_Array_Name
, Data_Array_Offset
, Function
, Node_Name
, Data_Type
, Address
SMD_AI_02
, DA_AI_02
, 0
, Passive
, MB_Srv_12
, FC04
, 0
SMD_AO_02
, DA_AO_02
, 0
, Passive
, MB_srv_12
, FC03
, 0
, Data_Array_High_Scale
, Node_Low_Scale
, Node_High_Scale
, 100
, 0
, 10000
, 100
, 0
, 10000
// Client Side Map Descriptors for Nodes where Address_Type is Modicon_5digit
Map_Descriptors
Map_Descriptor_Name
, Data_Array_Name
, Data_Array_Offset
, Function
, Node_Name
, Address
, Length
SMD_AI_01
, DA_AI_01
, 0
, Passive
, MBP_Srv_13
, 30001
, 200
SMD_AO_01
, DA_AO_01
, 0
, Passive
, MBP_Srv_13
, 40001
, 200
, Data_Array_High_Scale
, Node_Low_Scale
, Node_High_Scale
, 100
, 0
, 10000
, 100
, 0
, 10000
6.3.4 Slave_ID
The Node_Description will automatically be used to respond to the Report Slave_ID request (Function
Code 17 or FC17). If the Node_Description is not defined the title in the common information section will
be used as the description in the Slave_ID response.
6.3.4.1 Slave_ID Lookup in Table
The Slave_ID will be read from device PLC_21. The response will be searched for occurrences of the
strings in the table in column table string. If a match is found the user value will be written.
The Table_String must occur in the Slave_ID in any position.
Config_Table
Config_Table_Name
, Table_String
, Table_Index_Value
, Table_User_Value
slave_id_profile
, FS01
, 1
, 1
slave_id_profile
, FS02
, 2
, 2
slave_id_profile
, FS03
, 3
, 3
Map_Descriptors
Map_Descriptor_Name
, Data_Array_Name
, Data_Array_Offset
, Function
, Node_Name
, Scan_Interval
CMD_DO_01
, DA_DO_01
, 0
, RDBC
, PLC_21
, 0.000s
, Data_Type
, Length
, Config_Table_Name
, Slave_Id
, 1
, slave_id_profile
Loading...
Terms of Use | Privacy Policy | DMCA Policy
2006-2020 Rsmanuals.com