Example Of Function Block Fb165 - Siemens SIMATIC S5 Manual

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

Advertisement

Examples
Segment 4:
yes
Segment 5:
BE

Example of Function Block FB165

6.4.6
In the example, function block FB165 works with the function blocks FB51 and FB52 and with
the data blocks DB1
04,
and DB200 to 207 (for read data). The following requirements must be met:
input I 6.0 must have signal state"1"
the type of parameter assignment can be selected via input I 6.1:
signal state "O" = indirect parameter assignment via FB52
signal state"1" = direct parameter assignment via FB51.
Function block FB51 shows the direct parameter assignment of FB165, FB52 shows indirect par-
ameter assignment. With indirect parameter assignment, the actual operands (job field) are
stored in data block DB166 from data word DW1 to DW6.
The example of indirect parameter assignment covers all possible modes, whereas the example
of direct parameter assignment is restricted to the following modes:
- read SYSID
- read machine data directory
- read actual values
- read machine data
- read machine data overview
- write SYSID
- write machine data
- delete machine data
6 - 6 6
Set PAFE fatching F 16,0
Store PAFE byte (FY255 ) in FYI 5

Advertisement

Table of Contents
loading

Table of Contents