Indirect Assignment Of Parameterstofb164 - Siemens SIMATIC S5 Manual

Positioning module 1p 247 for stepper motors
Hide thumbs Also See for SIMATIC S5:
Table of Contents

Advertisement

Indirect Assignment of ParameterstoFB184
6.2.7.1
You can assign parameters to the function block FBI 64 indirectly. You must preset the value
as the actual operand for parameter DBNR. With this assignment, FBI 64 takes the values for its
parameters from the data block valid before its call.
You can use all permitted data blocks. Even data block DB164 or the axis data block would be
possible.
Indirect parameter assignment requires data words DW1 to DW7 of the data block inclusive;
these data words have a fixed assignment. When using DB1 84, this does not lead to conflicts,
since FB164 uses DW8toDW15 inclusive as its working area. If the axis data block is open
before FB164 is called, you must enter at least the value 8 in DW5 (parameter DWNR) as the first
data word to make sure that the data for indirect parameter assignment are not overwritten.
When using indirect parameter assignment, the same conditions apply to the individual parame-
ters (DW1 ...DW7) of the open data block as for direct parameter assignment (=> Section 6.2,4
"Explanation of the Parameters").
With indirect parameter assignment, the formal operands PAFE, BEFE, TBIT are updated in the
actual operand of theFB164 call as in direct parameter assignment.
Free
Parameter BA, mode (mode number)
Free
Commands: STAR, STOP, VORW, RUCK, UEBN
Parameter DBNR KY DB type, number of the
Parameter DWNR (first data word)
I
Parameter BCD identifier output
You must assign values to data words DW1 to DW7 before the function block FB164 is called.
axis data block
The Standard Function Block FB164
Recommended
data format
KH
KF
KH
KM
KY
KF
KF
I KY
KY 0,0= binary
KY 0,1= BCD
6 - 1 9

Advertisement

Table of Contents
loading

Table of Contents