...
首页> 外文期刊>Plant engineering >PLC programming: 5 mistakes to avoid
【24h】

PLC programming: 5 mistakes to avoid

机译:PLC编程:5个避免的错误

获取原文
获取原文并翻译 | 示例
           

摘要

Every PLC programmer will make a mistake when he or she is writing code. Whether it's the result of pressure by the customer, lack of coffee in the morning, or simply getting distracted at the wrong time, here are the top five mistakes to avoid. When a program is first laid out, all of the code for each portion should fall into neat, orderly sections. Keeping each part of the code separate allows the person working with the program to easily visualize the overall execution of the program. It also helps to debug the program if something goes wrong, since each piece of code is encapsulated into its own structure. Finally, it looks better, because there isn't the mess of an entire program on the screen at one time.
机译:每个PLC程序员在编写代码时都会犯错。无论是客户施加压力,早上喝咖啡还是只是在错误的时间分心,都是要避免的前五个错误。首次布置程序时,每个部分的所有代码都应划分为整洁,有序的部分。将代码的每个部分保持分开可以使使用该程序的人员轻松地查看该程序的整体执行情况。如果发生错误,它也有助于调试程序,因为每段代码都封装在自己的结构中。最后,它看起来更好,因为一次不会在屏幕上显示整个程序的混乱情况。

著录项

  • 来源
    《Plant engineering》 |2014年第1期|68-69|共2页
  • 作者

    Daniel Fenton;

  • 作者单位
  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号