Article View: comp.lang.modula2
Article #2861Re: M2 for IEC 1131-3 PLC programming?
From: granville
Date: Fri, 29 Sep 1995 11:28
Date: Fri, 29 Sep 1995 11:28
36 lines
2146 bytes
2146 bytes
In article <448e4l$d9e@gina.zfn.uni-bremen.de>, Juergen Sahlberg <sahlberg@fe.uni-bremen.de> writes: > Dear Modula folks, > > I remember an article sometime ago discussing the possibility of writing a > Modula-2 library to develop IEC 1131-3 compliant code for PLCs. Being sometimes > too fast with cleaning my disks, I lost that one :-( > I think it came from somewhere over New Zealand. > > Are there any (new) efforts and/or comments about this subject? > -- > Greetings from Beck'sTown, Germany, > > Juergen > That was probably me... We were looking closely at supporting 1131 on our 80x51 Modula-2 compiler ( or a good portion of 1131 ), and as the structured Text portion of 1131 is very similar to Modula-2, and a lot of our users are replacing PLC's with 80x51's it makes sense. The target we have is to add 1131 support where that does not conflict with ISO Modula-2. We also keep the std at hand when writing libraries for Mod51, and if no other frameworks exist, we copy the 1131 semantics. For example, under Boolean syntax, the '_' as a formatting character has been implemented. This can appear in numbers to align fields, and is ignored by the parser. We also added a size snap check, so 111_0000B will produce an error. This avoids typos in 8 or 16 bitfield style declarations. In a similar vein, we also plan to add ProfiBUS libraries to Mod51, but we are waiting for Siemens data... - jim granville ===== Mandeno Granville FAX +64 9 6301 720, 128 Grange Rd Auckland 3 NZ ====== * Developers and suppliers of serious MicroController Embedded Control Tools * * 89c2051, 89c1051 Emulator / ChipreProgrammers * * x51 C, Pascal & Modula-2 Compilers, Simulators, Emulators & FLASH Pgmrs * * Contact : Jim Granville . Email above. *
Technical Details
Message-ID:
<1995Sep29.232851.435@decus.org.nz>Path:
arc1-ca.pugleaf.net!decus.org.nz!granvilleReferences:
<448e4l$d9e@gina.zfn.uni-bremen.de>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!decus.org.nz!granville From: granville@decus.org.nz Newsgroups: comp.lang.modula2 Subject: Re: M2 for IEC 1131-3 PLC programming? Message-ID: <1995Sep29.232851.435@decus.org.nz> Date: 29 Sep 95 23:28:50 +1200 References: <448e4l$d9e@gina.zfn.uni-bremen.de> Organization: DECUS New Zealand