Parameter Functions

Use parameters to customize the behavior of the Automation1 controller. You can configure parameters in Machine Setup or in the Configure workspace. Configured parameters are loaded to the controller during a controller reset.

The three main categories of parameters include:

  • Axis Parameters: configures the behavior of axes and motion.
  • Task parameters: configures the behavior of task and program execution.
  • System parameters: configures global behaviors of the controller.

Most parameters are numeric and can be specified with real or integer values. A small set of parameters use string values to specify non-numeric information.

Active Parameters

While the controller is running, you can modify some of its behaviors by getting and setting active parameters through the .NET, C, LabVIEW, and Python APIs or the AeroScript Parameter functions.

The changes that you make to active controller parameters have an effect immediately, but they are not permanent. This occurs because the values that you specify for these parameters are erased after you reset the controller. To permanently save your changes to the controller parameters, use the AeroScript ConfiguredParameter functions.

The AeroScript Parameter functions include a set of functions that lets you get and modify runtime parameters of the controller. These functions get and set the runtime value of the parameters on the controller and do not modify the stored configuration. If you use these functions to make parameter changes, they are erased after you reset the controller.

Configured Parameters

The AeroScript ConfiguredParameter functions include a set of functions that lets you retrieve the configured value of a parameter as it exists in the Machine Configuration Definition (MCD) file. You cannot use these functions to change the configured value of a parameter.

You can get and set configured parameters through the .NET, C, and Python APIs and you can get configured parameters through the AeroScript ConfiguredParameter functions.

Getting Active Parameters

You can get the value of a parameter from the controller when using an AeroScript program. The AeroScript Parameter API lets you get the value of a parameter from the controller from within an AeroScript program. The value that you get for the parameter is the live value that the controller currently uses.

Use the functions that follow to get the live parameter values from the controller.

Modifying Active Parameters

The AeroScript Parameter API lets you modify the value of a parameter on the controller from an AeroScript program. These functions update the live value of the parameter. The new value of the parameter will stay until you reset the controller or until you change the value of the same parameter.

You cannot change some parameters while the controller is running. If you try to change one of these parameters, it will not have an effect on the controller, and you will get a task warning that shows that the parameter change did not have an effect.

The functions that follow let you change live parameter values on the controller.

Getting the Configured Value of a Parameter

The AeroScript ConfiguredParameter API lets you retrieve the configured value of a parameter from an AeroScript program. You can use these functions with the corresponding ParameterSet*() function to reset a parameter to its configured value.

The functions that follow let you retrieve the configured value of a parameter.