×
Siemens Industry Online Support
Siemens AG
Entry type: FAQ Entry ID: 109477583, Entry date: 07/23/2015
(4)
Rate

How do you stop an axis with position accuracy in the case of product identification with the SIMATIC S7-1200?

  • Entry
  • Associated product(s)
With packing and labelling machines the material to be conveyed must be stopped at a set distance from an identification mark so that further processing (cutting or gluing, for example) can continue at a standstill. This provides a block for performing this task.

Task
The task is described taking the example a cartoner.


Fig. 01

The product to be packed is conveyed via the positioning axis at velocity "v".
When the product is recognized (here the back edge by a light switch) the positioning axis should stop within a distance x to carton the product at a standstill.

Solution
The "MoveAfterEvent" function block provides the function as a combination of the Motion Control instructions "MC_Home" and "MC_MoveAbsolute".



Fig. 02

 

 

  • An S7-1200 CPU firmware V4.1.2 with a positioning axis V5.0 is configured in the project.
  • The drive control is the controlled positioning via pulse train frequency (PTO).
    This version can also be simulated without a real drive.
  • The function of the FB "MoveAfterEvent" can be checked by means of the watch table.
Further Information

DescriptionEntry ID
Service Pack 1 for SIMATIC STEP 7 V13 incl. PLCSIM (TIA Portal)105825934
Updates for STEP 7 V13 SP1 and WinCC V13 SP1109311724
Firmware Update for SIMATIC S7-1200 CPUsDownload
Manual SIMATIC STEP 7 S7-1200 Motion Control V13 SP1

108577079

Sample application "SINAMICS V: Controlled positioning of a V90 with S7-1200 via pulse/direction interface with HMI" 77467940
Sample application "SINAMICS V: Positioning of a V60 with S7-1200 (TIA Portal) via pulse/direction interface with HMI (Set 7)"38391227
Manual: SIMATIC S7 S7-1200 Automation System107623221
Manual: STEP 7 Basic V13 SP1109054417

Table 01

Additional Keywords
Flying referencing

 

Security information
In order to protect technical infrastructures, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art IT security concept. Siemens’ products and solutions constitute one element of such a concept. For more information about cyber security, please visit
https://www.siemens.com/cybersecurity#Ouraspiration.