FieldServer instruction manual FS-8700-17 Optomux Driver Manual

Page 13

FS-8700-17 Optomux

Driver Manual

4.4.5Map Descriptor Example 2 – Read On/Off Status (Data stored differently)

This example reads the same data as the previous example. The difference is that the data is stored differently. In this example the data is unpacked and stored in 16 consecutive data array elements – one element per module position.

Map_Descriptor_Name, Data_Array_Name, Data_Array_Offset, Function, node_name, Length, Scan_Interval, opto22_function , opto22_format

DEVICE77_STAT , DISC_INPUTS , 0

, rdbc , DEV77 , 16 , 5.0s

, READ STATUS , Bit

The length has changed to 16 to reserve 16 data array elements for this map descriptor.

This is how the driver is instructed to unpack the digital data.

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 11

Image 13
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 InputsDEVICE77STAT , Discinputs Map Descriptor Example 1 Read on/off StatusRead Status 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