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电源模块问题

    我的电源模块型号为6ES5-951-7LD21,模块上的RESET开关已坏,更换电池后BATT2黄灯,如何处理?正常情况下,电池灯是什么颜色?高手指教,多谢! 最佳答案 更换好新电…

    SIMATIC S5 2017年6月1日
  • 6FM1723位置模块故障判断

    在PLC上电后,位置模块故障灯一直亮,是什么原因呢,断电几次后有时又正常,谁有6FM1723-3AA10的详细资料能给我一份吗?谢谢 问题补充:我们那是老设备了,没有任何资料可查,…

    SIMATIC S5 2017年6月3日
  • S5 V7.2的安裝問題

    安裝完成後 執行S5  出現critial error :no himem.sys or no&nb…

    SIMATIC S5 2017年6月3日
  • 西门子S5软件PG-95使用方法

    西门子S5 PLC 软件用的是PG-95不知道如何下载程序 软件如何用! 最佳答案 1、PG是西门子S5手持编程器,,不是软件。2、S5 P…

    SIMATIC S5 2017年5月29日
  • S5-155U CPU 出现BASP 报警原因都有哪些请指教?

    PLC 正常运行中出现CPU stop灯亮,BASP灯亮,没有发现外围硬件有问题,复位PLC 后正常,出现过类似几次这样情况,请问什么原因造成PLC&…

    SIMATIC S5 2017年6月1日
  • 6ES54417LA11

    6ES54417LA11 是晶体管还是继电器输出,带载电流多少? 最佳答案 晶体管输出 32X24VDC  单点:0.5A 共点:…

    SIMATIC S5 2017年6月3日
  • s5 do指令

    下面程序什么意思?DO =can1LW =can2T DW 5其中can1=DB14;can2=+00159。 最佳答案 建议系统全面了解这…

    SIMATIC S5 2017年5月28日
  • 还是S5的问题,完整的程序

    O F120.5O F99.2AN F107.5AN F 99.4A F142.0L KT 050.…

    SIMATIC S5 2017年5月28日
  • S5故障报警

    s5 RUN亮绿灯BASP长亮红灯STOP红灯闪烁 最佳答案 将EPROM卡内的程序重新COPY至CPU试试。 提问者对于答案的评价:重新装载程序后,故障消除,谢谢!

    SIMATIC S5 2017年6月1日
  • comprofibus和S5通讯

    电脑安装了comprofibus v5.1,但不知道怎么和S5 PLC通讯,应该用什么电缆,需要comprofibus 软件需要设置什么吗,求各位高手…

    SIMATIC S5 2017年5月29日