HIGH-SPEED INPUT ANDPULSE OUTPUT FEATURESEEEEAAPPENDIXPPENDIXIn This Chapter:Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Calculating Your Preset ValuesThe preset values occupy two data words each. They can range in value from 0000 0000 to9999 9999, just like the high-spe
*With the counter reset, you have the option of a normal reset or a faster reset. However, thefast reset does not recognize changed preset values duri
The next figure shows how the HSIO counter will appear in a ladder program. Note that theEnable Interrupt (ENI) command must execute before the counte
Program Example (cont’d)The compare double instruction above uses the current count of the HSIO counter to turnon Y0. This technique can make more tha
Counter With Presets Program ExampleThe following example shows how to program the HSIO circuit to trigger on three presetvalues. You may recall the i
Some applications will require a different type of action at each preset. It is possible for theinterrupt routine to distinguish one preset event from
Counter With Preload Program ExampleThe following example shows how you can preload the current count with another value.When the preload command inpu
Troubleshooting Guide for Mode 10If you’re having trouble with Mode 10 operation, please study the following symptoms andpossible causes. The most com
Mode 20: Quadrature CounterPurposeThe counter in the HSIO circuit can count two quadrature signal pulses instead of a singlepulse train (mode 10 opera
Wiring DiagramA general wiring diagram for encoders to the DL05 in HSIO Mode 20 is shown below.Encoders with sinking outputs (NPN open collector) are
IntroductionBuilt-in Motion Control SolutionMany machine control applications require varioustypes of simple high-speed monitoring and control.These a
Setup for Mode 20Recall that V7633 is the HSIO Mode Select register. Refer to the diagram below. Use BCD20 in the lower byte of V7633 to select the Hi
DL05 Micro PLC User Manual, 6th Edition, Rev. CE–21Appendix E: High-speed Input and Pulse Output Features123DE678910111114ABCDWriting Your Control Pro
Program Example (cont’d)DL05 Micro PLC User Manual, 6th Edition, Rev. CE–22Appendix E: High-speed Input and Pulse Output Features123DE678910111114ABCD
Counter Preload Program ExampleTo preload the counter, just add the following example rungs to the program above.Troubleshooting Guide for HSIO Mode 2
Mode 30: Pulse OutputPurposeThe HSIO circuit in Mode 30 generates output pulsetrains suitable for open-loop control of a single-axismotion positioning
Functional Block DiagramThe diagram below shows HSIO functionality in Mode 30. When the lower byte of HSIOMode register V7633 contains a BCD “30”, the
DL05 Micro PLC User Manual, 6th Edition, Rev. CE–26Appendix E: High-speed Input and Pulse Output Features123DE678910111114ABCDWiring DiagramThe genera
Motion Control Profile SpecificationsThe motion control profiles generated in Pulse Output Mode have the followingspecifications:Physical I/O Configur
DL05 Micro PLC User Manual, 6th Edition, Rev. CE–28Appendix E: High-speed Input and Pulse Output Features123DE678910111114ABCDSetup for Mode 30Recall
Profile Parameter TableV7630 is a pointer location which points to thebeginning of the Profile Parameter Table. Thedefault starting location for the p
DL05 Micro PLC User Manual, 6th Edition, Rev. CE–3Appendix E: High-speed Input and Pulse Output Features123DE678910111114ABCDDedicated High- Speed I/O
Choosing the Profile TypePulse Output Mode generates three types of motion profiles. Most applications use one typefor most moves. However, each move
Trapezoidal Profile OperationTrapezoidal Profile ApplicationsThe trapezoidal profile is best suited for simple point-to-point moves, when the targetpo
Trapezoidal Profile Program ExampleThe trapezoidal profile we want to perform is drawn and labeled in the following figure. Itconsists of a non-zero s
Program Example (cont’d)Preload Position ValueAt any time you can write (preload) a new position into the current position value. This oftendone after
DL05 Micro PLC User Manual, 6th Edition, Rev. CE–34Appendix E: High-speed Input and Pulse Output Features123DE678910111114ABCDRegistration Profile Ope
Registration Profile Program ExampleThe registration profile we want to perform is drawn and labeled in the following figure. Itconsists of a non-zero
Program Example (cont’d)The profile will begin when the start input (X3) is given. Then the motion begins anindefinite move, which lasts until an exte
Home Search Program ExampleOne of the more challenging aspects of motion control is the establishment of actual positionat powerup. This is especially
The home search profile will execute specific parts of the program, based on the order ofdetection of the limit switches. Ladder logic sets C0 to init
Velocity Profile OperationVelocity Profile ApplicationsThe velocity profile is best suited for applications which involve motion but do not requiremov
Choosing the HSIO Operating ModeUnderstanding the Six ModesThe High-Speed I/O circuit operates in one of the 6 basic modes as listed in the table belo
Velocity Profile Program ExampleThe velocity profile we want to perform is drawn and labeled in the following figure. Eachvelocity segment is of indef
Program Example (cont’d)DL05 Micro PLC User Manual, 6th Edition, Rev. CE–41Appendix E: High-speed Input and Pulse Output Features123DE678910111114ABCD
Pulse Output Error CodesThe Profile Parameter Table starting at V2320 (default location) defines the profile. Certainnumbers will result in a error wh
4. Wiring – Verify the wiring to the stepper motor is correct. Remember the signal groundconnection from the PLC to the motion system is required.5. M
Mode 40: High-Speed InterruptsPurposeThe HSIO Mode 40 provides a high-speed interrupt to the ladder program. This capability isprovided for your choic
Setup for Mode 40Recall that V7633 is the HSIO Mode Select register. Refer to the diagram below. Use BCD40 in the lower byte of V7633 to select the Hi
DL05 Micro PLC User Manual, 6th Edition, Rev. CE–46Appendix E: High-speed Input and Pulse Output Features123DE678910111114ABCDExternal Interrupt Timin
External Interrupt Program ExampleThe following program selects Mode 40, then selects the external interrupt option. Inputs X1and X2 are configured as
Timed Interrupt Program ExampleThe following program selects Mode 40, then selects the timed interrupt option, with aninterrupt period of 100 ms.Input
Mode 50: Pulse Catch InputPurposeThe HSIO circuit has a pulse-catch mode of operation. It monitors the signal on input X0,preserving the occurrence of
DL05 Micro PLC User Manual, 6th Edition, Rev. CE–5Appendix E: High-speed Input and Pulse Output Features123DE678910111114ABCDConfiguring the HSIO Mode
Setup for Mode 50Recall that V7633 is the HSIO Mode Select register. Refer to the diagram below. Use BCD50 in the lower byte of V7633 to select the Hi
Pulse Catch Program ExampleThe following program selects Mode 50, then programs the pulse catch code for X0. InputsX1 and X2 are configured as filtere
Mode 60: Discrete Inputs with FilterPurposeThe last mode we will discuss for the HSIO circuit is Mode 60, Discrete Inputs with Filter.The purpose of t
Setup for Mode 60Recall that V7633 is the HSIO Mode Select register. Refer to the diagram below. Use BCD60 in the lower byte of V7633 to select the Hi
Filtered Inputs Program ExampleThe following program selects Mode 60, then programs the filter delay time constants forinputs X0, X1, and X2. Each fil
Mode 10: High-Speed CounterPurposeThe HSIO circuit contains one high-speed counter. A single pulse train from an externalsource (X0) clocks the counte
DL05 Micro PLC User Manual, 6th Edition, Rev. CE–7Appendix E: High-speed Input and Pulse Output Features123DE678910111114ABCDWiring DiagramA general w
Setup for Mode 10Recall that V7633 is the HSIO Mode Select register. Refer to the diagram below. Use BCD10 in the lower byte of V7633 to select the Hi
Preset Data Starting LocationV7630 is a pointer location which points to the beginning of thePreset Data Table. The default starting location for the
Comentarios a estos manuales