[?]: How to use C language in Siemens PLC programming ?

SIMATIC S7-200/300/400, Step7, PCS7, CFC, SFC, PDM, PLCSIM,
SCL, Graph, SPS-VISU S5/S7, IBHsoftec, LOGO ...
Post Reply
ajit_s2s
Posts: 1
Joined: Wed Jun 23, 2010 11:17 am

[?]: How to use C language in Siemens PLC programming ?

Post by ajit_s2s » Wed Jun 23, 2010 11:28 am

How to use C language in Siemens PLC programming ?
(sos)

thanks in advance

Mrc2
Posts: 32
Joined: Tue Jun 15, 2010 9:05 pm

Re: How to use C language in Siemens PLC programming

Post by Mrc2 » Wed Jun 23, 2010 2:46 pm

thats is also my question,how to do... :?:

Schtiel
Site Admin
Posts: 1121
Joined: Wed Sep 06, 2006 12:03 pm
Location: CIS

Re: How to use C language in Siemens PLC programming

Post by Schtiel » Wed Jun 23, 2010 4:34 pm

It is not possible, see this thread:
http://www.automation.siemens.com/WW/fo ... ostID=5147

Actually, there is no need in C, you can use SCL instead.

marcs7
Posts: 52
Joined: Fri Jun 08, 2007 4:00 pm
Location: Europe

Re: How to use C language in Siemens PLC programming

Post by marcs7 » Wed Jun 23, 2010 9:34 pm

automation specialist never made good computer specialist, and computer specialist never made good automation specialist,

mishrajul
Posts: 7
Joined: Tue May 04, 2010 12:16 pm

Re: How to use C language in Siemens PLC programming

Post by mishrajul » Fri Jun 25, 2010 5:05 am

you can not use C language in PLC programming. though you can use it in Wincc , but you must aware with the fact that Siemens use its own customized Header Files. you can create your own Header File through MS Visual Studio. (thnx)

dsekulic
Posts: 186
Joined: Sun Feb 12, 2006 5:47 pm
Location: Europe

Re: How to use C language in Siemens PLC programming

Post by dsekulic » Fri Jun 25, 2010 7:31 am

Hi,
Why don't You try S7-SCL if You need more than STL. This is Pascal like programming language.
regards

steffo
Posts: 3
Joined: Mon Apr 12, 2010 10:05 am

Re: [?]: How to use C language in Siemens PLC programming ?

Post by steffo » Mon Aug 02, 2010 11:04 am

You use Siemens soft PLC WinAC with their ODK.
Then you can write functions in C and call them from the step7 code.

/steff

Post Reply