Appendix The input of a command line is structured like this: " "" "/ / ... Example for a command line: "D:\dir1 TwinCAT PLC Control" "C:\projects\ampel.pro" /show hide /cmd command.cmd The project ampel.pro gets opened, but no window opens. The commands included in the command file command.cmd will be executed. Command File (cmdfile) Commands See the following table for a list of commands, which can be used in a command file ( ). The command file you can call by a command line (see above). Capitalizing/Use of small letters is not regarded. The command line will be displayed as a message in the message window and can be given out in a message file (see below).
Additionally to the command a "@" is prefixed. All signs after a semicolon (;) will be ignored (comment). Commands of the online menu: Commands of the file menu: Commands of the project menu: TX1200 335 Version: 1.3 Command Description /debug /online /run /show ... Settings for the TwinCAT PLC Control frame window can be made. /show hide The window will not be displayed, it also will not be represented in the task menu. /show icon The window will be minimized in display. /show max The window will be maximized in display. /show normal The window will be displayed in the same status as it was during the last closing.
/out All messages are displayed in the message window and additionally are written in the file . /cmd After starting the commands of the get executed. Commands Description online login Login with the loaded project ('Online Login') online logout Logout ('Online' 'Logout') online run Start of the application program ('Online' 'Run') online sim Switch on of simulation mode 'Online' 'Simulation') online sim off Switch off of simulation mode ('Online' 'Simulation') Commands Description file new A new project is created ('File' 'New'). file open The project will be loaded ('File' 'Open'). file close The current project will be closed ('File' 'Close').
file save The current project will be stored ('File' 'Save'). file saveas The current project will be saved with the file name ('File' 'Save as'). file quit TwinCAT PLC Control will be closed ('File' 'Exit').