Siemens SIMATIC ET 200S Function Manual

Simotion supplement for the frequency converter
Hide thumbs Also See for SIMATIC ET 200S:

Advertisement

Quick Links

SIMOTION
Supplement for the
ET 200S frequency converter
Function Manual
01/2015
Preface
Fundamental safety
instructions
Description
Programming
Parameterization
Application example
Alarm processing
Appendix
1
2
3
4
5
6
A

Advertisement

Table of Contents
loading

Summary of Contents for Siemens SIMATIC ET 200S

  • Page 1 Preface Fundamental safety instructions Description SIMOTION Programming Supplement for the Parameterization ET 200S frequency converter Application example Function Manual Alarm processing 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

    Preface Contents of this Function Manual This document is a component of the SIMOTION Programming - References documentation package. ET 200S FC Frequency Converter This documentation is a supplement to the SIMATIC (03/2005 Edition). Operating Instructions This documentation is supplied with the SIMOTION SCOUT in electronic form! This manual describes how you can control the ET 200S frequency converter with the aid of the _ET200S_FC_control function block (Article No.: 6SL3244-0SA00-1AA0) from a SIMOTION device.
  • 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: Table Of Contents

    Table of contents Preface.................................3 Fundamental safety instructions........................7 General safety instructions.......................7 Industrial security........................7 Description..............................9 General............................9 Product description........................9 Installation and connection.....................11 Inserting the ET 200S frequency converter into a SIMOTION project........11 Programming..............................13 Integrating the function block in the user project..............13 Addressing the ET 200S frequency converter...............14 Parameterization............................17 Function block _ET200S_FC_control..................17 Calling the function block.......................23...
  • Page 6 Table of contents Supplement for the ET 200S frequency converter Function Manual, 01/2015...
  • Page 7: 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 8 ● Keep the software up to date. Information and newsletters can be found at: http://support.automation.siemens.com ● Incorporate the automation and drive components into a state-of-the-art, integrated industrial security concept for the installation or machine. For more detailed information, go to: http://www.siemens.com/industrialsecurity...
  • Page 9: Description

    Description General Overview This manual describes the differences in the operation of the ET 200S FC (FC = Frequency Converter) in the SIMOTION system compared with operation in the SIMATIC system. Note ET 200S FC Frequency Converter Operating This manual is a supplement to the SIMATIC Instructions (03/2005 Edition).
  • Page 10 Description 2.2 Product description Function block The _ET200S_FC_control function block is provided for the cyclic communication and the parameter transfer of the ET 200S FC with SIMOTION. This function block is described in this manual. Note The _ET200S_FC_control function block cannot be used to control the ET 200S FC (Article No.: 6SL3244-0SA00-1AA1).
  • Page 11: Installation And Connection

    Description 2.4 Inserting the ET 200S frequency converter into a SIMOTION project Installation and connection You must perform the following steps to be able to operate the ET 200S frequency converter using the SIMOTION system: 1. Install and connect the ET 200S interface module (IM) with the components of the ET 200S FC.
  • Page 12 Description 2.4 Inserting the ET 200S frequency converter into a SIMOTION project Inserting the frequency converter 1. In SIMOTION SCOUT, open the "User Projects" dialog box with the "Project" > "Open" menu command. In this dialog box, select your project and confirm with "OK". 2.
  • Page 13: Programming

    Programming Integrating the function block in the user project Creating the FB instance in the user project The _ET200S_FC_control function block is a component of the command library of the SIMOTION SCOUT engineering system. To work with the block, an instance of the function block must first be created in the user project.
  • Page 14: Addressing The Et 200S Frequency Converter

    Programming 3.2 Addressing the ET 200S frequency converter Addressing the ET 200S frequency converter Overview Communication between the SIMOTION device and the ET 200S FC takes place through direct access to the I/O. I/O variables are used to address the direct read/write access to the I/O.
  • Page 15 Programming 3.2 Addressing the ET 200S frequency converter Figure 3-2 Addressing with I/O variable The I/O addresses in the symbol browser shown in the figure have the following meanings: ● "PIB" = Peripheral Input Byte ● "PQB" = Peripheral Output Byte Parameter transfer The I/O variable for the I/O inputs is transferred to the periIn input parameter.
  • Page 16 Programming 3.2 Addressing the ET 200S frequency converter Supplement for the ET 200S frequency converter Function Manual, 01/2015...
  • Page 17: Parameterization

    Parameterization Function block _ET200S_FC_control Task You can control the ET 200S FC via your user program with the FB _ET200S_FC_control. The FB _ET200S_FC_control supports the following functions: ● Drive control: – Sending control words – Receiving status words ● Diagnostics: –...
  • Page 18 OUT REAL Read parameter value Parameter types: IN = input parameter, OUT = output parameter SIMATIC ET 200S FC Frequency Converter Parameter Manual (03/2005 Edition). See the SIMATIC ET 200S FC Frequency Converter Operating Instructions (03/2005 Edition). See the...
  • Page 19 4.1 Function block _ET200S_FC_control Calculation in the converter: Note SIMATIC ET 200S FC Frequency Converter You can find the normalizing value in the Parameter Manual (03/2005 Edition) under parameter p2000. The execute parameter is only used to start acyclic data transfer from/to the frequency converter.
  • Page 20 Parameterization 4.1 Function block _ET200S_FC_control Figure 4-1 Meaning of control bits (in STW 1 and STW 2 for the ET 200S FC) Description of functions When the _ET200S_FC_control function block is called, the cyclic data is written and updated and jobs (such as reading/writing parameter) can be carried out. The values in the input parameters periIn, setpoint, and ctrlDword are transmitted cyclically - regardless of the busy, done, execute, and mode parameters - and the output parameters periOut, actValue, and statusDword are updated cyclically.
  • Page 21 Parameterization 4.1 Function block _ET200S_FC_control successful, the output parameter is set to done = TRUE and the error and errorID parameters are reset. The drive parameter p0810 is set to 0.0 (command data set 1 of the drive active) with a rising edge on the input parameter execute and mode = DATA1 selected.
  • Page 22 (from r0947). For a description of the error numbers, see the SIMATIC ET 200S FC Frequency Converter Parameter Manual (03/2005 Edition). Rectify the cause of the drive error. Drive errors are acknowledged with a rising edge on the input parameter execute and mode = RESET_ERR selected.
  • Page 23: Calling The Function Block

    Parameterization 4.2 Calling the function block Calling the function block Procedure Proceed as follows to work with the _ET200S_FC_control function block in your user project (the numbers shown in the following program segment correspond to the steps listed below): 1. Create an instance of the function block. 2.
  • Page 24 Parameterization 4.2 Calling the function block myFC_control : _ET200S_FC_control; // create instance of FB _ET200S_FC_control myFC_control_In : Struct_FC_control_In; // input parameter of FB _ET200S_FC_control myFC_control_Out : Struct_FC_control_Out; // output parameter of the FB _ET200S_FC_control myRetValSetSafe : enumSetAndGetSafeValue; // return value from system function _setsafevalue // see example END_VAR PROGRAM ExampleET200S_FC;...
  • Page 25 Parameterization 4.2 Calling the function block myFC_control_Out.done := myFC_control.done; // ready myFC_control_Out.busy := myFC_control.busy; // at work myFC_control_Out.error := myFC_control.error; // error occured myFC_control_Out.errorID := myFC_control.errorID; // number of error myFC_control_Out.driveError := myFC_control.driveError; // drive error myFC_control_Out.driveErrorId := myFC_control.driveErrorId; // number of the drive error myFC_control_Out.actValue := myFC_control.actValue;...
  • Page 26 Parameterization 4.2 Calling the function block Supplement for the ET 200S frequency converter Function Manual, 01/2015...
  • Page 27: Application Example

    Application example General Task The application example shows how you can control the ET 200S frequency converter with the aid of the _ET200S_FC_control function block. You can carry out the following functions with this example: ● Reset parameterization and drive errors ●...
  • Page 28 Application example 5.1 General Calling the application example The application example can be found on the "SIMOTION Utilities & Applications" CD-ROM. The "SIMOTION Utilities & Applications" CD-ROM is provided free of charge with SIMOTION SCOUT. 1. Dearchive and open the project containing the application example. 2.
  • Page 29: Sequence Of The Application Example

    Application example 5.2 Sequence of the application example Sequence of the application example Relevant variables in the application example Table 5-1 Overview of the relevant variables Symbol Data type Initial value Meaning myCommand enumCommand CMD_READ Selection of command to be executed (CMD_READ, CMD_WRITE, CMD_RESET_ERR,...
  • Page 30 Application example 5.2 Sequence of the application example Parameterization errors are indicated at the output parameters myFC_control.error = TRUE and myFC_control.errorID = 16#0000. Example: You have set an invalid parameter number (myParaNumber = 9999). To acknowledge the parameterization error, you must set the variables myCommand and myCmdExecute to CMD_RESET_ERR and TRUE respectively.
  • Page 31 Application example 5.2 Sequence of the application example Example: Start the motor at a specified speed Proceed as follows to get the connected motor to turn at a speed of 500 rpm: 1. Enter the value "500" in the mySetpoint variable. 2.
  • Page 32 Application example 5.2 Sequence of the application example Supplement for the ET 200S frequency converter Function Manual, 01/2015...
  • Page 33: Alarm Processing

    Alarm processing Overview Sequence of the alarm processing Pending error messages are processed and evaluated differently than in a SIMATIC system. Diagnostic alarms are not enabled by default. Activate the alarms for the relevant module in the hardware configuration (refer to Chapter Inserting the ET 200S frequency converter into a SIMOTION project (Page 11)).
  • Page 34: Diagnostic Alarms

    Alarm processing 6.2 Diagnostic alarms Detailed information on DP slave diagnostics can be found in the SIMATIC Manual titled ET 200S Distributed I/O System . Alarm evaluation Alarms sent by the I/O are evaluated in the PeripheralFaultTask. When the PeripheralFaultTask is started, the Taskstartinfo is made available; you must evaluate this in the user program.
  • Page 35 Alarm processing 6.2 Diagnostic alarms For a more detailed description, refer to the section titled "Diagnostics and monitoring ET 200S FC Frequency Converter Operating Instructions (03/2005 functions" in the SIMATIC Edition). Responses to a diagnostic alarm If a diagnostic alarm is issued, the following occurs: 1.
  • Page 36 Alarm processing 6.2 Diagnostic alarms Supplement for the ET 200S frequency converter Function Manual, 01/2015...
  • Page 37: Appendix

    Appendix SIMOTION and SIMATIC names The table below contains a comparison of SIMOTION and SIMATIC names. Name in the SIMOTION system, V4.1 and higher Name in the SIMATIC system (command library in SCOUT) Function block parameter _ET200S_FC_control ET200S_FC_DRIV execute mode periIn setpoint FREQ_SET...
  • Page 38 Appendix A.2 List of abbreviations Abbreviation Meaning Light Emitting Diode Output parameters PG/PC Programming Device / Personal Computer Peripheral Input Byte Power Module Peripheral Output Byte Power Supply Structured Text Control word Status word Supplement for the ET 200S frequency converter Function Manual, 01/2015...
  • Page 39: Index

    Index Addressing FB _ET200S_FC_control Example:, 14 Application example, 27 I/O variable, 14 Call example, 23 Alarm processing Creating an instance, 13 Bit assignment, 35 Error messages, 22 Diagnostic alarm, 34 Functions, 20 Evaluation, 34 Parameter, 18 Programming the sequence, 33 Task, 17 Application example Task integration, 22...
  • Page 40 Index Supplement for the ET 200S frequency converter Function Manual, 01/2015...

Table of Contents