FB 100 continued:
0048 EMPT :L
FY 244
Increment
0049
:I
1
link counter
004A
:T
FY 244
004B
:L
KB 4
All links
004C
:<F
processed ?
004D
:JM
=LOOP
004E
:L
KB 0
Regular program end:
004F
:T
=ERWA
RLO = 0, ERWA = 0
0050
:BEU
0051
:
0052 ERWA :L
KB 16
Program end if error:
0053 OBER :T
=ERWA
RLO = 1, ERWA contains
0054
:BE
error/warning number
FB 101: Receive data word areas
Before you call FB 101, the data block containing the link list must
already be open. The function block RECV-DAT requires the number of the CPU
in which it is called in order to evaluate the information contained in the
link list.
If the RECEIVE function (OB 204) is not correctly processed within the
function block, the corresponding error or warning number is transferred to
the output parameter ERWA and the RLO is set to 1. If the input parameter CPUN
is illegal, ERWA has the value 16 (bit no. 4 = 1).
The RECV-DAT function block uses flag bytes FY 242 to FY 255 as scratchpad
flags.
FB 101
RECV-DAT
(1)
CPUN
ERWA
(2)
Parameter
name
Significance
Parameter
type
Data
type
CPUN
ERWA
Number of the CPU, on which FB 101 is called.
The numbers 1 to 4 are permitted.
Error/warning (see RECEIVE function /
OB 204)
D
Q
KF
BY
Continued on the next page
Applications
CPU 948 Programming Guide
10 - 74
C79000-G8576-C848-04
Содержание CPU 948
Страница 10: ...Contents CPU 948 Programming Guide 1 2 C79000 G8576 C848 04 ...
Страница 32: ...Contents CPU 948 Programming Guide 2 2 C79000 G8576 C848 04 ...
Страница 72: ...Data Blocks CPU 948 Programming Guide 2 42 C79000 G8576 C848 04 ...
Страница 74: ...Contents CPU 948 Programming Guide 3 2 C79000 G8576 C848 04 ...
Страница 154: ...Contents CPU 948 Programming Guide 4 2 C79000 G8576 C848 04 ...
Страница 200: ...Contents CPU 948 Programming Guide 5 2 C79000 G8576 C848 04 ...
Страница 308: ...Contents CPU 948 Programming Guide 7 2 C79000 G8576 C848 04 ...
Страница 324: ...Examples of Parameter Assignment CPU 948 Programming Guide 7 18 C79000 G8576 C848 04 ...
Страница 326: ...Contents CPU 948 Programming Guide 8 2 C79000 G8576 C848 04 ...
Страница 370: ...Addressable System Data Area CPU 948 Programming Guide 8 46 C79000 G8576 C848 04 ...
Страница 372: ...Contents CPU 948 Programming Guide 9 2 C79000 G8576 C848 04 ...
Страница 404: ...Operations with the Base Address Register BR Register CPU 948 Programming Guide 9 34 C79000 G8576 C848 04 ...
Страница 486: ...Contents CPU 948 Programming Guide 11 2 C79000 G8576 C848 04 ...
Страница 522: ...PG Functions via the S5 Bus CPU 948 Programming Guide 11 38 C79000 G8576 C848 04 ...
Страница 524: ...Contents CPU 948 Programming Guide 12 2 C79000 G8576 C848 04 ...
Страница 538: ...Contents CPU 948 Programming Guide 13 2 C79000 G8576 C848 04 ...
Страница 546: ...List of Key Words CPU 948 Programming Guide Index 6 C79000 G8576 C848 04 ...