![](/images/new-backgrounds/1203053/20305339x1.webp)
| Driver Manual |
6 Driver Notes
6.1Data_Array_Name, DA_Bit_Name, DA_Byte_Name
These parameters are used to specify data array names. Despite their names a data array of any Data_Format can be used for any of these parameters.
This driver uses DA_Byte_Name exclusively as a location for the commands to trigger map descriptors and in which to store poll response status.
The use of DA_Bit_Name is command sensitive and is used to allow the values in a data array to determine the module positions to be affected by a command.
The use of the Data_Array_Name Parameter is typical i.e. Used to store data that is read or used as a source for data that is written.
6.2Module Positions
Specify module positions Statically by |
| |
• | Using Address and Length | or |
• | Using the opto22_mask parameter | or |
Specify module positions dynamically by
•Using the values of a data array (da_bit_array)
What happens if more than one method is used for module position specification ? The driver evaluates the specification in the order listed above. Thus if address & length are specified as well as the opto22_mask, the driver will use the address and length.
6.3Command Response Status
If a data array is specified using the DA_Byte_Array parameter then the driver will store a response status code in the array, updating the value each time a command is executed.
Value | Description |
0Command completed successfully.
1Used to trigger a command.
All other values indicate error conditions. For Responses 128 to
FieldServer Technologies 1991 Tarob Court, Milpitas, California 95035 (408)
Visit our website: www.fieldserver.com
Page 18