找答案的高端用户(找答案钻石及双钻级别的用户)将尽可能从此问题下的所有回
答中,为您推荐最佳答案。届时您可以根据推荐数采纳答案。
如果自提问时间起7天内您仍无法选出最佳答案,您可以选择“无满意答案”关闭此问题。
问题
取消精华
首页精华问答
取消推荐
高端用户推荐
申请置评
已申请置评
修改
修改标签
添加标签
官方认证
取消官方认证
修改标签
添加标签
转移分类
删除
{{itemCategory}}
收藏({{answerDetail.Q_FavoriteCounts}})
手机扫码追踪该问题,
觉得实用,立即去分享!
点击复制链接
专家建议
取消最佳答案
修改
1、S5中的FB250和FB251是模拟量输入输出测量模块,对于与S7的FC105\FC106.
例如:
Name :RLG:AE
BG : KF +128
KNKT : KY 0,4
OGR : KF +518
UGR : KF +0
EINZ : F 0.2
XA : DW 51
FB : F 250.2
BU : F 250.3
TBIT : F 253.1
OGR: Upper limit of the output as a Integer (KF),即在这里定义上限值。
UGR: Lower limit of the output as a Integer (KF),即在这里定义下限值。
详见:
《S5-115U Programmable Controller》下载:
http://plc.scetc.net/down/zz/plc/siemens1/SIMATIC.S5%EF%BC%8D115U.pdf
其中,10.9 Analog Value Matching Blocks FB250 and FB251
2、转帖一个实例:
FB250 is clearly described with a example.
BG: place behind the CPU103, starting with 0 for the first card (KF = Integer value)
KNKT: Channel number = x (0..3, start counting with channel 0)
Channel type=y, 3..6 whereby the number gives the type of working (KY are two bytes)
OGR: Upper limit of the output as a Integer (KF)
UGR: Lower limit of the output as a Integer (KF)
EINZ: Single scan(not needed, so you may place a marker which always "0", for ex F0.0
XA: Output value, for example FW2 or a dataword in a first opened DB for the call of FB250
FB: Error bit, for example F1.3
BU: Range violation, for example F1.4
So when the card is standing directly behind the CPU103 and the first channel of the card is used then the following might be programmed on FB250:
JU FB 250 Unconditional call FB250
NAME :RLG:AI
BG :0 Slot 0
KNKT :0,3 Channel 0, channel type 3 = absolut
OGR :5000 Upper limit: 50.0 degrees (on this way a resolution of 0,01)
UGR :0 Lower limit: 0.0 degrees
EINZ :F0.0 No meaning
XA :FW2 Make-up quantity stored in flag word 1 as fixed-point number
FB :F0.0 “1”, if wire break
BU :F0.1 “1”, if tank too full
等您来回答
换一换
{{item.CoinValue}}西币
{{item.VisitNum}}人想问
本版相关问题
换一换
专家置评
首次回答问题,获得
双倍西币积分!
立即成为技术知识分享的一员!
欢迎您访问支持中心!
丰富的视频,全方位的文档,大量的网友交流精华……
为了更好的完善这些内容,我们诚邀您在浏览结束后,花20秒左右的时间,完成一个用户在线调查!
感谢您的支持!

官方商城-正品备件
DIOMIS