Serial Data from PLC
Serial Data from PLC
I have a pretty complex issue. We have a PLC that sends the string 40000 to a PC via serial cable. A program on that PC called CPS Plus then transforms that string into simulated keystrokes. Users have found that they are able to type 40000 instead of letting the PLC run its course. Unfortunately they need the keyboard for other tasks. I have tried blocking the 4 and 0 keys when this specific window is active but it blocks the keystrokes coming from this CPS program. I'm to any ideas to stop the end users from manually typing 40000. Thank you!
Re: Serial Data from PLC
Looking at a posting like this https://www.autohotkey.com/board/topic/64800-specifying-an-arificial-key/ (from Telic) makes me think that GetKeyState() in companion with a Hotkey/-string could do the trick?!
Re: Serial Data from PLC
I'm sorry. I dont think I quite understand. Can you elaborate on how the two would work together?
BoBo wrote: ↑24 Jun 2022, 02:25Looking at a posting like this https://www.autohotkey.com/board/topic/64800-specifying-an-arificial-key/ (from Telic) makes me think that GetKeyState() in companion with a Hotkey/-string could do the trick?!