ACM Console

The ACM Console is a command-line interface for
Application Code Manager
that supports scripting and is used to perform operations in the ACM database quickly.
The ACM Console commands can be executed directly from the command line that has a few additional arguments:
  • Usage: ACMConsole.exe -p "C:\Script Files\Script.txt".
  • Usage: ACMConsole.exe -s to run in silent mode.
  • Usage: ACMConsole.exe -c to continue on errors.
  • Usage: ACMConsole.exe -l <FILENAME> to specify an alternative log file.
Execute ACMConsole.exe without any arguments to launch the interactive console:
  • -p Path of the script file
  • -s Silent mode
  • -c Continue on errors
  • -l Alternative log filename
  • help Display this help screen
This table lists the commands available in the ACM Console. For more information, such as parameters, data types, and usage information for a command, type
help <nameofcommand>
.
TIP: If you see an Excel sensitivity label error message while importing or exporting a project, open Excel and configure the sensitivity label. If the error message persists, contact your organization's IT department for assistance.
Command
Description
begincreate
Required before using any CREATE commands.
clearlog
Clears the log memory.
createcontroller
Creates a controller from a script file. After calling the
create
commands, the
endcreate
command must be called to initiate object creation.
createobjects
Creates objects from a script file. After calling the
create
commands, the
endcreate
command must be called to initiate object creation.
createproject
Creates a project from a script file. After calling the
create
commands,
endcreate
must be called to initiate object creation.
createdatabase
Creates an ACM database.
deletedatabase
Deletes the specified ACM database.
deletecontroller
Deletes a specified controller.
deleteproject
Deletes a specified project.
editparameters
Edits the values of an object instance’s parameters.
endcreate
Required after using any
create
commands, to initiate object creation.
exportallprojects
Exports all ACM projects to Excel files.
exportlibrariesbyattribute
Exports libraries filtered by attribute to HSL4 files.
exportlibrariesbyproject
Exports libraries used in a project to HSL4 files.
exportlibrariesbyquery
Exports libraries filtered by query to HSL4 files.
exportpartial
Exports part of an ACM project to an Excel file.
exportproject
Exports an ACM project to an Excel file.
extractattachmentsbycontroller
Extracts the attachments of a specified controller and its children objects to the output path.
extractattachmentsbyobject
Extracts the attachments of a specified object to the output path.
extractattachmentsbyproject
Extracts the attachments of a specified project and its children objects (including controllers and their children objects) to the output path.
generatealarms
Generates alarm import file (supports FactoryTalk Alarms and Events and
FactoryTalk View ME
Alarms).
generateareamodel
Generates the Batch server Area Model file that supports FactoryTalk Batch.
generatecontroller
Generates the specified controller as an L5X or ACD file.
generatedisplays
Generates
FactoryTalk View SE
or
FactoryTalk View ME
display import files.
generatehistorian
Generates historian tag import file.
generatepartial
Generates the specified program or routine as an L5X file.
generateprojectcontrollers
Generates all the controllers of a specified project as L5X or ACD files.
help
Displays command help.
importproject
Imports an ACM project from an Excel file.
monitorlog
Begins a monitored log section.
publishbyscript
Extracts and publishes a library from an ACD using a script file.
publishlibrary
Extracts and publishes a library from an ACD.
registerlibrary
Registers the library into the ACM database.
run
Runs a script.
showlog
Shows the log memory content in the log viewer.
switchdatabase
Switches to a different ACM database at any point within a script.
writelogmessage
Writes a message to the log.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal