Change a PLCopen Axis

  1. In the Project Explorer, double-click a PLCopen axis.
  2. Right-click the PLCopen axis in the project manager.
  3. Select Properties in the menu. (Figure 1)
  4. PLCopen Axis Context Menu

    Figure 1: PLCopen Axis right-click menu - Properties

    The PLCopen Axis Data dialog opens. (Figure 2)

    Figure 2: PLCopen Axis Data dialog

Axis Name and Number

When the project is compiled, the PLCopen axis Name and Number (from the PLCopen Axis Data dialog - Figure 2) are automatically applied to the PLCopen instance of an AXIS_REF structure under Global variables in the Dictionary. (Figure 3)

Figure 3: Dictionary - Variables tab

The PLCopen.XXXXXX_ref (e.g., MyAxis1) instance can be used in the PLC programs. (Figure 4 and Figure 5)

Figure 4: Example: PLCopen.XXXXXX_ref (e.g., MyAxis1)

 

Figure 5: Example: PLCopen.XXXXXX_ref (e.g., MyAxis1)


See AXIS_REF Structure.