User`s manual

A - 4
A
Appendix 4 Ladder programming of various operations
The following pages show an example of a ladder program (simply called "ladder
example" from here on) relating to operation of this module.
This ladder example is for the X-axis when the top address of the special I/O data area is
set to 1000.
The following explains various operations.
Jog operation
Jog operation is performed in the + direction for the duration that 6000 is ON. (In the ladder
example, the speed is 2000 pps, and the acceleration/deceleration No. is the parameter
value.)
Jog operation is performed in the - direction for the duration that 6001 is ON. (In the ladder
example, the speed is -150000 pps, and the acceleration/deceleration No. is for each of
two axes.)
Teaching
When 6005 is turned ON, this module enters the teaching mode. When a location is
specified by jog operation, for example, and 6005 is turned OFF, that location is taught. (In
the ladder example, teaching is performed at coordinate No.5.)
Zero return
When 6010 is turned ON, zero return is started.
Move origin
When 6011 is turned ON, move to origin is performed.
Present value preset
When 6012 is turned ON, the present value is overwritten to the preset value. (In the
ladder example, 3000 is overwritten to the preset value.)
Clear error
When 6020 is turned ON, the error is cleared.
Clear deviation
When 6021 is turned ON, the deviation is cleared.
Deceleration stop
When 6025 is turned ON, a deceleration stop is started.
Direct operation by incremental value coordinates
When 6030 is turned ON, direction operation is performed using absolute value
coordinates. (In the ladder example, positioning is performed at speed 100000 pps and by
parameter values for the acceleration/deceleration speed No. at absolute value
coordinate 200000.)
Direct operation by absolute value coordinates
When 6031 is turned ON, direction operation is performed using incremental value
coordinates. (In the ladder example, positioning is performed at speed 250000 pps and by
acceleration/deceleration speed No.1 for incremental value coordinate - 500000.)
Direct operation startup of speed control
When 6032 turns ON, direct operation is performed by speed control. (In the ladder
example, operation is performed at speed 250000 pps and by parameter values for the
acceleration/deceleration speed No. in the - direction. When an external interrupt is
entered, external interrupt travel distance of 50000 pulses are output and operation comes
to a stop at the external interrupt speed (parameter value).