Download Table of Contents Print this page

Siemens ET 200S 1SI Function Manual

Advertisement

Quick Links

SIMOTION
Supplement to the ET 200S 1SI
serial interface module
Function Manual
01/2015
xxx
Preface
Fundamental safety
instructions
Description
Function blocks of the ET
200S 1SI serial interface
module
Alarm processing
Appendix
1
2
3
4
A

Advertisement

Table of Contents
loading

Summary of Contents for Siemens ET 200S 1SI

  • Page 1 Preface Fundamental safety instructions Description SIMOTION Function blocks of the ET 200S 1SI serial interface module Supplement to the ET 200S 1SI serial interface module Alarm processing Function Manual Appendix 01/2015...
  • Page 2 Note the following: WARNING Siemens products may only be used for the applications described in the catalog and in the relevant technical documentation. If products and components from other manufacturers are used, these must be recommended or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance are required to ensure that the products operate safely and without any problems.
  • Page 3: Preface

    SIMATIC system. ● SIMATIC and SIMOTION names This section contains a comparison of SIMATIC and SIMOTION names. ● The index allows you to locate information quickly. Supplement to the ET 200S 1SI serial interface module Function Manual, 01/2015, xxx...
  • Page 4 ● Using documentation online (find and search manuals/information) http://www.siemens.com/motioncontrol/docu My Documentation Manager Click the following link for information on how to compile documentation individually on the basis of Siemens content and how to adapt it for the purpose of your own machine documentation: http://www.siemens.com/mdm Training...
  • Page 5 SIMOTION SCOUT, and in the Service&Support pages in Product Support: http://support.automation.siemens.com Technical support Country-specific telephone numbers for technical support are provided on the Internet under Contact: http://www.siemens.com/automation/service&support Supplement to the ET 200S 1SI serial interface module Function Manual, 01/2015, xxx...
  • Page 6 Preface Supplement to the ET 200S 1SI serial interface module Function Manual, 01/2015, xxx...
  • Page 7: Table Of Contents

    Description..............................11 General..........................11 Product description........................11 Setup and connection......................13 Integrating the ET 200S 1SI serial interface module into the SIMOTION project....14 Integrating the function blocks in the user project..............15 Creating I/O variables......................16 Function blocks of the ET 200S 1SI serial interface module..............19 Overview of function blocks....................19...
  • Page 8 Table of contents Supplement to the ET 200S 1SI serial interface module Function Manual, 01/2015, xxx...
  • Page 9: Fundamental Safety Instructions

    Siemens recommends strongly that you regularly check for product updates. For the secure operation of Siemens products and solutions, it is necessary to take suitable preventive action (e.g. cell protection concept) and integrate each component into a holistic, state-of-the-art industrial security concept.
  • Page 10 For more detailed information, go to: http://www.siemens.com/industrialsecurity ● Make sure that you include all installed products into the integrated industrial security concept. Supplement to the ET 200S 1SI serial interface module Function Manual, 01/2015, xxx...
  • Page 11: Description

    ● SIMOTION technology packages V4.0 or higher Product description The ET 200S 1SI serial interface module enables you to exchange data between your SIMOTION system and another communication partner. You can select the mode of communication for data exchange in the hardware configuration of SIMOTION SCOUT.
  • Page 12 SIMATIC S7. Functionality of the ET 200S 1SI serial interface module The functionality of the function blocks and the ET 200S 1SI serial interface module in a SIMOTION system is the same as that in SIMATIC S7.
  • Page 13: Setup And Connection

    ET 200S Distributed I/O System manual. For steps 1 to 4, refer to the This documentation is included in the SIMOTION SCOUT scope of supply as electronic documentation! Supplement to the ET 200S 1SI serial interface module Function Manual, 01/2015, xxx...
  • Page 14: Integrating The Et 200S 1Si Serial Interface Module Into The Simotion Project

    Description 2.4 Integrating the ET 200S 1SI serial interface module into the SIMOTION project 5. Insert the serial interface module into the SIMOTION project (refer to Chapter Integrating the ET 200S 1SI serial interface module into the SIMOTION project (Page 14)).
  • Page 15: Integrating The Function Blocks In The User Project

    : _ET200S_SI08_setV24Sig; // create FB instance END_VAR Call (LAD representation) The LAD representation of the individual function blocks can be found in the respective function block descriptions. Supplement to the ET 200S 1SI serial interface module Function Manual, 01/2015, xxx...
  • Page 16: Creating I/O Variables

    The following example shows how to assign the module addresses to the I/O variables in SIMOTION SCOUT. Figure 2-2 Address assignment in SIMOTION SCOUT for two ET 200S 1SI serial interface modules with 32-byte data interface Supplement to the ET 200S 1SI serial interface module...
  • Page 17 SIMOTION MCC, Motion Control Chart programming manual – SIMOTION LAD/FBD, Ladder Diagram and Function Block Diagram programming – manual These documents are included in the SIMOTION SCOUT scope of delivery as electronic documentation! Supplement to the ET 200S 1SI serial interface module Function Manual, 01/2015, xxx...
  • Page 18 Description 2.6 Creating I/O variables Supplement to the ET 200S 1SI serial interface module Function Manual, 01/2015, xxx...
  • Page 19: Function Blocks Of The Et 200S 1Si Serial Interface Module

    Function blocks of the ET 200S 1SI serial interface module Overview of function blocks This section describes all of the function blocks (FBs) required for communication between a SIMOTION hardware platform and a serial interface module. The function blocks form the software interface between the SIMOTION hardware platform and the serial interface module.
  • Page 20 Function blocks of the ET 200S 1SI serial interface module 3.2 Function blocks _ET200S_SIxx_send Depending on which data interface you have chosen in the hardware configuration, you use the _ET200S_SI04_send function block for the 4-byte data interface, the _ET200S_SI08_send function block for the 8-byte data interface, and the _ET200S_SI32_send function block for the 32-byte data interface of the serial interface module.
  • Page 21 Function blocks of the ET 200S 1SI serial interface module 3.2 Function blocks _ET200S_SIxx_send Name P type Data type Meaning Actions performed by Actions per‐ user formed by block done BOOL Request completed without er‐ Checked Entered rors error BOOL...
  • Page 22 Function blocks of the ET 200S 1SI serial interface module 3.2 Function blocks _ET200S_SIxx_send Time sequence diagram _ET200S_SIxx_send The following figure illustrates the behavior of the done and error parameters according to the input circuit of execute and reset. Figure 3-1...
  • Page 23: Function Blocks _Et200S_Sixx_Receive

    Function blocks of the ET 200S 1SI serial interface module 3.3 Function blocks _ET200S_SIxx_receive The _ET200S_SIxx_send FB must be called repeatedly by a program. The send job can only be executed by cyclically calling the send FB. A positive edge at the execute input parameter initiates the transfer. Depending on the quantity of data, data may be transferred over several calls.
  • Page 24 Function blocks of the ET 200S 1SI serial interface module 3.3 Function blocks _ET200S_SIxx_receive Call (LAD representation) Parameter description Table 3-2 Parameter _ET200S_SIxx_receive Name P type Data type Meaning Actions performed Actions per‐ by user formed by block enable BOOL...
  • Page 25 Function blocks of the ET 200S 1SI serial interface module 3.3 Function blocks _ET200S_SIxx_receive Name P type Data type Meaning Actions performed Actions per‐ by user formed by block errorID WORD Error specification Checked Entered For error = TRUE, the error...
  • Page 26 Function blocks of the ET 200S 1SI serial interface module 3.3 Function blocks _ET200S_SIxx_receive Time sequence diagram _ET200S_SIxx_receive The following figure illustrates the behavior of the newDataReceived, dataLength, and error parameters according to the input circuit of enable and reset.
  • Page 27: Function Blocks _Et200S_Sixx_Getv24Sig

    Function blocks of the ET 200S 1SI serial interface module 3.4 Function blocks _ET200S_SIxx_getV24Sig The active transfer request can be aborted by setting the reset parameter to TRUE. This will reset the _ET200S_SIxx_receive FB to its initial state. The receive operation will remain disabled as long as the signal state at the reset parameter is TRUE.
  • Page 28 Function blocks of the ET 200S 1SI serial interface module 3.4 Function blocks _ET200S_SIxx_getV24Sig Parameter description Table 3-3 Parameter _ET200S_SIxx_getV24Sig Name P type Data type Meaning Actions performed Actions per‐ by user formed by block execute BOOL Initiates request on positive edge...
  • Page 29: Function Blocks _Et200S_Sixx_Setv24Sig

    Function blocks of the ET 200S 1SI serial interface module 3.5 Function blocks _ET200S_SIxx_setV24Sig Function blocks _ET200S_SIxx_setV24Sig Task The _ET200S_SIxx_setV24Sig function block enables you to set or reset the RS 232C secondary signals when an ASCII driver is specified. Depending on which data interface you have chosen in the hardware configuration, you use...
  • Page 30: Function Blocks _Et200S_Sixx_Flowxon

    Function blocks of the ET 200S 1SI serial interface module 3.6 Function blocks _ET200S_SIxx_flowXon Name P type Data type Meaning Actions performed Actions per‐ by user formed by block done BOOL Request completed without errors Checked Entered error BOOL Request completed with errors...
  • Page 31 Function blocks of the ET 200S 1SI serial interface module 3.6 Function blocks _ET200S_SIxx_flowXon Call (LAD representation) Parameter description Table 3-5 Parameter _ET200S_SIxx_flowXon Name P type Data type Meaning Actions performed Actions per‐ by user formed by block execute BOOL...
  • Page 32: Function Blocks _Et200S_Sixx_Flowrts

    Function blocks of the ET 200S 1SI serial interface module 3.7 Function blocks _ET200S_SIxx_flowRts Name P type Data type Meaning Actions performed Actions per‐ by user formed by block error BOOL Request completed with errors Checked Entered errorID WORD Error specification...
  • Page 33 Function blocks of the ET 200S 1SI serial interface module 3.7 Function blocks _ET200S_SIxx_flowRts Schematic LAD representation Parameter description Table 3-6 Parameter _ET200S_SIxx_flowRts Name P type Data type Meaning Actions performed by Actions per‐ user formed by block execute BOOL...
  • Page 34: Function Blocks _Et200S_Sixx_Flowv24

    Function blocks of the ET 200S 1SI serial interface module 3.8 Function blocks _ET200S_SIxx_flowV24 Name P type Data type Meaning Actions performed by Actions per‐ user formed by block error BOOL Request completed with errors Checked Entered errorID WORD Error specification...
  • Page 35 Function blocks of the ET 200S 1SI serial interface module 3.8 Function blocks _ET200S_SIxx_flowV24 Call (LAD representation) Parameter description Table 3-7 Parameter _ET200S_SIxx_flowV24 Name P type Data type Meaning Actions performed by Actions per‐ user formed by block execute BOOL...
  • Page 36: Calling Function Blocks

    Function blocks of the ET 200S 1SI serial interface module 3.9 Calling function blocks Name P type Data type Meaning Actions performed by Actions per‐ user formed by block error BOOL Request completed with errors Checked Entered errorID WORD Error specification...
  • Page 37 Function blocks of the ET 200S 1SI serial interface module 3.9 Calling function blocks Call example UNIT E_SI_8BY; INTERFACE VAR_GLOBAL myExecSend : BOOL; // trigger send task myAbortSend : BOOL; // cancel send order mySendDone : BOOL; // send: completed myInstET200S_SISend : _ET200S_SI08_send;...
  • Page 38: Data Consistency

    Function blocks of the ET 200S 1SI serial interface module 3.10 Data consistency // TRANSFER DATA TO ET200S myPeripheralOutputET200s_1 := myOutputArrayET200S_1; // array for output data END_PROGRAM // end program for backgroundTask END_IMPLEMENTATION Note The ExampleET200S_SI program must be assigned in the execution system.
  • Page 39: Application Example For The Et 200S 1Si Serial Interface Module

    1. Open your project in SIMOTION SCOUT. 2. Open the hardware configuration in SIMOTION SCOUT. 3. Configure your hardware station with the two ET 200S 1SI serial interface modules (8-byte data interface), see chapter Integrating the ET 200S 1SI serial interface module into the SIMOTION project (Page 14).
  • Page 40 Function blocks of the ET 200S 1SI serial interface module 3.11 Application example for the ET 200S 1SI serial interface module Adapting the application example The configuration in the example and its available hardware must be adapted. The following options are available: ●...
  • Page 41 Function blocks of the ET 200S 1SI serial interface module 3.11 Application example for the ET 200S 1SI serial interface module Output icons used Table 3-9 Output icons used Symbol Data type Description mySendDone BOOL Send: Complete mySendError BOOL Send: Error display...
  • Page 42 Function blocks of the ET 200S 1SI serial interface module 3.11 Application example for the ET 200S 1SI serial interface module can be sent if the "myExecSend" input signal detects a signal change from FALSE to TRUE. If an error occurred during the transfer ("mySendError" = TRUE), the error code is stored in the "mySendErrorId"...
  • Page 43: Alarm Processing

    Alarms originating from the I/O are evaluated in the PeripheralFaultTask. When the PeripheralFaultTask is started, the Taskstartinfo is made available, which you can evaluate in the user program. Supplement to the ET 200S 1SI serial interface module Function Manual, 01/2015, xxx...
  • Page 44 ● The group error LED (SF) of the serial interface module illuminates. The group error LED (SF) is extinguished as soon as the error has been remedied. Supplement to the ET 200S 1SI serial interface module Function Manual, 01/2015, xxx...
  • Page 45 The TSI#details variable is assigned in the same way as in a SIMATIC system. Note ET 200S 1SI Serial Interface For a more detailed description, refer to the SIMATIC manual Module, "Diagnostics" chapter. Supplement to the ET 200S 1SI serial interface module Function Manual, 01/2015, xxx...
  • Page 46 Alarm processing Supplement to the ET 200S 1SI serial interface module Function Manual, 01/2015, xxx...
  • Page 47: Appendix

    DB_NO data newDataReceived newDataReceived error ERROR error dataLength dataLength errorID STATUS errorNumber _ET200S_SI04_getV24Sig, FB V24_STAT (FB 4) _FB_ET200S_SI4_getV24State, _ET200S_SI08_getV24Sig, _FB_ET200S_SI8_getV24State, _ET200S_SI32_getV24Sig execute request reset abort Supplement to the ET 200S 1SI serial interface module Function Manual, 01/2015, xxx...
  • Page 48 DONE done error ERROR error errorID STATUS errorNumber _ET200S_SI04_flowRts, FB F_RTS (FB 7) _FB_ET200S_SI4_FRTS, _ET200S_SI08_flowRts, _FB_ET200S_SI8_FRTS, _ET200S_SI32_flowRts execute request reset abort Supplement to the ET 200S 1SI serial interface module Function Manual, 01/2015, xxx...
  • Page 49: List Of Abbreviations

    Interface Module (SIMATIC S7-300 interface module) Input parameter IN/OUT In/out parameter Input/Output Ladder Logic Light-emitting diode (LED display) Motion Control Chart Organization block Output parameter System Fault (System error) Structured Text Supplement to the ET 200S 1SI serial interface module Function Manual, 01/2015, xxx...
  • Page 50 Appendix A.2 List of abbreviations Supplement to the ET 200S 1SI serial interface module Function Manual, 01/2015, xxx...
  • Page 51: Index

    _ET200S_SIxx_send, 19 _ET200S_SIxx_setV24Sig, 29 Call example, 36 Functionality, 12 I/O variable Creating, 16 Insert the ET 200S 1SI into the project, 14 Integrating the function blocks, 15 Supplement to the ET 200S 1SI serial interface module Function Manual, 01/2015, xxx...
  • Page 52 Index Supplement to the ET 200S 1SI serial interface module Function Manual, 01/2015, xxx...

This manual is also suitable for:

Simotion et 200s

Table of Contents