×
Siemens Industry Online Support
Siemens AG
Entry type: FAQ Entry ID: 109740188, Entry date: 12/07/2016
(1)
Rate

Camming with "MC_CamIn" in the S7-1500T

  • Entry
  • Associated product(s)
Synchronization of a following axis to a leading axis in a cam synchronization where the leading axis and the following axis are to be synchronous in the cam and not directly at the beginning of the cam.

If two axes are to move synchronously to each other via a cam, then you must use the MotionControl instruction "MC_CamIn" for coupling the two axes.

If two axes are to move synchronously to each other, then you must select the function block "MC_CamIn" for coupling the two axes via a cam.
The synchronous position of the leading axis from which the leading axis and the following axis run synchronously is derived from the starting position of the cam in the definition area and from the parameters "MasterSyncPosition" and "MasterOffset".

At the "MasterSyncPosition" parameter of the "MC_CamIn" block you specify the master value position in the cam from which the synchronous motion of the two axes is to be operated. As of that position the two axes run synchronously.

You calculate the value for the "MasterSyncPosition" parameter with this formula:

MasterSyncPosition = (master value position of the cam as of which the two axes are to be synchronous) - (start of the cam / first point of the cam in the master value area).

The figure below shows the principle effect of the "MasterSyncPosition" parameter:


Fig. 1

This results in the following scenarios:
  • If the cam start is at the position 0.000, you can specify the master value position of the cam as from which the two axes are to move synchronously directly at the "MasterSyncPosition" parameter.
  • If the cam start is NOT at the position 0.000, the parameter value for the "MasterSyncPosition" must be calculated applying the formula above; see the example.
  • If the cam is to be run through completely (in other words the synchronization is to be achieved directly at the beginning of the cam), the synchronization must always start at the beginning of the cam. In the above formula this always gives the value 0.000 for the "MasterSyncPosition" parameter (default setting).

Example:
  • The master value area of the cam goes ranges from 100mm to 460mm, in other words the start position of the cam is at 100mm.
  • The following axis is to be synchronous when the leading axis is at the cam position 270mm (red dot).
  • The "MasterSyncPosition" parameter is calculated from the difference of the cam position of the leading axis from which the the following axis is to be synchronous (270mm), and the cam start (100mm):
    270mm – 100mm = 170mm


Fig. 2


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.