Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

RSLogix - MicroLogix 1100 - Setting Timer preset as a variable

Status
Not open for further replies.

GFraser

Electrical
Mar 3, 2009
1
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:
 
Replies continue below

Recommended for you

just use mov n7:3 t4:0.pre
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor