5.3 Description of Function Codes 5.3.9 d codes (Applied functions 2)
[ 6 ] Setting example for conveyor performing sizing by position control
Conveyor configuration example
• Reduction ratio between motor and machine: 1:5
• Encoder connected to machine shaft
• Encoder pulse count 1024 [Pulse/rev]
• Conveyor moves 6.78 [mm] with single rotation of machine shaft
• Conveyor moves 123.45 [mm] with single positioning operation
M
定寸送り量 定寸送り量 定寸送り量
定寸送り量定寸送り量
定寸送り量
減速比 1:5
エンコーダ
1024 [pulse/rev]
搬送装置
6.78 [mm / rev]
PG
MEGA
(G2)
123.45[mm]
Electronic gear settings
The user should consider specifying travel in 0.01 [mm] units for a conveyor with the above configuration.
In this case, the encoder value and user value are calculated using an electronic gear.
Electronic gear numerator
Electronic gear denominator
=
Travel per 1 user value digit
Travel per rotation
Encoder feedback pulse
=
0.01 [mm]
6.78 [mm/rev]
1024 [pulse/rev]
=
1024
678
=
d207
d206
Furthermore, the part connected to the encoder is not the motor shaft, but the spindle (machine shaft), and therefore
it will also be necessary to set speed control related parameters. The following parameters must be set.
If providing the target position with absolute position commands
Constant rate of feeding can be realized by clearing the current position after each movement. And in the case of
absolute position commands, by setting a software OT, the machine can be protected from overshoot each time.
If the constant rate of feeding amount is 123.45 mm, and the software OT is set to 133.45 mm, the following
parameter values should be set.
Deceleration start at software OT
4 higher order digits of software +OT
4 lower order digits of software +OT
Target position = absolute position
4 higher order digits of positioning data 1
4 lower order digits of positioning data 1
Constant
rate of
feeding
amount
Constant
rate of
feeding
amount
Constant
rate of
feeding
amount
Constant
rate of
feeding
amount
Constant
rate of
feeding
amount
Constant
rate of
feeding
amount