Siemens PLC- Cosine programming by STEP7 software

Опубликовано: 04 Март 2026
на канале: PLC
235
21

In this video, you will see cosine programming in Siemens PLCs and Step7 software.
To program cosine, I first double-click cosine from the floating point functions folder.
In front of the input, I type the address "MD0". And in front of the output, I type the address "MD4".
I save, download and monitor the program.
I simulate.
Note that the angle must be in radians.
For example, the zero cosine is equal to one.
Cosine 180 degrees or Cos π = 1
Cosine 90 degrees or Cos π / 2 = 0
Cosine 90-degree or Cos -π / 2 = 0
Cosine 45 degrees or 0.7854 radians or Cos π / 4 = √2 / 2 which is equal to: 0.707
See the STL language of this app.
I click on the function and press the F1 key on the keyboard.
The help window opens.
Please subscribe and like PLC channels.