![background image](http://html.mh-extra.com/html/omron/3g3mv-p10cdt-e/3g3mv-p10cdt-e_user-manual_743166094.webp)
Example Programs
Appendix B
PLC Input 4
for positioning
B-4-6
Defining the application
•
When counting for the required accuracy a safe rule is to count on 20-30 quad edge pulse error
directly on the motor. Depends mostly on the mechanical system design.
•
The encoder can be either in the motor or after gearbox. For higher accuracy in the motor is good, but
then we have to be careful with the frequency limits of the input.
•
In any case take into account the 5KHz maximum input rate for the maximum motor speed. Depends
on the encoder resolution, where it is placed and encoder max rpm. Typical figure is for a 1500rpm
motor, with encoder directly coupled to motor that we can use a 200ppr encoder if we require full
speed range : This is 5KHz at top speed.
B-4-7
Program structure
The program structure is as follows:
•
User_Parameter_Init:
will be used by the customer to initialise Position program parameters and
application own parameters
•
User_Application:
will make use of the control bits and parameters of the Positioning template to do
the machine sequence. If the user program has more sections all have to be in front of the Pos_???
sections.
•
Pos_Loop
: provides the position/speed control capabilities
•
Pos_HomeSequence
: provides the home sequence facilities.
B-4-8
Setting position parameters
The software provides the following BIT/WORD interface area and default values ….
NOTE : as the reading of the encoder signal comes from quadrature signals, the name quads refers to four
counts for each encoder pulse…. It means a 200ppr encoder will provide a real resolution of 800 quads per
revolution….
The frequency limit is defined by the real pulse limit, not quads.
Default values
are the default values in the examples provided. Customer can fill its own values.
It is recommended to first do a trial run in speed with small reference and check that the counting of the
encoder corresponds to speed reference given. If not some wiring might be wrong. Once positive sense
corresponds to positive count, then we can go for the positioner settings.
81
Summary of Contents for 3G3MV-P10CDT-E
Page 2: ...3G3MV P10CDT PLC Option Unit User s Manual Revised June 2003 ...
Page 38: ...Unit Components and Specifications SECTION 2 2 1 4 Dimensions 68 128 55 25 ...
Page 43: ......
Page 85: ...Example Programs Appendix B 72 ...
Page 86: ...Example Programs Appendix B 73 ...
Page 87: ...Example Programs Appendix B 74 ...
Page 88: ...Example Programs Appendix B 75 ...
Page 90: ...Example Programs Appendix B 77 ...
Page 91: ...Example Programs Appendix B 78 ...
Page 97: ...Example Programs Appendix B B 4 9 Programs User_Parameter_Init 84 ...
Page 98: ...Example Programs Appendix B 85 ...
Page 99: ...Example Programs Appendix B User_Application Pos_Loop 86 ...
Page 100: ...Example Programs Appendix B 87 ...
Page 101: ...Example Programs Appendix B 88 ...
Page 102: ...Example Programs Appendix B 89 ...
Page 103: ...Example Programs Appendix B 90 ...
Page 104: ...Example Programs Appendix B 91 ...
Page 105: ...Example Programs Appendix B 92 ...
Page 106: ...Example Programs Appendix B 93 ...
Page 107: ...Example Programs Appendix B Pos_Home_Sequence 94 ...
Page 108: ...Example Programs Appendix B 95 ...
Page 109: ...Example Programs Appendix B 96 ...