High
-S
peed
Input
and
Pulse
O
utput
Features
3--50
High-speed Input and Pulse Output Features
DL105 PLC User Manual, 3rd Edition
The following program selects Mode 50, then programs the pulse catch code for X0.
Inputs X1, X2, and X3 are all configured as filtered inputs with 10, 30, and 50 mS time
constants respectively. The program is otherwise generic, and may be adapted to
your application.
SP0
LD
K50
Load constant K50 into the accumulator. This
selects Mode 50 as the HSIO mode.
OUT
V7633
Output this constant to V7633, the location of the
HSIO Mode select register.
Direct
SOFT
Mode 50
LD
K1006
Load the constant K1006 which is required to select
filtered inputs with a 10 mS filter time constant.
OUT
V7635
Output this constant to V7635, configuring X1.
Filtered Inputs
OUT
V7636
Output this constant to V7636, configuring X2.
OUT
V7637
Output this constant to V7637, configuring X3.
LD
K5
Load the constant K5 which is required to configure X0
as the pulse catch input.
OUT
V7634
Output this constant to V7634, configuring the pulse
catch option for X0.
Pulse Catch
END
END coil marks the end of the main program..
Main Program
Use the pulse catch input to set output Y0 on. This will
work even for a very short pulse on X0.
LD
K3006
Load the constant K3006 which is required to select
filtered inputs with a 30 mS filter time constant.
LD
K5006
Load the constant K5006 which is required to select
filtered inputs with a 50 mS filter time constant.
SP100
SET
Y0
Pulse Catch
Program Example
Summary of Contents for DL105
Page 2: ...DL105 PLC User Manual Manual Number D1 USER M...
Page 308: ...1B DL105 Error Codes In This Appendix Error Code Table...
Page 314: ...1C Instruction Execution Times In This Appendix Introduction Instruction Execution Times...
Page 324: ...1D Special Relays In This Appendix DL105 PLC Special Relays...
Page 327: ...1E PLC Memory In This Appendix DL105 PLC Memory...