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

Page 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

Image 20
Contents FS-8700-17 Optomux Table of Contents Optomux Driver Description Driver Scope of Supply Optomux SystemHardware Connections FS-X40Configuring the FieldServer as a Optomux Driver Client Data ArraysClient Side Connections Client Side NodesClient Side Map Descriptors FieldServer Related Map Descriptor ParametersDriver Related Map Descriptor Parameters Bit, Packed SET Time Delay Generate N Pulses Read and Average Inputs Timing ParametersRead Status Map Descriptor Example 1 Read on/off StatusDEVICE77STAT , Discinputs FS-8700-17 Optomux Driver Manual Map Descriptor Example 3 Command Response/Completion Status Read STATUS, ResponsearrMap Descriptor Example 4 Triggered Action DEVICE77STAT , CntrposnsDEVICE77STAT , Anadata This example, module positions 1 and 5 are pulsed PULSE77 TimedataCLRLOW77 Lowarray Wrbc , DEV77 , 16 , 10.0sConfiguring the FieldServer as a Optomux Server Command Response Status Driver NotesDataArrayName, DABitName, DAByteName Module PositionsOptomux Commands FS-8700-17 Optomux Driver Manual Read Specified module positions get set Affected. The data period of pulses Only one module position may be Calculated and read. Data read gets Array Element Contents Driver StatsRevision History