FieldServer FS-8700-17 Computer Drive User Manual


 
FS-8700-17 Optomux Driver Manual
FieldServer Technologies 1991 Tarob Court, Milpitas, California 95035 (408) 262-2299 fax: (408) 262-9042
Visit our website: www.fieldserver.com E-mail: support@fieldserver.com
Page 18
6 Driver Notes
6.1 Data_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.2 Module 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.3 Command 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
0 Command completed successfully.
1 Used to trigger a command.
All other values indicate error conditions. For Responses 128 to