beautypg.com

Appendix a.1.2, Positions – FieldServer Optomux FS-8700-17 User Manual

Page 13

background image

FS-8700-17_Opto22.doc Manual

Page 11 of 24

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com

Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]

Appendix A.1.2.

Map Descript or Example - Static Specificati on Using a Mask to Address specific module positions

There may be occasions when it is not suitable to use address and length, e.g. when addressing non-consecutive Optomux module positions or when using a
command that affects all module positions. The driver provides an alternate method for module position specification by allowing a mask to be specified 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.

The mask specifies the positions (1-16) of a module that will be affected by a command.
When this parameter is used and its value is non zero then the driver does not consider the data contained in the position defining array even if it is defined.

The value of the mask may be specified in hexadecimal or in decimal.
To specify a number in hexadecimal the number must be prefixed with 0x and have a maximum of 4 digits.
Examples:
Decimal: 257 -> Indicates the 1

st

and 9

th

positions.

Hexadecimal: 0x0101 -> indicates the 1

st

and 9

th

positions.

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

, 0.0s

, 0x0011

, START ON PULSE

Module positions are specified in hexadecimal
0x0001 = Module Position 1
0x0002 = Module Position 2
0x0003 = Module Positions 1 & 2
…..

This function turns on the specified module positions for a
specified period. Unspecified positions (mask bit positions equal
zero) are not affected by the command.