×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

RSLogix - MicroLogix 1100 - Setting Timer preset as a variable

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.photobucket.com/albums/v236/Seraphant/addressingproblem.jpg

RE: RSLogix - MicroLogix 1100 - Setting Timer preset as a variable

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources