اخى الكريم
شكرا جزيلا لك
وشكرا لجميع المشاركين
احب فقط أن أنقل راى من قام بصنع برنامج يتعامل مع الميكروكونترولر ليحوله الى متحكم PLC :
انقل من موقعه :
Limitations, and Disclaimer
Of course a microcontroller with this software can't do everything that a PLC will. Most PLC environments offer more features and predefined blocks than my tool does. The PLC hardware is better too; usually the inputs and outputs are designed to withstand incredible electrical abuse. You can get a PIC16F877 on a carrier board for ten or twenty USD, though, and you'll pay a fair bit more for a PLC with the same capabilities.
So far I have received very few bug reports compared to the number of people with questions or feature requests. There is still great possibility for defects, especially in the targets for microcontrollers that I do not physically have (and therefore cannot test). Certainly do not use LDmicro for anything safety-critical, or anything that would break something expensive if it failed.
As noted above, the code that it generates is far from optimal. Also, not all of the data RAM in PIC16 devices is available to the ladder logic program. This is because I have not implemented very much support for all the paging nonsense. I do, however, support the program memory paging, which is necessary to access program memory locations in the PIC16 beyond 2k.
واترجمه :
القيود والتوجيهات
بالطبع لا يمكن للميكروكونترولر بهذا البرنامج أن يفعل كل شيء يقوم به المتحكم PLC . معظم بيئات المتحكم PLC تقدم المزيد من الميزات وكتل برمجية معرفة أكثر مما يفعله هذا البرنامج . كما أن جزء العتاد hardware بالمتحكم PLC أفضل أيضا ؛ وعادة ما تكون المدخلات والمخرجات مصممة على تحمل المساوىء الكهربائية التى لا تصدق. يمكنك الحصول على PIC16F877 على ولوحة بعشرة أو بعشرين دولارا، عليك أن تدفع أكثر بكثير للحصول على متحكم PLC بنفس الإمكانيات .
حتى الآن تلقيت تقارير قليلة عن الشوائب بالمقارنة بعدد الأشخاص الذين يسألون ويطلبون المزيد من التطوير . لا يزال هناك احتمال كبير للعيوب، لا سيما في الميكروكنترولر التى ليست فى حوزتى على الطبيعة ومن ثم لم يتم تجربتها . بالتأكيد لا تستخدم LDmicro لأى شىء حساس للسلامة، أو أي شيء من شأنه كسر شيء مكلف اذا فشل.
والكود المتولد أبعد ما يكون عن المثالية. أيضا، وليس كل ذاكرة الوصول العشوائي للبيانات RAM في أجهزة PIC16 متاحة فى البرنامج . هذا لأننى لم أعتمد تصفح جميع الاجزاء . ومع ذلك قمت باعتماد تصفح ذاكرة البرنامج والتى هى ضرورية للوصول إلى المواقع التى بعد 2K للميكروكونترولر PIC16.
</SPAN>