Using The Function Block - Siemens SIMATIC S5 Manual

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

Advertisement

Standard Function Block FB165
6.3.11

Using the Function Block

[n cyclic operation it is @ possible to address a module both with indirect and direct para-
meter assignment.
Function block FBI 65 works with data block DB1 65. This must be installed up to and including
data word DW47. No particular assignment of the data words is necessary.
Data block DB165 is divided into two areas, in which data words DW1 and DW2 are reserved for
indirect assignment of parameters to the function block. Data words DW3 to DW47 are the work-
ing area for FBI 65. You must not change the working area.
When assigning parameters to FB1 65, remember that the specified data blocks of the source
and destination parameters must exist and must be adequately long.
The axis data block (parameter DBNR) must have the following length:
length = parameter DWNR + 14
The DB/DX number and the DW number can be selected as required.
The data block is setup with a programmer, e.g. with the PG 685, STEP 5 under S5-DOS with
the following commands (see corresponding documentation):
(input)
(block)
P c
DWO: KY = 000,000
DW 1 : KY= 000,000
DW2: KY = 000,000
DW3: KY = 000,000
FBI 65 can be called conditionally. The call must be made cyclically until the assigned mode is
completely executed. The mode fiob) runs
— with indirect parameter assignment as long as data word DWn is not equal to KHOOOO in
the axis data block.
6-52
enter key <[>
enter key <1>

Advertisement

Table of Contents
loading

Table of Contents