FieldServer FS-8700-17 Driver Notes, DataArrayName, DABitName, DAByteName, Module Positions

Models: FS-8700-17

1 28
Download 28 pages 3.16 Kb
Page 20
Image 20

FS-8700-17 Optomux

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) 262-2299 fax: (408) 262-9042

Visit our website: www.fieldserver.com E-mail: support@fieldserver.com

Page 18

Page 20
Image 20
FieldServer FS-8700-17 Driver Notes, DataArrayName, DABitName, DAByteName, Module Positions, Command Response Status