AnsweredAssumed Answered

Executing and sending commands to console program

Question asked by User1234 on Oct 30, 2020
Latest reply on Nov 5, 2020 by uWHarry

Hi, I have a console program that someone else wrote that I need to send commands to from my VEE program. I see the "execute program (PC)"  within VEE that can open this .exe file but I'm not sure how to send commands to it. The commands I need to send were provided by the programmer of the console program as shown below. Can anyone help me understand how I would sends these commands (one at a time when applicable) to the console program from VEE?

 

Should I do this through the execute program function (maybe in the program with parameters field) or is there another tool for this?

 

C:\>plcio ver
Rev:1.0

C:\>plcio passon
PASSON OK

C:\>plcio passoff
PASSOFF OK

C:\>plcio failon
FAILON OK

C:\>plcio failoff
FAILOFF OK

C:\>plcio alloff
ALLOFF OK

C:\>plcio a
Error - Error cmd

 

Thanks!

Outcomes