Download Print this page

Siemens SIMOTION Function Manual

Motion control, output cams and measuring inputs
Hide thumbs Also See for SIMOTION:

Advertisement

SIMOTION
Motion control
Function Manual
Valid as of Version 4.4
04/2014
Fundamental safety
instructions
Output Cam TO - Part I
Cam Track TO - Part II
1
2
3
4
5

Advertisement

loading

Summary of Contents for Siemens SIMOTION

  • Page 1 Preface Fundamental safety instructions Output Cam TO - Part I SIMOTION Cam Track TO - Part II Motion control Output Cams and Measuring Inputs Measuring Input TO - Part III Function Manual Valid as of Version 4.4 04/2014...
  • 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: Table Of Contents

    Output cam configuration......................38 3.3.5 Defining output cam defaults.......................43 3.3.6 Determining derivative-action times for output cams (dead time compensation)......45 3.3.7 Configuring cams on SIMOTION D4xx onboard.................47 3.3.8 Configuring output cams on SIMOTION D410-2.................50 3.3.9 Configuring cams on SIMOTION D4x5-2 onboard..............52 3.3.10 Configuring an output cam on a TM15/TM17 High Feature............53...
  • Page 4: Table Of Contents

    Table of contents Programming/references of Output Cam TO................56 3.4.1 Programming..........................56 3.4.2 Commands..........................57 3.4.3 Process Alarms...........................58 3.4.4 Output Cam TO menus.......................59 3.4.4.1 Output cam menu........................59 3.4.4.2 Output cam context menu......................59 Cam Track TO - Part II..........................61 Overview of TO Cam Track......................61 4.1.1 General information about Cam Track TO..................61 4.1.2...
  • Page 5: Table Of Contents

    Defining cam track defaults.......................105 4.3.5.1 Track data..........................105 4.3.5.2 Output cam data........................108 4.3.6 Configuring cam tracks on SIMOTION D4xx onboard..............109 4.3.7 Configuring cam track on the SIMOTION D410-2..............111 4.3.8 Configuring cam tracks on SIMOTION D4x5-2 onboard............113 4.3.9 Configuring cam tracks on a TM15/TM17 High Feature............114 4.3.10...
  • Page 6: Table Of Contents

    Table of contents 5.3.4.2 Time stamp correction value.....................159 5.3.5 Measuring input defaults......................160 5.3.6 Local measuring........................163 5.3.6.1 Local measuring on C230-2, C240 (not C240 PN)..............163 5.3.6.2 Local measurement on D4xx, D410-2, D4x5-2 (X122/X132), CX32, CX32-2, CU310, CU310-2, CU320 and CU320-2....................163 5.3.6.3 Local measuring on other drives (MASTERDRIVES MC, SIMODRIVE 611U, etc.)....163 5.3.7 Global measuring........................164...
  • Page 7: Preface

    This document is part of the System and Function Descriptions documentation package. Scope This manual applies to SIMOTION SCOUT in connection with the SIMOTION Cam, Path or Cam_ext technology package for product version V4.4. Chapters in this manual This manual provides information about the functions, operation, command execution, and technology alarms of the technology objects.
  • Page 8: Simotion Documentation

    Preface 1.1 SIMOTION Documentation 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. It comprises ten documentation packages.
  • Page 9: Hotline And Internet Addresses

    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 11: General Safety Instructions

    Fundamental safety instructions General safety instructions WARNING Risk of death if the safety instructions and remaining risks are not carefully observed If the safety instructions and residual risks are not observed in the associated hardware documentation, accidents involving severe injuries or death can occur. ●...
  • Page 12: Industrial Security

    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 13: Overview Of Output Cam To

    Output Cam TO - Part I Overview of Output Cam TO 3.1.1 General information about the Output Cam TO The Output Cam technology object ● Generates position-dependent switching signals ● Can be assigned to positioning axes, synchronous axes, path axes or external encoders ●...
  • Page 14: Functionality

    Output Cam TO - Part I 3.1 Overview of Output Cam TO A range of output cam types with different switching behaviors are available. ● Position-based cam The switching signal is supplied between the switch-on position and the switch-off position. ●...
  • Page 15 Output can be achieved via: ● Onboard I/O ● Drive I/O (e.g. TB30, TM31, TM1x) ● SIMOTION C centralized I/O ● Distributed I/O; PROFIBUS DP I/O (e.g. ET 200M) However, the output must not be in the process image. The switching accuracy is dependent on the following: ●...
  • Page 16: Comparison Of Output Cam To And Cam Track To

    Output Cam TO - Part I 3.1 Overview of Output Cam TO Figure 3-2 Example of an electronic cam control See also Logical operation (Page 34) 3.1.3 Comparison of Output Cam TO and Cam Track TO Depending on the application, it may be practical to use either the Cam Track TO or one or more Output Cam TOs.
  • Page 17 Output Cam TO - Part I 3.1 Overview of Output Cam TO Features Output Cam TO Cam Track TO Different types of output cam ● Via AND/OR ● Not available on one output Output cam definition ● Related to axis ●...
  • Page 18: Output Cam To Basics

    Switching signals are output externally on I/O devices by assigning a digital output to the Output Cam TO. The following can be used as digital outputs: ● Onboard outputs (SIMOTION C, D, ...) ● Centralized I/O (SIMOTION C) ● Distributed I/Os via PROFIBUS DP (e.g. ET 200M) and PROFINET IO (e.g. ET 200S) ●...
  • Page 19: Position-Based Cam

    Output Cam TO - Part I 3.2 Output cam TO basics For more information, see cam output types. (Page 22) 3.2.1.3 Position-based cam Direction-neutral switching Figure 3-3 Position-controlled output cam with start position less than end position Limits imposed by start and end positions The output cam is activated: ●...
  • Page 20: Time-Based Output Cam

    Output Cam TO - Part I 3.2 Output cam TO basics Note This definition of the switch-on area is possible for all modulo and non-modulo axes. ON duration The ON duration of the output cam depends on the velocity at which the axis traverses the output cam length.
  • Page 21: Unidirectional Output Cam

    Output Cam TO - Part I 3.2 Output cam TO basics Output cam length The output cam length is dependent on the velocity at which the assigned axis traverses during ON duration of the output cam. Direction-dependent switching The output cam is switched on: ●...
  • Page 22: Counter Cam

    For the possible setting of Servo_fast or IPO_fast, see Chapter Second servo cycle clock (Servo_fast) in the SIMOTION Runtime Basic Functions manual. The temporal resolution of the cam output depends on the hardware used and the setting in the configuration.
  • Page 23 Output Cam TO - Part I 3.2 Output cam TO basics Figure 3-8 Output cam configuration using the example of a position-based cam Output Cams and Measuring Inputs Function Manual, 04/2014...
  • Page 24 (CAM) from the user program. As of the editorial deadline of this documentation, the output cam resolution for D410-2 was not yet certain. The information can be found at the following website Additional information about the SIMOTION D manuals (http://support.automation.siemens.com/WW/view/en/ 27585482).
  • Page 25 TM17 High Feature Terminal Modules Commissioning Manual.) High-speed digital output (DO) The cam output is performed via onboard outputs of the SIMOTION CPU. The output is via a hardware timer and the cam output is achieved with a resolution with respect to time < servo cycle clock.
  • Page 26 Output Cam TO - Part I 3.2 Output cam TO basics ● Up to and including SIMOTION V4.1 SP5, all D410/D4x5 onboard I/Os configured as digital outputs are exclusively available to SIMOTION ● As of SIMOTION V4.2, D410/D4x5 onboard I/Os configured as digital outputs can be...
  • Page 27 SIMOTION D4x5-2 Commissioning and Hardware Installation Manual See also Configuring cams on SIMOTION D4xx onboard (Page 47) 3.2.1.8 Exact time setting of an output, exact time output cams (as of V4.1) You can switch a high-speed output cam On/Off at an exact time within an execution cycle (position control, IPO cycle) via the timeOffset parameter of the _setOutputCamState system function.
  • Page 28 Output Cam TO - Part I 3.2 Output cam TO basics ● If multiple activation or deactivation signal edges are output within one cycle, the most recently written values apply. ● The start of the output cycle is shifted with respect to the beginning of the processing cycle by the value output in the tOutput system variable and the specified timeOffset.
  • Page 29: Cam Parameters

    Output Cam TO - Part I 3.2 Output cam TO basics 3.2.2 Cam parameters 3.2.2.1 Reaction, effective direction Behavior The following diagram shows output cam behavior when switching on and off, without hysteresis, activation, or deactivation time. Figure 3-12 Output cam behavior when switching on/off The switching action depends on the position only (position setpoint or actual position).
  • Page 30: Hysteresis

    Output Cam TO - Part I 3.2 Output cam TO basics Figure 3-13 Positive effective direction and output cam switching behavior 3.2.2.2 Hysteresis If the actual position value tends to fluctuate due to mechanical influences, specification of a hysteresis prevents the output cam from unintended switch status changes. Figure 3-14 Hysteresis Hysteresis range conditions...
  • Page 31 Output Cam TO - Part I 3.2 Output cam TO basics ● Within the hysteresis, the switching state of position-based cams is not changed. ● If modified switching conditions for the output cam are detected when the output cam is outside the hysteresis range, this current switching state is set.
  • Page 32: Derivative-Action Times (Activation/Deactivation Time)

    Output Cam TO - Part I 3.2 Output cam TO basics Figure 3-16 Hysteresis range (height of blue sections) and behavior of a time-based cam, positive effective direction Time-based cam switches off only after ON duration has expired, not after change of direction. Time-based cam with a start position within the hysteresis range is not output (see figure above).
  • Page 33 Output Cam TO - Part I 3.2 Output cam TO basics The activation/deactivation times of the TO outputCam are dynamically compensated by means of the derivative-action times. In this way, output cams are dynamically shifted depending on the actual velocity. For example, a valve that should open at 200°, with an activation time of 0.5 s ●...
  • Page 34: Logical Operation

    Output Cam TO - Part I 3.2 Output cam TO basics The dynamic actuation of modulo axes can be greater than one modulo length. However, the number of switching operations is not collected by the system, i.e. for actuation times longer than one modulo length, a switching operation cannot take place in each modulo cycle.
  • Page 35: Simulation

    Output Cam TO - Part I 3.2 Output cam TO basics Figure 3-18 OR operation of two output cams Note If hardware output cams are configured, you can configure an I/O variable in the symbol browser for monitoring. See also Output cam configuration (Page 38) 3.2.2.5 Simulation...
  • Page 36 Output Cam TO - Part I 3.2 Output cam TO basics 1. In the project navigator, open the Configuration under the TO. 2. Select the Units tab. You can set the following parameters: Field/button Meaning/instruction Table with units Physical variable column Shows the physical variable.
  • Page 37: Configuring The Output Cam Technology Object

    System variables provide status data of the TO for the user program and a parameterization interface on the TO. System variables can be changed during runtime. Note SIMOTION Runtime Basic You will find more information on technology objects in the Functions functional description .
  • Page 38: Using The Expert List For Output Cams

    Output Cam technology object directly in screen forms or are defined automatically. It may be necessary to change automatically defined parameters for special SIMOTION applications. These configuration data and system variables can only be displayed and changed in the expert list.
  • Page 39 Output Cam TO - Part I 3.3 Configuring the Output Cam technology object Figure 3-19 Output cam configuration using the example of a position-based cam Output Cams and Measuring Inputs Function Manual, 04/2014...
  • Page 40 Output Cam TO - Part I 3.3 Configuring the Output Cam technology object Figure 3-20 Assignment dialog You can set the following parameters: Table 3-5 Output cam configuration data Field/button Meaning/information Name The name of the created output cam is displayed here. Output cam type Choose Output cam type to select the type of output cam.
  • Page 41 ● Output cam in servo cycles and axis in IPO or IPO_2 cycles For the possible setting of IPO_fast and Servo_fast with D435-2, D445-2 and D455-2, see Section Second servo cycle clock (Servo_fast) in the SIMOTION Runtime Basic Functions Manual.
  • Page 42 If the output checkbox is activated and the "High-speed digital output (DO)" radio button selected, output (DO) the output cam is output via onboard outputs of the SIMOTION CPU. The output is via a hardware timer and the cam output is achieved with a resolution with respect to time < servo cycle clock.
  • Page 43: Defining Output Cam Defaults

    For more details, see cam output types. (Page 22) Button for opening the assignment dialog (see Section Symbolic assignment (as of V4.2) in the SIMOTION Runtime Basic Functions Manual). Select a parameter or an address in the assignment dialog. Displays whether offline data or online data is shown ●...
  • Page 44 Output Cam TO - Part I 3.3 Configuring the Output Cam technology object Figure 3-21 Output cam defaults, position-based cam example You can set the following parameters: Table 3-6 Defining output cam defaults Field/Button Significance/Note Output cam type Output cam type displays the type of output cam selected in the Configuration window. Activation time Enter the activation time here.
  • Page 45: Determining Derivative-Action Times For Output Cams (Dead Time Compensation)

    Output Cam TO - Part I 3.3 Configuring the Output Cam technology object Field/Button Significance/Note Start position Enter the start position of the output cam. For path-controlled output cams this is the left switching position. See also the Output cam types section. End position Enter the end position of the output cam.
  • Page 46 Output Cam TO - Part I 3.3 Configuring the Output Cam technology object Example Lines of glue are to be applied to a product at a defined position and with a fixed length. The glue output is controlled by an output cam or a cam track. The glue is output from the start of output cam (switch-on point) to the end of output cam (switch-off point).
  • Page 47: Configuring Cams On Simotion D4Xx Onboard

    Output cams and cam tracks can be configured for standard outputs, or as high-speed, hardware-based output cams / cam tracks. Cams can be configured on SIMOTION D4xx onboard as follows: 1. In the project navigator, switch to the Control Unit via SINAMICS_Integrated > Control_Unit.
  • Page 48 DO 8 is configured as an output in the diagram. For the output, select the DO (SIMOTION) setting. Note Mixed use of the SIMOTION D4xx DI/O as high-speed outputs (of output cams) and inputs of measuring inputs is possible. Figure 3-23 SIMOTION D4xx digital inputs/outputs 5.
  • Page 49 Output Cam TO - Part I 3.3 Configuring the Output Cam technology object 3. Select SIEMENS telegram 390, 391 or 392 as telegram type. A maximum of eight output cams can be configured for each telegram. The number of DI/DO is limited to eight, i.e.
  • Page 50: Configuring Output Cams On Simotion D410-2

    In the case of versions earlier than V4.2, when using 39x telegrams, the onboard D4x5 outputs are to be assigned exclusively to SIMOTION. During a consistency check in SIMOTION SCOUT, no check is made as to whether the entered HW address actually belongs to a high-speed digital output (DO).
  • Page 51 (CAM) radio button. 10.Assignment of an output to an output cam/cam track is supported as of V4.2 either by symbolic assignment (see Chapter Symbolic Assignment (as of V4.2) in the SIMOTION Runtime Basic Functions manual) or by entering the hardware address.
  • Page 52: Configuring Cams On Simotion D4X5-2 Onboard

    3.3.9 Configuring cams on SIMOTION D4x5-2 onboard With SIMOTION D4x5-2 the outputs on the interface X142 are used for cam output 1. The Inputs/outputs X142 entry in the project navigator can be used to open the configuration screen in HW Config.
  • Page 53: Configuring An Output Cam On A Tm15/Tm17 High Feature

    If you do not use symbolic assignment (see Chapter Symbolic Assignment (as of V4.2) in the SIMOTION Runtime Basic Functions manual), you must note the offset (e.g. 3.1). 3. Insert a new output cam or a new cam track or use an existing one.
  • Page 54 Set up addresses. If question marks are entered in the fields instead of I/O addresses, either alignment has not yet taken place, or the address is not recognized by SIMOTION SCOUT. In this case, you must perform an alignment.
  • Page 55: Configuring Cams On Simotion C240

    (see Chapter Symbolic Assignment (as of V4.2) in the SIMOTION Runtime Basic Functions manual) or by entering the hardware address. During a consistency check in SIMOTION SCOUT, no check is made as to whether the entered HW address actually belongs to a high-speed digital output (DO).
  • Page 56: Programming/References Of Output Cam To

    Output Cam TO - Part I 3.4 Programming/references of Output Cam TO Programming/references of Output Cam TO 3.4.1 Programming Figure 3-28 Programming and execution model for Output Cam technology object *1 The following commands are effective in the TO states can be activated and active: ●...
  • Page 57: Commands

    Output Cam TO - Part I 3.4 Programming/references of Output Cam TO 3.4.2 Commands The Output Cam technology object can be addressed in the user program using the following commands: Table 3-8 Output Cam TO system functions Commands Description Application _enableOutputCam Activate output cam Output cam analysis is activated.
  • Page 58: Process Alarms

    For more information, refer to the functional description. How to configure the alarm response: 1. Double-click Execution system in the project navigator below the SIMOTION device. The execution system opens. 2. In the execution level tree, select SystemInterruptTasks > TechnologicalFaultTask.
  • Page 59: Output Cam To Menus

    Output Cam TO - Part I 3.4 Programming/references of Output Cam TO Table 3-9 Possible alarm responses Alarm Response Description Application NONE No response DECODE_STOP Command processing is aborted, the output cam The Output Cam TO can only be function remains active. Execution on the technology reactivated after the error has been object can continue after _resetOutputCam or acknowledged.
  • Page 60 Import object Import object imports the data of a SIMOTION object from another project which was previously created with a selective XML export. You cannot import the entire project, only the data of the SIMOTION object.
  • Page 61: Overview Of To Cam Track

    Cam Track TO - Part II Overview of TO Cam Track 4.1.1 General information about Cam Track TO Cam tracks allow several output cams to be output as a track on one output. The Cam Track technology object ● Generates position-dependent switching signals ●...
  • Page 62 Cam Track TO - Part II 4.1 Overview of TO Cam Track ● Position-based cam The switching signal is supplied between the switch-on position and the switch-off position. ● Time-based cam The switching signal is supplied for a specified time period after the switch-on position is reached.
  • Page 63 The cam track TO is assigned to one output only during configuration. Output can be achieved via: ● Onboard I/O ● Drive I/O (for example TB30, TM31, TM1x) ● SIMOTION C centralized I/O ● Distributed I/O; PROFIBUS DP I/O (e.g. ET 200M) Output Cams and Measuring Inputs Function Manual, 04/2014...
  • Page 64 Cam Track TO - Part II 4.1 Overview of TO Cam Track However, the output must not be in the process image. The switching accuracy is dependent on the following: ● Output accuracy of the I/O ● How the cam track is allocated in the task system ●...
  • Page 65 Cam Track TO - Part II 4.1 Overview of TO Cam Track Features Output Cam TO Cam Track TO Performance ● Depends on number of single output ● When 5 or more output cams are cams used in one output cam track instead of 5 single output cams, the output cam track performs better.
  • Page 66: To Cam Track Basics

    Cam Track TO - Part II 4.2 TO Cam Track basics TO Cam Track basics 4.2.1 Cam track features A cam track has parameters that are valid for the track as a whole, and parameters that can be configured for each single output cam on a track. Track data Track data is valid for all output cams on a track and is, therefore, configured for the cam track as a whole.
  • Page 67: Output Cam Types Of The Single Output Cams On A Track

    Cam Track TO - Part II 4.2 TO Cam Track basics Example of a cam track definition Figure 4-2 Definition of a cam track with 3 output cams 4.2.2 Output cam types of the single output cams on a track The following chapter provides an overview of the output cam types within a cam track.
  • Page 68 Cam Track TO - Part II 4.2 TO Cam Track basics ● Onboard outputs (SIMOTION C, D, ...) ● Centralized I/O (SIMOTION C) ● Distributed I/Os via PROFIBUS DP (e.g. ET 200M) and PROFINET IO (e.g. ET 200S) ● Drive I/O (for example, TM15 and TM17 High Feature terminal modules)
  • Page 69 Cam Track TO - Part II 4.2 TO Cam Track basics ● if the axis position is within the activation range ● if the axis position value is shifted into the activation range of the output cam The position value of the interconnected object can change abruptly, for example, when it is homed or when its coordinate system is shifted with the _redefinePosition command.
  • Page 70: Time-Based Cam With Maximum On Length

    Cam Track TO - Part II 4.2 TO Cam Track basics Figure 4-5 Time-controlled output cam Limits imposed by starting position and ON duration The output cam is switched on: ● At the starting position. If the starting position is overrun again during the ON duration, the time-based cam is not switched on again.
  • Page 71: Cam Output Types

    For the possible setting of Servo_fast or IPO_fast, see Chapter Second servo cycle clock (Servo_fast) in the SIMOTION Runtime Basic Functions manual. The temporal resolution of the cam output depends on the hardware used and the setting in the configuration.
  • Page 72 Cam Track TO - Part II 4.2 TO Cam Track basics Figure 4-7 Output cam configuration using the example of a position-based cam Output Cams and Measuring Inputs Function Manual, 04/2014...
  • Page 73 In the case of D4x5-2 and the TM17 High Feature, the resolution is 1 µs. Hardware supported ● SIMOTION D410-2 ● SIMOTION D4x5-2 (X142) ● TM15, TM17 High Feature The I/O channel must be configured as CAM. SIMOTION D410-2 The digital inputs/outputs are used for the cam output in the D410-2.
  • Page 74 TM17 High Feature Terminal Modules Commissioning Manual.) High-speed digital output (DO) The cam output is performed via onboard outputs of the SIMOTION CPU. The output is via a hardware timer and the cam output is achieved with a resolution with respect to time < servo cycle clock.
  • Page 75 Cam Track TO - Part II 4.2 TO Cam Track basics ● Up to and including SIMOTION V4.1 SP5, all D410/D4x5 onboard I/Os configured as digital outputs are exclusively available to SIMOTION ● As of SIMOTION V4.2, D410/D4x5 onboard I/Os configured as digital outputs can be...
  • Page 76: Cam Track Parameters

    Further information and the output accuracy for high-speed output cams is described in the PM21 Catalog and in the respective product brief or commissioning/equipment manuals. Terminal Modules TM15/TM17 High Feature Commissioning Manual SIMOTION C2xx Operating Instructions SIMOTION D410 Commissioning Manual...
  • Page 77 Cam Track TO - Part II 4.2 TO Cam Track basics a positive and negative effective direction. A position-based cam can be output repeatedly on changing the direction of movement. Time-based cams are output once only. 4.2.3.3 Hysteresis If the actual position value tends to fluctuate due to mechanical influences, specification of a hysteresis prevents the output cam from unintended switch status changes.
  • Page 78 Cam Track TO - Part II 4.2 TO Cam Track basics Switching state of output cam Actual position of axis START Hysteresis Figure 4-11 Hysteresis range (height of blue sections) and behavior of a cam track with a position-based cam, effective direction in both directions.
  • Page 79: Derivative-Action Times (Activation Time/Deactivation Time)

    Cam Track TO - Part II 4.2 TO Cam Track basics Time-based cams with a start position within the hysteresis range are not output (see figure above). Hysteresis range The upper limit of the hysteresis range is set at 25% of the working range for a linear axis, and 25 % of the rotary axis range for a rotary axis.
  • Page 80 Cam Track TO - Part II 4.2 TO Cam Track basics Figure 4-13 Switching behavior at varying actuation times Note The time of output for the output cam in the controller is relevant for calculation of the dynamic adjustment. If velocity changes up to signal output, these changes are no longer taken into account.
  • Page 81: Cam Track Activation

    Cam Track TO - Part II 4.2 TO Cam Track basics ● Changing the Servo/IPO/IPO_2 cycle clock settings (for example, from "1/1/1 ms" to "2/2/2 ms"). ● Change of processing cycle clock of the cam track TO (setting: Servo cycle clock, IPO cycle clock or IPO_2 cycle clock).
  • Page 82 Cam Track TO - Part II 4.2 TO Cam Track basics You can parameterize the deactivation time for the _disableCamTrack command (see Section Start mode and stop mode). 4.2.3.7 Leave cam track active in the axis range (as of V4.1) Non-cyclic activated cam tracks are deactivated per default when the cam track length is exited.
  • Page 83: Start Mode And Stop Mode

    Cam Track TO - Part II 4.2 TO Cam Track basics 4.2.3.8 Start mode and stop mode Start mode and stop mode are used to parameterize behavior on activation or deactivation of a track. Start mode The start mode (startMode) is used to define when the cam track should become effective after activation, or how tracks should be changed.
  • Page 84 Cam Track TO - Part II 4.2 TO Cam Track basics Table 4-5 Start mode examples Mode Description Display on cam track output One cam track with different data is given. ● Cam track 1 (A to C) active cam track. ●...
  • Page 85: Output Activation Mode

    Cam Track TO - Part II 4.2 TO Cam Track basics Stop mode Description At end of cam track Track is deactivated at its end. Immediately the final output cam on the track switches, the track is deactivated. Up to that point, a time-based cam on the track is output. (BY_CAM_TRACK_END) Last programmed value The last programmed start mode is active.
  • Page 86: Configure Units

    Cam Track TO - Part II 4.2 TO Cam Track basics position on the axis the cam track should be output. The axis reference position value can be negative or positive. The cam track is always output relative to this position data. The axis reference position enables you to offset the cam track on the axis as you wish, and therefore to define when the output should take place (see figure in Section Cam track features).
  • Page 87: Mapping A Cam Track Onto An Axis

    Cam Track TO - Part II 4.2 TO Cam Track basics You can set the following parameters: Field/button Meaning/instruction Table with units Physical variable column Shows the physical variable. The physical variables which are used by the TO are available for the configuration. Unit column Displays and configures the unit.
  • Page 88: Basics Of Cam Track Mapping

    Cam Track TO - Part II 4.2 TO Cam Track basics See also Basics of cam track mapping (Page 88) Mapping output cams onto the cam track (Page 88) Mapping onto negative axis positions (e.g. linear axes) (Page 89) Relation of track length, modulo length and activation mode in mapping (Page 90) 4.2.5.1 Basics of cam track mapping ●...
  • Page 89: Mapping Onto Negative Axis Positions (E.g. Linear Axes)

    Cam Track TO - Part II 4.2 TO Cam Track basics "Unfavorable" starting and end-position default settings for output cams, e.g. output cam position outside of the track range, can lead to output cams being shifted, or new output cams being created.
  • Page 90: Relation Of Track Length, Modulo Length And Activation Mode In Mapping

    Cam Track TO - Part II 4.2 TO Cam Track basics Figure 4-18 Linear axis with output of output cam at negative axis position Please note that during cyclic output (CYCLIC), cam tracks are continued cyclically even with non-modulo axes, and thus the cam track can be output multiple times to different axis positions.
  • Page 91 Cam Track TO - Part II 4.2 TO Cam Track basics Use of cyclic output with track length = n x modulo length If the track length is n times the modulo length, cyclic output allows a repetitive output of output cam to be easily achieved on every nth rotation (e.g.
  • Page 92 Cam Track TO - Part II 4.2 TO Cam Track basics Example of a modulo axis with cyclic output Table 4-7 Example of a modulo axis with cyclic output and track length < modulo length Cam track data/Explanation Representation ● Modulo length: 360° ●...
  • Page 93: Cam Track Operating Behavior

    Cam Track TO - Part II 4.2 TO Cam Track basics Table 4-8 Example of a modulo axis with non-cyclic output and track length < modulo length Cam track data/Explanation Representation ● Modulo length: 360° ● Track length: 0-120° ● Output cam defaults: SOC=10°, EOC=20° ●...
  • Page 94: Changing The Track Length During Operation

    YES or NO, and the _enableCamTrack system function must be executed. When parameterizing the cam track in SIMOTION SCOUT, validity can be set during configuration in the Default window and the Output cam data tab (see the Defining cam track defaults section).
  • Page 95: Changing The Axis Configuration When A Cam Track Is Active

    Cam Track TO - Part II 4.2 TO Cam Track basics 4.2.6.3 Changing the axis configuration when a cam track is active Changing the axis configuration for an assigned, active cam track affects cam track behavior. Changing modulo length Changing the modulo length of an axis does not affect the definition or behavior of a cam track when it is enabled.
  • Page 96: Effect Of Cam Track Parameters On Mapping

    Cam Track TO - Part II 4.2 TO Cam Track basics You can set the inversion via the OctTechnologicalCfg.invertOutput configuration data element or in the Configuration window of the cam track. The TO must be restarted in order for a change to be made.
  • Page 97: Advanced Mappings With Shifted Output Cam Positions

    Cam Track TO - Part II 4.2 TO Cam Track basics ● Axis reference position: 20 ● Activation mode: Cyclic ● Axis reference position: 20 ● Track length: 130 The following applies: ● A change of axis reference position causes a change in the cyclic and non-cyclic mode. The cam track is offset once.
  • Page 98 Cam Track TO - Part II 4.2 TO Cam Track basics One cam track with the following data is given. ● Three position-based cams (30-60; 110-120; 170-190) ● Track length: 100 ● Axis reference position: 0 ● All other user-default variables are the default setting unless another setting is mentioned explicitly.
  • Page 99: Configuring The To Cam Track

    Cam Track TO - Part II 4.3 Configuring the TO Cam Track Configuring the TO Cam Track This chapter describes typical operations used when working with the Cam Track technology object. See also Inserting cam tracks (Page 99) Parameterizing the Cam Track technology object (Page 100) Using expert list for cam tracks (Page 100) Configuring a cam track (Page 101) Defining cam track defaults (Page 105)
  • Page 100: Parameterizing The Cam Track Technology Object

    Parameters required for standard SIMOTION applications (configuration data and system variables) are parameterized in the Cam Track TO directly by means of screen forms or are defined automatically. It may be necessary to change automatically-defined parameters for special SIMOTION Output Cams and Measuring Inputs Function Manual, 04/2014...
  • Page 101: Configuring A Cam Track

    4.3 Configuring the TO Cam Track applications. These configuration data and system variables can only be displayed and changed in the expert list. Note SIMOTION Runtime Basic You will find more information on working with the expert list in the Functions functional description. 4.3.4 Configuring a cam track In the Configuration window, define the configuration data values for the cam track.
  • Page 102 ● Output cam in servo cycles and axis in IPO or IPO_2 cycles For the possible setting of IPO_fast and Servo_fast with D435-2, D445-2 and D455-2, see Chapter Second servo cycle clock (Servo_fast) in the SIMOTION Runtime Basic Functions manual.
  • Page 103 TM17 High Feature, the resolution is, for example, 1 µs. Supported hardware: ● SIMOTION D410-2 ● SIMOTION D4x5-2 (X142) ● TM15, TM17 High Feature The I/O channel must be configured as CAM. For more details, see cam output types. (Page 22)
  • Page 104 If the output checkbox is activated and the "High-speed digital output (DO)" radio button selected, output (DO) the output cam is output via onboard outputs of the SIMOTION CPU. The output is via a hardware timer and the cam output is achieved with a resolution with respect to time < servo cycle clock.
  • Page 105: Defining Cam Track Defaults

    Cam Track TO - Part II 4.3 Configuring the TO Cam Track 4.3.5 Defining cam track defaults You can define defaults for every cam track. These values are stored in system variables and can be changed by programs. Double-clicking in the project navigator below the cam track on the Defaults element displays the window in the working area.
  • Page 106 Cam Track TO - Part II 4.3 Configuring the TO Cam Track You can set the following parameters: Table 4-11 Defaults for cam track data Field/Button Significance/Note Output cam type Output cam type displays the type of output cam selected for the cam track in the Configuration window.
  • Page 107 Cam Track TO - Part II 4.3 Configuring the TO Cam Track Field/Button Significance/Note Axis modulo length The modulo length of the axis, which the cam track is linked to, is displayed here. The modulo length does not have to be identical to the track length. To change the modulo length of the axis, you must (See the Relation of work through the axis wizard.
  • Page 108: Output Cam Data

    Cam Track TO - Part II 4.3 Configuring the TO Cam Track 4.3.5.2 Output cam data The defaults for system variables of single output cams on a track, e.g. starting and end position, are displayed in the Output Cam Data tab. Figure 4-23 Cam track output cam data, position-based cam example You can set the following parameters:...
  • Page 109: Configuring Cam Tracks On Simotion D4Xx Onboard

    DO 8 is configured as an output in the diagram. For the output, select the DO (SIMOTION) setting. Note Mixed use of the SIMOTION D4xx DI/O as high-speed outputs (of output cams) and inputs of measuring inputs is possible. Figure 4-24 SIMOTION D4xx digital inputs/outputs 5.
  • Page 110 PROFIdrive PZD telegram. The components are displayed there with address range (input/ output data). 3. Select SIEMENS telegram 390, 391 or 392 as telegram type. A maximum of eight output cams can be configured for each telegram. The number of DI/DO is limited to eight, i.e.
  • Page 111: Configuring Cam Track On The Simotion D410-2

    4. Before you determine the hardware address, an alignment between HW Config and SIMOTION SCOUT, with respect to the address, must be performed. If this has not been performed or you have changed the addresses, click on Set up addresses. If there are question marks in the fields instead of I/O addresses, you must also perform an alignment.
  • Page 112 DO 8 is configured as an output in the diagram. For the output, select the Output cam (SIMOTION) setting. Note Mixed use of the SIMOTION D410-2 DI/DO as high-speed (output cam) outputs and inputs of measuring inputs is possible. Figure 4-26 Digital inputs/outputs onboard 5.
  • Page 113: Configuring Cam Tracks On Simotion D4X5-2 Onboard

    4.3.8 Configuring cam tracks on SIMOTION D4x5-2 onboard With SIMOTION D4x5-2 the outputs on the interface X142 are used for cam output 1. The Inputs/outputs X142 entry in the project navigator can be used to open the configuration screen in HW Config.
  • Page 114: Configuring Cam Tracks On A Tm15/Tm17 High Feature

    If you do not use symbolic assignment (see Chapter Symbolic Assignment (as of V4.2) in the SIMOTION Runtime Basic Functions manual), you must note the offset (e.g. 3.1). 3. Insert a new output cam or a new cam track or use an existing one.
  • Page 115 Set up addresses. If question marks are entered in the fields instead of I/O addresses, either alignment has not yet taken place, or the address is not recognized by SIMOTION SCOUT. In this case, you must perform an alignment.
  • Page 116: Configuring Cam Tracks On Simotion C240

    (see Chapter Symbolic Assignment (as of V4.2) in the SIMOTION Runtime Basic Functions manual) or by entering the hardware address. During a consistency check in SIMOTION SCOUT, no check is made as to whether the entered HW address actually belongs to a high-speed digital output (DO).
  • Page 117 Cam Track TO - Part II 4.3 Configuring the TO Cam Track Figure 4-29 Offset of the output of output cam through dead times (dead time compensation) Procedure: 1. Set all actuation times for start of output cam (activation time) and end of output cam (deactivation time) to 0.
  • Page 118: Using Hw Enable For Cam Tracks

    Cam Track TO - Part II 4.3 Configuring the TO Cam Track 5. Enter the calculated actuation times as activationtime for the start of output cam and as deactivationtime for the end of output cam. Note that the actuation time must be entered as a negative when the output time is to be before the programmed output cam switching time.
  • Page 119: Absolute Level-Controlled (Tm17 High Feature)

    Cam Track TO - Part II 4.3 Configuring the TO Cam Track Setting (overriding) the enable via a program (Page 121) Relative edge-controlled (Page 122) 4.3.12.1 Absolute level-controlled (TM17 High Feature) Required configuration for level-controlled HW enable ● Cam track TO or output cam TO is configured ●...
  • Page 120: Absolute Edge-Controlled (Tm17 High Feature)

    Cam Track TO - Part II 4.3 Configuring the TO Cam Track Determining the status of the enable You can determine the status of the enable via the I/O area of the digital input for the enable Terminal Modules TM15 / TM17 High Feature signal.
  • Page 121: Setting (Overriding) The Enable Via A Program

    Cam Track TO - Part II 4.3 Configuring the TO Cam Track To achieve quick response times, the cam track is continually output by the TO (cyclic cam track output), i.e. all output cams are transmitted to the TM17 High Feature. In principle, non-cyclic cam track output is possible (e.g.
  • Page 122: Relative Edge-Controlled

    (e.g. position of a workpiece edge). The measuring input can be connected, for example, to a drive via PROFIBUS DP, a SIMOTION CPU, or a TM15/TM17 High Feature. Unintended edges apparent during measuring can be hidden using the measuring range.
  • Page 123: Programming/References Of To Cam Track

    Cam Track TO - Part II 4.4 Programming/References of TO Cam Track Programming/References of TO Cam Track 4.4.1 Programming Figure 4-32 Programming and execution model for the Cam Track TO *1 The following commands are available in the technology object states can be activated and active: ●...
  • Page 124 Cam Track TO - Part II 4.4 Programming/References of TO Cam Track 4.4.2 Commands The Cam Track technology object can be addressed in the user program using the following commands: Table 4-14 Cam Track TO system functions Commands Description Application _enableCamTrack Activates cam track execution Cam track evaluation is activated.
  • Page 125 For more information, refer to the functional description. How to configure the alarm response: 1. Double-click Execution system in the project navigator below the SIMOTION device. The execution system opens. 2. In the execution level tree, select SystemInterruptTasks > TechnologicalFaultTask.
  • Page 126: To Cam Track Menus

    Cam Track TO - Part II 4.4 Programming/References of TO Cam Track Table 4-15 Possible alarm responses Alarm Response Description Application NONE No response DECODE_STOP Command processing is aborted, the cam track The Cam Track TO can only be function remains active. Execution on the technology reactivated after the error has been object can continue after _resetOutputCam or acknowledged.
  • Page 127 Import object Import object imports the data of a SIMOTION object from another project which was previously created with a selective XML export. You cannot import the entire project, only the data of the SIMOTION object.
  • Page 129: Measuring Input To - Part Iii

    TO (with onboard measuring inputs of SIMOTION D, CX32, CX32-2, CU310, CU310-2, CU320, CU320-2 max. of two edges for every three position control cycle clocks). These are stored in system variables and remain available until they are overwritten by more recent measurements.
  • Page 130 Measuring Input TO - Part III 5.1 Overview of Measuring Input TO Measuring range By specifying a measuring range, the validity of the measurement can be restricted to this range; the measurement will only be activated when the position lies within the measuring range.
  • Page 131: Fundamentals Of Measuring Input Technology Object

    Local measuring inputs At a signal edge on the respective input, the actual values of a SIMOTION C230-2, C240, D4xx, D410-2, D4x5-2 (X122/X132), CX32, CX32-2 or on the drive (for example, SIMODRIVE 611U, MASTERDRIVES MC, SINAMICS) of a connected encoder are acquired with positional accuracy in order to determine lengths or distances.
  • Page 132: Hardware For Measuring Inputs

    ● should be configured on the respective device. (I/O channel is configured as measuring input (MI)). ● can be assigned on the SIMOTION-CPU to an axis TO or external encoder TO. ● Configuration by way of symbolic assignment is possible.
  • Page 133: Interconnections

    Measuring Input TO - Part III 5.2 Fundamentals of Measuring Input technology object Hardware (measuring inputs) Local measuring inputs Global measuring inputs SIMODRIVE 611U ADI4, IM174 PROFIdrive units IM174/ADI4 Quantity structures for hardware measuring inputs Table 5-2 Measuring inputs - Overview of quantity structures and functionality Maximum available quantity structure Maximum number of...
  • Page 134: Measuring Input Connection Options

    Figure 5-2 Connection of the measuring input on the drive, connected to SIMOTION via PROFIBUS Measuring inputs on the digital onboard measuring inputs of SIMOTION D or on TM15/TM17 High Feature Measuring inputs on the digital onboard measuring inputs of SIMOTION D or on TM15/TM17 High Feature, linked to SIMOTION D via DRIVE-CLiQ.
  • Page 135 5.2 Fundamentals of Measuring Input technology object Figure 5-3 Connection of measuring input to SIMOTION D4x5 and TM15/TM17 High Feature The TO Measuring Input cannot be interconnected with DP I/O or integrated I/O (with the exception of inputs of measuring inputs).
  • Page 136: More Than One Measuring Input To On A Single Measuring Input (C230-2/C240 Only)

    Measuring Input TO - Part III 5.2 Fundamentals of Measuring Input technology object Figure 5-4 Example of interconnection of more than one measuring input with one axis or one external encoder See also Measuring input types - local and global measuring inputs (Page 131) 5.2.3.3 More than one measuring input TO on a single measuring input (C230-2/C240 only) It is possible to assign more than one measuring input to a single measuring input (onboard...
  • Page 137 Measuring Input TO - Part III 5.2 Fundamentals of Measuring Input technology object measuring input (hereinafter referred to only as measuring input) is configured on a HW input. Additional Measuring Input TOs can be configured as monitoring measuring inputs and interconnected with the Measuring Input TO.
  • Page 138 Only global measuring inputs can be used (see Hardware for measuring inputs (Page 132)). ● Only single-stage interconnections are possible. Note SIMOTION Runtime Basic You will find more information on interconnections in the Functions function manual. Figure 5-6...
  • Page 139: Measurement

    IPO_2 interpolation cycle clock or position control cycle clock). The minimum distance between two measurements in SIMOTION D410-2, D4x5, D4x5-2 (X122/X132) onboard, CX32, CX32-2 and CU310/310-2/320/320-2 is 3 position control cycle clocks. The measured values must be read from the user program before they can be overwritten by a new measurement.
  • Page 140 The drive must be capable of evaluating the signal edge (rising, falling, or both edges) selected by SIMOTION at the measuring input. When the measurement result is received, the measurement position is stored. Once the...
  • Page 141 Measuring Input TO - Part III 5.2 Fundamentals of Measuring Input technology object Both edges, First rising edge First falling edge TM1x; D4xx, D4xx-2 (X122/X132), CX32, CX32-2, CU320, CU320-2: The rising edge first minimum distance of the first edge to be Both edges, First falling edge First rising edge...
  • Page 142 Measuring Input TO - Part III 5.2 Fundamentals of Measuring Input technology object Figure 5-8 Measuring input TO, measuring operation cyclic measurement (example processing cycle clock IPO, no cycle clock scaling IPO:Servo, IPO = Servo) Measurement process A measurement is activated by the _enableMeasuringInputCyclic program command. The cyclicMeasuringEnableCommand variable indicates the execution status of this command.
  • Page 143 Measuring Input TO - Part III 5.2 Fundamentals of Measuring Input technology object Table 5-5 Archiving measurement results in the system variables within an IPO cycle clock Edges per processing cycle measuredValue1 measuredValue2 Description of the measuring input TO Rising and falling First rising edge First falling edge - If both edges are to be...
  • Page 144: Lost Edges During Cyclic Measurement

    Measuring Input TO - Part III 5.2 Fundamentals of Measuring Input technology object Activation/deactivation of measurement job The measurement job remains active until it is deactivated with the _disableMeasuringInput command. See also Measuring input types - local and global measuring inputs (Page 131) 5.2.4.3 Lost edges during cyclic measurement Lost edges...
  • Page 145 Measuring Input TO - Part III 5.2 Fundamentals of Measuring Input technology object 1. D4x5-2 (X142), TM17 High Feature and C240 (B1-B4) can acquire up to 2 measured values per position control cycle. If more edges occur that would result in a measured value, these will already be lost in the measuring equipment.
  • Page 146 Measuring Input TO - Part III 5.2 Fundamentals of Measuring Input technology object In this case, the measuring input can transfer up to 2 measured value per 1 ms to the TO (that is, up to 4 in total). The TO can, however, provide the user program with only the first two measured values via the system variables measuredValue1 and measuredValue2.
  • Page 147: Measurement Activation Times

    Measuring Input TO - Part III 5.2 Fundamentals of Measuring Input technology object Figure 5-10 Accessing I/O variables on LEC The value in LEC is automatically reset during cyclic measurement, und the current measured values taken over from the measuring equipment to be transmitted to the controller and the measuring equipment is automatically reactivated for the next cycle.
  • Page 148: Measuring Range

    5.2 Fundamentals of Measuring Input technology object Utilities & applications The SIMOTION Utilities & Applications contains examples of and help for SIMOTION. It serves to support SIMOTION users and clarify SIMOTION applications. SIMOTION Utilities & Applications includes, for example, a tool to estimate: ●...
  • Page 149 Measuring Input TO - Part III 5.2 Fundamentals of Measuring Input technology object Output Cams and Measuring Inputs Function Manual, 04/2014...
  • Page 150 Measuring Input TO - Part III 5.2 Fundamentals of Measuring Input technology object The time that elapses after reaching the start of the measuring range on the axis (mechanics) until the measured edge is evaluated at the HW input is dependent on the configuration. In order to activate the measuring function on reaching the desired start of the measuring range on the axis (mechanics), you must preset the start of the measuring range with the _enableMeasuringInput or _enableMeasuringInputCylic command, depending on the axis...
  • Page 151 Measuring Input TO - Part III 5.2 Fundamentals of Measuring Input technology object ● The runtime should be taken into consideration: Position control DP cycle clock activation in the drive (i.e. the position of the position control cycle clock in relation to the DP cycle clock as well).
  • Page 152 Measuring Input TO - Part III 5.2 Fundamentals of Measuring Input technology object You can set the following parameters: Field/button Meaning/instruction Table with units Physical variable column Shows the physical variable. The physical variables which are used by the TO are available for the configuration. Unit column Displays and configures the unit.
  • Page 153: Configuring The Measuring Input Technology Object

    System variables provide status data of the TO for the user program and a parameterization interface on the TO. System variables can be changed during runtime. Note SIMOTION Runtime Basic You will find more information on technology objects in the Functions functional description.
  • Page 154: Use Expert List For Measuring Inputs

    It may be necessary to change automatically defined parameters for special SIMOTION applications. These configuration data and system variables can only be displayed and changed in the expert list.
  • Page 155 Measuring Input TO - Part III 5.3 Configuring the Measuring Input technology object Double-clicking in the project navigator below the measuring input on the Configuration element displays the window in the working area. Figure 5-13 Global measuring input Output Cams and Measuring Inputs Function Manual, 04/2014...
  • Page 156 Measuring Input TO - Part III 5.3 Configuring the Measuring Input technology object Figure 5-14 Local measuring input Output Cams and Measuring Inputs Function Manual, 04/2014...
  • Page 157 The measurement result is refreshed in position control cycles. For the possible setting of IPO_fast and Servo_fast with D435-2, D445-2 and D455-2, see Chapter Second servo cycle clock (Servo_fast) in the SIMOTION Runtime Basic Functions manual. Output Cams and Measuring Inputs...
  • Page 158 SIMOTION system, is corrected by interpolation (runtimes based on bus and cycle clock system). For measurements on virtual axes, the setpoints are measured instead of the actual values.
  • Page 159: Time Stamp Correction Value

    The hardware delay times on the measuring inputs can be found in the Manuals and can usually be ignored for values of much less than 125 µs (e.g. with SIMOTION D, SINAMICS Control Units, SIMOTION C240)) If the filter time can be parameterized for the hardware used (e.g.
  • Page 160: Measuring Input Defaults

    Measuring Input TO - Part III 5.3 Configuring the Measuring Input technology object ● For SIMOTION D: in HW Config, double-click on SINAMICS Integrated ● Under DP slave properties, in the tab Cycle synchronization read off the value Ti During the measuring input configuration of "global" measuring inputs, also enter the negated value of Ti as offset value of the time stamp (TimeStampConfig.correctionTime).
  • Page 161 Measuring Input TO - Part III 5.3 Configuring the Measuring Input technology object Figure 5-16 Measuring input defaults Output Cams and Measuring Inputs Function Manual, 04/2014...
  • Page 162 (measurement once) The drive must be capable of evaluating the signal edge (rising, falling, or both edges) selected by SIMOTION at the measuring input. Rising edge (low to high) The actual position is recorded with the rising edge of the measuring input.
  • Page 163: Local Measuring

    Local measuring on other drives (MASTERDRIVES MC, SIMODRIVE 611U, etc.) With SIMOTION, the measuring input is assigned as part of its configuration. The configuration specifies the number of the measuring input to be used and the number of the encoder on the assigned axis.
  • Page 164: Global Measuring

    Measuring Input TO - Part III 5.3 Configuring the Measuring Input technology object 5.3.7 Global measuring With global measuring, the current actual values of one or more encoders are measured with positioning accuracy with a signal edge on the relevant input in order to determine lengths or distances from these (possible with any encoders present in the project).
  • Page 165 3. Find the input that you want to use (Measuring input must be selected under Function) and note the offset (e.g. 3.0). 4. In the project navigator, below the SIMOTION device or the SINAMICS drive unit, select – For SIMOTION D: SINAMICS_Integrated >...
  • Page 166 6. Before you determine the hardware address, an alignment between HW Config and SIMOTION SCOUT, with respect to the address, must be performed. If this has not been performed or you have changed the addresses, click on Set up addresses. If there are question marks in the fields instead of I/O addresses, you must also perform an alignment.
  • Page 167: Global Measuring On C240/C240 Pn (B1-B4)

    Measuring Input TO - Part III 5.3 Configuring the Measuring Input technology object 5.3.7.2 Global measuring on C240/C240 PN (B1-B4) The inputs B1-B4 are available for global measuring on the C240. These can be used for one- off or cyclic measuring. Note C2xx For more information about the measuring input on C240/C240 PN, refer to the...
  • Page 168 5.3 Configuring the Measuring Input technology object If a 39x telegram is set, the SINAMICS I/Os are interconnected automatically to this 39x telegram using BICO interconnections and are so available for SIMOTION. Note In the case of versions earlier than V4.2, when using 39x telegrams, the onboard D4x5 outputs are to be assigned exclusively to SIMOTION.
  • Page 169 4. Before you determine the hardware address, an alignment between HW Config and SIMOTION SCOUT, with respect to the address, must be performed. If this has not been performed or you have changed the addresses, click on Set up addresses. If there are question marks in the fields instead of I/O addresses, you must also perform an alignment.
  • Page 170: Global Measuring On D4X5-2 (X142)

    Measuring Input TO - Part III 5.3 Configuring the Measuring Input technology object 5. Now calculate the HW address by adding the base input address (first value of the input data) of the control unit to the offset (e.g. 256 + 3 = 301). The offset always has the value 6.
  • Page 171 Measuring Input TO - Part III 5.3 Configuring the Measuring Input technology object Figure 5-19 Display of D4x5-2 in HW Config In the Properties dialog, you can manage Addresses and interconnect Bidirectional digital inputs/outputs 0-7. Output Cams and Measuring Inputs Function Manual, 04/2014...
  • Page 172 Measuring Input TO - Part III 5.3 Configuring the Measuring Input technology object Addresses Figure 5-20 Manage addresses Table 5-9 Addresses Function Description Inputs Start Under Start, enter the start address of the digital inputs. Addresses >= 64 outside the process image are valid. Length The length of the digital input address cannot be modified.
  • Page 173 Measuring Input TO - Part III 5.3 Configuring the Measuring Input technology object Channels 0-7 Figure 5-21 Channels 0-7 Table 5-10 Channels 0-7 Function Description IN/OUT X142 Inputs/outputs (IN/OUT 0-7) of X142. Inverter Button for inverting. Function Digital input. Digital output. Output cam Cam output.
  • Page 174: Configuring And Interconnecting A Listening Measuring Input To

    Measuring Input TO - Part III 5.3 Configuring the Measuring Input technology object 5.3.8 Configuring and interconnecting a listening Measuring Input TO With the "Monitoring measuring input" function, the measurement event of a measuring input can also be measured simultaneously by several Measuring Input TOs. To configure and interconnect a monitoring measuring input: 1.
  • Page 175: Measuring Input With Hardware Enable (Tm17 High Feature)

    Measuring Input TO - Part III 5.3 Configuring the Measuring Input technology object See also Measuring Input Configuration (Page 154) Measuring one measurement event on several axes - Listening measuring input (V4.0 and later) (Page 136) 5.3.9 Measuring input with hardware enable (TM17 High Feature) On the TM17 High Feature, hardware-based enable inputs can be configured for up to six measuring-input inputs.
  • Page 176 Measuring Input TO - Part III 5.3 Configuring the Measuring Input technology object ● The measuring process is terminated with _disableMeasuringInput. ● The edges fall outside the measuring range. ● No enable signal is present (gate closed). Figure 5-23 Schematic representation of HW enable on the measuring input It is also possible to execute the enable with inverted logic, i.e.
  • Page 177: Measuring Input Technology Object Programming/References

    Measuring Input TO - Part III 5.4 Measuring Input technology object programming/references Measuring Input technology object programming/references 5.4.1 Programming Figure 5-24 Programming and execution model for the Measuring Input TO *1 The following commands are effective in the TO states can be activated and active: ●...
  • Page 178 IDs command status beyond the execution (V3.2 and higher) period of the command. SIMOTION TP CAM For further information on the system functions, please refer to the Reference Lists . Output Cams and Measuring Inputs Function Manual, 04/2014...
  • Page 179 For more information, refer to the functional description. How to configure the alarm response: 1. Double-click Execution system in the project navigator below the SIMOTION device. The execution system opens. 2. In the execution level tree, select SystemInterruptTasks > TechnologicalFaultTask.
  • Page 180: Measuring Input To Context Menu

    Import object Import object imports the data of a SIMOTION object from another project which was previously created with a selective XML export. You cannot import the entire project, only the data of the SIMOTION object.
  • Page 181: Output Cams And Measuring Inputs

    Measuring Input TO - Part III 5.4 Measuring Input technology object programming/references Function Significance/Note Default Select Default to define the values for the system variables of the measuring input. Properties Select Properties to display the properties of the measuring input selected in the project navigator. Output Cams and Measuring Inputs Function Manual, 04/2014...
  • Page 183: Index

    Index Cam tracks Activate output, 42 Status of single output cam, 95 Activation time, 44 Changing track length, 94 Actuation time Output cam, 45, 116 Assigning parameters Cam track, 100 Measuring inputs, 154 _bufferCamTrackCommandId, 125 Output cam, 37 _bufferMeasuringInputCommandId, 178 Automatic deactivation, 81 _bufferOutputCamCommandId, 58 _disableCamTrack, 124...
  • Page 184 Context menu Global measuring Cam track, 126 C240/C240 PN (B1-B4), 167 Measuring inputs, 180 Measuring inputs, 164 Output cam, 59 SIMOTION D, 167 Counter cam, 22 TM15/TM17, 164 counterMeasuredValue, 143 Global measuring inputs, 131 Cyclic measuring, 129, 141 Cyclic output...
  • Page 185 Index General information, 129 Hardware enable, 175 HW enable (TM17 High Feature), 175 TM15/TM17, 164 inputAccess, 137 Measuring input interconnections, 133 Inserting Measuring inputs Cam track, 99 Activation time, 147 Measuring inputs, 153 Assigning parameters, 153 Output cam, 37 Context menu, 180 Inversion Global, 131 Cam track, 96...
  • Page 186 Index Hysteresis range, 30 System functions Inserting, 37 Cam track, 124 Menu, 59 Measuring inputs, 178 On/Off behavior, 29 Output cam, 57 Setting exact time, 27 System variables Output cam (camType) Cam track, 100 Inversion, 35 Measuring inputs, 154 Output cam actuation time Output cam, 38 Activation time, 32 Deactivation time, 32...