background image

FS-8700-31 

Siemens 

TIWAY 

           Page 

15 

of 

23 

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.6.6. Reset 

Adapter 

Forces the UNILINK Host Adapter to do a hardware reset. 
 

Map_Descriptor_Name, Data_Array_Name, 

Data_Array_Offset, Function, Node_name, TIWAY_Host_Adapter_Cmd, Length 

C42_RESET_ADAPTER, Cmd_Triggers,  1, AWT, 

PLC_01, 

Reset_Adapter, 

 
The above map descriptor will execute the indicated host adapter command once every time a value is written to 
the data array “Cmd_Triggers” at offset 1. 

4.4.6.7. Disconnect 

Secondaries 

Disconnect Secondary PLCs from the network. 
 

Map_Descriptor_Name, Data_Array_Name, 

Data_Array_Offset, Function, Node_name, TIWAY_Host_Adapter_Cmd, Length, 

C43_DISC_SECDS, Cmd_Triggers, 

2, 

AWT, PLC_01,  Disconnect_Secondaries, 1, 

 

Secondaries_List 
1 9 147 254 

 
The above map descriptor will execute the indicated host adapter command once every time a value is written to 
the data array “Cmd_Triggers” at offset 2. Secondaries 1 9 147 and 254 will be disconnected from the network. 
 
To disconnect all secondaries, use only one value of 255 in the Secondaries_List field. 

4.4.6.8. Connect 

Secondaries 

Disconnect Secondary PLCs from the network. 
 

Map_Descriptor_Name, Data_Array_Name, 

Data_Array_Offset, Function, Node_name, TIWAY_Host_Adapter_Cmd, Length, 

C45_CONNECT_SECDS, Cmd_Triggers,  4, 

AWT, PLC_01,  Connect_Secondaries,  1, 

 

Secondaries_List 
1 9 147 254 

 

Summary of Contents for FS-8700-31 Siemens TIWAY I Driver

Page 1: ...pany APPLICABILITY EFFECTIVITY Effective for all systems manufactured after May 1 2001 Driver Version 1 01b Document revision Rev 1 Driver Manual Supplement to the FieldServer Instruction Manual FS 8700 31 Siemens TIWAY I ...

Page 2: ...a from contiguous PLC data memory locations 8 4 4 4 2 Reading data from random PLC data memory locations 8 4 4 4 3 Reading Drum_Count_Preset data from contiguous PLC data memory locations 8 4 4 4 4 Reading Drum_Count_Preset data from random PLC data memory locations 9 4 4 4 5 Reading secondary PLC status 9 4 4 5 Writing TIWAY data map descriptor examples 10 4 4 5 1 Writing data to contiguous PLC d...

Page 3: ...om 5 3 Server Side Map Descriptors 19 5 3 1 FieldServer Specific Map Descriptor Parameters 19 5 3 2 Driver Specific Map Descriptor Parameters 19 5 3 3 Serving TIWAY data map descriptor example 21 5 3 4 Serving Drum_Count_Preset TIWAY data map descriptor example 21 5 3 5 Serving PLC status data map descriptor example 21 6 Advanced Topics 22 7 Driver Notes 22 8 Troubleshooting tips 22 8 1 Connection...

Page 4: ...s shown below The original Siemens UHA is really a protocol bridge in itself It speaks Host Command Protocol on the host interface which may contain embedded TIWAY primitives commands and speaks Siemens TIWAY I protocol on its secondary interface The FieldServer TIWAY I driver emulates the UHA s host interface when used in the server mode however the FieldServer does not speak Siemens TIWAY protoc...

Page 5: ...driver FieldServer Technologies PART Description FS 8915 10 UTP cable 7 foot for Ethernet connection FS 8915 10 UTP cable 7 foot for RS232 use FS 8917 02 RJ45 to DB9F connector adapter FS 8917 01 RJ45 to DB25M connection adapter Driver Manual 2 2 Provided by the Supplier of 3rd Party Equipment 2 2 1 Hardware Part Description 2 2 2 Required 3rd Party Software SCADA TIWAY Unilink adapter client soft...

Page 6: ...iguration mManual The information that follows describes how to expand upon the factory defaults provided in the configuration files included with the FieldServer See csv sample files provided with the FS This section documents and describes the parameters necessary for configuring the FieldServer to communicate with a TIWAY Server The driver is normally used in the server mode but may be configur...

Page 7: ...rmat Float Bit UInt16 SInt16 Packed_Bit Byte Packed_Byte Swapped_Byte Data_Array_Length Number of Data Objects Must be larger than the data storage area required by the map descriptors for the data being placed in this array 1 10 000 Example Data Arrays Data_Arrays Data_Array_Name Data_Format Data_Array_Length RAW16_Data UInt16 20 RAW8_Data Byte 20 Float_Data Float 20 4 2 Client Side Connection De...

Page 8: ... with 1 254 Protocol Specify protocol used TIWAY TIWAY_BDLC Connection Specify which port the device is connected to the FieldServer P1 P8 Example Client Side Nodes Nodes Node_Name Node_ID Protocol Port PLC_01 01 TIWAY_BDLC P1 4 4 Client Side Map Descriptors 4 4 1 FieldServer Related Map Descriptor Parameters Section Title Map Descriptors Column Title Function Legal Values Map_Descriptor_Name Name...

Page 9: ... Node Descriptor above TIWAY_Data_Type Specifies fundamental datatype to address in PLC 16 bit word datatypes IE_Ladder Variable Constant Word_Input Word_Output Timer_Cnt_Preset Timer_Cnt_Current Drum_Count_Preset Loop_Status Status_Primitive 8 bit byte datatypes Discrete_Input Discrete_Output Control_Register Discrete_Force Control_Register_Force Drum_Step_Preset Drum_Step_Current 32 bit float da...

Page 10: ...memory addresses that may be used for random read and writes 0 65535 0 255 for loop datatypes and Drum_Count_Preset Maximum of 80 space seperated values allowed Preset_Step_List A list of preset step values to be used with the Drum_Count_Preset datatype Each value is tied to an address 0 255 Maximum of 80 space seperated values allowed Secondaries_List A list of secondary PLC addresses to be used ...

Page 11: ... 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 ...

Page 12: ... 70 4 4 4 4 Reading Drum_Count_Preset 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 C08_RAW16_PLC01 RAW16_Data 75 RDBC PLC_01 Drum_Count_Preset 5 9 Length Preset_Step_List Scan_Interval 2 42 22 0s The above map descriptor will continuously read 2 data elements from addresses 5 and 9 of type Dru...

Page 13: ... manual for operational values and their meanings 4 4 5 Writing TIWAY data map descriptor examples 4 4 5 1 Writing data to contiguous PLC data memory locations Map_Descriptor_Name Data_Array_Name Data_Array_Offset Function Node_name TIWAY_Data_Type Address Length C12_RAW8_PLC07 RAW8_Data 20 WRBC PLC_07 Control_Register 0 10 Scan_Interval 0s The above map descriptor will continuously write data of ...

Page 14: ... 50 5 of type Loop_Reset to 3 contiguous PLC data memory addresses starting from 0 4 4 5 4 Writing Drum_Count_Preset data to 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 WRBC PLC_01 Drum_Count_Preset 0 5 Preset_Step_List Scan_Interval 5 8 9 33 49 0s The above map descriptor...

Page 15: ... normal circumstances 4 4 6 1 Read Secondary Log Returns a list of secondary PLC stations addresses that are connected Map_Descriptor_Name Data_Array_Name Data_Array_Offset Function Node_name TIWAY_Host_Adapter_Cmd Length C37_READ_SEC_LOG Secondary_Log 0 RDBC PLC_01 Read_Secondary_Log 254 Scan_Interval 0s The above map descriptor will continuously execute the indicated host adapter command and wil...

Page 16: ...hat was used to configure the adapter Map_Descriptor_Name Data_Array_Name Data_Array_Offset Function Node_name TIWAY_Host_Adapter_Cmd Length C39_REP_ADAP_CONFIG Adapter_Config 0 RDBC PLC_01 Report_Adapter_Config 6 Scan_Interval 0s The above map descriptor will continuously execute the indicated host adapter command and will store the following parameter values in the data array Adapter_Config Offs...

Page 17: ...n value 3 Option 02 configuration value 4 Option 03 configuration value 5 Option 04 configuration value 6 Option 05 configuration value 7 Option 06 configuration value 8 Option 07 configuration value 9 Option 08 configuration value 10 Option 09 configuration value 11 Option 0A configuration value 12 Option 0B configuration value 13 Option 0C configuration value 14 Option 0D configuration value 15 ...

Page 18: ...nnect Secondaries Disconnect Secondary PLCs from the network Map_Descriptor_Name Data_Array_Name Data_Array_Offset Function Node_name TIWAY_Host_Adapter_Cmd Length C43_DISC_SECDS Cmd_Triggers 2 AWT PLC_01 Disconnect_Secondaries 1 Secondaries_List 1 9 147 254 The above map descriptor will execute the indicated host adapter command once every time a value is written to the data array Cmd_Triggers at...

Page 19: ...408 262 9042 Toll_Free 888 509 1970 email support fieldserver com The above map descriptor will execute the indicated host adapter command once every time a value is written to the data array Cmd_Triggers at offset 4 Secondaries 1 9 147 and 254 will be connected to the network To connect all secondaries use only one value of 255 in the Secondaries_List field ...

Page 20: ...TIWAY communications the driver independent FieldServer buffers need to be declared in the Data Arrays section the FieldServer virtual node s needs to be declared in the Server Side Nodes section and the data to be provided to the clients needs to be mapped in the Server Side Map Descriptors section Details on how to do this can be found below Note that in the tables indicates an optional paramete...

Page 21: ...tors Section Title Nodes Column Title Function Legal Values Node_Name Provide name for node Up to 32 alphanumeric characters Node_ID Secondary PLC station address of physical server node 1 254 Protocol Specify protocol used TIWAY TIWAY_BDLC Server_Hold_Timeout Specifies time FieldServer will reserve server side connection while waiting for the Client side to update data in Data_Array if necessary ...

Page 22: ...ray_Offset Starting location in Data Array 0 to maximum specified in Data Array section above Function Function of Server Map Descriptor Server Server_Hold_Timeout Specifies time FieldServer will reserve server side connection while waiting for the Client side to update data in Data_Array if necessary 1 0s 5 3 2 Driver Specific Map Descriptor Parameters Section Title Map Descriptors Column Title F...

Page 23: ... Loop_Process_Variable Loop_High_Process_Variable Loop_Low_Process_Variable Loop_Orange_Deviation Loop_Yellow_Deviation Loop_Sample_Rate Loop_Set_Point Loop_Output 24 bit datatypes Word_Force Packed bit datatypes Discrete_Input_Packed Discrete_Output_Packed Control_Register_Packed Preset_Step_List A list of preset step values to be used with the Drum_Count_Preset datatype Each value is tied to an ...

Page 24: ... TIWAY data map descriptor example Map_Descriptor_Name Data_Array_Name Data_Array_Offset Function Node_name TIWAY_Data_Type Address Length S10_RAW16_PLC01 RAW16_Data 71 Server PLC_01 Drum_Count_Preset 0 4 Preset_Step_List 3 5 9 167 The above map descriptor serves 4 data elements starting from address 0 of type Drum_Count_Preset for PLC_01 Each address location is contiguously associated with a pre...

Page 25: ...logies 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 6 Advanced Topics None 7 Driver Notes None 8 Troubleshooting tips 8 1 Connection Tips Hints None ...

Page 26: ...ifornia 95035 USA Web www fieldserver com Tel 408 262 2299 Fax 408 262 9042 Toll_Free 888 509 1970 email support fieldserver com Revision History Date Driver Version Document Revision Resp Comment 04 24 03 1 00a 0 DR Created 8 13 03 1 00a 1 JD Format Changes 11 20 03 1 00a 2 JD Formatting Changes ...

Reviews: