Mitsubishi Electric MELSEC iQ-F FX5 Series User Manual page 69

Motion module/ simple motion module
Hide thumbs Also See for MELSEC iQ-F FX5 Series:
Table of Contents

Advertisement

Synchronous encoder via CPU
■Setting method
Used to operate a gray code encoder that is connected to the input part of the CPU module or the extension input module as
a synchronous encoder axis.
By setting "201: Synchronous encoder via CPU" in "[Pr.320] Synchronous encoder axis type", the synchronous encoder is
controlled by the encoder value which is the input value of "[Cd.325] Input value for synchronous encoder via CPU".
The encoder value can be used as a cycle counter within the range from 0 to (Resolution of synchronous encoder via CPU -
1).
Connection is invalid just after the system's power supply is ON. When "1" is set in "[Cd.324] Connection command of
synchronous encoder via CPU", the synchronous encoder axis position value and the synchronous encoder axis position
value per cycle are restored based on "[Cd.325] Input value for synchronous encoder via CPU". Therefore, connection
becomes valid, and will be on the counter enabling status.
The synchronous encoder axis is controlled based on the amount of change of "[Cd.325] Input value for synchronous encoder
via CPU" while it is connecting.
■Setting example
The following shows an example for setting a synchronous encoder via CPU as synchronous encoder axis 4 of the Simple
Motion module. (Resolution of the gray code encoder: 4096 pulses/rev)
Simple Motion
Set "201: Synchronous encoder via CPU" in "[Pr.320] Synchronous encoder axis type" of synchronous encoder axis 4.
Set "4096" in "[Pr.329] Resolution of synchronous encoder via CPU" of synchronous encoder axis 4.
Read the encoder value of the gray code encoder with a program, and update "[Cd.325] Input value for synchronous encoder
via CPU" of the synchronous encoder axis 4 at every time.
■Restrictions
• "[Cd.325] Input value for synchronous encoder via CPU" is taken every operation cycle, but it is asynchronous with the
scan time of the CPU module. Therefore, speed fluctuation of the synchronous encoder axis becomes larger if the refresh
cycle of "[Cd.325] Input value for synchronous encoder via CPU" becomes long. Update "[Cd.325] Input value for
synchronous encoder via CPU" in a cycle less than the operation cycle or use smooth speed fluctuation with the smoothing
function.
• The synchronous encoder current value that is restored for the synchronous encoder connection gets restored into a
converted value from the following range based on the synchronous encoder movement amount on disconnection.
Setting value of "[Pr.329]
Range of restored synchronous encoder current value
Resolution of
synchronous encoder via
CPU"
1 or more
-(Resolution of synchronous encoder via CPU / 2) to (Resolution of synchronous encoder via CPU / 2 - 1) [pulse]
0 or less
-2147483648 to 2147483647 [pulse]
*1 If the resolution of a synchronous encoder via CPU is an odd number, round down a negative value after the decimal point, round up a
positive value after decimal point.
module
Axis 1
Axis 2
Axis 3
Gray code encoder
Synchronous
encoder axis 4
*1
2 INPUT AXIS MODULE
2.3 Synchronous Encoder Axis
2
67

Advertisement

Table of Contents
loading

Table of Contents