6 - 2
Chapter 6 Sequence Program Used for Positioning Control
6.1 Precautions for creating program
The common precautions to be taken when writing data from the PLC CPU to the
buffer memory of Simple Motion module are described below.
When diverting any of the program examples introduced in this manual to the actual
system, fully verify that there are no problems in the controllability of the target system.
(1) Reading/writing the data
Setting the data explained in this chapter (various parameters, positioning data,
block start data) should be set using GX Works2.
When set with the sequence program, many sequence programs and devices
must be used. This will not only complicate the program, but will also increase
the scan time.
When rewriting the positioning data during continuous path control or continuous
positioning control, rewrite the data four positioning data items before the actual
execution. If the positioning data is not rewritten before the positioning data four
items earlier is executed, the process will be carried out as if the data was not
rewritten.
(2) Restrictions to speed change execution interval
Provide an interval of 100ms or more when changing the speed or performing
override function with the Simple Motion module.
(3) Process during overrun
Overrun is prevented by the setting of the upper and lower stroke limits with the
detailed parameter 1.
However, this applies only when the Simple Motion module is operating correctly.
It is recommended to create an external circuit including a boundary limit switch
to ensure the whole system safety as follows: the external circuit that turns OFF
the main circuit power of the servo amplifier when the boundary limit switch
operates.