plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

Get the book!

If you're really looking to learn about PLCs, you NEED our book...

"Your Personal PLC Tutor - A Guide to Understanding PLCs"

Easy to read and uses 'plain' language!
Get $$FREE$$ priority mail shipping too!!!
You WILL be glad you did!!

Click Here now to order

Reply
 
Thread Tools Display Modes
Old February 5th, 2010, 03:56 PM   #1
BobB
Member
Australia

BobB is offline
 
BobB's Avatar
 
Join Date: Jun 2002
Location: Sydney
Posts: 2,607
Unity Pro and keystroke program

In the old DOS days (and early Windows) there were key stroke programs available. Program a key combination to insert a string.
Does anyone know of a keystroke program that will run on XP Pro and work in Unity Pro?
I wish to have some key combinations set up to automatically insert the early part of an address so that I only have to type in either the channel and bit number or just the bit number.
Save me a heck of a lot of time.
It may even be built into Unity Pro but if it is I have not found it.
__________________
The Old Pfhaart

  Reply With Quote
Old February 5th, 2010, 08:53 PM   #2
GeoffC
Member
Australia

GeoffC is offline
 
GeoffC's Avatar
 
Join Date: Aug 2006
Location: Newcastle
Posts: 251
Not sure what you are trying to achieve, but a couple of thoughts.
To enter the tags in the first place you could use an excel spreadsheet and the import function.
When using tags in the program the autocomplete function will do a lot of the work in entering the tagnames. Note the autocomplete table is built up as you use the tags in the program, ie first time you would need to enter pump1_run but the next time you would only need to enter p and it will autocomplete.
Another method is to do a section of logic with no tags, then just drag from the symbol table
You could make your tags as short as you like while building the program and then when you are finished change the tags to something meaningful (don't worry - the change is reflected immediately throughout the program)

Hope this helps
  Reply With Quote
Old February 5th, 2010, 11:12 PM   #3
Doug-P
Member
United States

Doug-P is offline
 
Doug-P's Avatar
 
Join Date: Jun 2003
Location: Pa
Posts: 529
I'm not sure if this is quite what you're looking for but, there's a program called 'mclipbrd'. It sets up ten clipboards accessible to windows programs just like the one that comes standard with windows. Maybe it'll work for you.

http://www.nonags.com/nonags/clipb.html

After checking at Nonags, I don't see mclipbrd listed anymore. There are several others though.

I could email you a copy if you're interested.
__________________
A thousand miles can be so many ways - just to know who is driving, what a help it would be. Moody Blues

Last edited by Doug-P; February 5th, 2010 at 11:16 PM. Reason: New info
  Reply With Quote
Old February 8th, 2010, 02:33 PM   #4
BobB
Member
Australia

BobB is offline
 
BobB's Avatar
 
Join Date: Jun 2002
Location: Sydney
Posts: 2,607
Thanks for the replies.
Will have to have a look around and see what I can find.
By the way, I am old and old fashioned - dislike symbol programming and find using numbers much easier and certainly much fatsre except when having to type in all the address required by Unity Pro. Just trying to make life easier for myself.
__________________
The Old Pfhaart

  Reply With Quote
Old February 9th, 2010, 12:35 AM   #5
GeoffC
Member
Australia

GeoffC is offline
 
GeoffC's Avatar
 
Join Date: Aug 2006
Location: Newcastle
Posts: 251
Bob
Be careful if you use direct addressing you will find it very difficult to cross reference and search
Note that only the i/o and externally referenced (SCADA) tags need to be assigned an address, all internal tags do not need to be addressed
  Reply With Quote
Old February 9th, 2010, 09:16 AM   #6
mellis
Member
United States

mellis is offline
 
Join Date: Nov 2004
Location: Cincinnati, Ohio
Posts: 449
Bob,

Just get a programmable keyboard. You can program any string and assign it to any key. Totally independant of the software you are running, and you can change assigments as you go. I used to use one in Autocad for much the same reasons.
  Reply With Quote
Old February 9th, 2010, 03:40 PM   #7
JHarbin
Member
United States

JHarbin is offline
 
Join Date: Sep 2009
Location: NC
Posts: 89
Quote:
Originally Posted by mellis View Post
Bob,

Just get a programmable keyboard. You can program any string and assign it to any key. Totally independant of the software you are running, and you can change assigments as you go. I used to use one in Autocad for much the same reasons.
Can you still find a decent programmable keyboard.

One of our VPs and I both use old Gateway Anykey Keyboards (Maxiswitch) but haven't seen a good replacement. I bet mine has saved me hundreds if not thousands of hours over the years.

If you know of one, a link would be appreciated - we don't know what we will do if our's fail.
  Reply With Quote
Old February 9th, 2010, 04:02 PM   #8
JBJennings
Member
United States

JBJennings is offline
 
JBJennings's Avatar
 
Join Date: Feb 2008
Location: Waynesboro, VA
Posts: 45
LOL this one..... http://www.artlebedev.com/everything/optimus/ but I personally use this one.... http://www.logitech.com/index.cfm/43...?WT.z_sp=Image It has 18 keys that are programmable with 3 separate macros for each G-key and the LCD is awesome.

Looking forward to the Logitech G19 in the future (Color LCD version)
__________________
J. Brad Jennings
Electrical Engineer
Allen-Bradley PLC, ASi interfaces, PanelView , WonderWare, Automation Direct hardware/software ask me I may have a solution...
  Reply With Quote
Old February 9th, 2010, 04:06 PM   #9
JHarbin
Member
United States

JHarbin is offline
 
Join Date: Sep 2009
Location: NC
Posts: 89
Quote:
Originally Posted by JBJennings View Post
LOL this one..... http://www.artlebedev.com/everything/optimus/ but I personally use this one.... http://www.logitech.com/index.cfm/43...?WT.z_sp=Image It has 18 keys that are programmable with 3 separate macros for each G-key and the LCD is awesome.

Looking forward to the Logitech G19 in the future (Color LCD version)

The G19 is available at Amazon US.

If I don't "game" is the LCD good for anything?
  Reply With Quote
Old February 9th, 2010, 04:53 PM   #10
mellis
Member
United States

mellis is offline
 
Join Date: Nov 2004
Location: Cincinnati, Ohio
Posts: 449
I used to use the old Gateway programmable keybpard too. I have a couple, they both quit working long ago.

I see JBJennings beat me to pointing out that the current users of programmable keybpards are gamers. Just try to deal with the "Star Trek" look and enjoy the function.

Last edited by mellis; February 9th, 2010 at 05:17 PM.
  Reply With Quote
Old February 9th, 2010, 06:55 PM   #11
JBJennings
Member
United States

JBJennings is offline
 
JBJennings's Avatar
 
Join Date: Feb 2008
Location: Waynesboro, VA
Posts: 45
The LCD also shows your Media Player info, a Digital clock, and other useless information. On the G19 it can also display thumbnails.
__________________
J. Brad Jennings
Electrical Engineer
Allen-Bradley PLC, ASi interfaces, PanelView , WonderWare, Automation Direct hardware/software ask me I may have a solution...
  Reply With Quote
Old February 9th, 2010, 09:04 PM   #12
Robobob
Member
United States

Robobob is offline
 
Robobob's Avatar
 
Join Date: Apr 2004
Location: Toledo
Posts: 22
Try www.autohotkey.com/
I think this is what you are looking for. You write macros that are triggered by key strokes. There is a forum of users to help in writing the macros
  Reply With Quote
Old February 10th, 2010, 08:32 AM   #13
chud
Member
South Africa

chud is offline
 
chud's Avatar
 
Join Date: Oct 2007
Location: KALAHARI
Posts: 294
As Geoff said I would seriously considder moving to symbol tags. That will save the most time
  Reply With Quote
Old February 11th, 2010, 04:37 AM   #14
BobB
Member
Australia

BobB is offline
 
BobB's Avatar
 
Join Date: Jun 2002
Location: Sydney
Posts: 2,607
AAARRGGHHH! Hate symbol programming! I like numbers.
Will have a serious look at autohotkey though. Thanks for the tip. Nice to see a few like minded people here quite frankly.
I use the keyboard all the time - beats the heck out of getting RSI from a flaming mouse.
I guess if one did not grow up in DOS days the GUI is great but for us old folk it is a resource intensive pain in the 'A'.
__________________
The Old Pfhaart

  Reply With Quote
Old February 11th, 2010, 05:31 AM   #15
GeoffC
Member
Australia

GeoffC is offline
 
GeoffC's Avatar
 
Join Date: Aug 2006
Location: Newcastle
Posts: 251
Bob

Why not use symbols that are numbers prefixed with a letter or underscore
eg 'A1', '_1'. I think that would require less keystrokes than even the best hotkey program. They would appear in your variable table so searching and cross referencing is easy and you can assign a description, you cannot assign a description to an address.

You could either

-use a spreadsheet to create the variable table assigning symbols starting at 'I1' to the input addresses, 'Q1' to the outputs and 'M1' to internals and import the table

-or just start programming and enter for example I1 for the variable (no need to declare before using) Unity will prompt if this is a new variable and you only need to hit the enter key. No need to use the mouse. At any stage you can assign the address to the symbol.

That brings up another benefit. You dont need to know the addresses before you start, or if you need to change an address it is a simple matter of changing the symbol address assignment, not searching through changing each instance
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 06:33 PM.


.