beautypg.com

Map descriptor example 29 - read auxs, Map descriptor example 31 - emergency stop – FieldServer Envirotronics SystemsPlus FS-8700-88 User Manual

Page 19

background image

FS-8700-88 Envirotronics SystemsPlus

Page 19 of 49

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

Tel: (408) 262-2299 Fax: (408) 262-9042 Toll_Free: 888-509-1970 email: [email protected]

4.4.32.

Map Descriptor Example 29 - read auxs

// Client Side Map Descriptors

Map Descriptor

Map_Descriptor_Name,

Scan_Interval,

Data_Array_Name,

Data_Array_Offset,

Function,

Node_Name,

SysPlus_Data_Type,

Length

All_Aux_States,

0s,

All_Aux_States,

0,

rdbc,

SYSPLUS_01,

All_Auxs,

10


The retrieved aux states will be stored as follows in Data_Array_Name: (A value of 1 will be stored for “on” or 0 for “off”)

Offset from Data_Array_Offset Description
0

Aux_0 state

1

Aux_1 state

2

Aux_2 state

..

..

9

Aux_9 state

4.4.33.

Map Descriptor Example 30 - read alarm status alarm

// Client Side Map Descriptors

Map Descriptor

Map_Descriptor_Name,

Scan_Interval,

Data_Array_Name,

Data_Array_Offset,

Function,

Node_Name,

SysPlus_Data_Type,

SysPlus_Alarm_Name,

Length

Alarm_Sts_00,

0s,

Alarm_Statuses,

0,

rdbc,

SYSPLUS_01,

Alarm,

volt,

1

alarm is specified by the name under SysPlus_Alarm_Name. The status of the alarm will be stored as 1 for “OK” or 0 for “FAIL” in
Data_Array_Name at Data_Array_Offset.

4.4.34.

Map Descriptor Example 31 - emergency stop

// Client Side Map Descriptors

Map Descriptors

Map_Descriptor_Name,

Data_Array_Name,

Data_Array_Offset,

Function,

Node_Name,

SysPlus_Cmd,

Length

Emergency_Stop,

ProgSysControl,

0,

wrbx,

SYSPLUS_01,

Emergency_Stop,

1


Triggger this command by writing any value to Data_Array_Name at Data_Array_Offset.