High-Speed Input and Pulse Output Features
3–54
High-speed Input and Pulse Output Features
The following program selects Mode 60, then programs the filter delay time
constants for inputs X0, X1, and X2. Each filter time constant is different, for
illustration purposes. The program is otherwise generic, and may be adapted to your
application.
SP0
LD
K60
Load constant K60 into the accumulator. This
selects Mode 60 as the HSIO mode.
OUT
V7633
Output the constant to V7633, the location of the
HSIO Mode select register.
Direct
SOFT
Mode 60
LD
K2006
Load the constant K2006 which is required to select
filtered inputs with a 20 mS filter time constant.
OUT
V7635
Output this constant to V7635, configuring X1.
Filtered Inputs
OUT
V7636
Output this constant to V7636, configuring X2.
LD
K1006
Load the constant K1006 which is required to configure
filtered inputs with a time constant of 10 mS.
OUT
V7634
Output this constant to V7634, configuring X0.
END
END coil marks the end of the main program..
Main Program
Insert Main Program rungs here for your application.
LD
K5006
Load the constant K5006 which is required to select
filtered inputs with a 50 mS filter time constant.
Filtered Inputs
Program Example
Summary of Contents for DL05
Page 1: ...DL05 User Manual Automationdirect com ...
Page 2: ...DL05 User Manual Automationdirect com ...
Page 436: ...1B DL05 Error Codes In This Appendix Ċ Error Code Table ...
Page 443: ...1C Instruction Execution Times In This Appendix Ċ Introduction Ċ Instruction Execution Times ...
Page 459: ...1D Special Relays In This Appendix Ċ DL05 PLC Special Relays ...
Page 464: ...1E DL05 Product Weights In This Appendix Ċ Product Weight Table ...