3 General Programming
3.10 SCL programming language: Tips and tricks
3.10.2
What instruction parameters are mandatory?
If you are expanding the call template, the color coding will show you straight away
what formal parameters of an instruction are optional and which ones are not.
Mandatory parameters are marked dark.
3.10.3
Drag & drop with entire tag names
In the SCL editor you can also use drag & drop functions. For tag names you are
additionally supported. If you want to replace one tag for another, proceed as
follows.
Table 3-12: Drag & drop with tags in SCL
Step
1.
Programming Guideline for S7-1200/1500
V1.2, Entry ID: 81318674
Drag the tag via drag & drop to the tag in the program that is to be replaced.
Hold the tag for more than 1 second before releasing it.
The complete tag is replaced.
Instruction
> hold for 1 second
65