Specifications

CP143 H1 / TCP/IP manual Commissioning
Rev. 00/07 6-17
Function module:
FB1
BSTNAME #FB1
BIB #19075
BEZ #TIME D:KT
00010 :
00014 :SPA FB 123 Control module
NAME #CONTROL
SSNR =KY 0,0 Frame base 0
A-NR =KY 0,11 Job No. 11
ANZW =MW 0 Indicator word into MW0
PAFE =MB 189 Configuration error byte MB189
00020 :
00022 :O M 1.1 as long as the job is active
00024 :O T 11 or the timer is active
00026 :BEB no further processing
00028 :
0002A :LW =TIME load the pre-configured time
0002C :U M 0.0 and start the timer again
0002E :UN M 0.0
00030 :SV T 11 VKE 0 timer start
00032 :O M 0.0
00034 :ON M 0.0
00036 :SV T 11 VKE 1 timer start
00038 :
0003A :U M 1.3 if completed with error(s),
0003C :SPB =SEND do not increment counter
0003E :
00040 :A DB 11 Send-DB
00042 :L DW 0 Message counter
00044 :L KB 1 in DW0, which is also transmitted
00046 :+F
00048 :T DW 0
0004A :
0004C SEND :
0004E :SPA FB 120 Send module
NAME #SEND
SSNR =KY 0,0 Interface No. 0
A-NR =KY 0,11 Job No. 11
ANZW =MW 0 Indicator word in MW0
QTYP =KC DB Send data from DB
DBNR =KY 0,11 DB number 11
QANF =KF +0 from data word 0
QLAE =KF +100 100 elements (DWs)
PAFE =MB 99
00062 :
00064 :BE
FB1 is a simple send module that checks the indicator word flags:
job active
completed with error(s)