Examples, Example 1- dynamic allocation of node id – ProSoft Technology PS-QS-1x10-0781 User Manual
Page 50

FieldServer Configuration Manual
Page 50 of 90
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: [email protected]
7.1.2 Map Descriptor Parameters specific to Dynamic Parameters
Section Title
Map Descriptors
Column Title
Function
Legal Values
Function
Function of Client Map Descriptor
Change_Node_ID
Change_System_Node_ID
Change_System_MAC_Addr
Descriptor_Name
Name of the Object that will be affected
by the Dynamic Parameter function.
One of the Node names specified as described
in Appendix B.4.5, or the Bridge Title of the
FieldServer specified as described in Appendix
B.4.1. Refer to examples below for more
information.
Data_Array_Name
Name of Data Array from which the
parameter value is taken.
One of the Data_Array_Names specified as
described under Appendix B.4.2
Data_Array_Offset*
Offset into the Data Array from which the
parameter value is taken.
0 to (Data_Array_Length -1) as defined in
Appendix B.4.2
Low_Limit*
These parameters can be used to define a
range of offsets that are affected by this
command.
Positive integer, 0, -
High_Limit*
Save*
The save value enables or disables
making the change permanent. If yes,
the value will be stored and used next
time on start-up as the Node_ID. If no,
the change will only remain until the next
power cycle, at which time the value in
the configuration file will be used.
Yes, No
7.1.3 Examples
7.1.3.1 Example 1- Dynamic Allocation of Node ID
The parameter value is taken from the specified Data Array and Data Array Offset, and is used to modify the
parameter specified under Function of the object (e.g. Node) specified under Descriptor_Name, subject to the
limits set by Low_Limit and High_Limit.
In this example, when the value of Node_Array offset 160 is updated (presumably by a driver) then the FieldServer
will check the value is in the range 0 to 255 inclusive. If it is, it will look for the Node called ‘PLC_1’. If found, the
Node_ID will be changed to the new value.
Dynamic_Parameters
Function
, Descriptor_Name , Data_Array_Name , Data_Array_Offset , Low_Limit , High_Limit , Save
Change_Node_ID
, PLC_1
, Node_Array
, 160
, 0
, 255
, Yes