STEP 5 Operations
S5-100U
Load and Transfer Operations
Table 8-23 lists the various load and transfer operations. An example follows the table.
Table 8-23. Overview of Load and Transfer Operations
*
Not for integral function blocks
Parameter
Data
type
type
Actual operands permitted
Operation
Meaning
Operand
Formal operand
Inputs, outputs, and flags
addressed in binary form
Data
Timers and counters
I, Q, F
PW*, PY*
DW, DR, DL
T, C
BY, W
L
=
LD
=
LW =
T
=
Load a formal operand.
Load a formal operand in BCD code.
Load the bit pattern of a formal operand.
Transfer to a formal operand.
For L
=
Timers and counters
T, C
D
KF, KH, KM,
KY, KS, KT, KC
I, Q
DW, DR, DL
F, PW*, PY*
BY, W
For LD
=
For LW
=
For T
=
Inputs, outputs, data (DW,
DR, DL) and flags
addressed in binary form
Bit pattern
Example: FB34 is assigned parameters in PB1.
:A
I
0.0
:L
FW
10
:S
C
6
:A
I
0.1
:L
KC
140
:S
C
7
:A
I
0.2
:CU
C
6
:CU
C
7
:LD
C
7
:T
QW
4
:A
I
0.3
:R
C
6
:R
C
7
:L
KC
160
:LD
C
7
:!=F
:R
C
7
:BE
Program in FB34
:A
=I 0
:L
=L1
:S
C
6
:A
=I 1
:LW
=LW1
:S
C
7
:A
I
0.2
:CU
C
6
:CU
C
7
:LD
=LC1
:T
=T1
:A
I
0.3
:R
C
6
:R
C
7
:LW
=LW2
:LD
=LC1
:!=F
:R
C
7
:BE
:JU FB 34
NAME
:LOAD/TRAN
I0
:
I 0.0
I1
:
I 0.1
L1
:
FW 10
LW1 :
:
KC 140
LC1
:
C 7
T1
:
QW 4
LW2 :
:
KC 160
:BE
Call in PB1
Executed Program
8-60
EWA 4NEB 812 6120-02b
Содержание SIMATIC S5-100U
Страница 6: ...EWA 4NEB 812 6120 02b ...
Страница 16: ...EWA 4NEB 812 6120 02b ...
Страница 21: ...1 The SIMATIC S5 System Family EWA 4NEB 812 6120 02b ...
Страница 22: ...Figures 1 1 Members of the SIMATIC S5 System Family 1 1 EWA 4NEB 812 6120 02b ...
Страница 23: ......
Страница 27: ......
Страница 36: ...EWA 4NEB 812 6120 02b ...
Страница 40: ......
Страница 41: ......
Страница 42: ......
Страница 43: ......
Страница 48: ......
Страница 49: ......
Страница 50: ......
Страница 102: ...EWA 4NEB 812 6120 02b ...
Страница 156: ...EWA 4NEB 812 6120 02b ...
Страница 232: ...EWA 4NEB 812 6120 02b ...
Страница 268: ...EWA 4NEB 812 6120 02b ...
Страница 272: ...EWA 4NEB 812 6120 02b ...
Страница 336: ...EWA 4NEB 812 6120 02b ...
Страница 352: ...EWA 4NEB 812 6120 02b ...
Страница 412: ...EWA 4NEB 812 6120 02b ...
Страница 482: ...EWA 4NEB 812 6120 02b ...
Страница 484: ...EWA 4NEB 812 6120 02b ...
Страница 505: ...B Dimension Drawings EWA 4NEB 812 6120 02b ...
Страница 515: ...C Active and Passive Faults in Automation Equipment EWA 4NEB 812 6120 02b ...
Страница 516: ...EWA 4NEB 812 6120 02b ...
Страница 522: ...EWA 4NEB 812 6120 02b ...
Страница 523: ...D Information for Ordering Accessories EWA 4NEB 812 6120 02b ...
Страница 524: ...EWA 4NEB 812 6120 02b ...
Страница 530: ...EWA 4NEB 812 6120 02b ...
Страница 531: ...E Reference Materials EWA 4NEB 812 6120 02b ...
Страница 532: ...EWA 4NEB 812 6120 02b ...
Страница 534: ...EWA 4NEB 812 6120 02b ...
Страница 535: ...F Siemens Addresses Worldwide EWA 4NEB 812 6120 02b ...
Страница 536: ...EWA 4NEB 812 6120 02b ...
Страница 542: ...EWA 4NEB 812 6120 02b ...
Страница 543: ...Index EWA 4NEB 812 6120 02b ...
Страница 544: ...EWA 4NEB 812 6120 02b ...
Страница 550: ...EWA 4NEB 812 6120 02b ...