Siemens CPU 948 Programming Manual page 479

Simatic s5 s5-155u
Table of Contents

Advertisement

FB 101 continued:
FB 101
SEGMENT 1
0000
NAME:RECV-DAT
DECL :CPUN
I/Q/D/B/T/C:
DECL :ERWA
I/Q/D/B/T/C:
000B
:LW
=CPUN
000C
:L
KB 1
000D
:<F
000E
:JC
=ERWA
000F
:LW
=CPUN
0010
:L
KB 4
0011
:>F
0012
:JC
=ERWA
0013
:
0014
:L
KB 1
0015
:T
FY 242
0016
:
0017
:L
KB 16
0018
:T
FW 244
0019
:
001A SRCH :L
FW 244
001B
:I
1
001C
:T
FW 244
001D
:DO
FW 244
001E
:L
DL 0
001F
:LW
=CPUN
0020
:><F
0021
:JC
=SRCH
0022
:
0023
:DO
FW 244
0024
:L
DR 0
0025
:T
FY 243
0026
:L
KB 0
0027
:!=F
0028
:JC
=EMPT
0029
:
002A
:L
FW 244
002B
:L
KM 00000000 00001100
002D
:AW
002E
:SRW
2
002F
:I
1
0030
:T
FY 246
0031
:
0032
:L
KB 246
:JU
OB 205
0033
0034
:L
FY 248
0035
:JC
= OBER
0036
:
CPU 948 Programming Guide
C79000-G8576-C848-04
D KM/KH/KY/KS/KF/KT/KC/KG: KF
Q BI/BY/W/D:
Error if:
CPU no. <1
CPU no. >4
Link counter
Pointer to sub-list 2
Search sub-list 2 until
the next entry for the
receiving CPU with the
number 'CPUN' is found.
Number of reserved
memory fields = 0 ?
Determine the number of the
transmitting CPU from the
pointer to sub-list 2.
SF OB:
"Test receiving capacity"
Abort if error
Continued on the next page
Applications
LEN=88
BY
10 - 75

Advertisement

Table of Contents
loading

Table of Contents