EasyManua.ls Logo

Siemens SIMATIC S7 - Page 278

Siemens SIMATIC S7
336 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Test Program
6–13
IP244
C79000–B8576–C862–02
FB 63 shows the application of function block FB 162 with indirect parameter assignment.
Structural diagram FB 63
Check flags of FW 4 und F 7.5 for rising edge x=0
Formulate job (next page)
Segment 3:
Is a job currently active? (DBĆA: DW1 = 0?)
No
Segment 2:
edge evaluation of flag word FW 4 (<--> IW 4)
edge evaluation of flag F 7.5 (<--> I 7.5)
Segment 1:
parameters
call the assigned data block
Segment 5:
channel number --> F 8.4 to F 8.7
Segment 6:
Block end
Segment 4:
Call FB 162 : JU FB 162
NAME : PER: TREG
ADRA : KF +0
BGAD : KF +0
DBNR : KY 0,0
BEF : KS x
TĆNR : KF +0
ANST : F 2.0
NEUA : F 8.0
PAFE : F 11.0
AFEH : F 8.1
BFEH : F 8.2
SFEH : F 8.3
KANR : FY 24
FMLD : FW 9
Yes

Table of Contents