Immediate Command Module

Optional Purchase Necessary: To use MachineApps, you must purchase the necessary licenses. For more information, refer to Automation1 MachineApps.

Add the Immediate Command module to a MachineApp so that users can issue an AeroScript line to execute on a task. The module shows recently executed commands in the Recent Commands list. You can add recent commands to the Favorite Commands list. You can copy a command from the lists into the command box by clicking the copy button next to the command that you want to copy.

Immediate commands execute on the task selected in the settings of the MachineApp. For more information about immediate commands, refer to Immediate Commands.

TO ADD THE IMMEDIATE COMMAND MODULE TO A MachineApp

  1. Open Automation1 Studio and select the MachineApps workspace tab.

  2. Use the procedure on the MachineApps Workspace page to create or edit a MachineApp.

  3. In the Settings drawer, turn on Show Immediate Command.

  4. Use the Task drop-down, select the task on which you want to issue commands.

WARNING: Commands you execute with the Immediate Command module can bypass restrictions placed on other MachineApp modules, such as if the user can create files, jog axes, and edit global variables.

TO ISSUE IMMEDIATE COMMANDS IN A MachineApp

  1. Open Automation1 MachineApps and click an Automation1 controller.

  2. Click an available MachineApp to open it.

  3. Expand the sidebar by clicking the left arrows at the top of the sidebar.

  4. Open the Immediate Command module by clicking the Immediate Command tab in the sidebar.

  5. In the Command box at the top of the module, enter an AeroScript command.

  6. To issue the command, press Enter on your keyboard or click the Execute button.

The Command box and Execute button are disabled if the controller or task is in a state that prevents you from issuing AeroScript commands. You cannot issue commands to the controller if it is stopped or resetting. You cannot issue commands on a task that is using a Command Queue or is in restricted mode. For more information about command queues, refer to the Command Queue in the .NET API for .NET API.

TO USE THE RECENT COMMANDS AND FAVORITE COMMANDS LISTS

  1. Commands that you issued show in the Recent Commands list. To clear the Recent Commands list, click the Clear button.

  2. To add or remove a command in the Favorite Commands list, click the star icon next to the command. Favorite commands have filled star icons. Commands that are not favorites have unfilled star icons. If a command is in both Recent Commands and Favorite Commands, you can use either list to add or remove favorite commands.

  3. To copy a command into the Command box, click the Copy button next to a command in the Recent Commands or Favorite Commands list. The syntax shows in the Command box and is highlighted.