RSLogix - MicroLogix 1100 - Setting Timer preset as a variable
RSLogix - MicroLogix 1100 - Setting Timer preset as a variable
(OP)
My code is meant to run separate outputs in sequence with Forward/Reverse and speed based off on a single analog input (potentiometer).
Basically, I have all of my logic completed, but the only thing that I need now is a way to convert the variable (a 100-1000 integer) stored in my N7:3 into a valid preset for the timers that control the cycling from one output to another.
Visual explanation of what I'm looking for:
http://img .photobuck et.com/alb ums/v236/S eraphant/a ddressingp roblem.jpg
Basically, I have all of my logic completed, but the only thing that I need now is a way to convert the variable (a 100-1000 integer) stored in my N7:3 into a valid preset for the timers that control the cycling from one output to another.
Visual explanation of what I'm looking for:
http://img





RE: RSLogix - MicroLogix 1100 - Setting Timer preset as a variable
mov n7:3 t4:1.pre
to put n7:3 into timer presets
assuming you want a preset of 0.1 to 1 seconds
otherwise alter time base tab and/or scaling to suite range required
regards mel