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

相关推荐

  • 求6AV7882-0DB10-6BA0

    外形尺寸及安装尺寸图 最佳答案 外壳正面宽度 415?mm外壳正面高度 310?mm安装深度 73?mm安装截面/设备深度宽 x …

    2021年7月5日
  • 安装S5V7.2的问题

    安装S5V7.2提示我输入ID号,我不知道输什么,是不是需要授权软件,哪位大哥有请发我的邮箱,在下不胜感激。 xs750925@yahoo.com.cn 最佳答案 序列号…

    SIMATIC S5 2017年6月3日
  • S5升级应选择S7-300还是400,那个型号好?

     cmos193@126.com 问题补充:做s5到s7的升级,我s5的订货号是:6ES5 944-7UB21 最佳答案 100–>300 1…

    SIMATIC S5 2017年6月1日
  • 求教该程序怎么看?

    老师好!下边程序怎么看不懂啊?什么意思?请老师讲解。      :JU  -FB40 Na…

    SIMATIC S5 2017年6月3日
  • 请教S5 DO指令的用法

    请教S5高手:DO FW 200JU =M001NOP 0M001:M002:M003:M004:其中FW200的值为2,标号后面的程序由于…

    SIMATIC S5 2017年6月1日
  • 请问谁有STEP5这个编程软件

    请问谁有STEP5这个编程软件以及S5103U的编程中文手册请发一个给我,谢谢!邮箱zhangxiaojun189@yeah.net 最佳答案 编程软件已发到你的邮箱 提问者对于答…

    SIMATIC S5 2017年6月1日
  • 求step 5 v7.2 软件

    求step 5 v7.2 软件,邮箱:markegbl@163.com谢谢!或下载地址,再问它对windos系统的要求。 最佳答案 近500M,谁也无…

    SIMATIC S5 2017年6月3日
  • S5总复位过程的几个问题

    现场有一套S5-115U系统,带存储卡,ST红灯闪大概一秒一次,BASP红灯亮.进行一次总复位,然后在PG上Start CPU.问题:1,总复位后存储卡上的程序还在吗?&…

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

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

    SIMATIC S5 2017年6月1日
  • 如何创建一个STEP5项目

    我用的是STEP5 V2.1,为什么写路径的时候总说不能创建呢。我没有S5PLC, 怎么创建一个项目呢。 最佳答案 S5的软件及中文资料下载链接——http:/…

    SIMATIC S5 2017年5月31日