SCOUT TIA Getting Started en-US
SCOUT TIA Getting Started en-US
Fundamental safety
instructions 1
Getting Started with
SIMOTION SCOUT TIA 2
SIMOTION Prepare the configuration 3
Create a project 4
Motion Control Create SIMOTION device
Getting Started with SIMOTION and configure online 5
SCOUT TIA communication
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
indicates that minor personal injury can result if proper precautions are not taken.
NOTICE
indicates that property damage can result if proper precautions are not taken.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will be
used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to property
damage.
Qualified Personnel
The product/system described in this documentation may be operated only by personnel qualified for the specific
task in accordance with the relevant documentation, in particular its warning notices and safety instructions. Qualified
personnel are those who, based on their training and experience, are capable of identifying risks and avoiding
potential hazards when working with these products/systems.
Proper use of Siemens products
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. The permissible
ambient conditions must be complied with. The information in the relevant documentation must be observed.
Trademarks
All names identified by ® are registered trademarks of 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.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software described.
Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the information in
this publication is reviewed regularly and any necessary corrections are included in subsequent editions.
Scope of validity
This manual is valid for SIMOTION SCOUT, product version V4.5.
SIMOTION Documentation
An overview of the SIMOTION documentation can be found in the SIMOTION Documentation
Overview document.
This documentation is included as electronic documentation in the scope of delivery of
SIMOTION SCOUT TIA and it comprises ten documentation packages.
The following documentation packages are available for SIMOTION V4.5:
● SIMOTION Engineering System Handling
● SIMOTION System and Function Descriptions
● SIMOTION Service and Diagnostics
● SIMOTION IT
● SIMOTION Programming
● SIMOTION Programming - References
● SIMOTION C
● SIMOTION P
● SIMOTION D
● SIMOTION Supplementary Documentation
SIMOTION at a glance
We have compiled an overview page from our range of information about SIMOTION with the
most important information on frequently asked topics - which can be opened with only one
click.
Whether beginner or experienced SIMOTION user – the most important downloads, manuals,
tutorials, FAQs, application examples, etc. can be found at
https://support.industry.siemens.com/cs/ww/de/view/109480700
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 3
Preface
Additional information
Click the following link to find information on the following topics:
● Documentation overview
● Additional links to download documents
● Using documentation online (find and search manuals/information)
https://support.industry.siemens.com/cs/ww/en/view/109479653
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:
https://support.industry.siemens.com/My/ww/en/documentation
Training
Click the following link for information on SITRAIN - Siemens training courses for automation
products, systems and solutions:
http://www.siemens.com/sitrain
FAQs
Frequently Asked Questions can be found in SIMOTION Utilities & Applications, which are
included in the scope of delivery of SIMOTION SCOUT TIA, and in the Service&Support pages
in Product Support:
https://support.industry.siemens.com/cs/de/en/ps/14505/faq
Technical support
Country-specific telephone numbers for technical support are provided on the Internet under
Contact:
https://support.industry.siemens.com/cs/ww/en/sc/2090
Preface.........................................................................................................................................................3
1 Fundamental safety instructions...................................................................................................................9
1.1 General safety instructions.......................................................................................................9
1.2 Industrial security...................................................................................................................10
1.3 Danger to life due to software manipulation when using removable storage media..............11
2 Getting Started with SIMOTION SCOUT TIA.............................................................................................13
2.1 Aim of Getting Started............................................................................................................13
2.2 Sample project.......................................................................................................................13
2.3 Requirements.........................................................................................................................14
2.4 General information................................................................................................................16
2.4.1 TIA Portal online help.............................................................................................................16
2.4.2 SIMOTION SCOUT TIA Online Help.....................................................................................16
2.4.3 Available documentation........................................................................................................17
2.4.4 Utilities & applications............................................................................................................18
2.4.5 Specific safety information.....................................................................................................19
3 Prepare the configuration...........................................................................................................................21
3.1 Restore factory settings.........................................................................................................21
3.2 Requirements for online communication................................................................................22
3.3 Result in the sample project...................................................................................................23
4 Create a project..........................................................................................................................................25
4.1 Overview................................................................................................................................25
4.2 Create new project.................................................................................................................25
4.3 Result in the sample project...................................................................................................26
5 Create SIMOTION device and configure online communication................................................................27
5.1 Overview................................................................................................................................27
5.2 Create SIMOTION device (1).................................................................................................28
5.3 Configure Ethernet interface (2).............................................................................................29
5.4 Set up PG/PC interface (3)....................................................................................................30
5.5 Result in the sample project...................................................................................................40
6 Start SIMOTION SCOUT TIA.....................................................................................................................41
7 Download the project to the target system.................................................................................................43
7.1 Overview................................................................................................................................43
7.2 Save and compile the project.................................................................................................43
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 5
Table of contents
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 7
Table of contents
A ESD directives..........................................................................................................................................139
A.1 ESD definition......................................................................................................................139
A.2 Electrostatic charging of individuals.....................................................................................139
A.3 Basic measures for protection against discharge of static electricity...................................140
Index.........................................................................................................................................................141
WARNING
Danger to life if the safety instructions and residual risks are not observed
The non-observance of the safety instructions and residual risks stated in the associated
hardware documentation can result in accidents with severe injuries or death.
● Observe the safety instructions given in the hardware documentation.
● Consider the residual risks for the risk evaluation.
WARNING
Danger to life caused by machine malfunctions caused by incorrect or changed
parameterization
Incorrect or changed parameterization can cause malfunctions on machines that can result
in injuries or death.
● Protect the parameterization (parameter assignments) against unauthorized access.
● Respond to possible malfunctions by applying suitable measures (e.g. EMERGENCY
STOP or EMERGENCY OFF).
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 9
Fundamental safety instructions
1.2 Industrial security
Note
Industrial security
Siemens provides products and solutions with industrial security functions that support the
secure operation of plants, systems, machines and networks.
In order to protect plants, systems, machines and networks against cyber threats, it is
necessary to implement – and continuously maintain – a holistic, state-of-the-art industrial
security concept. Siemens’ products and solutions only form one element of such a concept.
Customer is responsible to prevent unauthorized access to its plants, systems, machines and
networks. Systems, machines and components should only be connected to the enterprise
network or the internet if and to the extent necessary and with appropriate security measures
(e.g. use of firewalls and network segmentation) in place.
Additionally, Siemens’ guidance on appropriate security measures should be taken into
account. For more information about industrial security, please visit http://www.siemens.com/
industrialsecurity.
Siemens’ products and solutions undergo continuous development to make them more secure.
Siemens strongly recommends to apply product updates as soon as available and to always
use the latest product versions. Use of product versions that are no longer supported, and
failure to apply latest updates may increase customer’s exposure to cyber threats.
To stay informed about product updates, subscribe to the Siemens Industrial Security RSS
Feed under http://www.siemens.com/industrialsecurity..
WARNING
Danger as a result of unsafe operating states resulting from software manipulation
Software manipulation (e.g. by viruses, Trojan horses, malware, worms) can cause unsafe
operating states to develop in your installation which can lead to death, severe injuries and/
or material damage.
● 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
● Make sure that you include all installed products into the integrated industrial security
concept.
WARNING
Danger to life due to software manipulation when using removable storage media
The storage of files on removable storage media involves a high risk of infection, e.g. via
viruses or malware. Incorrect parameter assignment can cause machines to malfunction,
which can lead to injuries or death.
● Protect the files on removable storage media against harmful software through appropriate
protective measures, e.g. virus scanners.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 11
Fundamental safety instructions
1.3 Danger to life due to software manipulation when using removable storage media
Configuring steps
Create project, configure SIMOTION device and network communication with the PG/PC
● You create a project.
● You create a SIMOTION device and set up the network communication between the PG/
PC and the SIMOTION device .
Configure inputs/outputs
● You configure I/Os for use in the sample program.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 13
Getting Started with SIMOTION SCOUT TIA
2.3 Requirements
2.3 Requirements
Getting Started provides you with instructions for creating a simple sample project.
Trainings system
To create the sample project, you require a training system with a few components:
● SIMOTION D4x5-2 device with the latest firmware V4.5
● PG/PC with free Ethernet interface
A USB Ethernet adapter is also suitable for the Ethernet connection.
Note
A USB PROFIBUS adapter, e.g. PC Adapter USB A2 (article number:
6GK1571-0BA00-0AA0) can be used for the PROFIBUS connection. Performance
problems may occur if a previous version is used.
● Full DRIVE‑CLiQ wiring of the components; motor with DRIVE‑CLiQ interface and thus with
automatic encoder identification (SMI Sensor Module Integrated)
● TIA Portal and SIMOTION SCOUT TIA engineering system
A SIMOTION D435-2 DP/PN device is used in the sample project.
The PROFINET interface of the SIMOTION device is not used in the sample project.
Note
Getting Started deals with automatic drive configuration and not configuration using the drive
wizard. To be able to carry out automatic drive configuration fully, full DRIVE‑CLiQ wiring of
the components involved is a necessary requirement.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 15
Getting Started with SIMOTION SCOUT TIA
2.4 General information
With the mouse pointer (changed to a question mark), click the parameter or the window
for which you require help.
You can find detailed information on using the context-sensitive help in the online help under
SIMOTION SCOUT TIA > General > Use Help.
Note
Full text search in the online help
Enclose the search term between asterisks * to include search results that contain the search
term as part of a longer character string, e.g.
● variable finds only the whole words "variable" or "Variable",
● *variable* also finds "system variables", "variable assignment", etc.
Electronic documentation
The documentation is included in electronic form in the scope of delivery of SIMOTION SCOUT
TIA (SIMOTION SCOUT DVD Documentation, Utilities & Applications). You can search for all
PDF documents in the electronic documentation with an index (SIMOTION.pdx). You can find
an overview of the structure and content of the SIMOTION PDF documentation in the separate
document Overview of the SIMOTION Documentation.
The content of the documents is also available in the SIMOTION SCOUT TIA online help, with
a few exceptions.
In the online help, you can find the Overview of the SIMOTION Documentation under Overview
of the SIMOTION Documentation > … > Overview of the SIMOTION Documentation.
Note
You will find the SIMOTION SCOUT TIA Configuration Manual as a PDF document on the
SIMOTION SCOUT DVD.
Overview of SIMOTION
You can find a brief system overview of SIMOTION in the online help under Basic > Basic
Functions > System Overview.
The manuals contain comprehensive information especially for configuring and commissioning
a SIMOTION D, see the SIMOTION D4x5-2 Manual as well as the SIMOTION D4x5-2
Commissioning and Hardware Installation Manual. You can also find the SIMOTION D
manuals in the online help under SIMOTION Devices > SIMOTION D.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 17
Getting Started with SIMOTION SCOUT TIA
2.4 General information
Additional information
You will find additional information and documents on SIMOTION in the Industry Online
Support. Here, you are provided with an overview of the most important technical information
and solutions for SIMOTION.
http://support.automation.siemens.com/WW/view/de/10805436/130000
You can also access the Online Support via the hardware catalog of the TIA Portal (select the
relevant modules and open the shortcut menu).
5. Applications
For SIMOTION, there is a host of applications available to you that provide you with a sound
basic framework. With the aid of the supplied documentation, you can use the applications
as a basis for your own application, and adapt and expand them.
Furthermore, functions are available to you under "Cross-Sector applications" that are of
general help when creating your own applications, e.g. a LDPV1 library for drive
communication via DPV1 services (read and write SINAMICS parameters, read errors and
warnings from SINAMICS, deactivate objects, ramp-up coordination and much more), or
the LCom library with functions for communication with TCP/IP for SIMOTION and
SIMATIC.
6. SIMOTION IT
Under SIMOTION IT, you can find innovative examples and tools for bringing control and
drive solutions a little closer to the IT world. These include a trace function that is executed
via an Internet browser, as well as examples for user-defined Web pages for the
SIMOTION IT Web server or for using OPC XML DA.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 19
Getting Started with SIMOTION SCOUT TIA
2.4 General information
① LED display
② 7-segment display
③ Mode selector switch in position 3
NOTICE
Damage from electrostatic discharge
The rotary switch can be destroyed by static electricity.
Operate the rotary switch only with an insulated screwdriver.
Observe the ESD regulations.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 21
Prepare the configuration
3.2 Requirements for online communication
Result
The SIMOTION device has been restored to its factory settings and is ready for commissioning.
Requirements
● The PG/PC and the SIMOTION device are connected via an Ethernet cable.
● The X127 PN/IE interface on the SIMOTION device is used for the Ethernet connection.
See also
Configure Ethernet interface (2) (Page 29)
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 23
Prepare the configuration
3.3 Result in the sample project
Project
A project contains all the information that describes a machine and its function: configuration
data, programs, motion profiles, drive data.
A project can contain several SIMOTION devices.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 25
Create a project
4.3 Result in the sample project
3. Under Path, enter the path in which the project is to be stored. The default path is already
set.
4. Confirm with Create.
Steps
The following steps are executed in order to create a SIMOTION device in the project:
1. Create a SIMOTION device.
2. Configure the Ethernet interface.
3. Set up communication between PG/PC and SIMOTION device, compile the project, and
download to the device.
SIMOTION D platform
SIMOTION D is the drive-based version of the SIMOTION motion control system, based on
the SINAMICS S120 family of drives. With SIMOTION D, the SIMOTION motion control
functionalities and the SINAMICS drive software run on a SINAMICS-type closed-loop control
hardware device. SIMOTION D devices have the following characteristic features:
● Motion control functionality and control functionality integrated directly in the drive
● Compact and with especially fast response
● Maximum scalability and flexibility as single-axis or multi-axis system in different
performance versions for diverse applications
● Especially suitable for modular machine concepts with fast isochronous coupling, in the
case of machines with a large number of axes, for example
The SINAMICS functionality of the closed-loop-control module of the SINAMICS S120 multi-
axis drive system is integrated in SIMOTION D (SINAMICS Integrated).
You will find a brief introduction to SIMOTION D in the online help using the example of the
D435 Control Unit. Click Help > Tutorials > SIMOTION Drive‑Based in the SIMOTION SCOUT
menu bar.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 27
Create SIMOTION device and configure online communication
5.2 Create SIMOTION device (1)
Result
The SIMOTION device is created in the project. After you have created the device, you will be
in the project view on the Device View tab.
Note
The selected firmware version must match the firmware version on the memory card of the
device. Otherwise an error message will appear as soon as you switch to online mode.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 29
Create SIMOTION device and configure online communication
5.4 Set up PG/PC interface (3)
Procedure
Proceed as follows to create a subnet:
1. To do so, first switch to the network view in the project view.
2. Click with the mouse on the Ethernet interface X127 of the SIMOTION device on which you
want to
create a subnet.
3. Right-click to select Add Subnet from the shortcut menu.
Result
The Ethernet subnet is shown in the network view.
Note
You assign the PG/PC interface in the TIA Portal.
Communication between a SIMOTION device and a PG/PC requires a conditioner card (for
PROFIBUS) or an Ethernet interface. You configure, parameterize, program and test using
the PG/PC.
You have the following functions to assign the PG/PC interface:
● Connect online function
The function is available until the PG/PC interface has been successfully set up.
● Online & diagnostics function
● Online access function
The following procedure describes the process for the Ethernet interface type by using the
"Online access" function.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 31
Create SIMOTION device and configure online communication
5.4 Set up PG/PC interface (3)
3. In the next step, select the subnet and apply the setting with OK.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 33
Create SIMOTION device and configure online communication
5.4 Set up PG/PC interface (3)
3. If the SIMOTION device and the PG/PC are not in the same subnet, a message is displayed
offering you the option of temporarily assigning a suitable IP address from the subnet of
the device.
Result
● You have assigned the PG/PC interface.
● The TIA Portal has assigned an IP address internally within the project.
● The online connection has been established.
The title bar of the project navigation is now orange.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 35
Create SIMOTION device and configure online communication
5.4 Set up PG/PC interface (3)
Compiling the project and downloading the hardware configuration to the SIMOTION device
Note
Before you continue configuration in the SIMOTION SCOUT TIA, you should download the
hardware configuration in the TIA Portal to the SIMOTION device.
Downloading to the SIMOTION device from the TIA Portal is necessary, for example, if you
want to change the device names of the IP address. Moreover, downloading to the TIA Portal
causes the routing information to be loaded.
Requirement
The online connection with the SIMOTION device is disconnected.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 37
Create SIMOTION device and configure online communication
5.4 Set up PG/PC interface (3)
Procedure
To compile the hardware configuration and download to the SIMOTION device, proceed as
follows:
1. Select the SIMOTION device and select via the shortcut menu Compile > Hardware
(changes only).
2. Select the SIMOTION device and select via the shortcut menu Download to device
> Hardware configuration.
Result
You have compiled the current hardware configuration and loaded it to the target device.
Additional references
For detailed information about the configuration of the online access, refer to the information
system of the TIA Portal "Configuring online access".
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 39
Create SIMOTION device and configure online communication
5.5 Result in the sample project
After you have created the project in the TIA Portal and you have configured the hardware and
communication, start SIMOTION SCOUT TIA to configure the technology.
Procedure
You can start SIMOTION SCOUT TIA in the following ways:
Note
Disconnecting the online connection to the TIA Portal
You should not go online simultaneously in the TIA Portal and SIMOTION SCOUT TIA.
Always disconnect the online connection in the TIA Portal before going online with
SIMOTION SCOUT TIA. You need to do this so that programs can be compiled in SIMOTION
SCOUT TIA.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 41
Start SIMOTION SCOUT TIA
Additional references
You will find detailed information on the individual tabs and settings in the
SIMOTION SCOUT TIA Online Help.
Note
Use the command Save project and compile changes for preference for day-to-day work.
Several variations of the "Save" command are available for selection under the menu title
Project. You can find information on this in the online help under Save and compile.
The compilation run is logged in the detail view of the workbench. Information, warning and
compilation errors are shown there in plain text.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 43
Download the project to the target system
7.3 Connect to selected target devices – Go online
When the command is first called, SIMOTION SCOUT TIA opens the Target Device
Selection dialog box. The dialog enables individual selection of the devices to which
SIMOTION SCOUT TIA is to connect.
Note
For fast working with SCOUT TIA, we recommend only selecting devices that are currently
needed (e.g. deselection of the SINAMICS drives if drive commissioning has been
completed).
You will find the setting in the menu under Target system > Select target devices....
Selection and deselection of the device online can also be
performed via the shortcut menu Connect to target device on the device.
2. In the dialog box, select the configured SIMOTION device PLC_1 and the integrated drive
SINAMICS_Integrated_1.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 45
Download the project to the target system
7.3 Connect to selected target devices – Go online
Note
The properties of the access point S7ONLINE are defined in the TIA Portal. With this access
point, you go online via the interface that you have configured in the TIA Portal.
The DEVICE (STARTER) access point provides the option of connecting
SIMOTION SCOUT TIA either in parallel or alternatively to S7ONLINE, directly to a device,
e.g. via the Ethernet interface. The properties configured in SIMOTION SCOUT TIA are
only applied for the DEVICE access point.
3. Click OK.
SIMOTION SCOUT TIA establishes the online connection.
4. Track the consistency check to completion on the Target system output tab in the detail
area.
Note
If the hardware configuration has not yet been loaded, SIMOTION SCOUT TIA will indicate
on the first attempt to go online that access to the SINAMICS Integrated is not possible.
Access to the SINAMICS Integrated is only possible when the hardware configuration has
been loaded, Compiling the project and downloading the hardware configuration to the
SIMOTION device). Close the message.
In the project tree, the connector symbols on the SIMOTION device and on the integrated
SINAMICS drive change. Only the connector symbol of the SIMOTION device is partially
colored green. Green indicates the existing online connection.
Additional references
You will find detailed information on configuration of the DEVICE access point SIMOTION
SCOUT TIA Configuration Manual.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 47
Download the project to the target system
7.4 Download the project to the target system
Note
A project download is necessary when you have made changes to the configuration and
programming in SIMOTION SCOUT TIA.
Note
Depending on the firmware version on the CF card and on the SINAMICS components
(DRIVE-CLiQ components such as Line Module, Motor Modules, Terminal Modules, etc.),
the firmware of the components is automatically upgraded or downgraded.
Updating can take several minutes and is indicated by the relevant messages in the output
window of the SIMOTION SCOUT TIA.
A firmware update on DRIVE-CLiQ components is signaled by red-green flashing of the
RDY LED:
● Firmware update in progress: RDY LED flashes slowly (0.5 Hz)
● Firmware update ended: RDY LED flashes quickly (2 Hz), POWER ON required
These flashing patterns are displayed additionally via a yellow RDY LED on the
SIMOTION D, indicating that components connected to SIMOTION D are performing a
firmware update or that all components have completed their firmware update.
Components requiring POWER ON following a firmware update signal this by means of the
fast flashing RDY LED. Go offline with SIMOTION SCOUT TIA and switch the 24 V supply
to the relevant components off/on (POWER ON) to initialize.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 49
Download the project to the target system
7.4 Download the project to the target system
indicating that the project data in the PG/PC is identical with the project data in the target
system.
① Green connector symbol: Element is in online mode. The project data in the PG/PC is identical
with the project data saved in the target system.
From this point, you can access the drive online with the PG/PC.
Requirements
● You have downloaded the sample project to the target system, refer to the section
Download the project to the target system (Page 43).
● SIMOTION SCOUT TIA is online with the SIMOTION device and the integrated drive (green
connector symbols).
● The SINAMICS drive components Infeed and Power unit, as well as Motor and Encoder,
are connected to the SIMOTION control unit via DRIVE-CLiQ. This requirement for auto-
configuration was referred to at the start of the Getting Started.
Drive
The speed and current control functions for controlling the motor are implemented in the drive.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 51
Configure the drive
8.2 Automatic configuration of the drive
Note
In the project tree, the element Automatic Configuration is only visible if you have downloaded
the project to the target system and SIMOTION SCOUT TIA is online with the SIMOTION
device. The project must be consistent; see the section Download the project to the target
system (Page 43).
Figure 8-2 Start automatic drive configuration and restore factory settings
3. In the Automatic Commissioning dialog, you can specify whether you are using a drive
object of the type servo or vector.
Select Servo.
4. Click the Create button in the Automatic Commissioning dialog.
Automatic configuring is started.
Note
Firmware update
If the firmware version on the DRIVE-CLiQ components is different to that on the CF card,
a firmware update is now performed automatically.
In this case, proceed as follows:
● Wait for the procedure to finish. This can take several minutes.
● Go offline.
● Switch the power supply to the SIMOTION device off and then on again.
5. If a firmware update has not been performed, remain online to be able to see the changes
in the project tree.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 53
Configure the drive
8.2 Automatic configuration of the drive
6. Open the Infeeds system folder in the project tree under the integrated drive.
– If you are using an infeed with DRIVE-CLiQ interface, the auto configuration has created
the infeed there.
– If you are using an infeed without DRIVE-CLiQ interface, the folder is empty. The infeed
is not known in the project.
The other configuring requirements resulting in this way are dealt with in the next section
Configure the infeed (Page 57).
7. Open the Drives system folder in the project tree under the integrated drive. The folder
contains the drive detected by the auto configuration.
8. Go offline.
Click in the toolbar on the Disconnect from target system button.
In the footer of the workbench, Offline mode is indicated. Network communication between
the PG/PC and the SIMOTION device has been cleared down.
Proceed as follows:
1. Open the context menu of the drive by right-clicking. Select the Rename command there.
2. Assign the new name. Then confirm with OK.
As with all changes carried out in the project offline, the name change makes the project
inconsistent. To restore the consistency between the "Project on the PG/PC" and the "Project
on the SIMOTION device", another project download is necessary. The procedure is described
in the section Download the project to the target system (Page 43).
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 55
Configure the drive
8.3 Result in the sample project
Requirements
● You have configured the integrated drive of the SIMOTION D435‑2 device, see the section
Configure the drive (Page 51).
● SIMOTION SCOUT TIA is in offline mode.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 57
Configure the infeed
9.2 Configuring an infeed without DRIVE‑CLiQ interface
2. Click in the working area on the Configure DDS button with the yellow background.
4. In the Power unit BICO dialog, input field p0864, select the digital input to which the ready
signal of the infeed is wired (e.g. DI 0).
5. Click Next. Run through all the other dialogs without change until the final Summary dialog.
6. Click Finish.
The configuration is thus completed.
7. The configuration dialog of the drive is no longer required. Click Close at the bottom right
of the dialog box.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 59
Configure the infeed
9.2 Configuring an infeed without DRIVE‑CLiQ interface
Requirements
You have configured the integrated drive of the SIMOTION D device, see the section Configure
the drive (Page 51).
Axis wizard
SIMOTION SCOUT provides the axis wizard for creating a new axis. The wizard scans the
basic settings and interconnects the TO axis with a drive.
The wizard can only be run through once. Later changes to the configuration can be entered
in the corresponding dialogs of the TO.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 61
Configure the axis
10.2 Creating an axis
5. Click OK.
The axis configuration wizard appears.
7. Click Next.
The Drive assignment dialog appears.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 63
Configure the axis
10.2 Creating an axis
8. Assign the axis to the drive you have configured in the section Configure the drive
(Page 51).
To do so, click the drive unit in the Assignment partner column. Click in the tree under the
drive object on the drive object you want to interconnect. Assign appears in the
Assignment column. The axis/drive assignment is thus defined.
Click Next.
Note
As an alternative to assigning the axis to an already configured drive, the axis wizard offers
two further selection options:
● Define the axis/drive assignment later:
The axis is to be created and not assigned to a drive until later. Programming and
simulation of the axis are also possible here.
● Create drive:
The drive wizard can can be called up from the axis wizard (offline configuring). The
axis can thus be created in one step along with the drive, and assigned to the drive.
The alternative procedures are not considered further in Getting Started.
Steps
1. Save project and compile changes.
2. Establish online connection if offline.
3. Download the project to the target system.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 65
Configure the axis
10.3 Download the axis configuration to the target system
Requirements
● You have configured the infeed, see the section Configure the infeed (Page 57).
● You have created and fully configured an axis in the sample project, see the section
Configure the axis (Page 61).
● The project with the axis configuration has been downloaded to the target system, see the
section Download the axis configuration to the target system (Page 65).
● SIMOTION SCOUT TIA is in online mode.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 67
Test the axis with the axis control panel
11.2 Working with the axis control panel
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 69
Test the axis with the axis control panel
11.2 Working with the axis control panel
Confirm the Switch axis enable dialog that appears with OK.
The switches Start motion, Stop motion and Jog⑦ are enabled.
5. Homing the axis:
Click the Home axis button.
In the dialog box, select Homing type Set home position, and enter the value 0 under Home
position coordinates.
Confirm the dialog box with OK and start homing the axis.
The axis is traversed while you press the switch. In the fields Velocity and Position⑧, you
can monitor the traverse motion.
The axis test is thus executed.
8. Deactivate axis enable:
Click Set/remove enables⑤.
Confirm the Disable axis dialog with OK.
Note
If you want to traverse the axis again, acknowledge all alarms in the "Alarms" window.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 71
Test the axis with the axis control panel
11.3 Result in the sample project
Requirements
SIMOTION SCOUT TIA is in offline mode.
'LJLWDOLQSXWV
GLJLWDORXWSXWV
3LQ
3LQ
3LQ
3LQ
Figure 12-1 SIMOTION D445-2 DP/PN, position of the digital interface X142
The I/Os of the terminal X142 are permanently assigned to SIMOTION D4x5‑2. The terminal
is thus visible in the project tree under the SIMOTION device.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 73
Configure digital outputs
3. Channels 0 and 1 on pins 3 and 4 are preset at the factory as digital inputs DI 0 and DI 1.
Define the two channels as digital outputs DO 0 and DO 1. Select the value DO in each
case in the Function list field.
Requirements
● You have configured the infeed.
● You have configured an axis and tested its function.
● You have prepared two digital outputs for use in the program.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 75
Programming the SIMOTION application
13.2 Variables
13.2 Variables
Variable types
Several variable types are distinguished in SIMOTION:
● System variables
Each SIMOTION device and technology object has specific system tags. You can access
system tags within the SIMOTION device from all programs.
● I/O variables
An I/O tag is a symbolic tag name that is assigned to an I/O address of the SIMOTION
device or to the I/O. Direct access to the I/O is thus possible.
I/O variables are valid across all devices. All programs of the SIMOTION device have
access to them.
● Global device variables, unit variables, and local variables are user-defined variables with
a limited scope of validity:
All programs of a SIMOTION device can access global device variables.
All programs, function blocks, and functions that are defined within the same unit, e.g. ST
source, MCC source, LAD/FBD source, can access unit variables. It is also possible to
access variables of other units via the keyword USES.
A unit (source) is a logical unit that you can create in your project and that can contain
programs, functions, and function blocks.
Local variables can only be accessed within the program, the function or the function block
in which they are defined.
You can find further information on variables in the online help under Variable model.
Instance
● myFB_LineControl
Note
You can only create global device variables in offline mode.
1. Click the GLOBAL DEVICE VARIABLES element in the project navigator under the
SIMOTION device.
The Global device variables table is displayed in the symbol browser.
2. Click in the Name column on the first free cell and enter the variable name g_bo_start.
Press RETURN or TAB. The input focus jumps to the Data type field. Alternatively, you can
click in the field to move the input focus there.
3. Enter the data type BOOL in the Data type field.
4. Press RETURN to confirm.
The variable is created and is available in the project. A new empty line is opened for input
in the symbol browser.
5. Create the global device variable g_bo_ready accordingly.
The figure below shows the full definition.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 77
Programming the SIMOTION application
13.2 Variables
You create the I/O variables for output at the configured digital outputs as follows
You create the I/O variables q_bo_output0 and q_bo_output1 for the sample project as follows.
The variable declaration encompasses:
● Variable name
● Definition as output variable OUT
● BOOL data type
● Assignment to a digital output
Note
I/O variables can only be created in offline mode.
1. Double-click the element ADDRESS LIST in the project navigator below the SIMOTION
device.
The Address list tab opens in the detail view.
2. Click the first free cell in the Name column. Enter the variable name q_bo_output0.
Press RETURN or TAB. The input focus jumps to the I/O address field. Alternatively, you
can click in the field to move the input focus there.
3. Enter the keyword OUT in the I/O address field.
4. Enter the data type BOOL in the Data type field, or leave the field empty.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 79
Programming the SIMOTION application
13.2 Variables
7. Create the I/O variable q_bo_output1 in the same way. Assign the variable to the configured
digital output DO 1.
The figure below shows the full declaration:
8. Leave the Address list tab open for declaring further I/O variables.
You create the I/O variables for controlling the infeed as follows
If you are using an infeed with DRIVE-CLiQ interface, create also the I/O variables
LineModule_STW and LineModule_ZSW.
Note
I/O variables can only be created in offline mode.
Proceed as for the definition of the I/O variables q_bo_output0 and q_bo_output1.
1. Open the Address list tab in the detail area if not already visible.
2. Create the I/O variable LineModule_STW.
– I/O address: OUT
– Data type: WORD
– Assignment: Control word E_STW1 of the SINAMICS infeed
Figure 13-4 Assigning I/O variable and control word of the infeed
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 81
Programming the SIMOTION application
13.3 Programming
13.3 Programming
Program
Function
Function block
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 83
Programming the SIMOTION application
13.3 Programming
You insert the MCC command blocks between these. The commands are processed in the
direction from the start to the end node.
The MCC commands are available to you via:
● The MCC editor toolbar
● MCC Chart > Paste menu command
● Context menu of the command block
The commands are arranged into command groups. The sample project uses commands from
the command groups Basic commands, Program structures, and Single axis commands.
① Command groups
② Basic commands
③ Program structures
④ Single axis commands
Note
If you do not see the toolbar, check that the display is switched on: Open the menu View >
Toolbars. Activate the checkbox for MCC editor in the Toolbars window.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 85
Programming the SIMOTION application
13.4 Creating an MCC sample program: basic framework
You insert commands into an MCC chart with the help of the MCC editor toolbar as follows
1. Click in the active MCC chart on the connecting line between two commands, or click the
command after which the new command is to be inserted.
The connecting line or the border of the command button is marked in blue. The marking
flashes.
2. Select the command group in the MCC editor toolbar. Click the desired command in the
command group.
The command is inserted into the chart.
The newly inserted command is empty. It must then be parameterized; e.g. for a variable
assignment, the name of the variable and the assigned value must be specified.
The following section Creating an MCC sample program: basic framework (Page 86) describes
the procedure in detail.
13.4.1 Overview
In the sample project, you create the MCC program pos_axis. This program traverses an axis
to a target position and back to the starting position.
If you are using an infeed with a DRIVE-CLiQ interface, the program must switch the infeed
on. Getting Started deals with this additional program sequence separately in the section
Expanding the MCC sample program: control of the infeed (Page 100).
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 87
Programming the SIMOTION application
13.4 Creating an MCC sample program: basic framework
2. Open the Basic commands command group in the MCC editor toolbar. Click the Variable
assignment command in the command group.
The Variable assignment command block is inserted into the MCC chart after the start node.
Figure 13-11 MCC chart with inserted variable assignment command block
3. Assign the value FALSE to the variable g_bo_ready. You transfer the variable name from
the symbol browser to the command block:
– Double-click the Variable assignment command block.
The Variable assignment window appears.
– Select the value Formula in the drop-down list.
A table with the columns Variables and Expression appears.
– Open the symbol browser. To do so, click GLOBAL DEVICE VARIABLES under the
SIMOTION device in the project navigator.
– Select the variable g_bo_ready in the symbol browser. To do so, click in the first column
of the symbol browser on the preceding line number. The line is shown on a black
background.
– Drag and drop the marked line to the Variable column of the Variable assignment
window. The variable is inserted and its name displayed.
– In the Expression column, enter the value false and confirm with RETURN.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 89
Programming the SIMOTION application
13.4 Creating an MCC sample program: basic framework
4. Assign the value true to the variable g_bo_ready in the same way.
Figure 13-16 MCC chart, selection of the variable using the Autocomplete function
– In the Expression column, enter the value true and confirm with RETURN.
3. Click OK to close the window.
The command is parameterized.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 91
Programming the SIMOTION application
13.4 Creating an MCC sample program: basic framework
The Axis enable command block is inserted into the MCC chart after the selected block
and marked in blue.
2. Parameterize the axis enable:
– Double-click the inserted Switch axis enable command block in the MCC chart. The
Switch axis enable window is displayed.
– In the Axis field, select the axis that is controlled by the program.
– Make sure that the Delay program execution option is selected for the sample project.
The command is only finished when the axis is enabled.
Leave the other parameters at the default values.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 93
Programming the SIMOTION application
13.4 Creating an MCC sample program: basic framework
The Home axis command block is inserted into the MCC chart after the selected block
and marked in blue.
2. Parameterize axis homing:
– Double-click the inserted Home axis command block in the MCC chart. The Home
axis window appears.
– In the Axis field, select the axis that is controlled by the program.
– In the Parameters tab, select the homing type Set home position. Enter the value 0 in
the Home position coordinates field.
With this homing type, the value of the home position coordinates are assigned to the
current position of the axis (actual value). There is no active traversing motion.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 95
Programming the SIMOTION application
13.4 Creating an MCC sample program: basic framework
The Position axis command block is inserted into the MCC chart after the selected block
and marked in blue.
2. Parameterize the axis motion:
– Double-click the inserted Position axis command block in the MCC chart. The Position
axis window appears.
– In the Axis field, select the axis that is controlled by the program.
– Enter the position 2000 in the Parameters tab. Set the velocity to 500 mm/s.
Figure 13-23 MCC chart, position the axis to the target position
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 97
Programming the SIMOTION application
13.4 Creating an MCC sample program: basic framework
Figure 13-24 MCC chart, position the axis to the starting position
The Disable axis command block is inserted into the MCC chart after the selected block
and marked in blue.
2. Parameterize the command:
– Double-click the inserted Disable axis command block in the MCC chart. The Disable
axis window is displayed.
– In the Axis field, select the axis that is controlled by the program.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 99
Programming the SIMOTION application
13.5 Expanding the MCC sample program: control of the infeed
The first two blocks before the UNTIL loop reset the operating parameters of the infeed to the
start values. Without this initialization, it may not be possible to switch the infeed on. In addition,
this also acknowledges alarm messages that prevent enabling of the infeed.
The blocks within the UNTIL loop switch the infeed on. The loop repeats the switching
command until the infeed is ready for operation.
Note
To avoid making excessive demands on the performance of RoundRobin execution level
(Background Task, Motion Tasks) in infinite loops, it is better to use a _waitTime(T#0ms) in
the loop for active waiting for an event."
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 101
Programming the SIMOTION application
13.5 Expanding the MCC sample program: control of the infeed
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 103
Programming the SIMOTION application
13.5 Expanding the MCC sample program: control of the infeed
– Set the input variables VAR_INPUT of the instance to the following values. Make use
of the convenience of the autocomplete operator function Ctrl+space bar:
Figure 13-33 MCC chart, system function call and variable assignment
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 105
Programming the SIMOTION application
13.5 Expanding the MCC sample program: control of the infeed
Figure 13-36 MCC chart, mark the UNTIL loop internal area
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 107
Programming the SIMOTION application
13.6 Create additional MCC programs for the sample project
3. Create the MCC chart peripheral_fault within the MCC unit fault.
This program also remains empty.
Figure 13-38 MCC programs technology_fault and peripheral_fault in the MCC unit fault
Additional information
As an alternative to the command Save project and compile changes, you can find the
command Accept and compile in the MCC editor toolbar.
This command compiles the currently selected program as well as all other programs of the
same unit.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 109
Programming the SIMOTION application
13.8 LAD/FBD ladder logic/function block diagram
Program
Function
Function block
– In the working area of the workbench, the declaration table of the unit opens. The
variables declared there apply within the LAD/FBD unit and can be linked in other units.
No other variable declaration is required for the sample project. You have already
created the necessary variables as global device variables in the symbol browser.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 111
Programming the SIMOTION application
13.8 LAD/FBD ladder logic/function block diagram
– The LAD/FBD editor is opened in the working area of the workbench. You can start
programming.
You create the LAD program LAD_1 for the sample project as follows.
1. Open the LAD/FBD program if it is not already visible in the working area of the workbench.
For this purpose, double-click the LAD/FBD program under the LAD/FBD unit in the
PROGRAMS folder of the project navigator.
In the sample program, the empty LAD/FBD program LAD_1 is already open.
Figure 13-42 Empty LAD program following first-time creation in the LAD/FBD unit
2. Insert a network:
– Click Insert network in the LAD/FBD toolbar.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 113
Programming the SIMOTION application
13.8 LAD/FBD ladder logic/function block diagram
4. Assign the g_bo_start variable to the NO contact and the q_bo_output0 variable to the coil:
– Click above the symbols for NO contact and coil on ???.
Figure 13-44 LAD program, opened field for entering the variable name
– Transfer the variable names from the symbol browser or the ADDRESS LIST by
dragging and dropping. Or use the Autocomplete function. Use RETURN to confirm
each entry.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 115
Programming the SIMOTION application
13.8 LAD/FBD ladder logic/function block diagram
Additional information
As an alternative to the command Save project and compile changes, you can find the
command Accept and compile in the LAD/FBD toolbar.
This command compiles the currently selected program as well as all other programs of the
same unit.
However, the command does not save the changes.
You thus have the option of accepting changes to a program into the project without having to
save or compile the entire project again.
● Libraries
Libraries allow modular software development and provide you with user-defined data
types, functions, and function blocks that you can use from all SIMOTION devices.
Libraries can be written in all programming languages and used in all program sources (e.g.
ST units, MCC units).
All programming languages enable you to structure the application using programs, functions
and function blocks so that the application is manageable and re-usable.
To test the programs, there are comprehensive test functions available to you with program
status and breakpoints in all languages. You can visualize and test your programs online.
For further information on programming languages, please refer to the respective manuals.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 117
Programming the SIMOTION application
13.10 Result in the sample project
Requirements
You have created the programs pos_axis, technology_fault, peripheral_fault, and LAD_1 for
the sample project, see the section Programming the SIMOTION application (Page 75).
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 119
Configure execution system
14.2 Assign programs to tasks
Figure 14-1 Execution system, tree view of the execution levels and tasks
The MotionTasks window appears on the right of the working area. The programs
pos_axis and LAD_1 as well as auxiliary programs of the fault unit are visible on the
Program assignment tab under Programs.
– Select the MCC program motion.pos_axis and click the >> button. The program is
displayed under Programs used. It is thus assigned to the task MotionTask_1.
The assignment is visible in the tree of the execution system. The program
motion.pos_axis appears below the branch MotionTask_1.
– Activate the checkbox Activation after StartupTask in the Task configuration tab. This
executes the MCC program immediately after the SIMOTION device is started. If this
checkbox is not activated, the program must be started explicitly by the call from another
program that is assigned to the StartupTask or another active task.
3. Assign the LAD program bg_out.kop_1 to the task BackgroundTask:
– In the tree of the execution system, select the branch ExecutionLevels >
OperationLevels > BackgroundTask. Assign the LAD program bg_out.kop_1 to this task.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 121
Configure execution system
14.3 Download the configured execution system to the target system
Steps
1. Save project and compile changes
2. Establish the online connection
3. Download the project to the target system
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 123
Configure execution system
14.4 Result in the sample project
Requirements
● You have created the programs pos_axis, technology_fault, peripheral_fault and LAD_1 for
the sample project, and you have assigned them to the tasks of the SIMOTION execution
system, see the sections Programming the SIMOTION application (Page 75) and Configure
execution system (Page 119).
● The project has been compiled and downloaded to the target system, see the section
Download the configured execution system to the target system (Page 122).
● SIMOTION SCOUT TIA is in online mode.
Operating modes
In the SIMOTION SCOUT TIA dialog Control Operating Mode, you can switch a SIMOTION
CPU to the RUN or STOP mode.
RUN mode
SIMOTION executes the user program and the associated system services:
● Read process image input
● Execution of the user programs assigned to the execution system
● Write process image output
The technology packages are active in this state. They can execute commands from the user
program.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 125
Starting and stopping the system
15.3 Mode selector switch on the software side and the hardware side
STOP mode
SIMOTION does not process any user program.
● It is possible to load a complete user program.
● All system services (communication, etc.) are active.
● The I/O modules are in a secure state. (that is, for example, the digital outputs are at "LOW
level" and the analog outputs are de-energized)
● The technology packages are inactive, that is, all enables are deleted. No axis motions can
be executed.
You can find the full description of the operating states in the online help under SIMOTION
device: Operating mode.
15.3 Mode selector switch on the software side and the hardware side
The dialog lists all configured CPUs. The State column shows the current operating mode.
The assigned switches in the Control column switch the CPU to the RUN or STOP mode. The
switches are deactivated when the CPU is in offline mode.
Figure 15-2 Mode selector switch of the SIMOTION D435‑2, switch position 0 (RUN)
You can find detailed information on the mode selector switch of the SIMOTION D4x5-2
devices in the Manuals and Commissioning Manuals, as well as in the online help.
You start the axis control of the sample project on the SIMOTION device as follows
WARNING
Danger to life through unexpected machine movement
Make sure this presents no hazard to personnel or property.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 127
Starting and stopping the system
15.4 Start program control of the sample project
1. Open the Control Operating Mode dialog. To do so, click Control Operating Mode in the
toolbar.
2. Switch the SIMOTION CPU of the sample project to the RUN mode. To do so, click the
assigned RUN switch in the Control column of the Control Operating Mode dialog.
The axis starts to rotate immediately. The axis returns to a standstill after approximately 8
seconds.
The SIMOTION device remains in RUN mode after execution of the pos_axis program.
3. Switch the SIMOTION device to STOP mode. To do so, click the assigned STOP switch in
the Control column.
Note
If you want to traverse the axis again, acknowledge all alarms in the "Alarms" window.
Requirements
● You have created the programs pos_axis, technology_fault, peripheral_fault and LAD_1 for
the sample project, and you have assigned them to the tasks of the SIMOTION execution
system, see the section Configure execution system (Page 119).
● The project has been compiled and downloaded to the target system, see the section
Download the configured execution system to the target system (Page 122).
● SIMOTION SCOUT TIA is in online mode.
● Operating mode of the SIMOTION device:
– The SIMOTION device of the sample project has been switched to the STOP mode on
the software side. The SIMOTION SCOUT TIA mode selector switch, Control Operating
Mode dialog, shows the STOP mode.
– The SIMOTION device of the sample project has been switched to the RUN mode on
the hardware side. The mode selector switch on the SIMOTION device is at position 0
(RUN).
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 129
Monitor the application
16.2 Monitoring program execution
You monitor the execution of the commands in the MCC chart pos_axis as follows
1. Open the Control Operating Mode dialog.
4. Start program control: Switch the SIMOTION device to the RUN mode in the Control
Operating Mode dialog box.
The pos_axis program is run through once. The currently executed command block is
shown against a yellow background.
Figure 16-1 Monitor the program execution of the MCC chart pos_axis
5. Switch the SIMOTION device to STOP mode in the Control Operating State dialog box.
Further information
You can find further information on program monitoring in the online help under Monitoring
program execution.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 131
Monitor the application
16.4 Recording signals with the trace
16.4.1 Trace
You can use the trace to record and save signal characteristics and variable values. The
recorded data can be used, for example, for diagnostics purposes in machine motion
sequences, and for troubleshooting in user programs.
For the sample program, you record the actual position of the axis over time and represent it
in the diagram.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 133
Monitor the application
16.4 Recording signals with the trace
3. In the tree, select the branch Sample_1 > (SIMOTION device, e.g. D435) > TO > Axis_1 >
positioningstate.
4. Select the system variable actualPosition in the variable table.
5. Click the button 1 to accept the system variable for channel 1.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 135
Monitor the application
16.4 Recording signals with the trace
– Then immediately switch the SIMOTION device to the RUN mode in the Control
Operating Mode dialog box.
The program is started. The actual position of the axis is recorded and represented in the
time diagram. After expiry of the recording duration, the signal profile of the actual position
is displayed.
6. If the recorded curve is only partially displayed, select the menu item Auto-scaling in the
context menu of the time diagram.
7. Switch the SIMOTION device to the STOP mode in the Control Operating Mode dialog.
You can save and re-open recorded measurements for documentation purposes.
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 137
Monitor the application
16.5 Result in the sample project
NOTICE
Damage caused by electric fields or electrostatic discharge
Electric fields or electrostatic discharge can result in malfunctions as a result of damaged
individual parts, integrated circuits, modules or devices.
● Only pack, store, transport and send electronic components, modules or devices in their
original packaging or in other suitable materials, e.g conductive foam rubber or aluminum
foil.
● Only touch components, modules and devices if you are first grounded by applying one
of the following measures:
– Wearing an ESD wrist strap
– Wearing ESD shoes or ESD grounding straps in ESD areas with conductive flooring
● Only place electronic components, modules or devices on conductive surfaces (table with
ESD surface, conductive ESD foam, ESD packaging, ESD transport container).
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 139
ESD directives
A.3 Basic measures for protection against discharge of static electricity
9ROWDJHLQN9
N9 6\QWKHWLFPDWHULDO
:RRO
$QWLVWDWLFPDWHULDOHJZRRGRUFRQFUHWH
5HODWLYHDLUKXPLGLW\LQ
Siemens Hardware
Getting Started with SIMOTION SCOUT TIA
Getting Started, 11/2016 141
Index
I S
I/O channels of the terminal X142, 73 Safety notes, 19
Infeed, 57 Sample project
Getting started with SIMOTION SCOUT
TIA";"Example project, configuration steps, 14
L Requirements, 14
Save and compile the project, 43
LAD, 110
Save project and compile changes, 109
Settings
SIMOTION SCOUT TIA, 41
M SIMOTION D, 27
MCC, 82 SIMOTION SCOUT TIA
Disable axis, 99 Settings, 41
Handling system events, 108 Start, 41
Home axis, 94 SIMOTION SCOUT TIA online help, 16
Position the axis to the starting position, 97 Switch axis enable, 92
Position the axis to the target position, 95 Symbol browser, 77
Switch axis enable, 92
MCC editor toolbar, 84
Mode selector switch T
in the SIMOTION SCOUT TIA, 126
Target device selection, 45
SIMOTION hardware, 127
Tasks, 119
Motion Control Chart, 82
technology_fault, 109
Trace, 132
O
Online U
Connecting, 31
Unit
Online & diagnostics, 31
LAD/FBD, 111
Online access, 31
MCC, 83
Operating mode, 125
Utilities & Applications, 18
P V
peripheral_fault, 109
Variable assignment
PG/PC interface
g_bo_ready:=false, 87
setting, 31
g_bo_ready:=true, 100
Programming language
g_bo_start:=false, 100
FBD, 110
g_bo_start:=true, 87, 90
LAD, 110
LineModule_STW:=myFB_LineControl.periOut,
MCC, 82
105
ST, 117
Variable types, 76
Project download, 49
X
R
X142, 73
References, 3