FS-8700-31 Siemens TIWAY I

Page 8 of 23

4.4.4.Reading TIWAY data map descriptor examples

4.4.4.1.Reading data from contiguous PLC data memory locations

Map_Descriptor_Name,

Data_Array_Name,

Data_Array_Offset,

Function,

Node_name,

TIWAY_Data_Type,

Address,

Length,

C01_RAW16_PLC01,

RAW16_Data,

0,

RDBC,

PLC_01,

IE_Ladder,

0,

10,

Scan_Interval

 

 

 

 

 

 

 

0s

 

 

 

 

 

 

 

The above map descriptor will continuously read 10 data elements starting from address 0 of type “IE_Ladder” from PLC_01. The data will be stored in the data array called “RAW16_Data” from an offset of 0.

4.4.4.2.Reading data from random PLC data memory locations

Map_Descriptor_Name,

Data_Array_Name,

Data_Array_Offset,

Function,

Node_name,

TIWAY_Data_Type,

TIWAY_Address_List,

Length,

C02_RAW16_PLC01,

RAW16_Data,

10,

RDBC,

PLC_01,

Variable,

5 9,

2,

Scan_Interval

 

 

 

 

 

 

 

0s

 

 

 

 

 

 

 

The above map descriptor will continuously read 2 data elements from address 5 and 9 of type “Variable” from PLC_01. The data will be stored in the data array called “RAW16_Data” from an offset of 10. The data will be stored at offsets 10 and 11.

4.4.4.3.Reading Drum_Count_Preset data from contiguous PLC data memory locations

Map_Descriptor_Name,

Data_Array_Name,

Data_Array_Offset,

Function,

Node_name,

TIWAY_Data_Type, Address,

Length,

C08_RAW16_PLC01,

RAW16_Data,

70,

RDBC,

PLC_01,

Drum_Count_Preset, 0,

5,

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: support@fieldserver.com

Page 11
Image 11
FieldServer FS-8700-31 instruction manual Reading data from random PLC data memory locations