Specifications

C-10
IP 240
EWA 4NEB 811 6120-02b
C.4 Positioning Functions
Function FC 167 (STRU_POS)
The call, meaning, and parameter values for the FC 167 function are descri-
bed below.
Ladder Diagram LAD
Statement List STL
FC 167
EN
BGAD
KANR
DBNR
AFL
IMP
BCD
PRA1
PRA2
RUND
LOSE
DAV
ENO
PAFE
CALL FC 167 (
BGAD := ,
KANR := ,
DBNR := ,
AFL
:= ,
IMP := ,
BCD := ,
PRA1 := ,
PRA2 := ,
RUND := ,
LOSE := ,
DAV := ,
PAFE := );
The table below provides an overview of the parameters required by the
FC 165 function.
Name Parameter
Type
Data Type Description
BGAD INPUT INT Module address
KANR INPUT INT Channel number
DBNR INPUT INT Data block number
AFL INPUT INT Resolution for sensor pulses
IMP INPUT INT Set zero mark monitoring
BCD INPUT WORD Select number formats
PRA1 INPUT WORD Assign interrupts
PRA2 INPUT WORD Assign interrupts
RUND INPUT INT Select axis type
LOSE INPUT INT Compensation of slackness in gear
DAV INPUT INT Select switching performance of IP outputs
PAFE OUTPUT BYTE Error flag byte
Introductory
Remarks
Calling the
Function
Parameters
IP 240 Counter, Position Decoder and Positioning Module