Siemens Simatic S5 IP 240 Manual page 258

Counter/positioning/position decoder module
Hide thumbs Also See for Simatic S5 IP 240:
Table of Contents

Advertisement

Positioning
FKT
: KY x,y
Format
x
0
1
20
21
22
3
41
42
5
6
PAFE : QB
Output or flag byte (0 to 239) to be used for flagging errors ( Section 6.4).
10-92
Description
y
0
Take function number (FKT) from DW 19.
-
Read actual value, feedback position number, status bits and
final value.
0
Write control bits.
1
Write control bits to disable the IP outputs.
The FB sets control bit FREI (D36/8) to "0".
1 to
Write control bits and position number.
255
y=
Position number to be transferred
y=255 Retain old position number
The FB transfers the y entry to DR35 in the data block.
0
Write position data for position 0.
-
Read interrupt request bytes
1 to
Transfer position value for the yth entry in the DB.
255
y= Entry to be transferred
1 to
Transfer position values for the yth and the (y+1)th entry
255
in the DB.
y= First entry to be transferred
Transfer zero offset
0
Zero offset is relative, the FB sets the ADD bit (D45/0) to "0".
>0
Zero offset is additive, the FB sets the ADD bit (D45/0) to "1".
-
Transfer distance values for positions 1 to 254
IP 240
EWA 4NEB 811 6120-02a

Advertisement

Table of Contents
loading

Table of Contents