使用PMAC—PEWIN软件下载在PEWIN编辑器中编制的运动程序时,遇到了大程序不能完整下载和不能正确下载的问题,经过对各种情况的对比分析,得出PEWIN分配的缓冲区不足是问题出现的原因;给出了修改PEWIN软件源代码三种方法;找到了避开PEWIN为程序分配缓冲区的两种方法,并验证了这些方法的正确性。
While downloading movement programs in PMAC-PEWIN from its Editor, big programs cannot be downloaded to the PMAC buffer. By analyzing each case the cause of the problem is found out. Three methods are presented to modify the source code of PEWIN. We also think out and verify two approaches to avoid allocating buffer by PEWIN.