Sample Program (Rewriting Positioning Tables) - Panasonic AFP7MC16EC User Manual

Fp7 series. motion control unit
Hide thumbs Also See for AFP7MC16EC:
Table of Contents

Advertisement

Automatic Operation (Position Control)

8.9.3 Sample Program (Rewriting Positioning Tables)

The operation for rewriting positioning tables using a user program is mainly divided into five
steps.
• Specify the axis number, table number and table size to rewrite the positioning table.
• Set the positioning data to be rewritten.
• Set the positioning data in the positioning data setting area in buffers.
• Execute reading or writing the data in accordance with the requests stored in buffers.
• Execute recalculation.
(Note): The sample program on the next page is for rewriting the positioning data of one table from the table number
1 of the axis number 1 for the FP7 MC Unit installed in the slot number 1.
 Contents of sample program
Mark
Description
Set the axis number, table number and table size to be rewritten.
Set the axis number, table number and table size.
Set the axis number, table number and table size in the unit memory (control area for buffer control).
Set the positioning data (14 words) to be rewritten in an arbitrary area.
Set the positioning data in the unit memory (positioning data setting area in the buffer).
Execute reading and writing the data in accordance with the requests stored in the buffer.
Specify reading or writing in the unit memory (control area for buffer control).
Set request flags in the unit memory (control area for buffer control).
Execute recalculation.
Set the table number and table size to be recalculated in the unit memory (setting parameter control
area).
Request recalculation until it is completes.
Reset the recalculation table size stored in the unit memory (setting parameter control area) to zero.
8-54

Advertisement

Table of Contents
loading

This manual is also suitable for:

Afp7mc32ecAfp7mc64ec

Table of Contents