Page 1
______________ Introduction SIMATIC S7 300 Automation Systems CPU 317T-2 DP: Controlling a physical axis ______________ Preparation ______________ Learning units SIMATIC ______________ Further information S7-300 Automation Systems CPU 317T-2 DP: Controlling a physical axis Getting Started 03/2008 A5E00251786-05...
Page 2
Trademarks All names identified by ® are registered trademarks of the Siemens AG. The remaining trademarks in this publication may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Table of contents Introduction..............................5 Preparation ..............................7 Requirements..........................7 Task ...............................8 Learning units ............................11 1. Step: Wiring..........................11 Optionally: Setting up the T station with the help of the wizard ...........12 2. Step: Configuring the CPU 317T-2 DP in HW -Config ............14 3.
Page 4
Table of contents CPU 317T-2 DP: Controlling a physical axis Getting Started, 03/2008, A5E00251786-05...
Introduction Introduction This Getting Started contains a practical example guiding you through eleven steps in commissioning a fully functional application, and showing you how to carry out motion commands. It is thus a valuable help in getting started with the basic functions of a CPU 317T-2 DP.
Page 6
Introduction CPU 317T-2 DP: Controlling a physical axis Getting Started, 03/2008, A5E00251786-05...
Preparation Requirements Requirements The following requirements must be fulfilled: ● An S7-300 station, consisting of: – Power supply (PS), e.g. 6ES7 307-1KA00-0AA0 – CPU 317T-2DP with inserted MMC (4 MB or more). – Optional digital input module (DI) with bus connector, for example, 6ES7 321-1BH02-0AA0 –...
Preparation 2.2 Task Note For the example of a drive in Getting Started we use a SIMODRIVE 611 universal training case. This training case is available under the following order number: • 6ZB2420-0AB00 or • 6SN1182-0EA00-3DP0 or • 6AU1700-8AA00-0AA0 Getting ●...
Page 9
Preparation 2.2 Task Task You configure an axis using HW Config, S7T Config and SimoCom U. You then operate this axis with the help of a STEP 7 user program. The task is divided into the following learning units: Step Learning unit Wiring Configuring the CPU 317T-2 DP in HW Config...
Page 10
Preparation 2.2 Task CPU 317T-2 DP: Controlling a physical axis Getting Started, 03/2008, A5E00251786-05...
Learning units 1. Step: Wiring WARNING You may come into contact with live wires. Always switch off power before you start wiring the S7-300. Procedure Getting A description of the installation and wiring of your 317T-2DP CPU is found in the Started Collection S7-300 PLC: CPU 31x: Commissioning CPU 317T-2 DP: Controlling a physical axis Getting Started, 03/2008, A5E00251786-05...
Learning units 3.2 Optionally: Setting up the T station with the help of the wizard Optionally: Setting up the T station with the help of the wizard The station wizard helps you to carry out several steps when configuring a CPU 31xT in one work cycle.
Page 13
Learning units 3.2 Optionally: Setting up the T station with the help of the wizard Step Activity Confirm with "OK". Result: In the project a new SIMATIC 300 station is set up with a CPU 317T-2 DP (latest version). Open the hardware configuration and insert a digital input and a digital output module as described in the learning unit "2nd step".
Learning units 3.3 2. Step: Configuring the CPU 317T-2 DP in HW -Config 2. Step: Configuring the CPU 317T-2 DP in HW -Config Procedure Step Activity Result Set up a new project in the SIMATIC Manager (e.g. "Getting Started The SIMATIC 300 station appears CPU 317T") in SIMATIC Manager.
Page 15
Learning units 3.3 2. Step: Configuring the CPU 317T-2 DP in HW -Config Step Activity Result Add a digital input module and a digital output module. You now have this configuration: CPU 317T-2 DP: Controlling a physical axis Getting Started, 03/2008, A5E00251786-05...
Learning units 3.4 3. Step: Changing the transmission rate at the MPI/DP interface 3. Step: Changing the transmission rate at the MPI/DP interface Procedure Step Activity Result In the mounting rail, double-click "MPI/DP" to open the The "Properties - MPI/DP" dialog box opens. MPI/DP interface (X1) in the HW Config.
Learning units 3.6 5. Step: Generating technology system data 5. Step: Generating technology system data Procedure Sequence Activity Result Double-click "Technology" on the mounting rail. The "Properties - Technology" dialog box opens. Select the "Technology system data" tab, then set the "Generate technology system data" check box. Confirm with "OK".
Learning units 3.7 6. Step: Configuring the drive with HW Config 6. Step: Configuring the drive with HW Config Procedure Step Activity Result In the HW catalog, select the SIMATIC Technology > PROFIBUS DP(DRIVE) > Drives > SIMODRIVE entry. Select the drive component "SIMODRIVE 611 universal" from the tree structure of the HW Catalog. Drag-and-drop this component to the master system of the The "Properties –...
Page 19
In the "DP Slave Properties" dialog box, select the "Configuration" tab. Select message type "2 axes, SIEMENS Message 102, PZD-6/10". Note: If your actual configuration only contains one axis, select "1 axis, SIEMENS Telegram 102, PZD- 6/10" (the SIMODRIVE 611 universal demo cases use double-axis modules).
Learning units 3.8 7. Step: Configuring the axis(axes) with S7T Config Step Activity Result Confirm with "OK". In the HW Config, select the Station > Save and Compile The system compiles your project, and adds menu command in order to close the HW Config. the "Technological Objects"...
Page 21
Learning units 3.8 7. Step: Configuring the axis(axes) with S7T Config Step Activity Result In the project navigator, select the SIMATIC 300(1) > Technology > AXES > Insert axes entry. Execute this with a double click to start the axis wizard. Result: The “Insert axis"...
Page 22
Learning units 3.8 7. Step: Configuring the axis(axes) with S7T Config Step Activity Result Confirm with "Continue". Result: The "Axis configuration - Axis_1 - Drive assignment" dialog box opens. The drive configuration consisting of drive and message is taken from the HW configuration and merely has to be confirmed in this dialog box.
Page 23
Learning units 3.8 7. Step: Configuring the axis(axes) with S7T Config Step Activity Result Select the encoder type and mode, and the measuring system. Settings for the first axis in our example: "Encoder type" is an "Absolute encoder" • "Encoder mode" is "Endat" •...
Page 24
Learning units 3.8 7. Step: Configuring the axis(axes) with S7T Config Step Activity Result Enter the resolution specified on your motor rating plate. The resolution of the encoder in our example is 2048. Confirm with "Continue". Result: The "Axis Configuration - Axis_1 - Completion" dialog box opens, showing the data you configured. Click the "Finish"...
Learning units 3.9 8. Step: Creating the technology DBs 8. Step: Creating the technology DBs Procedure Step Activity Result Change to "Technology Objects Management". Confirm the first message box with "OK", and the second with "Yes". If you are not running the "Technology Objects Management“ application yet or it is closed, you can open it by double-clicking on the "Technological objects"...
Learning units 3.10 9. Step: Configuring the drive with SimoComU Step Activity Result In the SIMATIC Manager, select the Options > Set PG/PC interface menu command in order to change the MPI transmission rate to 1.5 Mbit/s. Select the MPI interface. Click the properties and then change the transmission speed and confirm all open dialog boxes with "OK".
Page 27
Learning units 3.10 9. Step: Configuring the drive with SimoComU Step Activity Result You will see the configuration in the following screen shot. Click "Configuring the drive". Result: The "Drive configuration" dialog box opens. Carry out the steps for the guided commissioning process. The PG/PC transfers the data to the drive.
Page 28
Learning units 3.10 9. Step: Configuring the drive with SimoComU Step Activity Result Select the Commissioning > Configuration views > You have now entered the telegram type you PROFIBUS configuration menu command. have previously set in HW Config. Under "Select message", enter message "102". The PROFIBUS node address may have to be compared.
Learning units 3.11 10. Step: Controlling the axis with the STEP 7 user program 3.11 10. Step: Controlling the axis with the STEP 7 user program Procedure Step Activity Result In SIMATIC Manager, open the sample project The sample program is copied to the project. "\Examples\PROJECT-CPU317T".
Learning units 3.12 11. Step: Trial run 3.12 11. Step: Trial run Procedure Step Activity Result In the "Blocks" folder of your project, double-click the The variable table is opened for monitoring. "AxisData" variable table. Select the Target system > Connect to > Configured CPU The CPU "STOP"...
● A bulletin board in which users and specialists worldwide exchange their know-how ● Your local Siemens partner for Automation & Drives in our Partner database ● Information about local service, repairs, and spare parts. You will find much more under "Services".
Page 32
Further information CPU 317T-2 DP: Controlling a physical axis Getting Started, 03/2008, A5E00251786-05...