Host Engineering Forum

General Category => General Discussion => Topic started by: Jersey Red on January 11, 2012, 07:30:05 AM

Title: D0-06 Controling Timer Value through I/O
Post by: Jersey Red on January 11, 2012, 07:30:05 AM
I am using 2 BCD Thumb switches ( address x100 - x107 ) to control a on delay timer value. I need a basic flow of moving and converting the data for the timer.
Title: Re: D0-06 Controling Timer Value through I/O
Post by: b_carlton on January 11, 2012, 09:02:21 AM
Let's assume that a timer has been set up with its preset in V2000.

The rung to move the value from the thumbwheel switches to the preset would be

LDF X100 K8
OUT V2000
Title: Re: D0-06 Controling Timer Value through I/O
Post by: Controls Guy on January 11, 2012, 04:26:07 PM
If you can dedicate the entire word to the thumbwheels, you can just refer to VX100.  I got to do that ONE time.  Serendipitous!
Title: Re: D0-06 Controling Timer Value through I/O
Post by: ATU on January 11, 2012, 07:09:24 PM
Sounds like a homework problem to me.