Siemens SIMATIC S5 Manual page 255

Ip 266 positioning module
Hide thumbs Also See for SIMATIC S5:
Table of Contents

Advertisement

Communication Between the CPU and the IP 266
Example 1:
The drive is to be moved a distance of - 50.500 mm in "relative increment mode"
(mode 7).
Position
Byte 4
specification
Binary
KF
= sign and integer positions
BCD
KH
= sign and integer positions
Binary (KF format)
Integer positions
Byte 4
Byte 5
Decimal positions
Byte 6
Byte 7
Example 2:
The drive is to be moved the very short distance of - 0.500 mm in "relative incre-
ment mode" (mode 7). When you enter the value in binary, you must specify the
decimal digits as a negative number.
Table 7-6. Entering a Small Negative Value
Position
Byte 4
specification
Binary
KF
= sign and integer positions
BCD
KH
= sign and integer positions
7-10
Byte 5
Byte 6
- 50
8005
= 1 integer and 3 decimal positions
BCD (KH format)
Byte 4
Byte 5
- 50
Byte 6 (bits 4 to 7)
Byte 6 (bits 0 to 3)
500
Byte 7
Byte 5
Byte 6
0
8000
= 1 integer and 3 decimal positions
IP 266
Byte 7
500
= decimal positions
0500
8005
0500
Byte 7
-
500
= decimal positions
0500
EWA 4NEB 812 6057-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents