Note
If you change the order or the number of formal operands in the
formal operand list, you must also update all STEP 5 statements
in the function block that reference a formal operand and also
the block parameter list in the calling block!
Program or change function blocks only on diskette or hard disk
and then transfer them to your CPU!
Formal operands
The following parameter and data types are permitted as the formal
operands of a function block (also known as block parameters):
Parameter type
Data type
I = input parameter
Q = output parameter
BI/BY/W/D
D = data
KM/KH/KY/KS/KF/
KT/KC/KG
B = block operation
T = timer
C = counter
none
(no type can be specified)
I, D, B, T or C are parameters that are indicated to the left of the
function symbol in graphic representation.
Parameters labelled with Q are indicated on the right of the function
symbol.
The data type indicates whether you are working with bits, bytes,
words or double words for I and Q parameters and which data format
applies to D parameters (e.g. bit pattern or hexadecimal pattern).
Table 2-5
Permitted formal operands for function blocks
Function Blocks
CPU 948 Programming Guide
C79000-G8576-C848-04
2 - 27
Содержание 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 ...