FieldServer FS-8700-17 This example, module positions 1 and 5 are pulsed, PULSE77 Timedata

Page 17

FS-8700-17 Optomux

Driver Manual

4.4.9Map Descriptor Example 6 – Using a Mask to Address specific module positions

There may be occasions when it is not suitable to use address and length. For example if you are attempting to address non-consecutive Optomux module positions OR when you wish to use a command that affects all module positions. The driver provides an alternate method for module position specification by allowing you to specify a mask as a parameter in the CSV file. The mask may be specified in decimal or hexadecimal format.

In this example, module positions 1 and 5 are pulsed.

Map_Descriptor_Name, Data_Array_Name, Data_Array_Offset, Function, Node_Name, Length, Scan_Interval, opto22_mask, opto22_function

PULSE77

, TIME_DATA , 0

, wrbc , DEV77 , 1 , 10.0s

, 0x0011 , START ON PULSE

Module positions are specified in hexadecimal in this example.

0x0001

= Module Position 1

0x0002

= Module Position 2

0x0003

= Module Positions 1 & 2

…..

 

This function turned on the specified module positions for a specified period. Un specified positions (mask bit positions equal zero) are non affected by the command.

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 15

Image 17
Contents FS-8700-17 Optomux Table of Contents Optomux Driver Description Optomux System Driver Scope of SupplyFS-X40 Hardware ConnectionsData Arrays Configuring the FieldServer as a Optomux Driver ClientClient Side Nodes Client Side ConnectionsFieldServer Related Map Descriptor Parameters Client Side Map DescriptorsDriver Related Map Descriptor Parameters Bit, Packed Timing Parameters SET Time Delay Generate N Pulses Read and Average InputsRead Status Map Descriptor Example 1 Read on/off StatusDEVICE77STAT , Discinputs FS-8700-17 Optomux Driver Manual Read STATUS, Responsearr Map Descriptor Example 3 Command Response/Completion StatusDEVICE77STAT , Cntrposns Map Descriptor Example 4 Triggered ActionDEVICE77STAT , Anadata PULSE77 Timedata This example, module positions 1 and 5 are pulsedWrbc , DEV77 , 16 , 10.0s CLRLOW77 LowarrayConfiguring the FieldServer as a Optomux Server Driver Notes Command Response StatusDataArrayName, 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 Driver Stats Array Element ContentsRevision History