A Sierra Monitor Company Driver Manual (Supplement to the FieldServer Instruction Manual) FS-8700-31 Siemens TIWAY I APPLICABILITY & EFFECTIVITY Effective for all systems manufactured after May 1, 2001 Driver Version 1.
FS-8700-31 Siemens TIWAY I Index TABLE OF CONTENTS 1. Siemens TIWAY I Driver Description...............................................................................1 2. Driver Scope of Supply.....................................................................................................2 2.1. Supplied by FieldServer Technologies for this driver ...................................................2 2.2. Provided by the Supplier of 3rd Party Equipment ..............................................
FS-8700-31 Siemens TIWAY I Index 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.
FS-8700-31 Siemens TIWAY I Page 1 of 23 1. Siemens TIWAY I Driver Description The Siemens TIWAY I driver allows the FieldServer to transfer data to and from devices over RS-232C using TIWAY BDLC “Host Adapter Command” protocol. The FieldServer can emulate either a Server or Client.
FS-8700-31 Siemens TIWAY I Page 2 of 23 listed under the Supported Host Adaptor Commands and Primitives section of the driver factsheet. 2. Driver Scope of Supply 2.1. Supplied by FieldServer Technologies for this driver FieldServer Technologies PART # FS-8915-10 FS-8915-10 FS-8917-02 FS-8917-01 - 2.2. 2.2.1. Description UTP cable (7 foot) for Ethernet connection UTP cable (7 foot) for RS232 use RJ45 to DB9F connector adapter RJ45 to DB25M connection adapter Driver Manual.
FS-8700-31 Siemens TIWAY I Page 3 of 23 3. Hardware Connections The FieldServer is connected to the SCADA system as shown below. Configure the SCADA system according to manufacturer’s instructions. 3.1. Hardware Connection Tips / Hints To be updated from testing feedback. 4. Configuring the FieldServer as a TIWAY Client For a detailed discussion on FieldServer configuration, please refer to the FieldServer instruction Configuration mManual.
FS-8700-31 Siemens TIWAY I Page 4 of 23 the data required from the servers needs to be mapped in the “Client Side Map Descriptors” section. Details on how to do this can be found below. Note that in the tables, * indicates an optional parameter, with the bold legal value being the default. Section Title Data_Arrays Column Title Function Data_Array_Name Provide name for Data Array Data_Array_Format Provide data format. Each Data Array can only take on one format.
FS-8700-31 Siemens TIWAY I Page 5 of 23 Example Client Side Connections // Connections Port, Protocol, P1, TIWAY_BDLC, 4.3. Baud, 9600, Parity, None, Handshaking, None, Poll_Delay 0.
FS-8700-31 Siemens TIWAY I 4.4.2.
FS-8700-31 Siemens TIWAY I Page 7 of 23 Loop_Output 24-bit datatypes Word_Force TIWAY_Host_Adapter_Cmd Specifies a host adapter command to execute TIWAY_Address_List A list of PLC memory addresses that may be used for random read and writes Preset_Step_List Secondaries_List A list of preset step values to be used with the Drum_Count_Preset datatype. Each value is tied to an address. A list of secondary PLC addresses to be used with the Connect_ and Disconnect_Secondaries host adapter commands.
FS-8700-31 Siemens TIWAY I 4.4.4. Page 8 of 23 Reading TIWAY data map descriptor examples 4.4.4.1. Map_Descriptor_Name, C01_RAW16_PLC01, Reading data from contiguous PLC data memory locations Data_Array_Name, RAW16_Data, Data_Array_Offset, 0, Function, RDBC, Node_name, PLC_01, TIWAY_Data_Type, IE_Ladder, Address, 0, Length, 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.
FS-8700-31 Siemens TIWAY I Preset_Step_List, 5 8 9 33 49, Page 9 of 23 Scan_Interval 0s The above map descriptor will continuously read 5 data elements from addresses 0-4 of type “Drum_Count_Preset” from PLC_01. The Preset Steps associated with addresses are (address 0):5, (address 1):8, (address 2):9, (address 3):33, and (address 4):49. The data will be stored contiguously in the data array from offset 70. 4.4.4.4.
FS-8700-31 Siemens TIWAY I Page 10 of 23 The above map descriptor will continuously read the three status values from PLC_01. The status values are defined as follows and will be stored in the data array contiguously from an offset of zero: Status element 1 (DD) : Operational Status Status element 2 (EE) : Auxiliary power source status Status element 3 (FF) : NIM Operational Status Please refer to the TIWAY systems manual for operational values and their meanings. 4.4.5.
FS-8700-31 Siemens TIWAY I Page 11 of 23 The above map descriptor will continuously write data of type “Loop_Gain” to 2 PLC data memory addresses of 5 and 9. The data to write will be collected from the data array “FLOAT_Data” from offsets 0 and 1. 4.4.5.3. Map_Descriptor_Name, C18_FLOAT_PLC254, Writing the same value to a block of contiguous PLC data memory locations Data_Array_Name, FLOAT_Data, TIWAY_Fill_Block_Value, 50.
FS-8700-31 Siemens TIWAY I 2, 33 49, Page 12 of 23 0s The above map descriptor will continuously write data of type “Drum_Count_Preset” to 2 PLC data memory addresses. The data to write will be collected from the data array “RAW16_Data” from an offset of 70 and 71. The Preset Steps associated with the addresses are (address 5):33 and (address 9):49. 4.4.6.
FS-8700-31 Siemens TIWAY I Page 13 of 23 The above map descriptor will continuously execute the indicated host adapter command and will store the following parameter values in the data array “HIU_Config”: Offset 0 1 2 3 4 Parameter Dipswitch 1 and 2 settings Config flag ( 0 = HIU not configured, 1 = HIU configured ) Option 01 configuration value Option 02 configuration value Option 03 configuration value 4.4.6.3.
FS-8700-31 Siemens TIWAY I C40_REP_NM_CONFIG, Nm_Config, Page 14 of 23 0, RDBC, PLC_01, Report_NM_Config, 16, 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 “Nm_Config”: Offset 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Parameter Dipswitch 1 and 2 settings Config flag ( 0 = Network Manager not configured, 1 = Network Manager configured ) Option 01 configuration value Option 02 configur
FS-8700-31 Siemens TIWAY I 4.4.6.6. Page 15 of 23 Reset Adapter Forces the UNILINK Host Adapter to do a hardware reset. Map_Descriptor_Name, C42_RESET_ADAPTER, Data_Array_Name, Cmd_Triggers, Data_Array_Offset, 1, Function, AWT, Node_name, PLC_01, TIWAY_Host_Adapter_Cmd, Reset_Adapter, Length 1 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.
FS-8700-31 Siemens TIWAY I Page 16 of 23 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. FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.
FS-8700-931 Siemens TIWAY I Page 17 of 23 5. Configuring the FieldServer as a TIWAY Server For a detailed discussion on FieldServer configuration, please refer to the FieldServer instruction Configuration mManual (Virtual PLC). The information that follows describes how to expand upon the factory defaults provided in the configuration files included with the FieldServer (See “.csv” files on the driver diskette).
FS-8700-931 Siemens TIWAY I Page 18 of 23 Example Server Side Connections // Connections Port, Protocol, P1, TIWAY_BDLC, 5.2.
FS-8700-931 Siemens TIWAY I 5.3. Server Side Map Descriptors 5.3.1. FieldServer Specific Map Descriptor Parameters Section Title Map Descriptors Column Title Map_Descriptor_Name Data_Array_Name Data_Array_Offset Function Server_Hold_Timeout* 5.3.2.
FS-8700-931 Siemens TIWAY I Page 20 of 23 Control_Register Discrete_Force Control_Register_Force Drum_Step_Preset Drum_Step_Current 32-bit float datatypes Loop_Gain Loop_Reset Loop_Rate Loop_High_Alarm Loop_Low_Alarm 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_
FS-8700-31 Siemens TIWAY I 5.3.3. Page 21 of 23 Serving TIWAY data map descriptor example Map_Descriptor_Name, S01_RAW16_PLC0, Data_Array_Name, RAW16_Data, Data_Array_Offset, 0, Function, Server, Node_name, PLC_01, TIWAY_Data_Type, IE_Ladder, Address, 0, Length 10 The above map descriptor serves 10 data elements starting from address 0 of type “IE_Ladder” for PLC_01. 5.3.4.
FS-8700-31 Siemens TIWAY I Page 22 of 23 6. Advanced Topics None. 7. Driver Notes None. 8. Troubleshooting tips 8.1. Connection Tips & Hints None. 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.
FS-8700-31 Siemens TIWAY I Page 23 of 23 Revision History Date 04/24/03 8/13/03 11/20/03 Driver Version 1.00a 1.00a 1.00a Document Revision 0 1 2 Resp DR JD JD Comment Created Format Changes Formatting Changes 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.