Siemens Industry Online Support
Siemens AG
Entry type: FAQ Entry ID: 18520474, Entry date: 12/28/2010

How do you program jump distribution in S7-SCL?

  • Entry
  • Associated product(s)

If you have to conduct the same calculation at several points in your S7-SCL program, but you cannot use your own function for this purpose, we recommend programming using the jump functions.

Before jumping to your calculation routine, assign a value to the tag with which you mark the point from which you jumped to the calculation routine. A jump distributor at the end of the calculation routine takes you back to the position you were at before.

Fig. 01 below shows an example for a possible compilation.

Fig. 01


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