Siemens SIMATIC S5 Manual page 307

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

Advertisement

IP 266
9.4.4
Selecting Modes via IB 4
All modes are selected in FB 26. In almost all cases, the number of the FB is iden-
tical to the mode number.
FB 2 is for "Jog 2" mode
FB 5 is for approach/set reference point mode
FBs 6, 8 and 9 are for modes 6, 8 and 9
The only exception is mode 99. Since not all CPUs allow FB numbers as high as
99, the FB number for this mode is 10. This mode is also the only mode that is
directly invoked in OB 1.
All FBs for selecting a mode have the same structure. First, the number of the
mode, in binary, is entered in output byte 64 (output byte 64 is byte 0 of the
output frame; see Section 7.1). For some modes, the mode parameters are also
preset in dependence on specific conditions, and entered in the relevant bytes.
FB 10: Synchronize IP 266
FB 10 is always invoked automatically in OB 1 when bit 0 in byte 2 of the input
frame is "0" (IB 66).
If the IP has not been synchronized, mode 99 must be started with the TOGGLE
bit = "1" and the START function.
START
Enter parameters
in the output
frame
END
EWA 4NEB 812 6057-02
FB 10 - NAME:MO99
Mode 99 is loaded into QB 64, START and
TOGGLE bit into QB 65
L
T
L
T
BE
STEP 5 Programming
KB 99
QB 64
KB 129
QB 65
9-19

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents