[?]: 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 ...
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 »

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 »

thats is also my question,how to do... :?:
Schtiel
Site Admin
Posts: 1122
Joined: Wed Sep 06, 2006 12:03 pm
Location: CIS

Re: How to use C language in Siemens PLC programming

Post by Schtiel »

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 »

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 »

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 »

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 »

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

/steff