Examples
6.4
Examples
Note
You can use the example program without modifications only on the IP246
positioning module.
Since the data transfer with the IP247 uses page numbers n to n+3 (data channel),
where n is the selected page number (base address, switch S2) you must change
the example as follows:
synchronize page numbers n to n+3.
Modification in the example of direct parameter assignment:
in FB51, in segment 4, the parameter SSNR of FBI 65 must be changed as follows:
for modes 20, 21 and 66 a selected page number between n and n+2 should be
entered. For the remaining FBI 65 modes the page number n+3 (data channel)
should be entered.
Modification in the example of indirect parameter assignment:
in data block DB1 66, data word DW6 must be overwritten with a selected page
number between n and n+2 when the modes 20, 21 and 66 are called. For the
remaining FB165 modes the page number n+3 (data channel) should be entered.
General Notes on the Examples
6.4.1
The following examples of the use of FBI 64 and FBI 65 are on the diskette supplied. The ex-
amples can be loaded completely in the PC memory to test the module. They illustrate a
possible parameter assignment for an axis,
All the required blocks with the exception of the handling blocks are available. The diskette also
provides a complete "program framework" which you can use.
6-54