1 / 13

参赛员:邓海林 、林特

PLC 竞赛程序演示说明. 厦门兴才职业技术学院. 参赛员:邓海林 、林特. 指导老师:邱海强. 1. PLC. 硬件. 2 节拍信号发生器. 3 电子琴. 1. 三菱编程软件( Swopc-FXGP/W/N-C ). 软件. 2. 个人 PC 机. 信号流程:. 节拍信号 发生器. 节拍信号. PLC. Y0-Y47. 电子琴键盘. 奏乐. 开始. 程 序 流 程 图. 初始化状态器、计数器. N. 有节拍信号吗?. 暂停演奏. Y. 执行主程序. 有进入循环程序吗?. Y. N. 调用循环程序. 继续执行主程序. 结束.

yovela
Download Presentation

参赛员:邓海林 、林特

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. PLC竞赛程序演示说明 厦门兴才职业技术学院 参赛员:邓海林 、林特 指导老师:邱海强

  2. 1.PLC 硬件 2节拍信号发生器 3电子琴

  3. 1.三菱编程软件(Swopc-FXGP/W/N-C) 软件 2.个人PC机

  4. 信号流程: 节拍信号 发生器 节拍信号 PLC Y0-Y47 电子琴键盘 奏乐

  5. 开始 程 序 流 程 图 初始化状态器、计数器 N 有节拍信号吗? 暂停演奏 Y 执行主程序 有进入循环程序吗? Y N 调用循环程序 继续执行主程序 结束

  6. 程序说明 • 采用步进指令,利用循环、跳转的方法进行编程,缩短程序步 • 在两音之间使用空步,使每个音能够正常发出,不混在一起,清晰明朗 • 利用计数器来控制每个音符的节拍以及完成程序的跳转和循环 • 修改输出容易,只要对输出端口(赋于不同的音符)配合节拍信号可演奏不同的乐曲

  7. 音乐伴奏 • 采用和弦,修饰音伴奏,使音发出来的效果更加明亮动听 • 采用低音鼓,军鼓,电子钹伴奏,使音乐伴奏更加丰富及音乐的整体效果更加好听

  8. 程序开始

  9. 程序的返回

  10. 程序的跳转

  11. 程序结束

  12. 谢谢

More Related