S5中的模块地址与通道号之间的区别

手册中指出FB250好像是指模拟数据采集块。我看到有些项目图纸中一个模拟量模块有八路通道,由PW128至PW142。
1、FB250里头的BG模块通道指什么?
2、FB250里头的KNKT里头的KN通道号指什么?

最佳答案

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

提问者对于答案的评价:
谢谢

原创文章,作者:more0621,如若转载,请注明出处:https://www.zhaoplc.com/plc133294.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2017年5月31日 下午10:01
下一篇 2017年5月31日 下午10:02

相关推荐

  • 关于S5

    间接寻址是做什么用的?什么时候用? 最佳答案 参考:1、《S7和S5在间接寻址操作上有何不同?》https://support.industry.siemens.com/cs/do…

    SIMATIC S5 2017年5月28日
  • S5-95U

    S5-95U  CPU上的那个黄灯什么含义?见图1上电黄灯不亮什么原因? 图片说明:       最佳答案 S5-95U…

    2017年5月28日
  • step5 如何新建自己的程序

    我想用step5 v7.2自己建个项目程序,研究一下step5编程。但软件中没有“新建”菜单。那step5如何新建项目程序,敬请指教? 最佳答案 首先点击File&#82…

    SIMATIC S5 2017年6月1日
  • S5中用于模拟量输出的程序

    S5中用于模拟量输出的程序  OPN   DB    53//;  &…

    SIMATIC S5 2017年5月29日
  • Simatic C7-613显示CPU IS STOP

    Simatic C7-613(1p 6ES7613-1CA02-0AE3)显示CPU IS STOP这个控制器,我用得比较少,他是不是CPU…

    SIMATIC S5 2021年7月5日
  • 跪求S5软件的使用

    如何利用S5来传PLC程序(要详细) 最佳答案 第一步,用编程线连接PC和PLC,并在S5程序中设置ONLINE。 第二步 选择 file-》bloc…

    SIMATIC S5 2017年6月3日
  • S5升级改造问题

    本人有一S5升级改造项目,需要一些技术支持,各位有山东的朋友请联系,13188953838,QQ:331989946,费用好商量 最佳答案 你也可以联系上海的西门子,有专门做S5项…

    SIMATIC S5 2017年5月31日
  • step5 v7.2 如何交叉引用

    step5 v7.2 提供交叉引用,不过好像仅在已经打开的块内使用,如何建立如step7那样的整个程序的交叉引用表呢?例如:我想知道i0.0在程序中使用位置,应…

    SIMATIC S5 2017年5月31日
  • 请教如何将程序从EPROM考出程序到电脑检查

    我厂S5100U控制的机械坏, 开机后RUN绿灯亮一秒后灭, 转STOP红灯亮. 可能程序不全. 1) 现想将程序从EPROM考出…

    SIMATIC S5 2017年6月3日
  • PLC S5-95U硬件组态

    请教各位S5-95U的地址是如何组态的?上面的4个接口是什么功能?急…….! 最佳答案 S5-95U没有组态问题,输入输出地址是固定死的。不知道你是问那几个…

    SIMATIC S5 2017年6月1日