Beckhoff Automation GmbH & Co. KG TX1200 — 11.2 Command Line/Command File Commands

Appendix Example of a command file: A command file like shown below will open the project file ampel.pro, will then load a watch list, which was stored as w.wtc, will then start the application program and write - after 1 second delay - the values of the variables into the watch list watch.wtc (which will be saved) and will finally close the project. file open C:\work\projects\ampel.pro query off ok watchlist load c:\work\w.wtc online login online run delay 1000 CreateBootproject watchlist read watchlist save c:\work\watch.wtc online logout file close TX1200 338 Version:

1.3 Commands Description Reset If you have initialized the variables with a specific value, then this command will reset the variables to the initialized value. ResetAll This command resets all variables including the persistent ones to their initialization values and erases the user program on the controller. CreateBootproject With this command the compiled project is set up on the controller. ChooseRuntime A specific Runtime System can be chosen. For use the Net-Id and seperated with ":" the port number. Example:ChooseRuntime 172.16.77.23.1.1:811 or ChooseRuntime 5.2.122.255.1.1:801