executing a bat file with automation runtime

hagaib

Member
Join Date
Feb 2014
Location
israel
Posts
10
hey all,
i have an application that requires the start of file with a click of a button.
i am using b&r's controller with automation studio and i can't seem to find a way to do this.
there's a way to start a process but that only works on windows based controllers and not the small plcs.
wondering if there's a way to excute a .bat file that will do what i want for me
thanks in advance
 
Hello hagaib,
can you please specify in more detail ....

do you want to start a batch file on the controller ? I cant think of how this should work... ? What is the purpose ?

or do you want to start a batch file when compiling ? As you mention AS. AS is not used during runtime on the controller.

there is ways to start pre-compile programs e.g.

BR
BB
 
starting a .bat file

hey bits'bytes,
i want to start a .bat file on the controller.
my original purpose was starting a vnc application on a remote computer with a click of a button on another vnc application. i figured that maybe i can write a script that would start the file i want via ftp. i mentioned AS because there's a way to make a button start a proccess(on the controller) but that unfortunately is only for windows based controllers.
 
Hello hagaib

I understand it like in the sketch I made.

You have a controller with a VNC Visu (Visu-1) on a Windows-PC.

When you press a button "B" on that Visu, another VNC Visu (Visu-2) should open on that same Windows PC.

If this is the situation, I don't think you can (or should) manage this from via the VNC-Visu-1. Why you don't just start the Visu-2 via opening the VNC linked to Vius-2 on the controller ?

BR
BB

start_batch.jpg
 
hey bits'bytes,
first of all, thanks for the responses.
you understand perfectly,
right now it's working as you offered (with two separate .vnc files for the 2 visualizations).
it was just a request from a customer to create a button on visu1 that would start visu2.
 

Similar Topics

I have a GE 90-30 that is in run mode (run LED on) but the logic does not seem to execute. When online, I can see Inputs turning on and off but...
Replies
1
Views
655
Hello All, First time using Schneider M221 with eco structure machine expert basic v12. Downloaded simple project in to controller without any...
Replies
4
Views
1,434
Hello, we have a smart guard 600 controller, every time we have a power loss to the system, upon start up we have to connect with our laptops and...
Replies
2
Views
1,442
It appears to me that Logix is improperly executing sheets of an AOI in sequential scans instead of the same scan as the main program. To test...
Replies
4
Views
1,677
Greetings, I'm new at PLC programming, but good a logic - so I thought. I've inherited a PLC system, which is presently operating in the field...
Replies
6
Views
2,486
Back
Top Bottom