Author Topic: input variables  (Read 10650 times)

karen

  • Newbie
  • Posts: 18
  • I love YaBB 1G - SP1!
    • View Profile
input variables
« on: June 26, 2002, 01:24:38 PM »
is it possible to input two variables using the same keys
so you have the up down keys to change a number on the screen then the enter keys to input the variable then the screen changes and using the same up down key to change the number and the same enter key to key in the variable
thanks

karen
« Last Edit: December 31, 1969, 04:00:00 PM by 1076562000 »

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re: input variables
« Reply #1 on: June 27, 2002, 09:43:16 AM »
It certainly can be done - it is a matter of writing the custom functions to do it. You can check the sample program: "SetTimCtr_SV.PC5" program in the "samples" directory which allow you to use a few push buttons to change 3 timers and 3 counters set value.  There is no limit to how many variables can be changed in this way as long as the program memory is sufficient to fit in all the code.

Remember that you could use a potentiometer to connect to any unused analog input to form a good input device for changing variable values too.
« Last Edit: December 31, 1969, 04:00:00 PM by 1076562000 »
Email: support@triplc.com
Tel: 1-877-TRI-PLCS