回复:请教:MM430正转运行时模拟量输出1正常(实际频率0~10V),反转时模拟量输出1为0,为什么?

寒星

  • 帖子

    36
  • 精华

    0
  • 被关注

    3

论坛等级:游民

注册时间:2004-01-14

普通 普通 如何晋级?

发布于 2005-01-25 08:44:02

0楼

感谢zhan_hong
我后来咨询西门子技术支持,有另一种方法(硬件不需改动,但要牺牲PID功能):

P2800=1 enable free function blocks 使能自由功能块
P2802.8=1 enable multiplier 使能乘法器

P2877.0=21 乘数1
P2877.1=21 乘数2

The square of the output frequency(always positive) is now available in r2878

P2264=2878 PID反馈信号
P2270=1 (square root) PID反馈功能选择器

The square root of r2878 is now available in r2272. This will now be the unsigned value of the output frequency(always positive).

P0771=2272 analogue output will now give the desired result.

Note:
The use of the PID mathematical function assumes the PID function is not already being used. i.e.
P2200=0

评论
编辑推荐: 关闭

请填写推广理由:

本版热门话题

MicroMaster

共有6823条技术帖

相关推荐

热门标签

相关帖子推荐

guzhang

恭喜,你发布的帖子

评为精华帖!

快扫描右侧二维码晒一晒吧!

再发帖或跟帖交流2条,就能晋升VIP啦!开启更多专属权限!

  • 分享

  • 只看
    楼主

top
X 图片
您收到0封站内信:
×
×
信息提示
很抱歉!您所访问的页面不存在,或网址发生了变化,请稍后再试。