CLI Commands
In order to execute commands from the command line, the CLI command <directory>CODESYS.exe is provided with the parameters below. Parameters which use an argument have delimited the added argument with "=" or ":".
Example:
C:\Program Files (x86)\3S CODESYS\CODESYS\Common\CODESYS.exe --profile="CODESYS V3.5 SP13" --project="D:\CODESYS_Test\File_Based_Storage_Commandlineproject\MultipleProjects.fbsws" --workspaceIndex=1
Tip
Include arguments which contain spaces, minus signs, or slashes enclosed by straight quotation marks: "<argument>".
Tip
You can also click Copy command line to clipboard to generate the command.
Parameter
Requirement: CODESYS is started and the specified project is open.
Parameter | |
|---|---|
| You need to specify the profile name exactly as it is displayed in the Help → About splash screen of the development system or in the start menu on your computer. Example: |
| File path to the CODESYS File-Based Storage project Supported file extensions:
Example: |
| If the workspace defines more than one project, then use the This parameter applies only to
Example: |