fuquan19801117 发表于 2014-3-13 18:48:35

LPC1768高仿台达PLC实测速度

{:shocked:}惊呆啊,不同凡响。用STC15F的单片机和NXP的1768比较,STC就是乌龟。4K步测试LPC1768(台达PLC程序),调整PLL(锁相环频率)测试扫描时间500多us,STC单片机测试33.1M时钟工作在1T模式,速度为接近1S。支持ARM支持NXP。{:victory:}

heky 发表于 2014-3-13 18:54:08

速度真快啊

mcu_lover 发表于 2014-3-13 19:15:00

4K步,应该尽可能多的涉及到应用指令,这样才能接近实际的使用环境。
不过用ARM做肯定速度比51快一个数量级以上。
台达有些型号比较老的的PLC的第二代升级版本就是使用的STM32。

heky 发表于 2014-3-13 19:32:18

哪些型号啊?

STMstudy 发表于 2014-3-13 19:51:04

PLC程序下载到单片机里面,还要经过一系列的转换吧?

mcu_lover 发表于 2014-3-13 19:56:00

heky 发表于 2014-3-13 19:32
哪些型号啊?

DVP-ES2/EX2 系列。是ES/EX系列的升级版。

Specifications
       MPU points: 16 / 20 / 24 / 32 / 40 / 60
       Program capacity: 16k steps
       Built-in with 3 COM ports: 1 RS-232 port and 2 RS-485 ports, all are able to operate independently (Master/Slave)
       Max. I/O points: 256 input points + 16 output points, or 256 output points + 16 input points
       DVP-EX2 MPU is built in with 12-bit 4AD/2DA and offers analog/temperature modules of 14-bit resolution.
       Built-in with 8 high-speed input points (2 points for 100kHz, 6 points for 10kHz) and supports U/D, U/D Dir, A/B counting modes
       New motion control instructions: Close loop control, alignment mark, shield, immediate variable speed, S-Curve acceleration/deceleration
       Application in emerging industry: Exclusive instructions and function blocks designed for PV solar tracker
       Handy instructions for frequency inverter: For controlling the forward running, reverse running, RUN and STOP of Delta@@s AC motor drives
       Password protection: Password for subroutine, user ID, restriction on trial times
       Highly efficient instruction efficient instruction execution

Smartist 发表于 2014-3-13 20:03:53

感觉好厉害,支持一下

wang1915 发表于 2014-3-15 14:50:14

谢谢楼主分享

hzauto 发表于 2014-3-16 20:21:49

还在研究台达干啥。台达都是仿日本的。何不直接找到源头。比如仿个AB之类的。

brumby 发表于 2014-3-19 21:44:06

STM32 72M,解题4K逻辑指令,扫描时间需要1ms多一点,就算LPC1768运行100M 也不至于500us,难道公共处理不需要时间?楼主上传测试程序看看。

fuquan19801117 发表于 2014-3-21 18:29:02

公共处理无非就是通讯,错误处理,IO刷新等等,测试时不在通讯状态,而且只要取参数和指令合法就不会报错也不会做处理,那样的话要执行的公共处理代码量会很少的。

fuquan19801117 发表于 2014-3-21 18:37:39

{:smile:}有些PLC的应用指令函数还没有做完,因此就不上传了,信与不信大家都是做嵌入式的应该有所了解。

brumby 发表于 2014-3-21 23:57:58

本帖最后由 brumby 于 2014-3-22 00:11 编辑

{:smile:}

brumby 发表于 2014-3-22 00:06:40

本帖最后由 brumby 于 2014-3-22 00:11 编辑

{:smile:}

seekor2012 发表于 2014-3-22 12:26:23

hao 学学

zhangfuhg 发表于 2014-3-26 14:20:40

{:smile:}学习你!

seekor2012 发表于 2014-3-30 14:00:43

学习,谢谢

microEC 发表于 2014-4-8 12:47:32

三菱的FX2N的END指令就要执行500us,怪不得淘汰了

brumby 发表于 2014-4-11 20:21:54

不是FX2N的指令速度慢,而是仿的PLC没有处理全面。

x8429899 发表于 2014-4-12 19:17:33

楼主牛逼啊

weiqinghonghong 发表于 2014-4-26 15:50:07

仿PLC 西门子 三菱QQ390126173

weiqinghonghong 发表于 2014-4-26 15:55:02

仿PLC 西门子 三菱QQ390126173   技术合作。一个人的力量有限
页: [1]
查看完整版本: LPC1768高仿台达PLC实测速度