SDCS-IOE-2 SDCS-UCM-1
SDCS-IOE-2 SDCS-UCM-1
[关键词] 现场总线;以太网通信;DCS;电气控制系统 ;PLC; 机电控制系统;监测控制系统
关键词:PLC可编程控制系统,分散控制系统(DCS)安全仪表系统(SIS),ESD系统,振动监测系统,汽轮机控制 压缩机组控制系统(CCS)等各类工控系统部件
+1 7 7 8 6 0 3 2 5 1 6 微号 扣扣+2 1 7 7 4 9 6 9 4 6
如果在用户程序中调用了Modbus从站协议指令,S7-200就可以作为Modbus从站工作,同时会有几个相关的子程序自动加到项目中,编程步骤如下:
(1)在用户程序中调用Modbus从站指令。
MBUS_INIT指令用来设置通信参数,该指令只在一个扫描周期内执行(用SM0.1)。程序中只能使用一条MBUS_SLAVE指令,每次扫描都应调用该指令,以响应接收到的通信请求。
(2)为Modbus从站协议指令分配库内存。
Modbus从站协议占用连续的779个字节变量存储区,需要为它们指定起始地址。在“文件”→“库内存”中为Modbus指令分配V存储区地址。可以输入起始地址,也可以使用“建议地址”。分配内存时,不要与MBUS_INIT指令中的HoldStart和MaxHold参数分配的V存储区的地址重叠,否则MBUS_INIT指令会返回一个错误。
例如,当HoldStart和MaxHold分别为&VBO和1000时,允许主站访问从VB0开始的1000个保持寄存器(2000个字节),所以为Modbus从站协议分配的V存储区的起始地址应大于等于VB2000。修改地址后,需要下载程序块,修改才会起作用。
(3)处理Modbus协议与PPI协议的切换。
PLC在“RUN”模式(SM0.7=1)时才能执行Modbus通信协议。为了保证编程软件与PLC的通信,模式开关切换到TERM位置(SM0.7=0)时,令SM30.0=0,将通信模式设置为PPI协议。
【例】 首次扫描时执行MBUS_INIT指令,初始化Modbus从站协议,要求如下:从站地址为1,端口0的波特率为19 200 b/s,无奇偶校验,延迟时间为0,允许访问所有的I、Q和AI,允许访问从VB0开始的1000个保持寄存器字(2000个字节),“Done”输出为M0.1,错误代码地址为MB1。模式开关在RUN位置时,每次扫描都执行Modbus从站协议指令MBUS_SLAVE。
关键词:PLC可编程控制系统,分散控制系统(DCS)安全仪表系统(SIS),ESD系统,振动监测系统,汽轮机控制 压缩机组控制系统(CCS)等各类工控系统部件
CI560 3BUC98002R0001 3BUC980002R1
CS512 3BUR980009R1
DSTK 153
DSTK221L6 3BSC950164R60
IH530EN IH530EN 3BSE001248R1
IH532EN 3BSE018795R1
IH532ENK01 IH532EN 3BSE019205R1
IH540DE 3BSE003210R1
IH570 3BSE001253R1
PU512V1 PU512V1 3BSE004736R1
PU512V2 PU512V2 3BUR001401R1
PU514 PU514 3BSE013062R1
PU518 3BSE018680R1
RC527 3BSE008154R1
RF523 3BSE006802R1
SA162 3BSE003388R1
TC530 3BUR000101R1
TK513 3BSC950030R1
TKX525V030 3BSC950251R1
PU515A 3BSE032401R1
PU515 3BSE013063R1
3BSE016240R1 PM510V16
CI526 3BSE006085R1
CI526V1 CI526 3BSE012870R1
CI527 3BSE019327R1
CI531 3BSE003825R1
CI532V01 3BSE003826R1
CI532V03 3BSE003828R1
CI532V05 3BSE007297R1
CI532V09 3BUP001190R1
CI534V04 3BSE010702R1
CI535 3BSE003830R1
CI545 3BSE011063R1
CI545V01 3BSE011063R1
CI547 3BNP004429R1
CI570 3BSE001440R1
CI626 3BHT300053R1
CI626V1 3BSE012868R1
CS513 3BSE000435R1
CS513K01 3BSE004772R1
CS513K02 3BSE004773R1
DSBC172 57310001-KD/5 57310001-KD
DSBC176 3BSE019216R1
DSCS140 57520001-EV
DSDI110AV1 3BSE018295R1
DSDO115A 3BSE018298R1
DSDP 170 57160001-ADF
DSMD125 3BSE004761R1
DSPC 452 57310303-A
DSPU131 3BSE000355R1
DSSA 110
DSTA N040 3BSE018436R1
DSTC120 DSTC 120 57520001-A/2,
DSTC190 DSTC 190 57520001-ER/1
DSTC406 57520001-DX/1
DSTD 131 DSTD131
DSTD150AI DSTD 150AI 3BYN571600-K/00
DSTX170 57160001-ADK
IH520EN 3BSE001249R1
IH581/B IH581 3BSC640008R1
MB510 3BSE002540R1
PM10YDSSB120-2 DSSB 120
PM511V08 3BSE011180R1
PM511V16 3BSE011181R1
PM632 3BSE005831R1
PM810 A3BSE008500R1
PM810V1 3BSE00850R1
PM810V2 3BSE013220R1
PU513V2 PU513V2
PU515 3BSE013063R1
PU516 3BSE013064R1
PU516A 3BSE032402R1
PU519 3BSE018681R1
RF533 3BSE014227R1
SA162 3BSE003388R1
SB171 3BSE004802R1, 3BSE004802R0001
SB510 3BSE000860R1
SB510K01 3BSE004450R1
SB511K01 3BSE004451R1
SX554 3BSE004258R1
TC514V2 3BSE013281R1
TC516 3BSE012632R1
TC570 3BSE001458RI
TC801 3BSE008562R1
TK405 3BSE003775R25
TK455 3BSE003780R1
TK526V050 3BSC950022R5
TK624V030 3BSC950138R1
TK802V001 3BSC950112R1
200-ANN S200-ANN
200-BIAL
200-BPN
200-BUP
200-C1485G
200-CBA/L260
200-CI232
200-CI485G
200-CICN
200-CIE
200C-IE4xOE2
200-CIPB/DP
200-CISB
200-IB10xOB6
200-IE4xOE2
200-IP2
200-IP4
200-OA8
200-OB16
200-OB16P
200-OE4 S200-OE4
200-OW8
200-PSMG
200-PSSG
200-RACN
PM253V01
PM253V022
S200-TB2
200 AIO
200-APB12
200C-IB10xOB6P
200C-IB16
200C-IE8
200C-OB16P
200-IA8
200-IE8
200-IT8
200-TB3T
AI210
DI210
DO210
PM210
S200-IB16
S200-IR8
S200-PS13
S200-TB3
S200-TB3T
S200-TBNF
TBE 2202
TBP 2201
1SAJ929400R0001 UTF21-FBP
1SAP111100R0170 TB511-ETH B2
1SAP112100R0160 TB521-ARCNET
1SAP112100R0170 TB521-ETH
1SAP112100R0270 TB521-ETH
1SAP114100R0170 TB541-ETH
1SAP121000R0071 PM564-RP-ETH
1SAP130100R0100 PM571
1SAP130100R0170 PM571-ETH
1SAP130300R0271 PM573-ETH
1SAP140100R0100 PM581
1SAP140100R0160 PM581-ARCNET
1SAP140100R0170 PM581-ETH
1SAP140200R0100 PM582
1SAP140200R0160 PM582-ARCNET
1SAP140200R0170 PM582-ETH
1SAP14050099952 EC583
1SAP140500R3160 EC581-ARCNET
1SAP150000R0100 PM590
1SAP150000R0160 PM590-ARCNET
1SAP150000R0170
1SAP150000R0271 PM590-ETH
1SAP150100R0100 PM591
1SAP150100R0160
1SAP150100R0170 PPM591-ETH
1SAP170200R0001 CM572-DP Ask
1SAP170400R0001 CM574-RS
1SAP170401R0001 CM574-RCOM
1SAP170500R0001 CM575-DN
1SAP170700R0001 CM577-ETH
1SAP170800R0001 CM578-CN
1SAP170901R0001 CM579-PNIO
1SAP170902R0001 CM579-ETHCAT
1SAP180100R0001 MC502
1SAP180200R0001 TK501
1SAP180200R0101 TK502
1SAP180300R0001 TA521
1SAP180600R0001 TA524
1SAP181200R0001 TA528
1SAP190500R0001 PS541-HMI
1SAP190600R0001 PS551-MC
1SAP190600R0101 PS551-MC
1SAP190900R0001 PS542-WEBPC
1SAP210000R0001 TU506-FBP
1SAP210400R0001 TU552-CS31
1SAP210600R0001 TU551-CS31
1SAP212000R0001 TU516
1SAP212200R0001 TU515
1SAP214000R0001 TU508-ETH
1SAP214200R0001 TU507-ETH
1SAP217000R0001 TU532
1SAP217200R0001 TU531
1SAP220000R0001 DC505-FBP
1SAP220500R0001 DC551
1SAP220500R3001
1SAP220600R0001 CI501-PNIO
1SAP220700R0001 CI502-PNIO
1SAP220900R0001 CI511-ETHCAT
1SAP221000R0001 CI512-ETHCAT
1SAP221100R0001 CI590-CS31-HA
1SAP240000R0001 DI524
1SAP240100R0001 DC532
1SAP240500R0001 DC523
1SAP240600R0001 DC522
1SAP245000R0001 DX531
1SAP245200R0001 DX522
1SAP250000R0001 AX522
1SAP250100R0001 AX521
1SAP250200R0001 AO523
1SAP250200R3001 AO523-KBA
1SAP250300R0001 AI523
1SAP250500R3001 AC522
1SAP250600R0001 AI531
1SAP260100R3001 PD501-4CH
1SAP260300R0001 CD522
1SAP270000R0001 DC541
1SAP42130099921 CI504-PNIO-XC
1SAP42150099921 CI506-PNIO-XC
1SAP550100R0001 CP650
1SAP550200R0001 CP650-WEB
1SAP800400R0010 DC501-CS31-ADA1
1TNE968900R0100 PM554-T
1TNE968900R0110 PM554-T-ETH
1TNE968900R0200
1TNE968900R0220 PM554-R-ACT
1TNE968900R1100 PM564-T
1TNE968900R1110 PM564-T-ETH
1TNE968900R1200 PM564-R
1TNE968901R0100 MC503
1TNE968901R1100 TK503 Ask
1TNE968901R2100 TK504
1TNE968901R3107 TA566
1TNE968901R3200 TA561-RTC
1TNE968901R3201 TA560
1TNE968901R3203 TA570
1TNE968901R4300 TA562-RS
1TNE968902R1101 AI561
1TNE968902R1102 AI562
1TNE968902R1103 AO561
1TNE968902R1301 AX561
1TNE968902R2001 DC561
1TNE968902R2101 DI561
1TNE968902R2102 DI562
1TNE968902R2103 DI571
1TNE968902R2201 DO561
1TNE968902R2202 DO571
1TNE968902R2203 DO572
1TNE968902R2301 DX561
1TNE968902R2302 DX571
1TNE968903R0100
AI511
AI512 1SVP426436R0000
AX511 1SVP426455R0000
DC501-CS31 1SVP426327R0000
DI511
DO511 1SVP426451R0000
DX501-DP
TU501 1SVP426470R0000
TU512 1SVP426471R1000
TU525 1SVP426473R0000
3BHT300016R1 DP620
3BSE016347R1 CI631
AI610 3BHT300000R1
AI620 3BHT300005R1
AI625 3BHT300036R1
AI630 3BHT300011R1
AI635 3BHT300032R1
AO610 3BHT300008R1
AO650 3BHT300051R1
AX645 3BHB001914R1
AX670 3BSE000566R1
CI527A 3BSE035684R1
CI615 3BHT300024R1
CI615K01 3BSE000756R1
CI625 3BHT300018R1
CI627 3BSE009799R1
CI630 3BSE011000R1
CI630K02 3BSE011002R1
DI621 3BHT300012R1
DI650 3BHT300025R1
DI651 3BHT300026R1
DI685 3BDS005833R1
DO610 3BHT00006R1
DO620 3BHT300009R1
DO630 3BHT300007R1
DP640 3BHT300057R0001
DSTF610 HESN119032P1
DSTF620 HESN119033P1, HESN118033P0001
PM633 3BSE008062R1
PM645A 3BSE010536R1
PM645B 3BSE010535R1
PM645C 3BSE010537R1
PM665 3BDS005799R1
RC610 3BHT100018R1
RF615 3BHT100010R1
RF616 3BSE010997R1
SA162 3BSE003388R1
SA610 3BHT300019R1
SA610-1 3BHT310358R1
SA610-2 3BHT310359R1
SA610K01 3BSE000655R1
SC610 3BSE001552R1
TF620 HESN119033P1,3BHT100013R1
3BSE042238R1 PP846
CI867K01 3BSE043660R1
CI868K01
CI869K01 3BSE049110R1
HS 840 3BDH000307R0101
PL810 3BDH000311R0101
PM640 3BSE010534R1
PNI800
PU410 3BSE056478R1
PU410K01 3BSE051826R1
TB842 3BSE022464R1
AO895
3KDE175132L9100 SA910B
3KDE175133L9100 SA910N
AI910B 3KDE175512L9100
AI910N 3KDE175513L9100
AI910S 3KDE175511L9100
AI920N 3BDH000634R1
AI930B 3KDE175512L9300
AI930N 3KDE175513L9300
AI930S 3KDE175511L9300
AI931B 3KDE175512L9310
AI931N 3KDE175513L9310
AI931S 3KDE175511L9310
AI950B 3KDE175522L9500
AI950N 3KDE175523L9500
AI950S 3KDE175521L9500
AO910B 3KDE175532L9100
AO910N 3KDE175533L9100
AO910S 3KDE175531L9100
AO920B 3KDE175532L9200
AO920N 3KDE175533L9200
AO920S 3KDE175531L9200
AO930B 3KDE175532L9300
AO930N 3KDE175533L9300
AO930S 3KDE175531L9300
BI913S 3KDE175831L9130
BI914S 3BDH000649R1
BI923S 3KDE175831L9230
BI924S 3KDE175831L9240
BI933S 3KDE175831L9330
BI934S 3BDH000674R0001
BP910S 3KDE175831L9100
BP914S 3BSE067082R1
CI920AB 3BDH000691R1
CI920AN 3BDH000692R1
CI920AS 3BDH000690R1
CI920B 3KDE175122L9200
DO910B 3KDE175322L9100
DO910N 3KDE175323L9100
DO910S 3KDE175321L9100
DO930N 3BDS014114
DP910B 3KDE175362L9100
DP910N 3KDE175363L9100
DP910S 3KDE175361L9100