“叶与根”及例文

上传人:第*** 文档编号:51690932 上传时间:2018-08-15 格式:PPT 页数:11 大小:400KB
返回 下载 相关 举报
“叶与根”及例文_第1页
第1页 / 共11页
“叶与根”及例文_第2页
第2页 / 共11页
“叶与根”及例文_第3页
第3页 / 共11页
“叶与根”及例文_第4页
第4页 / 共11页
“叶与根”及例文_第5页
第5页 / 共11页
点击查看更多>>
资源描述

《“叶与根”及例文》由会员分享,可在线阅读,更多相关《“叶与根”及例文(11页珍藏版)》请在金锄头文库上搜索。

1、1打印机驱动2Copyright 2005 Prochip Electronics Co,ltd. All Rights Reserved. Not to be reproduced by any means without prior written consent. Smp136简介 工作原理 错误总结3Copyright 2005 Prochip Electronics Co,ltd. All Rights Reserved. Not to be reproduced by any means without prior written consent.Smp136简介 托架电机,进纸电

2、机,打印头 纸张探测,黑标检测 加速阶段,常速阶段,加速阶段4Copyright 2005 Prochip Electronics Co,ltd. All Rights Reserved. Not to be reproduced by any means without prior written consent.工作原理 硬件连接 驱动软件5Copyright 2005 Prochip Electronics Co,ltd. All Rights Reserved. Not to be reproduced by any means without prior written consen

3、t.硬件连接6Copyright 2005 Prochip Electronics Co,ltd. All Rights Reserved. Not to be reproduced by any means without prior written consent. 输入端口 PE8 HP_SEN PE11PE_SEN PB5 BM_SEN 输出端口 进纸电机控制信号 PB0LF_M_ALF_STEP_A,LF_STEP_A1 PC8LF_M_BLF_STEP_B,LF_STEP_B1 PA4LF_STEP_SIG7Copyright 2005 Prochip Electronics Co

4、,ltd. All Rights Reserved. Not to be reproduced by any means without prior written consent.托架电机控制信号 电机移动控制 PB4CR_M_CA PB3CR_M_CB 电机开始,锁定,结束控制 PB2CR_I0 PB1CR_I1 打印头信号8Copyright 2005 Prochip Electronics Co,ltd. All Rights Reserved. Not to be reproduced by any means without prior written consent. 驱动软件

5、定时器(GPT) 原位探测,纸张探测,黑标探测 托架电机转动 进纸电机转动 打印步骤9Copyright 2005 Prochip Electronics Co,ltd. All Rights Reserved. Not to be reproduced by any means without prior written consent. 托架电机转动步骤设置定时器计数值 原位探测(hp_detect() 设定CR_M_A和CR_M_B初始电平 启动电机 定时器使能 原位探测 以上是为了让电机处在原位位置,下面是让电机 走到中间位置(90步)10Copyright 2005 Prochip

6、Electronics Co,ltd. All Rights Reserved. Not to be reproduced by any means without prior written consent. 进纸电机转动步骤 如果步数小于24(一行),则通过一个较低的常 速转动,如果大于24步,就采用变速。如果有黑标检测,当检测到黑标时,等待减速 步骤完成就停止电机转动;如果没有黑标检测 ,要靠程序员自己去计算进纸的步数。进行纸张检测,防止缺纸11Copyright 2005 Prochip Electronics Co,ltd. All Rights Reserved. Not to be reproduced by any means without prior written consent. 错误总结 卷纸错误 进纸错误(打印位置)

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 中学教育 > 其它中学文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号