Page 1
Purpose of the Getting Started Requirements Installing the configuration package on the PG SIMATIC FM 351, installing and wiring Function modules FM 351 First Steps in FM 351, programming Commissioning FM 351, testing Getting Started Linking to the user program 07/2007 A5E01092707-01...
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 Purpose of the Getting Started ........................5 Requirements ............................7 Installing the configuration package on the PG..................9 FM 351, installing and wiring ........................11 FM 351, programming ..........................13 FM 351, testing ............................15 Linking to the user program ........................17 FM 351 First Steps in Commissioning Getting Started, 07/2007, A5E01092707-01...
Page 4
Table of contents FM 351 First Steps in Commissioning Getting Started, 07/2007, A5E01092707-01...
Purpose of the Getting Started Introduction This Getting Started is intended to lead you through the five steps in commissioning a fully functional application. Based on a practical example, it shows you how to execute a motion via channel 1, and introduces the basic functions of FM 351 hardware and software, and application-specific parameters.
Page 6
Purpose of the Getting Started FM 351 First Steps in Commissioning Getting Started, 07/2007, A5E01092707-01...
Requirements Requirements Hardware and software requirements: ● An S7-300 station, consisting of a power supply module and a CPU. ● STEP 7 (≥V4.02) is properly installed on your PG. The instructions below, however, are only relevant to STEP 7 (V5.0) ●...
Page 8
Requirements FM 351 First Steps in Commissioning Getting Started, 07/2007, A5E01092707-01...
Installing the configuration package on the PG Installing the configuration package on the PG The FM 351 configuration package contains a configuration software, the necessary functions (FC) and function blocks (FBs), the data structures (UDTs), and a sample program. 1. Place the CD into the CD drive. 2.
Page 10
Installing the configuration package on the PG FM 351 First Steps in Commissioning Getting Started, 07/2007, A5E01092707-01...
FM 351, installing and wiring FM 351, installing and wiring 1. Switch off the power supply, then set the mode selector switch of the CPU to STOP. 2. Connect the bus connector included with your FM 351 to the bus connector of the CPU. 3.
Page 12
FM 351, installing and wiring FM 351 First Steps in Commissioning Getting Started, 07/2007, A5E01092707-01...
FM 351, programming FM 351, programming 1. Open your project in SIMATIC Manager. 2. Open the "HW Config" configuration table in your project. 3. In the hardware catalog, select the FM 351 with the correct order number, then drag-and- drop it to the relevant slot of your hardware configuration. Note down the module address. You will need this value when you integrate the module in your user program.
Page 14
FM 351, programming 6. Accept the FM 351 parameters in your configuration by selecting "File > Save", then close the configuration software with "File > Exit". 7. Save your configuration to your project with "Station > Save and compile". 8. When the CPU is in STOP, select "PLC > Load to module..." to download the configuration.
FM 351, testing FM 351, testing 1. In HW Config, once again double-click the FM 351 to open the "Positioning module – slot Project name\station name [FM 351 FIX. SPEED ( ) (parameter assignment) – – ]". slot 2. Open the commissioning screen [FM 351 FIX. SPEED ( ) (Commissioning) –...
Page 16
FM 351, testing 10. Set drive enable: The system returns the message "Start enabled." Click "Start" to position the axis to the default incremental dimension. The "Distance to go" and "Position reached -- Stop" displays indicate the positioning accuracy. You can improve positioning accuracy by reducing or increasing the switchover and switch-off differences.
Linking to the user program Integration in the user program 1. In SIMATIC Manager, choose "File > Open... > Libraries" to open the FMx51LIB library. This library contains two program folders: – FM 351,451 ABS V1 – FM 351 ABS V2 –...
Page 18
Linking to the user program Test Use the "Monitor and modify variables" function to monitor the selected channel. 1. In the symbol editor, assign DB1 a symbol named "ABS." 2. Select the "Blocks" container of your project. Choose the "Insert > S7 Block > Variable Table"...
Page 19
Linking to the user program Diagnostics Errors may occur due to improper operation, faulty wiring, or inconsistent parameters. The manual describes how to analyze such errors and messages. Example In the zEn18_02_FMx51 project you will find more examples for the use of blocks from the FM 351 ABS V2 folder.
Page 20
Linking to the user program FM 351 First Steps in Commissioning Getting Started, 07/2007, A5E01092707-01...