公司主营:数控系统,S7-200PLC S7-300PLC S7-400PLC S7-1200PLC 6ES5 ET200 人机界面,
变频器,DP总线,MM420 变频器MM430 变频器MM440 6SE70交流工程调速变频器
6RA70直流调速装置 SITOP电源,电线电缆,数控备件,伺服电机等工控产品.欢迎致电咨询。
上海西皇电气设备有限公司
联系人:李工
咨询热线:15901795805
邮箱:158311669@qq.com
传真:021-57358110
咨询QQ:158311669
公司大量现货!!!
上海西皇电气设备西门子代理商库存大量西门子PLC,产品种类、型号齐全,涵盖了西门子200系列PLC、西门子300系列PLC及其EM221模块、EM222模块、EM223模块、EM231模块、EM232模块、EM235模块、PPI电缆、MPI电缆、5611卡、SM321、SM322、SM323、SM331、EM332模块等,S7-200系列主机包括CPU224CN、CPU226CN、CPU224XP,S7-300系列主机包括CPU312、CPU313、CPU314、CPU315-2DP等,价格低,交货速度快。
手册中指出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),即在这里定义下限值。
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