5.3 Description of Function Codes 5.3.9 d codes (Applied functions 2)
Teaching
The position data 1 to 8, homing shift, software OT detection position, and pass point detection position function
code setting values can all be rewritten with the current position (teaching). Other than position data, all setting
values are specified by setting the individual teaching function codes in the following table to 1 or 2. The setting
values automatically return to 0. Teaching is possible at any time.
Teaching of position data 1 to 8 is performed by setting the position data number for d216, and turning digital input
“TEACH” ON.
Terminal [X1] to [X9]
(Function selection)
Terminal [FWD]
(Function selection)
Terminal [REV]
(Function selection)
143 (1143): Teaching signal "TEACH"
Positioning data teaching
0: Disable
1 to 8; Position data 1 to 8 selection
0: Disable
1: Writes feedback current position to homing shift
(d242, d243)
Software OT detection position
teaching
0: Disable
1: Writes feedback current position to + OT (d225,
d226)
2: Writes feedback current position to - OT (d227,
d228)
Pass point detection position
teaching
0: Disable
1: Writes feedback current position to pass point
detection position 1 (d229, d230)
2: Writes feedback current position to pass point
detection position 2 (d231, d232)
Position control with pulse train input
Position control can be performed with pulse train input as pulse position commands. With 12: Pulse train command
set for the originally selected function code F01 (or C30) for the frequency command, by turning digital input
“POS/Hz” ON, position control is performed using pulses from pulse train input as position command pulses.
Electronic gears operate at the ratio of input pulses to position commands (user values) in the same way as that for
feedback pulses. If the ratio differs, align them using pulse scaling factor 1 and 2 (d62, d63).
Position command (user value) =
No. of input pulses x
d63: Pulse scaling factor 2
d62: Pulse scaling factor 1
x
d207: Electronic gear numerator
d206: Electronic gear denominator
Refer to the function code F01 item for pulse train input method detailed settings.
A setting example for a conveyor performing sizing by position control is shown below.