PLC code generator

  • Thread starter Mohammed Rahman Aerotech Inc
  • Start date
Mohammed Rahman:
> Need soft PLC code generator (ladder logic, structured text, flow
> chart
> etc) for PC and interpreter written in C.

The MAT LinuxPLC has a translator from ladder logic mnemonics to C. See the documentation at

http://mat.sf.net/manual/logic/il.html
or the logic/il directory in the CVS.


Does the basic rung instructions (LD, AND, OR, OUT, SET, RST), as well as master control (MCS, MCE), rung combination (ANB, ORB), jumps (JMP, LBL) and subroutines (JSR, SUB).

Jiri
--
Jiri Baum <[email protected]> http://www.csse.monash.edu.au/~jirib
MAT LinuxPLC project --- http://mat.sf.net --- Machine Automation Tools _______________________________________________
LinuxPLC mailing list
[email protected] http://lists.linuxplc.org/mailman/listinfo/linuxplc

 
Mohammed Rahman:
> I looked at the code once. Arent they written using some specific
> graphics Libraries supported under linux? Actually I need the GUI on a
> PC environment. I don't know if anybody written anything yet..

Actually, the one I was thinking of has no graphics at all - it takes a text file of mnemonics and translates it to C.

It should run under Windows no problem, because it's a Perl script with no fancy stuff (just be careful about line-ends).


There is a graphic one, which executes the logic directly, as an interpreter - but yes, that's going to be a fair bit of work to port to MS. If you want to use it, go to its original site

http://classicladder.sf.net
because MAT doesn't have the latest version yet.

Jiri
--
Jiri Baum <[email protected]> http://www.csse.monash.edu.au/~jirib
MAT LinuxPLC project --- http://mat.sf.net --- Machine Automation Tools _______________________________________________
LinuxPLC mailing list
[email protected] http://lists.linuxplc.org/mailman/listinfo/linuxplc

 
Top