.

   

Controller Objects

Within the Motion Console program, Controller objects occupy the highest level on the motion control tree. This prominent software position reflects the hardware reality: each controller represents a separate, physical piece of hardware (i.e., an XMP card) having local control. Moreover, each controller is capable of operating multiple motion supervisors, each with its own subordinate array of axes, motors, etc.

If you have not already added a Controller, please see the Add Controller section.

Controller-Client Configuration

A Controller is physically connected with a host computer via PCI bus. Hosts may be linked to clients, which allows virtually unlimited configuration combinations.

Each controller in a machine is assigned a unique device identification number by the operating system. Motion Console uses this number to communicate with the controller. When all controllers reside within a single host computer, Motion Console requires only Controller numbers (0, 1, 2, etc.) to differentiate between them. When controllers reside in separate client computers linked through a network to the Motion Console host, each controller must also be assigned a unique IP address and Port Number.

XMP Controller Placement on PCI Buses

PCI bus architecture imposes constraints which must be observed during card installation. When adding controllers to Motion Console, each XMP board is assigned a physical location on the PCI bus in the form of a Controller Number. This is a device index number beginning at "0," which indexes with each new addition of a controller board, and which ignores non-MEI devices. Motion Console uses the device index number to associate configuration/status information with a particular controller.

Adding, removing or rearranging PCI devices can cause a motion controller device number to change. For systems with only a single controller, this is not a problem. For systems with multiple controllers, Motion Console will not know whether the device index to the physical controller map has changed. This is because some data is stored in the Motion Console initialization file and is associated with the device number. The following data will be associated with the wrong controller in Motion Console if the device number changes:

  • Controller name
  • Summary object list configuration
  • Axis attributes:
    • Position 1
    • Position 2
    • Velocity
    • Acceleration
    • Deceleration
    • Jerk Percent


WARNING!
When using Motion Console with multiple controller systems, make sure you know exactly which physical controller is associated with which device index. Be sure to always verify controller-to-device index relationships before commanding any motion.

The Controller Summary window lists Controller attributes in four tab pages: Actions, Config, Version, and Stats.

 

Configuration Attributes: "Action" Tab Page

"Action" Filter attributes include configurations for standard and custom filter features.

Reset – Resets the controller to the power-up configuration saved in flash memory.

Refresh – Refreshes display to reflect any external modifications.

FW Upload – Uploads Flash memory to the firmware file. See the Uploading Firmware section earlier in this chapter for more information.

FW Download – Downloads the firmware file to Flash memory. See the Downloading Firmware section earlier in this chapter for more information.

Save Topology – Saves the current network topology to Flash memory.

Remove – Removes controller from Motion Console controller list.

 

Controller Configuration Attributes: "Config" Tab Page

User Label – User-defined label for the object.

Save to Flash – Pre-selects the current settings and saves them to flash memory. For more information, please see the Save to Flash section.

View Sub-objects – Shows all sub-objects for the Controller. For more information, see the View Sub-object section.

User Version – User defined version. See MPIControlConfig.

Sample Rate – Sample Rate (samples/sec). See MPIControlConfig.

MS Count – Number of enabled Motion Supervisor objects. See MPIControlConfig.

Axis Count – Number of enabled Axis objects. See MPIControlConfig.

Filter Count – Number of enabled Filter objects. See MPIControlConfig.

Motor Count – Number of enabled Motor objects. See MPIControlConfig.

DAC Count – Number of enabled DAC objects. See MPIControlConfig.

Aux DAC Count – Number of enabled Auxiliary DAC objects. See MPIControlConfig.

Capture Count – Number of enabled Capture objects. See MEIMotorInfo

Record Count – Number of enabled Record objects. See MPIControlConfig.

Sequence Count – Number of enabled Program Sequence objects. See MPIControlConfig.

SynqNet Tx Time – The percentage of the sample rate to devote to transmitting SynqNet telegrams. This should be set in such a way that the transmissions occur after the firmware has completed its foreground cycle. (0-100%).

Available Memory – The amount of external memory available on the controller. The maximum value for Record Count and Axis Count is limited by the available memory.

 

Configuration Attributes: "Version" Tab Page

Model – They type of motion controller: XMP or ZMP.

Type – Currently either "Device" or "Client." See MEIControlInfoHardware.

Number – The device number of the controller on the IDE bus.

Address – The device driver for "Device" type controllers, the IP address for "Client" type controllers.

Port – Port for "Client" type controllers only.

Firmware Dev. ID – Firmware Development ID.

Firmware Version – Firmware Version. See MEIControlInfoFirmware.

Firmware Revision – Firmware Revision. See MEIControlInfoFirmware.

Firmware Option – Firmware Option. See MEIControlInfoFirmware.

 

Configuration Attributes: "Stats" Tab Page

Zero Max. Times – Zeros the maximum foreground and background timers.

Recalculate – Triggers a recalculation of the timing statistics.

Max Fg. Time – Maximum foreground time in microseconds. Max Bg. Time– Maximum background time in microseconds.

Max Delta – Maximum Delta (samples/ background cycle).

Avg. Bg. Cycle Rate – Average interrupted background cycle rate (cycles/sec).

Avg. Bg. Cycle Time – Average interrupted background cycle time in microseconds.

Bg. Cycle Time – Uninterrupted background cycle time in microseconds.

 

Configuration Attributes: "Recorders" Tab Page

Record Count 0-31 – Number of data recorder objects enabled for a controller. The controller's recorder object handles collecting and buffering any data in controller memory. The enabled data recorders can collect up to a total of 32 addresses each sample. See MPIControlConfig.

 

Previous | Next
       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2008 Motion Engineering